Model Structure

RAGE Plugin Hook Documentation

[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

[SerializableAttribute]
public struct Model : IHashedAsset

The Model type exposes the following members.

Constructors

  NameDescription
Public methodModel(String)
Initializes a new instance of the Model class.
Public methodModel(UInt32)
Initializes a new instance of the Model class.
Top
Properties

  NameDescription
Public propertyDimensions
Gets the dimensions of this model.
Public propertyEmergencyLighting
Gets the emergency lighting settings associated with this model.
Public propertyHash
Gets the hash of this asset.
Public propertyIsAmphibious
Gets a value indicating whether this model represents an amphibious vehicle.
Public propertyIsAmphibiousCar
Gets a value indicating whether this model represents an amphibious car.
Public propertyIsAmphibiousQuadBike
Gets a value indicating whether this model represents an amphibious quad bike.
Public propertyIsBicycle
Gets a value indicating whether this model represents a bicycle.
Public propertyIsBigVehicle
Gets a value indicating whether this model represents a big vehicle.
Public propertyIsBike
Gets a value indicating whether this model represents a bike.
Public propertyIsBlimp
Gets a value indicating whether this model represents a blimp.
Public propertyIsBoat
Gets a value indicating whether this model represents a boat.
Public propertyIsBus
Gets a value indicating whether this model represents a bus.
Public propertyIsCar
Gets a value indicating whether this model represents a car.
Public propertyIsCollisionLoaded
Gets a value indicating whether this model's collision has been loaded into memory.
Public propertyIsElectricVehicle
Gets a value indicating whether this model represents an electric vehicle.
Public propertyIsEmergencyVehicle
Gets a value indicating whether this model represents an emergency vehicle.
Public propertyIsHelicopter
Gets a value indicating whether this model represents a helicopter.
Public propertyIsInCdImage
Public propertyIsJetski
Gets a value indicating whether this model represents a jetski.
Public propertyIsLawEnforcementVehicle
Gets a value indicating whether this model represents a law enforcement vehicle.
Public propertyIsLoaded
Public propertyIsObject
Gets a value indicating whether this model represents an object.
Public propertyIsOffroadVehicle
Gets a value indicating whether this model represents an offroad vehicle.
Public propertyIsPed
Gets a value indicating whether this model represents a ped.
Public propertyIsPlane
Gets a value indicating whether this model represents a plane.
Public propertyIsQuadBike
Gets a value indicating whether this model represents a quad bike.
Public propertyIsSubmarine
Gets a value indicating whether this model represents a submarine.
Public propertyIsTrailer
Gets a value indicating whether this model represents a trailer.
Public propertyIsTrain
Gets a value indicating whether this model represents a train.
Public propertyIsValid
Public propertyIsVan
Gets a value indicating whether this model represents a van.
Public propertyIsVehicle
Gets a value indicating whether this model represents a vehicle.
Public propertyStatic memberModels
Public propertyName
Gets the name of this model.
Public propertyNumberOfSeats
If this instance represents a vehicle, gets the number of seats.
Public propertyStatic memberObjectModels
Public propertyStatic memberPedModels
Public propertyStatic memberRandomVehicleModel
Public propertyStatic memberVehicleModels
Top
Methods

  NameDescription
Public methodDismiss
Public methodGetDimensions

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.

Public methodLoad
Public methodLoadAndWait
Public methodLoadCollision
Starts loading this asset's collision into memory.
Public methodLoadCollisionAndWait
Starts loading this asset's collision into memory and waits for it to finish loading.
Top
Operators

  NameDescription
Public operatorStatic member(String to Model)
Public operatorStatic member(UInt32 to Model)
Public operatorStatic member(Model to UInt32)
Public operatorStatic member(Model to Object)
Top
See Also

Reference