Click or drag to resize

GlobalObject Methods

The GlobalObject type exposes the following members.

Methods
  NameDescription
Protected methodAssertNotDisposed
Checks whether this instance has been disposed. If it has, it throws an exception.
(Inherited from Disposable.)
Public methodAttachCameraToObject
Attaches a player's camera to this GlobalObject.
Public methodAttachTo(BasePlayer, Vector3, Vector3)
Attaches this GlobalObject to the specified player.
Public methodAttachTo(BaseVehicle, Vector3, Vector3)
Attaches this GlobalObject to the specified vehicle.
Public methodAttachTo(GlobalObject, Vector3, Vector3, Boolean)
Attaches this GlobalObject to the specified globalObject.
Public methodDisableCameraCollisions
Disable collisions between players' cameras and this GlobalObject.
Public methodDispose
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from Disposable.)
Protected methodDispose(Boolean)
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
(Overrides IdentifiedPoolTInstanceDispose(Boolean).)
Public methodEdit
Lets the specified player edit this PlayerObject.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizes an instance of the Disposable class.
(Inherited from Disposable.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodInitialize
An overloadable point for initialization logic which requires the Id to be set.
(Inherited from IdentifiedPoolTInstance.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMove(Vector3, Single)
Moves this IGameObject to the given position with the given speed.
Public methodMove(Vector3, Single, Vector3)
Moves this IGameObject to the given position and rotation with the given speed.
Public methodOnEdited
Raises the Edited event.
Public methodOnMoved
Raises the Moved event.
Public methodOnSelected
Raises the Selected event.
Public methodStatic memberRemove
Removes the specified object.
Public methodStatic memberSelect
Lets the specified player select an object.
Public methodSetMaterial
Sets the material of this IGameObject.
Public methodSetMaterialText
Sets the material text of this IGameObject.
Public methodStop
Stop this IGameObject from moving any further.
Public methodStatic memberToggleDefaultCameraCollisions
Toggles the default camera collisions.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also