Space Engineers
|
Public Member Functions | |
MyCharacterShapecastDetectorComponent () | |
void | DoDetectionModel () |
![]() | |
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... | |
![]() | |
virtual void | UpdateBeforeSimulation () |
virtual void | UpdateAfterSimulation () |
virtual void | UpdateBeforeSimulation100 () |
![]() | |
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... | |
![]() | |
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) |
![]() | |
virtual void | OnDetectedEntityMarkForClose (IMyEntity obj) |
void | GatherDetectorsInArea (Vector3D from) |
void | EnableDetectorsInArea (Vector3D from) |
void | DisableDetectors () |
Properties | |
float | ShapeRadius [get, set] |
![]() | |
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] |
![]() | |
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] |
![]() | |
MyEntityComponentContainer | Container [get] |
IMyEntity | Entity [get] |
abstract string | ComponentTypeDebugString [get] |
Name of the base component type for debug purposes (e.g.: "Position") More... | |
![]() | |
MyComponentContainer | ContainerBase [get] |
This cannot be named Container to not conflict with the definition of Container in MyEntityComponentBase. More... | |
Additional Inherited Members | |
![]() | |
static void | HandleInteractiveObject (IMyUseObject interactive) |
![]() | |
MyHudNotification | m_useObjectNotification |
MyHudNotification | m_showTerminalNotification |
MyHudNotification | m_openInventoryNotification |
bool | m_usingContinuously = false |
MyCharacterHitInfo | CharHitInfo |
![]() | |
static List< MyEntity > | m_detectableEntities = new List<MyEntity>() |
![]() | |
static Action< MyEntityComponentBase > | OnAfterAddedToContainer |
Action< MyEntityComponentBase > | BeforeRemovedFromContainer |
Definition at line 55 of file MyCharacterShapecastDetectorComponent.cs.
|
inline |
Definition at line 62 of file MyCharacterShapecastDetectorComponent.cs.
|
inlineprotectedvirtual |
Implements Sandbox.Game.Entities.Character.MyCharacterDetectorComponent.
Definition at line 67 of file MyCharacterShapecastDetectorComponent.cs.
|
inline |
Definition at line 73 of file MyCharacterShapecastDetectorComponent.cs.
const float Sandbox.Game.Entities.Character.MyCharacterShapecastDetectorComponent.DEFAULT_SHAPE_RADIUS = 0.1f |
Definition at line 57 of file MyCharacterShapecastDetectorComponent.cs.
|
getset |
Definition at line 60 of file MyCharacterShapecastDetectorComponent.cs.