Space Engineers
Public Member Functions | Public Attributes | Protected Member Functions | Properties | List of all members
Sandbox.Game.Entities.Character.MyCharacterShapecastDetectorComponent Class Reference
Inheritance diagram for Sandbox.Game.Entities.Character.MyCharacterShapecastDetectorComponent:
Sandbox.Game.Entities.Character.MyCharacterDetectorComponent Sandbox.Game.Entities.Character.MyCharacterComponent VRage.Game.Components.MyEntityComponentBase VRage.Game.Components.MyComponentBase

Public Member Functions

 MyCharacterShapecastDetectorComponent ()
 
void DoDetectionModel ()
 
- Public Member Functions inherited from Sandbox.Game.Entities.Character.MyCharacterDetectorComponent
override void UpdateAfterSimulation10 ()
 
void DoDetection ()
 
void UseContinues ()
 
override void OnCharacterDead ()
 
override void OnAddedToContainer ()
 Gets called after the container of this component changes More...
 
override 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...
 
- Public Member Functions inherited from Sandbox.Game.Entities.Character.MyCharacterComponent
virtual void UpdateBeforeSimulation ()
 
virtual void UpdateAfterSimulation ()
 
virtual void UpdateBeforeSimulation100 ()
 
- 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 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...
 

Public Attributes

const float DEFAULT_SHAPE_RADIUS = 0.1f
 

Protected Member Functions

override void DoDetection (bool useHead)
 
- Protected Member Functions inherited from Sandbox.Game.Entities.Character.MyCharacterDetectorComponent
virtual void OnDetectedEntityMarkForClose (IMyEntity obj)
 
void GatherDetectorsInArea (Vector3D from)
 
void EnableDetectorsInArea (Vector3D from)
 
void DisableDetectors ()
 

Properties

float ShapeRadius [get, set]
 
- Properties inherited from Sandbox.Game.Entities.Character.MyCharacterDetectorComponent
IMyUseObject UseObject [get, set]
 
IMyEntity DetectedEntity [get, protected set]
 
Vector3D HitPosition [get, protected set]
 
Vector3 HitNormal [get, protected set]
 
uint ShapeKey [get, protected set]
 
Vector3D StartPosition [get, protected set]
 
MyStringHash HitMaterial [get, protected set]
 
HkRigidBody HitBody [get, protected set]
 
object HitTag [get, protected set]
 
- Properties inherited from Sandbox.Game.Entities.Character.MyCharacterComponent
bool NeedsUpdateAfterSimulation [get, set]
 This set's flag for update. Set it after add to container! More...
 
bool NeedsUpdateAfterSimulation10 [get, set]
 This set's flag for update. Set it after add to container! More...
 
bool NeedsUpdateBeforeSimulation100 [get, set]
 This set's flag for update. Set it after add to container! More...
 
bool NeedsUpdateBeforeSimulation [get, set]
 This set's flag for update. Set it after add to container! More...
 
MyCharacter Character [get]
 
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...
 

Additional Inherited Members

- Static Protected Member Functions inherited from Sandbox.Game.Entities.Character.MyCharacterDetectorComponent
static void HandleInteractiveObject (IMyUseObject interactive)
 
- Protected Attributes inherited from Sandbox.Game.Entities.Character.MyCharacterDetectorComponent
MyHudNotification m_useObjectNotification
 
MyHudNotification m_showTerminalNotification
 
MyHudNotification m_openInventoryNotification
 
bool m_usingContinuously = false
 
MyCharacterHitInfo CharHitInfo
 
- Static Protected Attributes inherited from Sandbox.Game.Entities.Character.MyCharacterDetectorComponent
static List< MyEntitym_detectableEntities = new List<MyEntity>()
 
- Events inherited from VRage.Game.Components.MyEntityComponentBase
static Action< MyEntityComponentBaseOnAfterAddedToContainer
 
Action< MyEntityComponentBaseBeforeRemovedFromContainer
 

Detailed Description

Definition at line 55 of file MyCharacterShapecastDetectorComponent.cs.

Constructor & Destructor Documentation

Sandbox.Game.Entities.Character.MyCharacterShapecastDetectorComponent.MyCharacterShapecastDetectorComponent ( )
inline

Definition at line 62 of file MyCharacterShapecastDetectorComponent.cs.

Member Function Documentation

override void Sandbox.Game.Entities.Character.MyCharacterShapecastDetectorComponent.DoDetection ( bool  useHead)
inlineprotectedvirtual
void Sandbox.Game.Entities.Character.MyCharacterShapecastDetectorComponent.DoDetectionModel ( )
inline

Definition at line 73 of file MyCharacterShapecastDetectorComponent.cs.

Member Data Documentation

const float Sandbox.Game.Entities.Character.MyCharacterShapecastDetectorComponent.DEFAULT_SHAPE_RADIUS = 0.1f

Definition at line 57 of file MyCharacterShapecastDetectorComponent.cs.

Property Documentation

float Sandbox.Game.Entities.Character.MyCharacterShapecastDetectorComponent.ShapeRadius
getset

Definition at line 60 of file MyCharacterShapecastDetectorComponent.cs.


The documentation for this class was generated from the following file: