SCamera

Index

Functions Index

Function Name

void TakePhoto ()

SResource TakeSnapshot ()

Properties Index

Property Name

bool HDR get set

SVector Velocity get

bool Enabled get set

float FieldOfView get set

bool Orthographic get set

float OrthographicSize get set

float NearClip get set

float FarClip get set

Functions

TakePhoto

void TakePhoto ()

Triggers the Photo window in the UI, with the output of this camera. Perfect for photo booths.

TakeSnapshot

SResource TakeSnapshot ()

Captures a texture from the camera, and saves it in a SResource

Properties

HDR

bool HDR get set

Can this camera write HDR values? (i.e. values brighter than 1.0)

PixelWidth

int PixelWidth get

The width of this Camera's texture, in pixels

PixelHeight

int PixelHeight get

The height of this Camera's texture in pixels

Velocity

SVector Velocity get

World space speed of this camera, typically used for motion blur.

UseOcclusionCulling

bool UseOcclusionCulling get set

Is Occlusion Culling enabled on this camera?

Enabled

bool Enabled get set

Is this camera enabled?

FieldOfView

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.

Orthographic

bool Orthographic get set

Does this camera render without perspective?

OrthographicSize

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

NearClip

float NearClip get set

How close can an object be to the camera plane before it is not rendered?

FarClip

float FarClip get set

How far is an object from the camera plane before it is not rendered?

GameObject

SGameObject GameObject get

Returns a reference to the GameObject of this component.

Last updated

Was this helpful?