Chunks
Moddable voxel sandbox for room-scale VR.
Classes | Public Member Functions | Protected Member Functions | Properties | List of all members
Chunks.Graphics.Camera Class Reference
Inheritance diagram for Chunks.Graphics.Camera:

Classes

class  Lighting
 

Public Member Functions

void Begin ()
 
void Clear (bool color=true, bool depth=true)
 
void RenderScene ()
 
void RenderModel (Model model, BaseMaterial material, Matrix4 transform)
 
void End ()
 

Protected Member Functions

override void OnInitialize ()
 Called only once, when the component is first attached to an entity and is ready to add or retrieve other components. More...
 

Properties

bool ShouldRenderScene [get, set]
 
bool IsOrthographic [get, set]
 
float OrthographicSize [get, set]
 
RenderTexture Target [get, set]
 
Color BackgroundColor [get, set]
 
float NearClipPlane [get, set]
 
float FarClipPlane [get, set]
 
float FieldOfView [get, set]
 
bool AmbientOcclusion [get, set]
 
Lighting PreviewLighting [get]
 

Member Function Documentation

void Chunks.Graphics.Camera.Begin ( )
void Chunks.Graphics.Camera.Clear ( bool  color = true,
bool  depth = true 
)
void Chunks.Graphics.Camera.End ( )
override void Chunks.Graphics.Camera.OnInitialize ( )
protected

Called only once, when the component is first attached to an entity and is ready to add or retrieve other components.

void Chunks.Graphics.Camera.RenderModel ( Model  model,
BaseMaterial  material,
Matrix4  transform 
)
void Chunks.Graphics.Camera.RenderScene ( )

Property Documentation

bool Chunks.Graphics.Camera.AmbientOcclusion
getset
Color Chunks.Graphics.Camera.BackgroundColor
getset
float Chunks.Graphics.Camera.FarClipPlane
getset
float Chunks.Graphics.Camera.FieldOfView
getset
bool Chunks.Graphics.Camera.IsOrthographic
getset
float Chunks.Graphics.Camera.NearClipPlane
getset
float Chunks.Graphics.Camera.OrthographicSize
getset
Lighting Chunks.Graphics.Camera.PreviewLighting
get
bool Chunks.Graphics.Camera.ShouldRenderScene
getset
RenderTexture Chunks.Graphics.Camera.Target
getset

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