Sinespace Client 2025.3.19431
Client-side scripting for Sinespace
|
Public Member Functions | |
void | TakePhoto (Closure onSnapshotWinHide=null) |
Triggers the Photo window in the UI, with the output of this camera. Perfect for photo booths. | |
SResource | TakeSnapshot () |
Captures a texture from the camera, and saves it in a SResource. | |
![]() | |
override void | Initialise (SScript runtime, object wrapper) |
![]() | |
void | ReportError (string error, bool fatal, UnityEngine.Object target=null) |
void | Initialise (SScript runtime, object wrapper) |
Properties | |
bool | HDR [get, set] |
Can this camera write HDR values? (i.e. values brighter than 1.0) | |
int | PixelWidth [get] |
The width of this Camera's texture, in pixels. | |
int | PixelHeight [get] |
The height of this Camera's texture in pixels. | |
SVector | Velocity [get] |
World space speed of this camera, typically used for motion blur. | |
bool | UseOcclusionCulling [get, set] |
Is Occlusion Culling enabled on this camera? | |
bool | Enabled [get, set] |
Is this camera enabled? | |
float | FieldOfView [get, set] |
The field of view of the camera, in typical scenarios, Sinespace uses a value of 52; however Unity will default to 60. | |
bool | Orthographic [get, set] |
Does this camera render without perspective? | |
float | OrthographicSize [get, set] |
The width of the camera when in Orthographic mode. Height will be adjusted based on aspect ratio of the Render Texture. | |
float | NearClip [get, set] |
How close can an object be to the camera plane before it is not rendered? | |
float | FarClip [get, set] |
How far is an object from the camera plane before it is not rendered? | |
![]() | |
SGameObject | GameObject [get] |
Return the GameObject which component added. | |
![]() | |
override bool | Alive [get] |
Return if the component is alive. | |
![]() | |
T | _wrap [get] |
![]() | |
virtual bool | Alive [get] |
DynValue | CachedData [get, set] |
Additional Inherited Members | |
![]() | |
void | Initialise (SScript runtime) |
void SineSpace.Scripting.Components.SCamera.TakePhoto | ( | Closure | onSnapshotWinHide = null | ) |
Triggers the Photo window in the UI, with the output of this camera. Perfect for photo booths.
SResource SineSpace.Scripting.Components.SCamera.TakeSnapshot | ( | ) |
Captures a texture from the camera, and saves it in a SResource.
|
getset |
Is this camera enabled?
|
getset |
How far is an object from the camera plane before it is not rendered?
|
getset |
The field of view of the camera, in typical scenarios, Sinespace uses a value of 52; however Unity will default to 60.
|
getset |
Can this camera write HDR values? (i.e. values brighter than 1.0)
|
getset |
How close can an object be to the camera plane before it is not rendered?
|
getset |
Does this camera render without perspective?
|
getset |
The width of the camera when in Orthographic mode. Height will be adjusted based on aspect ratio of the Render Texture.
|
get |
The height of this Camera's texture in pixels.
|
get |
The width of this Camera's texture, in pixels.
|
getset |
Is Occlusion Culling enabled on this camera?
|
get |
World space speed of this camera, typically used for motion blur.