Class SharedWorldObject
Class representing static, 3D models in the GTA world.
Inheritance
SharedWorldObject
Assembly: SlipeShared.dll
Syntax
public class SharedWorldObject : PhysicalElement
Constructors
|
Improve this Doc
View Source
SharedWorldObject(Int32, Vector3)
Creates a SharedWorldObject from a model ID and a position Vector3
Declaration
public SharedWorldObject(int model, Vector3 position)
Parameters
|
Improve this Doc
View Source
SharedWorldObject(Int32, Vector3, Vector3, Boolean)
Creates a SharedWorldObject from all CreateObject variables
Declaration
public SharedWorldObject(int model, Vector3 position, Vector3 rotation, bool isLowLOD = false)
Parameters
Properties
|
Improve this Doc
View Source
Scale
Gets and sets the scale of the WorldObject
Declaration
public Vector3 Scale { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Move(Int32, Vector3)
Moves a WorldObject linearly to a position in a certain time
Declaration
public bool Move(int milliseconds, Vector3 position)
Parameters
Returns
|
Improve this Doc
View Source
Move(Int32, Vector3, Vector3, EasingFunction)
Moves a WorldObject to a position and rotation during a period, using an easing function
Declaration
public bool Move(int milliseconds, Vector3 position, Vector3 rotationOffset, EasingFunction easingFunction)
Parameters
Returns
|
Improve this Doc
View Source
Stop()
Stops a WorldObject from moving
Declaration
Returns