PlayerObject Class |
Namespace: SampSharp.Entities.SAMP
public sealed class PlayerObject : Component
The PlayerObject type exposes the following members.
Name | Description | |
---|---|---|
![]() | DrawDistance |
Gets the draw distance of this player object.
|
![]() | Entity |
Gets the entity to which this component has been attached.
(Inherited from Component.) |
![]() | IsComponentAlive |
Gets a value indicating whether this component is alive (has not been destroyed).
(Inherited from Component.) |
![]() | IsMoving |
Gets whether this player object is moving.
|
![]() | IsValid |
Gets whether this player object is valid.
|
![]() | ModelId |
Gets the model of this player object.
|
![]() | Parent |
Gets the parent entity of the entity to which this component has been attached.
(Inherited from Component.) |
![]() | Position |
Gets the position of this player object.
|
![]() | Rotation |
Gets the rotation of this player object.
|
Name | Description | |
---|---|---|
![]() | AddComponentT |
Adds a component of the specified type T to the entity.
(Inherited from Component.) |
![]() | AddComponentT(Object) |
Adds a component of the specified type T to the entity with the specified constructor args.
(Inherited from Component.) |
![]() | AttachTo |
Attaches this player object to the specified player object or vehicle.
|
![]() | Destroy |
Destroys this component.
(Inherited from Component.) |
![]() | DestroyComponentsT |
Destroys the components of the specified type T attached to the entity.
(Inherited from Component.) |
![]() | DestroyEntity |
Destroys the entity.
(Inherited from Component.) |
![]() | DisableCameraCollisions |
Disable collisions between players' cameras and this player object.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetComponentT |
Gets a component of the specified type T attached to the entity.
(Inherited from Component.) |
![]() | GetComponentInChildrenT |
Gets a component of the specified type T attached to a child entity of the entity using a depth first search.
(Inherited from Component.) |
![]() | GetComponentInParentT |
Gets a component of the specified type T attached to a parent entity of the entity.
(Inherited from Component.) |
![]() | GetComponentsT |
Gets all components of the specified type T attached to the entity.
(Inherited from Component.) |
![]() | GetComponentsInChildrenT |
Gets all components of the specified type T attached to a child entity of the entity.
(Inherited from Component.) |
![]() | GetComponentsInParentT |
Gets all components of the specified type T attached to a parent entity of the entity.
(Inherited from Component.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Move(Vector3, Single) |
Moves this player object to the given position with the given speed.
|
![]() | Move(Vector3, Single, Vector3) |
Moves this player object to the given position and rotation with the given speed.
|
![]() | SetMaterial |
Sets the material of this player object.
|
![]() | SetMaterialText |
Sets the material text of this player object.
|
![]() | Stop |
Stop this player object from moving any further.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |