◆ Rope()
GTA.Rope.Rope |
( |
int |
handle | ) |
|
◆ ActivatePhysics()
void GTA.Rope.ActivatePhysics |
( |
| ) |
|
Activates physics interactions for this Rope.
◆ Attach() [1/2]
void GTA.Rope.Attach |
( |
Entity |
entity | ) |
|
Attaches a single Entity to this Rope.
- Parameters
-
entity | The entity to attach. |
◆ Attach() [2/2]
Attaches a single Entity to this Rope at the specified position .
- Parameters
-
entity | The entity to attach. |
position | The position in world coordinates to attach to. |
◆ Connect() [1/2]
void GTA.Rope.Connect |
( |
Entity |
entity1, |
|
|
Entity |
entity2, |
|
|
float |
length |
|
) |
| |
Connects two Entitys with this Rope.
- Parameters
-
entity1 | The first entity to attach. |
entity2 | The second entity to attach. |
length | The rope length. |
◆ Connect() [2/2]
Connects two Entitys with this Rope at the specified positions.
- Parameters
-
entity1 | The first entity to attach. |
entity2 | The second entity to attach. |
position1 | The position in world coordinates to attach the first entity to. |
position2 | The position in world coordinates to attach the second entity to. |
length | The rope length. |
◆ Delete()
override void GTA.Rope.Delete |
( |
| ) |
|
|
virtual |
◆ Detach()
void GTA.Rope.Detach |
( |
Entity |
entity | ) |
|
Detaches a single Entity from this Rope.
- Parameters
-
entity | The entity to detach. |
◆ Equals()
override bool GTA.Rope.Equals |
( |
object |
obj | ) |
|
Determines if an object refers to the same rope as this Rope.
- Parameters
-
- Returns
true
if the obj is the same rope as this Rope; otherwise, false
.
◆ Exists()
override bool GTA.Rope.Exists |
( |
| ) |
|
|
virtual |
◆ GetHashCode()
override int GTA.Rope.GetHashCode |
( |
| ) |
|
◆ GetVertexCoord()
Vector3 GTA.Rope.GetVertexCoord |
( |
int |
vertex | ) |
|
Gets the world coordinates of a single vertex of this Rope.
- Parameters
-
vertex | The index of the vertex. |
- Returns
- The position of the vertex in world coordinates.
◆ operator InputArgument()
Converts a Rope to a native input argument.
◆ operator!=()
static bool GTA.Rope.operator!= |
( |
Rope |
left, |
|
|
Rope |
right |
|
) |
| |
|
static |
Determines if two Ropes don't refer to the same rope.
- Parameters
-
- Returns
true
if left is not the same rope as right ; otherwise, false
.
◆ operator==()
static bool GTA.Rope.operator== |
( |
Rope |
left, |
|
|
Rope |
right |
|
) |
| |
|
static |
Determines if two Ropes refer to the same rope.
- Parameters
-
- Returns
true
if left is the same rope as right ; otherwise, false
.
◆ PinVertex()
void GTA.Rope.PinVertex |
( |
int |
vertex, |
|
|
Vector3 |
position |
|
) |
| |
Pin a vertex of this Rope to a position .
- Parameters
-
vertex | The index of the vertex. |
position | The position in world coordinates to pin to. |
◆ UnpinVertex()
void GTA.Rope.UnpinVertex |
( |
int |
vertex | ) |
|
Unpin a vertex of this Rope.
- Parameters
-
vertex | The index of the vertex. |
◆ VertexCount
int GTA.Rope.VertexCount => Function.Call<int>(Hash.GET_ROPE_VERTEX_COUNT, Handle) |
Gets the number of vertices of this Rope.
◆ Length
Gets or sets the length of this Rope.
The documentation for this class was generated from the following file:
- C:/Users/nitan/source/repos/scripthookvdotnet/source/scripting_v3/GTA/Rope.cs