Assembly: Sandbox.Game.dll

public class MyUseObjectsComponent: MyUseObjectsComponentBase, IMyComponentBase, IMyEntityComponentBase

Fields

Member Description
DetectorInteractiveObjects

Events

Member Description
static OnAfterAddedToContainer Inherited from MyEntityComponentBase
BeforeRemovedFromContainer Inherited from IMyEntityComponentBase
BeforeRemovedFromContainer Inherited from MyEntityComponentBase

Properties

Member Description
DetectorPhysics
AttachSyncToEntity Inherited from MyEntityComponentBase
ComponentTypeDebugString Inherited from IMyEntityComponentBase
ComponentTypeDebugString Inherited from MyUseObjectsComponentBase
ComponentTypeDebugString Name of the base component type for debug purposes (e.g.: "Position")

Inherited from MyEntityComponentBase
Container Inherited from IMyEntityComponentBase
Container Inherited from MyEntityComponentBase
ContainerBase Inherited from IMyComponentBase
ContainerBase This cannot be named Container to not conflict with the definition of Container in MyEntityComponentBase.

Inherited from MyComponentBase
DetectorPhysics Inherited from MyUseObjectsComponentBase
Entity Inherited from IMyEntityComponentBase
Entity Inherited from MyEntityComponentBase
FailedOnSceneAdd Inherited from MyComponentBase
RemoveExistingComponentOnNewInsert Inherited from IMyComponentBase
RemoveExistingComponentOnNewInsert Inherited from MyComponentBase

Constructors

Member Description
MyUseObjectsComponent()

Methods

Member Description
AddDetector(string, Matrix)
Deserialize(MyObjectBuilder_ComponentBase)
GetDetectorTransformation(IMyUseObject)
GetInteractiveObject(uint)
GetInteractiveObject(string)
GetInteractiveObjects(List)
Init(MyComponentDefinitionBase)
IsSerialized()
LoadDetectorsFromModel()
OnAddedToScene()
PositionChanged(MyPositionComponentBase)
ProcessComponentToUseObjectsAndDistances(ref Dictionary<IMyUseObject, Tuple`2>, Vector3D, Vector3, object)
RaycastDetector(IMyUseObject, Vector3D, Vector3D, out float)
RaycastDetectors(Vector3D, Vector3D, out float)
RecreatePhysics()
RemoveDetector(uint)
Serialize(bool)
SetUseObjectIDs(uint, int)
AddDetector(string, Matrix) Inherited from MyUseObjectsComponentBase
ClearPhysics() Inherited from MyUseObjectsComponentBase
Deserialize(MyObjectBuilder_ComponentBase) Inherited from IMyComponentBase
Deserialize(MyObjectBuilder_ComponentBase) Inherited from MyComponentBase
GetAs() Inherited from IMyComponentBase
GetAs() Inherited from MyComponentBase
GetDetectors(string) Inherited from MyUseObjectsComponentBase
GetDetectorTransformation(IMyUseObject) Inherited from MyUseObjectsComponentBase
GetInteractiveObject(uint) Inherited from MyUseObjectsComponentBase
GetInteractiveObject(string) Inherited from MyUseObjectsComponentBase
GetInteractiveObjects(List) Inherited from MyUseObjectsComponentBase
Init(MyComponentDefinitionBase) Inherited from IMyComponentBase
Init(MyComponentDefinitionBase) Inherited from MyComponentBase
IsSerialized() Inherited from IMyComponentBase
IsSerialized() Tells the component container serializer whether this component should be saved

Inherited from MyComponentBase
LoadDetectorsFromModel() Inherited from MyUseObjectsComponentBase
OnAddedToContainer() Inherited from IMyComponentBase
OnAddedToContainer() Inherited from MyEntityComponentBase
OnAddedToContainer() Gets called after the container of this component changes

Inherited from MyComponentBase
OnAddedToScene() Inherited from IMyComponentBase
OnAddedToScene() Inherited from MyUseObjectsComponentBase
OnAddedToScene() CH: TOOD: Be careful! This does not get called if the component is added to a container that is in the scene already!

Inherited from MyComponentBase
OnBeforeRemovedFromContainer() Inherited from IMyComponentBase
OnBeforeRemovedFromContainer() Inherited from MyUseObjectsComponentBase
OnBeforeRemovedFromContainer() Inherited from MyEntityComponentBase
OnBeforeRemovedFromContainer() Gets called before the removal of this component from a container

Inherited from MyComponentBase
OnRemovedFromScene() Inherited from IMyComponentBase
OnRemovedFromScene() Inherited from MyUseObjectsComponentBase
OnRemovedFromScene() CH: TOOD: Be careful! This does not get called if the component is removed from a container that is still in the scene!

Inherited from MyComponentBase
PositionChanged(MyPositionComponentBase) Inherited from MyUseObjectsComponentBase
ProcessComponentToUseObjectsAndDistances(ref Dictionary<IMyUseObject, Tuple`2>, Vector3D, Vector3, object) Inherited from MyUseObjectsComponentBase
RaycastDetector(IMyUseObject, Vector3D, Vector3D, out float) Inherited from MyUseObjectsComponentBase
RaycastDetectors(Vector3D, Vector3D) Inherited from MyUseObjectsComponentBase
RaycastDetectors(Vector3D, Vector3D, out float) Determine whether the given ray intersects any detector. If so, returns the parametric value of the point of first intersection. PARAMATER IS NOT DISTANCE!

Inherited from MyUseObjectsComponentBase
RecreatePhysics() Inherited from MyUseObjectsComponentBase
RemoveDetector(uint) Inherited from MyUseObjectsComponentBase
Serialize(bool) Inherited from IMyComponentBase
Serialize(bool) Inherited from MyComponentBase
SetContainer(IMyComponentContainer) Inherited from IMyComponentBase
SetContainer(IMyComponentContainer) 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.

Inherited from MyComponentBase

Inheritance: MyComponentBase ˃ MyEntityComponentBase ˃ MyUseObjectsComponentBase

Implements: