SCamera
Index
Functions Index
Function Name
Properties Index
Property Name
Space.Host.ExecutingObject.Camera.TakePhoto()Space.Host.ExecutingObject.Camera.TakeSnapshot()Space.Host.ExecutingObject.Camera.HDR = truecameraWidthPixels = Space.Host.ExecutingObject.Camera.PixelWidthcameraHeightPixels = Space.Host.ExecutingObject.Camera.PixelHeightcameraVelocity = Space.Host.ExecutingObject.Camera.VelocitySpace.Host.ExecutingObject.Camera.UseOcclusionCulling = trueSpace.Host.ExecutingObject.Camera.Enabled = true--clicking this object will Enable/Disable it's Camera component
thisGameObject = Space.Host.ExecutingObject
component = thisGameObject.Camera
OnClick = function()
component.Enabled = not component.Enabled
end
thisGameObject.AddClickable()
thisGameObject.Clickable.OnClick(OnClick)Space.Host.ExecutingObject.Camera.FieldOfView = 70Space.Host.ExecutingObject.Camera.Orthographic = trueSpace.Host.ExecutingObject.Camera.OrthographicSize = 5.0 Space.Host.ExecutingObject.Camera.NearClip = 2.0 Space.Host.ExecutingObject.Camera.FarClip = 6.0 theGameObject = Space.Host.ExecutingObject.Camera.GameObject