Time of Day
Public Member Functions | Public Attributes | Properties | List of all members
TOD_Camera Class Reference

Sky dome management camera component. More...

Public Member Functions

void DoDomeScaleToFarClip ()
 
void DoDomePosToCamera ()
 

Public Attributes

TOD_Sky sky
 Sky dome reference inspector variable. Will automatically be searched in the scene if not set in the inspector.
 
bool DomePosToCamera = true
 Automatically move the sky dome to the camera position in OnPreCull().
 
Vector3 DomePosOffset = Vector3.zero
 The sky dome position offset relative to the camera.
 
bool DomeScaleToFarClip = true
 Automatically scale the sky dome to the camera far clip plane in OnPreCull().
 
float DomeScaleFactor = 0.95f
 The sky dome scale factor relative to the camera far clip plane.
 

Properties

bool HDR [get]
 
float NearClipPlane [get]
 
float FarClipPlane [get]
 
Color BackgroundColor [get]
 

Detailed Description

Sky dome management camera component.

Move and scale the sky dome every frame after the rest of the scene has fully updated.


The documentation for this class was generated from the following file: