Show / Hide Table of Contents

Class MyRenderComponentCubeGrid

Inheritance
System.Object
MyComponentBase
MyEntityComponentBase
MyRenderComponentBase
MyRenderComponent
MyRenderComponentCubeGrid
Inherited Members
MyRenderComponent.m_model
MyRenderComponent.SetRenderObjectID(Int32, UInt32)
MyRenderComponent.ReleaseRenderObjectID(Int32)
MyRenderComponent.IsVisible()
MyRenderComponent.Model
MyRenderComponent.ModelStorage
MyRenderComponent.NeedsDraw
MyRenderComponentBase.UNINITIALIZED_IDs
MyRenderComponentBase.OldRedToHSV
MyRenderComponentBase.OldYellowToHSV
MyRenderComponentBase.OldBlueToHSV
MyRenderComponentBase.OldGreenToHSV
MyRenderComponentBase.OldBlackToHSV
MyRenderComponentBase.OldWhiteToHSV
MyRenderComponentBase.OldGrayToHSV
MyRenderComponentBase.m_enableColorMaskHsv
MyRenderComponentBase.m_colorMaskHsv
MyRenderComponentBase.m_textureChanges
MyRenderComponentBase.m_diffuseColor
MyRenderComponentBase.LastMomentUpdateIndex
MyRenderComponentBase.NeedForDrawFromParentChanged
MyRenderComponentBase.FadeIn
MyRenderComponentBase.FadeOut
MyRenderComponentBase.m_parentIDs
MyRenderComponentBase.m_renderObjectIDs
MyRenderComponentBase.Transparency
MyRenderComponentBase.DepthBias
MyRenderComponentBase.GetRenderObjectID()
MyRenderComponentBase.ResizeRenderObjectArray(Int32)
MyRenderComponentBase.IsRenderObjectAssigned(Int32)
MyRenderComponentBase.InvalidateRenderObjects()
MyRenderComponentBase.UpdateRenderObjectLocal(Matrix)
MyRenderComponentBase.UpdateRenderEntity(Vector3)
MyRenderComponentBase.UpdateRenderTextureChanges(Dictionary<MyStringId, MyTextureChange>)
MyRenderComponentBase.CanBeAddedToRender()
MyRenderComponentBase.UpdateRenderObject(Boolean, Boolean)
MyRenderComponentBase.GetDiffuseColor()
MyRenderComponentBase.GetRenderFlags()
MyRenderComponentBase.GetRenderCullingOptions()
MyRenderComponentBase.SetParent(Int32, UInt32, Nullable<Matrix>)
MyRenderComponentBase.IsChild(Int32)
MyRenderComponentBase.SetVisibilityUpdates(Boolean)
MyRenderComponentBase.PropagateVisibilityUpdates(Boolean)
MyRenderComponentBase.UpdateTransparency()
MyRenderComponentBase.EnableColorMaskHsv
MyRenderComponentBase.ColorMaskHsv
MyRenderComponentBase.TextureChanges
MyRenderComponentBase.PersistentFlags
MyRenderComponentBase.ParentIDs
MyRenderComponentBase.RenderObjectIDs
MyRenderComponentBase.Visible
MyRenderComponentBase.DrawInAllCascades
MyRenderComponentBase.MetalnessColorable
MyRenderComponentBase.NearFlag
MyRenderComponentBase.NeedsDrawFromParent
MyRenderComponentBase.CastShadows
MyRenderComponentBase.NeedsResolveCastShadow
MyRenderComponentBase.FastCastShadowResolve
MyRenderComponentBase.SkipIfTooSmall
MyRenderComponentBase.DrawOutsideViewDistance
MyRenderComponentBase.ShadowBoxLod
MyRenderComponentBase.OffsetInVertexShader
MyRenderComponentBase.ComponentTypeDebugString
MyEntityComponentBase.Container
MyEntityComponentBase.Entity
MyEntityComponentBase.AttachSyncToEntity
MyEntityComponentBase.OnAfterAddedToContainer
MyEntityComponentBase.BeforeRemovedFromContainer
MyComponentBase.SetContainer(IMyComponentContainer)
MyComponentBase.GetAs<T>()
MyComponentBase.OnAddedToScene()
MyComponentBase.OnRemovedFromScene()
MyComponentBase.Serialize(Boolean)
MyComponentBase.Deserialize(MyObjectBuilder_ComponentBase)
MyComponentBase.Init(MyComponentDefinitionBase)
MyComponentBase.IsSerialized()
MyComponentBase.RemoveExistingComponentOnNewInsert
MyComponentBase.ContainerBase
Namespace: Sandbox.Game.Components
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
Type Description
MyCubeGrid

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
Type Description
MyCubeSize

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
MyRenderComponent.AddRenderObjects()

Draw()

Declaration
public override void Draw()
Overrides
MyRenderComponent.Draw()

OnAddedToContainer()

Declaration
public override void OnAddedToContainer()
Overrides
MyEntityComponentBase.OnAddedToContainer()

OnBeforeRemovedFromContainer()

Declaration
public override void OnBeforeRemovedFromContainer()
Overrides
MyEntityComponentBase.OnBeforeRemovedFromContainer()

RebuildDirtyCells()

Declaration
public void RebuildDirtyCells()

RemoveRenderObjects()

Declaration
public override void RemoveRenderObjects()
Overrides
MyRenderComponentBase.RemoveRenderObjects()

ResetLastVoxelContactTimer()

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
MyRenderComponentBase.UpdateRenderObjectVisibility(Boolean)

Extension Methods

MyRenderComponentExtensions.CalculateBlockDepthBias(MyRenderComponent, MyCubeBlock)
MyEntityContainerEventExtensions.RegisterForEntityEvent(MyEntityComponentBase, MyStringHash, MyEntityContainerEventExtensions.EntityEventHandler)
MyEntityContainerEventExtensions.RegisterForEntityEvent(MyEntityComponentBase, MyEntity, MyStringHash, MyEntityContainerEventExtensions.EntityEventHandler)
MyEntityContainerEventExtensions.UnregisterForEntityEvent(MyEntityComponentBase, MyEntity, MyStringHash)
MyEntityContainerEventExtensions.RaiseEntityEvent(MyEntityComponentBase, MyStringHash, MyEntityContainerEventExtensions.EntityEventParams)
MyRenderComponentBaseExtensions.GetModel(MyRenderComponentBase)
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾