Space Engineers
Public Member Functions | Properties | List of all members
Sandbox.Game.Entities.MySpherePlaceArea Class Reference
Inheritance diagram for Sandbox.Game.Entities.MySpherePlaceArea:
Sandbox.Game.Entities.MyPlaceArea VRage.Game.Components.MyEntityComponentBase VRage.Game.Components.MyComponentBase

Public Member Functions

 MySpherePlaceArea (float radius, MyStringHash areaType)
 
Vector3D GetPosition ()
 
override double DistanceSqToPoint (Vector3D point)
 
override bool TestPoint (Vector3D point)
 
- Public Member Functions inherited from Sandbox.Game.Entities.MyPlaceArea
 MyPlaceArea (MyStringHash areaType)
 
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.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...
 

Properties

float Radius [get]
 
override BoundingBoxD WorldAABB [get]
 
- Properties inherited from Sandbox.Game.Entities.MyPlaceArea
abstract BoundingBoxD WorldAABB [get]
 
MyStringHash AreaType [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 Public Member Functions inherited from Sandbox.Game.Entities.MyPlaceArea
static MyPlaceArea FromEntity (long entityId)
 
- Public Attributes inherited from Sandbox.Game.Entities.MyPlaceArea
int PlaceAreaProxyId = MyVRageConstants.PRUNING_PROXY_ID_UNITIALIZED
 
- Events inherited from VRage.Game.Components.MyEntityComponentBase
static Action< MyEntityComponentBaseOnAfterAddedToContainer
 
Action< MyEntityComponentBaseBeforeRemovedFromContainer
 

Detailed Description

Definition at line 11 of file MySpherePlaceArea.cs.

Constructor & Destructor Documentation

Sandbox.Game.Entities.MySpherePlaceArea.MySpherePlaceArea ( float  radius,
MyStringHash  areaType 
)
inline

Definition at line 17 of file MySpherePlaceArea.cs.

Member Function Documentation

override double Sandbox.Game.Entities.MySpherePlaceArea.DistanceSqToPoint ( Vector3D  point)
inlinevirtual

Implements Sandbox.Game.Entities.MyPlaceArea.

Definition at line 44 of file MySpherePlaceArea.cs.

Vector3D Sandbox.Game.Entities.MySpherePlaceArea.GetPosition ( )
inline

Definition at line 33 of file MySpherePlaceArea.cs.

override bool Sandbox.Game.Entities.MySpherePlaceArea.TestPoint ( Vector3D  point)
inlinevirtual

Implements Sandbox.Game.Entities.MyPlaceArea.

Definition at line 50 of file MySpherePlaceArea.cs.

Property Documentation

float Sandbox.Game.Entities.MySpherePlaceArea.Radius
get

Definition at line 15 of file MySpherePlaceArea.cs.

override BoundingBoxD Sandbox.Game.Entities.MySpherePlaceArea.WorldAABB
get

Definition at line 25 of file MySpherePlaceArea.cs.


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