[This is preliminary documentation and is subject to change.]
[Missing <summary> documentation for "T:Rage.Model"]
Namespace: Rage
Assembly: RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax
The Model type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Model(String) |
Initializes a new instance of the Model class.
| |
Model(UInt32) |
Initializes a new instance of the Model class.
|
Properties
Name | Description | |
---|---|---|
Dimensions |
Gets the dimensions of this model.
| |
EmergencyLighting |
Gets the emergency lighting settings associated with this model.
| |
Hash |
Gets the hash of this asset.
| |
IsAmphibious |
Gets a value indicating whether this model represents an amphibious vehicle.
| |
IsAmphibiousCar |
Gets a value indicating whether this model represents an amphibious car.
| |
IsAmphibiousQuadBike |
Gets a value indicating whether this model represents an amphibious quad bike.
| |
IsBicycle |
Gets a value indicating whether this model represents a bicycle.
| |
IsBigVehicle |
Gets a value indicating whether this model represents a big vehicle.
| |
IsBike |
Gets a value indicating whether this model represents a bike.
| |
IsBlimp |
Gets a value indicating whether this model represents a blimp.
| |
IsBoat |
Gets a value indicating whether this model represents a boat.
| |
IsBus |
Gets a value indicating whether this model represents a bus.
| |
IsCar |
Gets a value indicating whether this model represents a car.
| |
IsCollisionLoaded |
Gets a value indicating whether this model's collision has been loaded into memory.
| |
IsElectricVehicle |
Gets a value indicating whether this model represents an electric vehicle.
| |
IsEmergencyVehicle |
Gets a value indicating whether this model represents an emergency vehicle.
| |
IsHelicopter |
Gets a value indicating whether this model represents a helicopter.
| |
IsInCdImage | ||
IsJetski |
Gets a value indicating whether this model represents a jetski.
| |
IsLawEnforcementVehicle |
Gets a value indicating whether this model represents a law enforcement vehicle.
| |
IsLoaded | ||
IsObject |
Gets a value indicating whether this model represents an object.
| |
IsOffroadVehicle |
Gets a value indicating whether this model represents an offroad vehicle.
| |
IsPed |
Gets a value indicating whether this model represents a ped.
| |
IsPlane |
Gets a value indicating whether this model represents a plane.
| |
IsQuadBike |
Gets a value indicating whether this model represents a quad bike.
| |
IsSubmarine |
Gets a value indicating whether this model represents a submarine.
| |
IsTrailer |
Gets a value indicating whether this model represents a trailer.
| |
IsTrain |
Gets a value indicating whether this model represents a train.
| |
IsValid | ||
IsVan |
Gets a value indicating whether this model represents a van.
| |
IsVehicle |
Gets a value indicating whether this model represents a vehicle.
| |
Models | ||
Name |
Gets the name of this model.
| |
NumberOfSeats |
If this instance represents a vehicle, gets the number of seats.
| |
ObjectModels | ||
PedModels | ||
RandomVehicleModel | ||
VehicleModels |
Methods
Name | Description | |
---|---|---|
Dismiss | ||
GetDimensions | Gets the dimensions of this model. The rear bottom left relative offset from the origin of the model. The front top right relative offset from the origin of the model. | |
Load | ||
LoadAndWait | ||
LoadCollision |
Starts loading this asset's collision into memory.
| |
LoadCollisionAndWait |
Starts loading this asset's collision into memory and waits for it to finish loading.
|
Operators
Name | Description | |
---|---|---|
(String to Model) | ||
(UInt32 to Model) | ||
(Model to UInt32) | ||
(Model to Object) |
See Also