C# Class FairyGUI.StageCamera

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: fairygui/FairyGUI-unity Class Usage Examples

Public Properties

Property Type Description
DefaultCameraSize float
UnitsPerPixel float
constantSize bool

Public Methods

Method Description
ApplyModifiedProperties ( ) : void
CheckCaptureCamera ( ) : void

CheckMainCamera ( ) : void

Check if there is a stage camera in the scene. If none, create one.

CreateCamera ( string name, int cullingMask ) : Camera

OnEnable ( ) : void
OnRenderObject ( ) : void
OnScreenSizeChanged ( ) : void
Update ( ) : void

Method Details

ApplyModifiedProperties() public method

public ApplyModifiedProperties ( ) : void
return void

CheckCaptureCamera() public static method

public static CheckCaptureCamera ( ) : void
return void

CheckMainCamera() public static method

Check if there is a stage camera in the scene. If none, create one.
public static CheckMainCamera ( ) : void
return void

CreateCamera() public static method

public static CreateCamera ( string name, int cullingMask ) : Camera
name string
cullingMask int
return UnityEngine.Camera

OnEnable() public method

public OnEnable ( ) : void
return void

OnRenderObject() public method

public OnRenderObject ( ) : void
return void

OnScreenSizeChanged() public method

public OnScreenSizeChanged ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

DefaultCameraSize public static property

public static float DefaultCameraSize
return float

UnitsPerPixel public static property

public static float UnitsPerPixel
return float

constantSize public property

public bool constantSize
return bool