IGameObject Interface |
Namespace: SampSharp.GameMode.World
public interface IGameObject : IWorldObject
The IGameObject type exposes the following members.
| Name | Description | |
|---|---|---|
| DrawDistance |
Gets the draw distance of this IGameObject.
| |
| IsMoving |
Gets whether this IGameObject is moving.
| |
| IsValid |
Gets whether this IGameObject is valid.
| |
| ModelId |
Gets the model of this IGameObject.
| |
| Position |
Gets the position of this IWorldObject.
(Inherited from IWorldObject.) | |
| Rotation |
Gets the rotation of this IGameObject.
|
| Name | Description | |
|---|---|---|
| Move(Vector3, Single) |
Moves this IGameObject to the given position with the given speed.
| |
| Move(Vector3, Single, Vector3) |
Moves this IGameObject to the given position and rotation with the given speed.
| |
| SetMaterial |
Sets the material of this IGameObject.
| |
| SetMaterialText |
Sets the material text of this IGameObject.
| |
| Stop |
Stop this IGameObject from moving any further.
|