Class VehicleWheelCollection
Inheritance
VehicleWheelCollection
Namespace: GTA
Assembly: ScriptHookVDotNet3.dll
Syntax
public sealed class VehicleWheelCollection : IEnumerable<VehicleWheel>, IEnumerable
Properties
|
Improve this Doc
View Source
Count
Declaration
public int Count { get; }
Property Value
|
Improve this Doc
View Source
Item[VehicleWheelBoneId]
Declaration
public VehicleWheel this[VehicleWheelBoneId boneId] { get; }
Parameters
Property Value
|
Improve this Doc
View Source
Item[Int32]
Declaration
[Obsolete("VehicleWheel indexer overload with int index does not support any of the wheels wheel_lm2, wheel_rm2, wheel_lm3, or wheel_lm3, but provided for legacy scripts compatibility in v3 API. Use VehicleWheel indexer overload with VehicleWheelBoneId enum instead.")]
public VehicleWheel this[int index] { get; }
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Property Value
|
Improve this Doc
View Source
Vehicle
Declaration
public Vehicle Vehicle { get; }
Property Value
Methods
|
Improve this Doc
View Source
GetAllWheels()
Declaration
public VehicleWheel[] GetAllWheels()
Returns
|
Improve this Doc
View Source
GetEnumerator()
Declaration
public IEnumerator<VehicleWheel> GetEnumerator()
Returns
|
Improve this Doc
View Source
GetWheelByIndexOfCollection(Int32)
Declaration
public VehicleWheel GetWheelByIndexOfCollection(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
The index of the wheel collection. The order is the same as how the wheel array of the owner Vehicle is aligned.
|
Returns
Exceptions
Explicit Interface Implementations
|
Improve this Doc
View Source
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Implements