NativeVehicle Methods |
The NativeVehicle type exposes the following members.
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.) | |
AddVehicleComponent | ||
AttachTrailerToVehicle | ||
ChangeVehicleColor | ||
ChangeVehiclePaintjob | ||
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.) | |
DestroyVehicle | ||
DetachTrailerFromVehicle | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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.) | |
GetVehicleComponentInSlot | ||
GetVehicleDamageStatus | ||
GetVehicleDistanceFromPoint | ||
GetVehicleHealth | ||
GetVehicleModel | ||
GetVehicleParamsCarDoors | ||
GetVehicleParamsCarWindows | ||
GetVehicleParamsEx | ||
GetVehicleParamsSirenState | ||
GetVehiclePos | ||
GetVehicleRotationQuat | ||
GetVehicleTrailer | ||
GetVehicleVelocity | ||
GetVehicleVirtualWorld | ||
GetVehicleZAngle | ||
IsTrailerAttachedToVehicle | ||
IsValidVehicle | ||
IsVehicleStreamedIn | ||
LinkVehicleToInterior | ||
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnDestroyComponent |
This method is invoked before this component is destroyed and removed from its entity.
(Inherited from Component.) | |
OnInitializeComponent | (Inherited from BaseNativeComponent.) | |
RemoveVehicleComponent | ||
RepairVehicle | ||
SetVehicleAngularVelocity | ||
SetVehicleHealth | ||
SetVehicleNumberPlate | ||
SetVehicleParamsCarDoors | ||
SetVehicleParamsCarWindows | ||
SetVehicleParamsEx | ||
SetVehicleParamsForPlayer | ||
SetVehiclePos | ||
SetVehicleToRespawn | ||
SetVehicleVelocity | ||
SetVehicleVirtualWorld | ||
SetVehicleZAngle | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UpdateVehicleDamageStatus |