C# Class CryEngine.ParticleEffect

Afficher le fichier Open project: PoppermostProductions/CryMono Class Usage Examples

Private Properties

Свойство Type Description
ParticleEffect System
TryGet ParticleEffect

Méthodes publiques

Méthode Description
Equals ( object obj ) : bool
Get ( string effectName, bool loadResources = true ) : ParticleEffect

GetChild ( int index ) : ParticleEffect
GetHashCode ( ) : int
LoadResources ( ) : void
Remove ( ) : void
Spawn ( Vec3 pos, Vec3 dir = null, float scale = 1f, bool independent = true ) : ParticleEmitter

Spawns this effect

this ( int i ) : ParticleEffect

Gets sub-effect by index.

this ( string name ) : ParticleEffect

Gets sub-effect by name.

Private Methods

Méthode Description
ParticleEffect ( IntPtr ptr ) : System
TryGet ( IntPtr handle ) : ParticleEffect

Method Details

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

Get() public static méthode

public static Get ( string effectName, bool loadResources = true ) : ParticleEffect
effectName string
loadResources bool Load all required resources?
Résultat ParticleEffect

GetChild() public méthode

public GetChild ( int index ) : ParticleEffect
index int
Résultat ParticleEffect

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

LoadResources() public méthode

public LoadResources ( ) : void
Résultat void

Remove() public méthode

public Remove ( ) : void
Résultat void

Spawn() public méthode

Spawns this effect
public Spawn ( Vec3 pos, Vec3 dir = null, float scale = 1f, bool independent = true ) : ParticleEmitter
pos Vec3 World location to place emitter at.
dir Vec3 World rotation of emitter, set to Vec3.Up if null.
scale float Scale of the emitter.
independent bool
Résultat ParticleEmitter

this() public méthode

Gets sub-effect by index.
public this ( int i ) : ParticleEffect
i int
Résultat ParticleEffect

this() public méthode

Gets sub-effect by name.
public this ( string name ) : ParticleEffect
name string
Résultat ParticleEffect