Show / Hide Table of Contents

Class MyRenderComponentFracturedPiece

Inheritance
System.Object
MyComponentBase
MyEntityComponentBase
MyRenderComponentBase
MyRenderComponent
MyRenderComponentFracturedPiece
Inherited Members
MyRenderComponent.m_model
MyRenderComponent.SetRenderObjectID(Int32, UInt32)
MyRenderComponent.ReleaseRenderObjectID(Int32)
MyRenderComponent.Draw()
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.RemoveRenderObjects()
MyRenderComponentBase.ResizeRenderObjectArray(Int32)
MyRenderComponentBase.IsRenderObjectAssigned(Int32)
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 MyRenderComponentFracturedPiece : MyRenderComponent, IMyEntityComponentBase, IMyComponentBase

Constructors

MyRenderComponentFracturedPiece()

Declaration
public MyRenderComponentFracturedPiece()

Methods

AddPiece(String, MatrixD)

Declaration
public void AddPiece(string modelName, MatrixD localTransform)
Parameters
Type Name Description
System.String modelName
MatrixD localTransform

AddRenderObjects()

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

ClearModels()

Declaration
public void ClearModels()

InvalidateRenderObjects()

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

RemovePiece(String)

Declaration
public void RemovePiece(string modelName)
Parameters
Type Name Description
System.String modelName

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