Class MyRenderComponentCubeGrid
Inheritance
System.Object
MyRenderComponentCubeGrid
Assembly: Sandbox.Game.dll
Syntax
public class MyRenderComponentCubeGrid : MyRenderComponent, IMyEntityComponentBase, IMyComponentBase
Constructors
MyRenderComponentCubeGrid()
Declaration
public MyRenderComponentCubeGrid()
Properties
CubeGrid
Declaration
public MyCubeGrid CubeGrid { get; }
Property Value
DeferRenderRelease
Declaration
public bool DeferRenderRelease { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
GridSize
Declaration
public float GridSize { get; }
Property Value
Type |
Description |
System.Single |
|
GridSizeEnum
Declaration
public MyCubeSize GridSizeEnum { get; }
Property Value
IsStatic
Declaration
public bool IsStatic { get; }
Property Value
Type |
Description |
System.Boolean |
|
RenderData
Declaration
public MyCubeGridRenderData RenderData { get; }
Property Value
Type |
Description |
Sandbox.Game.Entities.Cube.MyCubeGridRenderData |
|
Methods
AddRenderObjects()
Declaration
public override void AddRenderObjects()
Overrides
Draw()
Declaration
public override void Draw()
Overrides
OnAddedToContainer()
Declaration
public override void OnAddedToContainer()
Overrides
OnBeforeRemovedFromContainer()
Declaration
public override void OnBeforeRemovedFromContainer()
Overrides
RebuildDirtyCells()
Declaration
public void RebuildDirtyCells()
RemoveRenderObjects()
Declaration
public override void RemoveRenderObjects()
Overrides
Declaration
public void ResetLastVoxelContactTimer()
UpdateRenderObjectMatrices(Matrix)
Declaration
public void UpdateRenderObjectMatrices(Matrix matrix)
Parameters
Type |
Name |
Description |
Matrix |
matrix |
|
UpdateRenderObjectVisibility(Boolean)
Declaration
protected override void UpdateRenderObjectVisibility(bool visible)
Parameters
Type |
Name |
Description |
System.Boolean |
visible |
|
Overrides
Extension Methods