Show / Hide Table of Contents

Class MyRenderComponentCharacter

Inheritance
System.Object
MyComponentBase
MyEntityComponentBase
MyRenderComponentBase
MyRenderComponent
MyRenderComponentSkinnedEntity
MyRenderComponentCharacter
Inherited Members
MyRenderComponentSkinnedEntity.m_skinnedEntity
MyRenderComponentSkinnedEntity.OnAddedToContainer()
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.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.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 MyRenderComponentCharacter : MyRenderComponentSkinnedEntity, IMyEntityComponentBase, IMyComponentBase

Constructors

MyRenderComponentCharacter()

Declaration
public MyRenderComponentCharacter()

Fields

JETPACK_GLARE_INTENSITY_BASE

Declaration
public static float JETPACK_GLARE_INTENSITY_BASE
Field Value
Type Description
System.Single

JETPACK_GLARE_INTENSITY_LENGTH

Declaration
public static float JETPACK_GLARE_INTENSITY_LENGTH
Field Value
Type Description
System.Single

JETPACK_GLARE_SIZE_LENGTH

Declaration
public static float JETPACK_GLARE_SIZE_LENGTH
Field Value
Type Description
System.Single

JETPACK_GLARE_SIZE_RADIUS

Declaration
public static float JETPACK_GLARE_SIZE_RADIUS
Field Value
Type Description
System.Single

JETPACK_LIGHT_INTENSITY_BASE

Declaration
public static float JETPACK_LIGHT_INTENSITY_BASE
Field Value
Type Description
System.Single

JETPACK_LIGHT_INTENSITY_LENGTH

Declaration
public static float JETPACK_LIGHT_INTENSITY_LENGTH
Field Value
Type Description
System.Single

JETPACK_LIGHT_RANGE_LENGTH

Declaration
public static float JETPACK_LIGHT_RANGE_LENGTH
Field Value
Type Description
System.Single

JETPACK_LIGHT_RANGE_RADIUS

Declaration
public static float JETPACK_LIGHT_RANGE_RADIUS
Field Value
Type Description
System.Single

JETPACK_THRUST_INTENSITY

Declaration
public static float JETPACK_THRUST_INTENSITY
Field Value
Type Description
System.Single

JETPACK_THRUST_INTENSITY_BASE

Declaration
public static float JETPACK_THRUST_INTENSITY_BASE
Field Value
Type Description
System.Single

JETPACK_THRUST_LENGTH

Declaration
public static float JETPACK_THRUST_LENGTH
Field Value
Type Description
System.Single

JETPACK_THRUST_OFFSET

Declaration
public static float JETPACK_THRUST_OFFSET
Field Value
Type Description
System.Single

JETPACK_THRUST_THICKNESS

Declaration
public static float JETPACK_THRUST_THICKNESS
Field Value
Type Description
System.Single

Methods

AddRenderObjects()

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

CleanLights()

Declaration
public void CleanLights()

Damage()

Declaration
public void Damage()

Draw()

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

GetHUDBloodAlpha()

Declaration
public float GetHUDBloodAlpha()
Returns
Type Description
System.Single

GetRandomFloat(Single, Single)

Declaration
public float GetRandomFloat(float minValue, float maxValue)
Parameters
Type Name Description
System.Single minValue
System.Single maxValue
Returns
Type Description
System.Single

InitJetpackThrusts(MyCharacterDefinition)

Declaration
public void InitJetpackThrusts(MyCharacterDefinition definition)
Parameters
Type Name Description
MyCharacterDefinition definition

InitLight(MyCharacterDefinition)

Declaration
public void InitLight(MyCharacterDefinition definition)
Parameters
Type Name Description
MyCharacterDefinition definition

InvalidateRenderObjects()

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

RemoveRenderObjects()

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

UpdateLight(Single, Boolean, Boolean)

Declaration
public void UpdateLight(float lightPower, bool updateRenderObject, bool updateBasicLight)
Parameters
Type Name Description
System.Single lightPower
System.Boolean updateRenderObject
System.Boolean updateBasicLight

UpdateLightPosition()

Declaration
public void UpdateLightPosition()

UpdateLightProperties(Single)

Declaration
public void UpdateLightProperties(float currentLightPower)
Parameters
Type Name Description
System.Single currentLightPower

UpdateShadowIgnoredObjects()

Declaration
public void UpdateShadowIgnoredObjects()

UpdateShadowIgnoredObjects(IMyEntity)

Declaration
public void UpdateShadowIgnoredObjects(IMyEntity Parent)
Parameters
Type Name Description
IMyEntity Parent

UpdateThrustMatrices(Matrix[])

Declaration
public void UpdateThrustMatrices(Matrix[] boneMatrices)
Parameters
Type Name Description
Matrix[] boneMatrices

UpdateWalkParticles()

Declaration
public void UpdateWalkParticles()

Extension Methods

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