SHVDN
v3
An ASI plugin for Grand Theft Auto V, which allows running scripts written in any .NET language in-game. Developed by crosire https://github.com/crosire/scripthookvdotnet/
|
Public Member Functions | |
void | SetParameter (string parameterName, float value) |
Modifys parameters of this ParticleEffect. More... | |
override void | Delete () |
Stops and removes this ParticleEffect. More... | |
override bool | Exists () |
Determines if this Checkpoint exists. More... | |
override bool | Equals (object obj) |
Determines if an object refers to the same effect as this ParticleEffect. More... | |
override int | GetHashCode () |
override string | ToString () |
Static Public Member Functions | |
static bool | operator== (ParticleEffect left, ParticleEffect right) |
Determines if two ParticleEffects refer to the same effect. More... | |
static bool | operator!= (ParticleEffect left, ParticleEffect right) |
Determines if two ParticleEffects don't refer to the same effect. More... | |
static implicit | operator InputArgument (ParticleEffect effect) |
Converts a ParticleEffect to a native input argument. More... | |
Public Attributes | |
IntPtr | MemoryAddress => SHVDN.NativeMemory.GetPtfxAddress(Handle) |
Gets the memory address where this ParticleEffect is located in game memory. More... | |
Properties | |
Entity? | Entity [get] |
Gets the GTA.Entity this ParticleEffect is attached to or null if there is none. More... | |
EntityBone | Bone [get] |
Gets the EntityBone that this ParticleEffect is attached to or null if there is none. More... | |
string | AssetName [get] |
Gets the name of the asset used for this ParticleEffect. More... | |
string | EffectName [get] |
Gets the name of the effect used for this ParticleEffect. More... | |
Vector3 | Offset [get, set] |
Gets or sets the offset. If this ParticleEffect is attached to an Entity, this refers to the offset from the Entity; otherwise, this refers to its position in World coordinates More... | |
Vector3 | Rotation [set] |
Sets the rotation of this ParticleEffect More... | |
Color | Color [get, set] |
Gets or sets the Color of this ParticleEffect. More... | |
float | Scale [get, set] |
Gets or sets the size scaling factor of this ParticleEffect. More... | |
float | Range [get, set] |
Gets or sets the range of this ParticleEffect. More... | |
Properties inherited from GTA.PoolObject | |
int | Handle [get, protected set] |
The handle of the object. More... | |
ulong | NativeValue [get, set] |
The handle of the object translated to a native value. More... | |
Properties inherited from GTA.Native.INativeValue | |
ulong | NativeValue [get, set] |
Additional Inherited Members | |
Protected Member Functions inherited from GTA.PoolObject | |
PoolObject (int handle) | |
|
virtual |
Stops and removes this ParticleEffect.
Implements GTA.PoolObject.
override bool GTA.ParticleEffect.Equals | ( | object | obj | ) |
Determines if an object refers to the same effect as this ParticleEffect.
obj | The object to check. |
true
if the obj is the same effect as this ParticleEffect; otherwise, false
.
|
virtual |
Determines if this Checkpoint exists.
true
if this Checkpoint exists; otherwise, false
.Implements GTA.PoolObject.
override int GTA.ParticleEffect.GetHashCode | ( | ) |
|
static |
Converts a ParticleEffect to a native input argument.
|
static |
Determines if two ParticleEffects don't refer to the same effect.
left | The left ParticleEffect. |
right | The right ParticleEffect. |
true
if left is not the same effect as right ; otherwise, false
.
|
static |
Determines if two ParticleEffects refer to the same effect.
left | The left ParticleEffect. |
right | The right ParticleEffect. |
true
if left is the same effect as right ; otherwise, false
.void GTA.ParticleEffect.SetParameter | ( | string | parameterName, |
float | value | ||
) |
Modifys parameters of this ParticleEffect.
parameterName | Name of the parameter you want to modify, these are stored inside the effect files. |
value | The new value for the parameter. |
override string GTA.ParticleEffect.ToString | ( | ) |
IntPtr GTA.ParticleEffect.MemoryAddress => SHVDN.NativeMemory.GetPtfxAddress(Handle) |
Gets the memory address where this ParticleEffect is located in game memory.
|
get |
Gets the name of the asset used for this ParticleEffect.
|
get |
Gets the EntityBone that this ParticleEffect is attached to or null
if there is none.
|
getset |
Gets or sets the Color of this ParticleEffect.
|
get |
Gets the name of the effect used for this ParticleEffect.
|
get |
Gets the GTA.Entity this ParticleEffect is attached to or null
if there is none.
|
getset |
Gets or sets the offset. If this ParticleEffect is attached to an Entity, this refers to the offset from the Entity; otherwise, this refers to its position in World coordinates
|
getset |
Gets or sets the range of this ParticleEffect.
|
set |
Sets the rotation of this ParticleEffect
|
getset |
Gets or sets the size scaling factor of this ParticleEffect.
The scale, default = 1.0f; To Decrease the size use a value less than 1.0f; To Increase the size use a value greater than 1.0f;