Show / Hide Table of Contents

Class MyRenderComponent

Inheritance
System.Object
MyComponentBase
MyEntityComponentBase
MyRenderComponentBase
MyRenderComponent
MyRenderComponentCubeBlock
MyRenderComponentCubeGrid
MyRenderComponentFracturedPiece
Inherited Members
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.RemoveRenderObjects()
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.UpdateRenderObjectVisibility(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.OnAddedToContainer()
MyEntityComponentBase.OnBeforeRemovedFromContainer()
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 MyRenderComponent : MyRenderComponentBase, IMyEntityComponentBase, IMyComponentBase

Constructors

MyRenderComponent()

Declaration
public MyRenderComponent()

Fields

m_model

Declaration
protected MyModel m_model
Field Value
Type Description
VRage.Game.Models.MyModel

Properties

Model

Declaration
public MyModel Model { get; set; }
Property Value
Type Description
VRage.Game.Models.MyModel

ModelStorage

Declaration
public override object ModelStorage { get; set; }
Property Value
Type Description
System.Object
Overrides
MyRenderComponentBase.ModelStorage

NeedsDraw

Declaration
public override bool NeedsDraw { get; set; }
Property Value
Type Description
System.Boolean
Overrides
MyRenderComponentBase.NeedsDraw

Methods

AddRenderObjects()

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

Draw()

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

IsVisible()

Declaration
public override bool IsVisible()
Returns
Type Description
System.Boolean
Overrides
MyRenderComponentBase.IsVisible()

ReleaseRenderObjectID(Int32)

Declaration
public override void ReleaseRenderObjectID(int index)
Parameters
Type Name Description
System.Int32 index
Overrides
MyRenderComponentBase.ReleaseRenderObjectID(Int32)

SetRenderObjectID(Int32, UInt32)

Declaration
public override void SetRenderObjectID(int index, uint ID)
Parameters
Type Name Description
System.Int32 index
System.UInt32 ID
Overrides
MyRenderComponentBase.SetRenderObjectID(Int32, UInt32)

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
☀
☾