Click or drag to resize

PlayerObject Methods

The PlayerObject type exposes the following members.

Methods
  NameDescription
Public methodAddComponentT
Adds a component of the specified type T to the entity.
(Inherited from Component.)
Public methodAddComponentT(Object)
Adds a component of the specified type T to the entity with the specified constructor args.
(Inherited from Component.)
Public methodAttachTo
Attaches this player object to the specified player object or vehicle.
Public methodDestroy
Destroys this component.
(Inherited from Component.)
Public methodDestroyComponentsT
Destroys the components of the specified type T attached to the entity.
(Inherited from Component.)
Public methodDestroyEntity
Destroys the entity.
(Inherited from Component.)
Public methodDisableCameraCollisions
Disable collisions between players' cameras and this player object.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetComponentT
Gets a component of the specified type T attached to the entity.
(Inherited from Component.)
Public methodGetComponentInChildrenT
Gets a component of the specified type T attached to a child entity of the entity using a depth first search.
(Inherited from Component.)
Public methodGetComponentInParentT
Gets a component of the specified type T attached to a parent entity of the entity.
(Inherited from Component.)
Public methodGetComponentsT
Gets all components of the specified type T attached to the entity.
(Inherited from Component.)
Public methodGetComponentsInChildrenT
Gets all components of the specified type T attached to a child entity of the entity.
(Inherited from Component.)
Public methodGetComponentsInParentT
Gets all components of the specified type T attached to a parent entity of the entity.
(Inherited from Component.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMove(Vector3, Single)
Moves this player object to the given position with the given speed.
Public methodMove(Vector3, Single, Vector3)
Moves this player object to the given position and rotation with the given speed.
Public methodSetMaterial
Sets the material of this player object.
Public methodSetMaterialText
Sets the material text of this player object.
Public methodStop
Stop this player object from moving any further.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also