C# Class CryEngine.ParticleEffect

Mostrar archivo Open project: PoppermostProductions/CryMono Class Usage Examples

Private Properties

Property Type Description
ParticleEffect System
TryGet ParticleEffect

Public Methods

Method 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

Method Description
ParticleEffect ( IntPtr ptr ) : System
TryGet ( IntPtr handle ) : ParticleEffect

Method Details

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

Get() public static method

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

GetChild() public method

public GetChild ( int index ) : ParticleEffect
index int
return ParticleEffect

GetHashCode() public method

public GetHashCode ( ) : int
return int

LoadResources() public method

public LoadResources ( ) : void
return void

Remove() public method

public Remove ( ) : void
return void

Spawn() public method

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
return ParticleEmitter

this() public method

Gets sub-effect by index.
public this ( int i ) : ParticleEffect
i int
return ParticleEffect

this() public method

Gets sub-effect by name.
public this ( string name ) : ParticleEffect
name string
return ParticleEffect