Space Engineers
|
Classes | |
class | MyJetpackThrust |
Public Member Functions | |
MyRenderComponentCharacter () | |
override void | Draw () |
void | InitJetpackThrusts (MyCharacterDefinition definition) |
void | InitLight (MyCharacterDefinition definition) |
void | UpdateLightProperties (float currentLightPower) |
void | UpdateLightPosition () |
void | UpdateLight (float lightPower, bool updateRenderObject) |
void | UpdateThrustMatrices (Matrix[] boneMatrices) |
void | UpdateShadowIgnoredObjects () |
void | UpdateShadowIgnoredObjects (IMyEntity Parent) |
void | Damage () |
void | CleanLights () |
Public Member Functions inherited from Sandbox.Game.Components.MyRenderComponentSkinnedEntity | |
override void | OnAddedToContainer () |
Gets called after the container of this component changes More... | |
override void | AddRenderObjects () |
override void | Draw () |
Public Member Functions inherited from Sandbox.Game.Components.MyRenderComponent | |
override void | SetRenderObjectID (int index, uint ID) |
override void | ReleaseRenderObjectID (int index) |
override bool | IsVisible () |
Public Member Functions inherited from VRage.Game.Components.MyRenderComponentBase | |
int | GetRenderObjectID () |
virtual void | RemoveRenderObjects () |
void | ResizeRenderObjectArray (int newSize) |
bool | IsRenderObjectAssigned (int index) |
virtual void | InvalidateRenderObjects (bool sortIntoCullobjects=false) |
virtual void | UpdateRenderEntity (Vector3 colorMaskHSV) |
void | UpdateRenderObject (bool visible) |
Color | GetDiffuseColor () |
virtual RenderFlags | GetRenderFlags () |
virtual VRageRender.CullingOptions | GetRenderCullingOptions () |
Public Member Functions inherited from VRage.Game.Components.MyEntityComponentBase | |
override void | OnAddedToContainer () |
Gets called after the container of this component changes More... | |
override void | OnBeforeRemovedFromContainer () |
Gets called before the removal of this component from a container More... | |
Public Member Functions inherited from VRage.Game.Components.MyComponentBase | |
virtual void | SetContainer (MyComponentContainer container) |
Sets the container of this component. Note that the component is not added to the container here! Therefore, use MyComponentContainer.Add(...) method and it will in turn call this method. Actually, you should seldom have the need to call this method yourself. More... | |
virtual T | GetAs< T > () |
virtual void | OnAddedToScene () |
CH: TOOD: Be careful! This does not get called if the component is added to a container that is in the scene already! More... | |
virtual void | OnRemovedFromScene () |
CH: TOOD: Be careful! This does not get called if the component is removed from a container that is still in the scene! More... | |
virtual MyObjectBuilder_ComponentBase | Serialize (bool copy=false) |
virtual void | Deserialize (MyObjectBuilder_ComponentBase builder) |
virtual void | Init (MyComponentDefinitionBase definition) |
virtual bool | IsSerialized () |
Tells the component container serializer whether this component should be saved More... | |
Static Public Attributes | |
static float | JETPACK_LIGHT_INTENSITY_BASE = 0f |
static float | JETPACK_LIGHT_INTENSITY_LENGTH = 200f |
static float | JETPACK_LIGHT_RANGE_RADIUS = 1.8f |
static float | JETPACK_LIGHT_RANGE_LENGTH = 0.6f |
static float | JETPACK_GLARE_INTENSITY_BASE = 0.0f |
static float | JETPACK_GLARE_INTENSITY_LENGTH = 15.0f |
static float | JETPACK_GLARE_SIZE_RADIUS = 2.4f |
static float | JETPACK_GLARE_SIZE_LENGTH = 0.2f |
Static Public Attributes inherited from VRage.Game.Components.MyRenderComponentBase | |
static readonly Vector3 | OldRedToHSV = new Vector3(0, 0.0f, 0.05f) |
static readonly Vector3 | OldYellowToHSV = new Vector3(44 / 360f, -0.1f, 0.26f) |
static readonly Vector3 | OldBlueToHSV = new Vector3(207 / 360f, 0, 0) |
static readonly Vector3 | OldGreenToHSV = new Vector3(120 / 360f, -0.48f, -0.25f) |
static readonly Vector3 | OldBlackToHSV = new Vector3(0, -0.96f, -0.5f) |
static readonly Vector3 | OldWhiteToHSV = new Vector3(0, -0.95f, 0.4f) |
static readonly Vector3 | OldGrayToHSV = new Vector3(0, -1f, 0f) |
Properties | |
List< MyJetpackThrust > | JetpackThrusts [get] |
Properties inherited from Sandbox.Game.Components.MyRenderComponent | |
MyModel | Model [get, set] |
override object | ModelStorage [get, set] |
override bool | NeedsDraw [get, set] |
Properties inherited from VRage.Game.Components.MyRenderComponentBase | |
abstract object | ModelStorage [get, set] |
Used by game to store model here. In game this is always of type MyModel. Implementation should only store and return passed object. More... | |
bool | EnableColorMaskHsv [get, set] |
Vector3 | ColorMaskHsv [get, set] |
MyPersistentEntityFlags2 | PersistentFlags [get, set] |
uint[] | RenderObjectIDs [get] |
bool | Visible [get, set] |
virtual bool | NearFlag [get, set] |
bool | NeedsDrawFromParent [get, set] |
bool | CastShadows [get, set] |
bool | NeedsResolveCastShadow [get, set] |
bool | FastCastShadowResolve [get, set] |
bool | SkipIfTooSmall [get, set] |
bool | DrawOutsideViewDistance [get, set] |
bool | ShadowBoxLod [get, set] |
bool | OffsetInVertexShader [get, set] |
virtual bool | NeedsDraw [get, set] |
override string | ComponentTypeDebugString [get] |
Properties inherited from VRage.Game.Components.MyEntityComponentBase | |
MyEntityComponentContainer | Container [get] |
IMyEntity | Entity [get] |
abstract string | ComponentTypeDebugString [get] |
Name of the base component type for debug purposes (e.g.: "Position") More... | |
Properties inherited from VRage.Game.Components.MyComponentBase | |
MyComponentContainer | ContainerBase [get] |
This cannot be named Container to not conflict with the definition of Container in MyEntityComponentBase. More... | |
Definition at line 25 of file MyRenderComponentCharacter.cs.
|
inline |
Definition at line 34 of file MyRenderComponentCharacter.cs.
|
inline |
Definition at line 560 of file MyRenderComponentCharacter.cs.
|
inline |
Definition at line 555 of file MyRenderComponentCharacter.cs.
|
inlinevirtual |
Reimplemented from Sandbox.Game.Components.MyRenderComponent.
Definition at line 171 of file MyRenderComponentCharacter.cs.
|
inline |
Definition at line 379 of file MyRenderComponentCharacter.cs.
|
inline |
todo: defaults should be supplied from Environemnt.sbc
Definition at line 422 of file MyRenderComponentCharacter.cs.
|
inline |
Definition at line 502 of file MyRenderComponentCharacter.cs.
|
inline |
Definition at line 464 of file MyRenderComponentCharacter.cs.
|
inline |
Definition at line 451 of file MyRenderComponentCharacter.cs.
|
inline |
Definition at line 538 of file MyRenderComponentCharacter.cs.
|
inline |
Definition at line 547 of file MyRenderComponentCharacter.cs.
|
inline |
Definition at line 530 of file MyRenderComponentCharacter.cs.
|
static |
Definition at line 278 of file MyRenderComponentCharacter.cs.
|
static |
Definition at line 279 of file MyRenderComponentCharacter.cs.
|
static |
Definition at line 281 of file MyRenderComponentCharacter.cs.
|
static |
Definition at line 280 of file MyRenderComponentCharacter.cs.
|
static |
Definition at line 274 of file MyRenderComponentCharacter.cs.
|
static |
Definition at line 275 of file MyRenderComponentCharacter.cs.
|
static |
Definition at line 277 of file MyRenderComponentCharacter.cs.
|
static |
Definition at line 276 of file MyRenderComponentCharacter.cs.
|
get |
Definition at line 142 of file MyRenderComponentCharacter.cs.