C# Class Reactor.RParticleEmitter

Inheritance: RSceneNode, IDisposable
Mostra file Open project: reisergames/reactor-v1

Public Methods

Method Description
AddPointParticle ( R3DVECTOR Position, R3DVECTOR Velocity ) : void
BuildEmitter ( int TotalParticleCount ) : void
Dispose ( ) : void
GetPosition ( ) : R3DVECTOR
GetRotation ( ) : RQUATERNION
Render ( ) : void
Rotate ( R3DVECTOR RotationVectors ) : void
Rotate ( float x, float y, float z ) : void
SetBillboardSize ( float Size ) : void
SetDirection ( R3DVECTOR Direction ) : void
SetPointSettings ( int Texture ) : void
SetPointSettings ( int Texture, int NumParticles ) : void
SetPointSettings ( int Texture, int NumParticles, int Duration ) : void
SetPointSettings ( int Texture, int NumParticles, int DurationSeconds, float MinHorizontalVelocity, float MaxHorizontalVelocity, float MinVerticalVelocity, float MaxVerticalVelocity, R3DVECTOR Gravity, float EndVelocity, float MinRotateSpeed, float MaxRotateSpeed, float MinStartSize, float MaxStartSize, float MinEndSize, float MaxEndSize ) : void
SetPosition ( R3DVECTOR Position ) : void
SetPosition ( float x, float y, float z ) : void
SetRotation ( RQUATERNION Quaternion ) : void
SetScale ( R3DVECTOR Scale ) : void
SetScale ( float scale ) : void
SetTexture ( int TextureID ) : void
Update ( ) : void

Private Methods

Method Description
CreateEmitter ( CONST_REACTOR_PARTICLETYPE type ) : void
Rotate ( R3DMATRIX RotationMatrix ) : void

Method Details

AddPointParticle() public method

public AddPointParticle ( R3DVECTOR Position, R3DVECTOR Velocity ) : void
Position R3DVECTOR
Velocity R3DVECTOR
return void

BuildEmitter() public method

public BuildEmitter ( int TotalParticleCount ) : void
TotalParticleCount int
return void

Dispose() public method

public Dispose ( ) : void
return void

GetPosition() public method

public GetPosition ( ) : R3DVECTOR
return R3DVECTOR

GetRotation() public method

public GetRotation ( ) : RQUATERNION
return RQUATERNION

Render() public method

public Render ( ) : void
return void

Rotate() public method

public Rotate ( R3DVECTOR RotationVectors ) : void
RotationVectors R3DVECTOR
return void

Rotate() public method

public Rotate ( float x, float y, float z ) : void
x float
y float
z float
return void

SetBillboardSize() public method

public SetBillboardSize ( float Size ) : void
Size float
return void

SetDirection() public method

public SetDirection ( R3DVECTOR Direction ) : void
Direction R3DVECTOR
return void

SetPointSettings() public method

public SetPointSettings ( int Texture ) : void
Texture int
return void

SetPointSettings() public method

public SetPointSettings ( int Texture, int NumParticles ) : void
Texture int
NumParticles int
return void

SetPointSettings() public method

public SetPointSettings ( int Texture, int NumParticles, int Duration ) : void
Texture int
NumParticles int
Duration int
return void

SetPointSettings() public method

public SetPointSettings ( int Texture, int NumParticles, int DurationSeconds, float MinHorizontalVelocity, float MaxHorizontalVelocity, float MinVerticalVelocity, float MaxVerticalVelocity, R3DVECTOR Gravity, float EndVelocity, float MinRotateSpeed, float MaxRotateSpeed, float MinStartSize, float MaxStartSize, float MinEndSize, float MaxEndSize ) : void
Texture int
NumParticles int
DurationSeconds int
MinHorizontalVelocity float
MaxHorizontalVelocity float
MinVerticalVelocity float
MaxVerticalVelocity float
Gravity R3DVECTOR
EndVelocity float
MinRotateSpeed float
MaxRotateSpeed float
MinStartSize float
MaxStartSize float
MinEndSize float
MaxEndSize float
return void

SetPosition() public method

public SetPosition ( R3DVECTOR Position ) : void
Position R3DVECTOR
return void

SetPosition() public method

public SetPosition ( float x, float y, float z ) : void
x float
y float
z float
return void

SetRotation() public method

public SetRotation ( RQUATERNION Quaternion ) : void
Quaternion RQUATERNION
return void

SetScale() public method

public SetScale ( R3DVECTOR Scale ) : void
Scale R3DVECTOR
return void

SetScale() public method

public SetScale ( float scale ) : void
scale float
return void

SetTexture() public method

public SetTexture ( int TextureID ) : void
TextureID int
return void

Update() public method

public Update ( ) : void
return void