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

Public Member Functions

 LineRenderer ()
 
void SetPointCount (int count)
 
void SetPoint (int index, Vector value)
 

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...
 
override void OnPreRender ()
 Called just before the entity containing this component is rendered. More...
 
override void OnDestroy ()
 
- Protected Member Functions inherited from Chunks.Graphics.ModelRenderer
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...
 
override void OnDestroy ()
 Called when this component is removed, or the parent entity is destroyed. More...
 
override void OnEnable ()
 Called each time this component goes from being disabled to enabled. More...
 
override void OnDisable ()
 Called each time this component goes from being enabled to disabled. More...
 

Properties

int PointCount [get]
 
new LineMaterial Material [get, set]
 
- Properties inherited from Chunks.Graphics.ModelRenderer
Model Model [get, set]
 The current Model to render. More...
 
BaseMaterial Material [get, set]
 The current Material to use when rendering. More...
 

Constructor & Destructor Documentation

Chunks.Graphics.LineRenderer.LineRenderer ( )

Member Function Documentation

override void Chunks.Graphics.LineRenderer.OnDestroy ( )
protected
override void Chunks.Graphics.LineRenderer.OnInitialize ( )
protected

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

override void Chunks.Graphics.LineRenderer.OnPreRender ( )
protected

Called just before the entity containing this component is rendered.

void Chunks.Graphics.LineRenderer.SetPoint ( int  index,
Vector  value 
)
void Chunks.Graphics.LineRenderer.SetPointCount ( int  count)

Property Documentation

new LineMaterial Chunks.Graphics.LineRenderer.Material
getset
int Chunks.Graphics.LineRenderer.PointCount
get

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