C# Class MBLayer, Pharos

Inheritance: MBObject
Show file Open project: rstaewen/Pharos Class Usage Examples

Public Properties

Property Type Description
FreezeWhenCulled bool
LayerBlocksize int
LayerThreshold int
RenderQueue int

Public Methods

Method Description
Awake ( ) : void
IsVisible ( ) : bool
OnDestroy ( ) : void
Purge ( ) : void
SetParent ( MBObject, parent ) : void
Start ( ) : void
UpdateMaterial ( ) : void
mbAddToRenderBuffer ( Vector3 &vertices, Vector2 &uvs, Color &colors ) : void
mbAddToRenderBuffer ( Vector3 &vertices, Vector2 &uvs, Color &colors, Vector3 &normals ) : void
mbEditorRender ( ) : void
mbEnlargeBuffers ( int quads ) : void
mbOnBeginPlay ( ) : void
mbRender ( ) : void
mbResetBuffers ( ) : void

Protected Methods

Method Description
OnDisable ( ) : void
OnEnable ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

IsVisible() public method

public IsVisible ( ) : bool
return bool

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnDisable() protected method

protected OnDisable ( ) : void
return void

OnEnable() protected method

protected OnEnable ( ) : void
return void

Purge() public method

public Purge ( ) : void
return void

SetParent() public method

public SetParent ( MBObject, parent ) : void
parent MBObject,
return void

Start() public method

public Start ( ) : void
return void

UpdateMaterial() public method

public UpdateMaterial ( ) : void
return void

mbAddToRenderBuffer() public method

public mbAddToRenderBuffer ( Vector3 &vertices, Vector2 &uvs, Color &colors ) : void
vertices Vector3
uvs Vector2
colors Color
return void

mbAddToRenderBuffer() public method

public mbAddToRenderBuffer ( Vector3 &vertices, Vector2 &uvs, Color &colors, Vector3 &normals ) : void
vertices Vector3
uvs Vector2
colors Color
normals Vector3
return void

mbEditorRender() public method

public mbEditorRender ( ) : void
return void

mbEnlargeBuffers() public method

public mbEnlargeBuffers ( int quads ) : void
quads int
return void

mbOnBeginPlay() public method

public mbOnBeginPlay ( ) : void
return void

mbRender() public method

public mbRender ( ) : void
return void

mbResetBuffers() public method

public mbResetBuffers ( ) : void
return void

Property Details

FreezeWhenCulled public property

public bool FreezeWhenCulled
return bool

LayerBlocksize public property

public int LayerBlocksize
return int

LayerThreshold public property

public int LayerThreshold
return int

RenderQueue public property

Determines the rendering order
public int RenderQueue
return int