C# Class ProjectMercury.Proxies.ParticleEffectProxy

A proxy to a particle effect
Datei anzeigen Open project: Indiefreaks/igf Class Usage Examples

Public Properties

Property Type Description
Effect ParticleEffect
World Matrix

Public Methods

Method Description
ParticleEffectProxy ( ParticleEffect effect ) : System

Creates a new proxy effect

Trigger ( ) : void

Trigger an effect on this proxy. All particles will be triggered at 0,0,0 and are positioned with the World matrix

Trigger ( BoundingFrustum &frustum ) : void

Trigger an effect on this proxy. All particles will be triggered at 0,0,0 and are positioned with the World matrix of the proxy The effect will be checked against the frustum and culled if not within the effect Bounding Radius

Trigger ( BoundingFrustum &frustum, System.Boolean checkNearFar ) : void

Trigger an effect on this proxy. All particles will be triggered at 0,0,0 and are positioned with the World matrix of the proxy The effect will be checked against the frustum and culled if not within the effect Bounding Radius

Trigger ( BoundingFrustum &frustum, Matrix world ) : void

Trigger an effect on this proxy. All particles will be triggered at 0,0,0 and are positioned with the World matrix of the proxy and the supplied world The effect will be checked against the frustum and culled if not within the effect Bounding Radius

Trigger ( BoundingFrustum &frustum, Matrix world, System.Boolean checkNearFar ) : void

Trigger an effect on this proxy. All particles will be triggered at 0,0,0 and are positioned with the World matrix of the proxy and the supplied world The effect will be checked against the frustum and culled if not within the effect Bounding Radius

Private Methods

Method Description
ParticleEffectProxy ( ) : System
SetWorldWorld ( Matrix &worldMatrix ) : void

Premultiply worldMatrix into the proxies world matrix before rendering to save repeated multiplications per particle

Method Details

ParticleEffectProxy() public method

Creates a new proxy effect
public ParticleEffectProxy ( ParticleEffect effect ) : System
effect ParticleEffect
return System

Trigger() public method

Trigger an effect on this proxy. All particles will be triggered at 0,0,0 and are positioned with the World matrix
public Trigger ( ) : void
return void

Trigger() public method

Trigger an effect on this proxy. All particles will be triggered at 0,0,0 and are positioned with the World matrix of the proxy The effect will be checked against the frustum and culled if not within the effect Bounding Radius
public Trigger ( BoundingFrustum &frustum ) : void
frustum BoundingFrustum
return void

Trigger() public method

Trigger an effect on this proxy. All particles will be triggered at 0,0,0 and are positioned with the World matrix of the proxy The effect will be checked against the frustum and culled if not within the effect Bounding Radius
public Trigger ( BoundingFrustum &frustum, System.Boolean checkNearFar ) : void
frustum BoundingFrustum
checkNearFar System.Boolean
return void

Trigger() public method

Trigger an effect on this proxy. All particles will be triggered at 0,0,0 and are positioned with the World matrix of the proxy and the supplied world The effect will be checked against the frustum and culled if not within the effect Bounding Radius
public Trigger ( BoundingFrustum &frustum, Matrix world ) : void
frustum BoundingFrustum
world Matrix
return void

Trigger() public method

Trigger an effect on this proxy. All particles will be triggered at 0,0,0 and are positioned with the World matrix of the proxy and the supplied world The effect will be checked against the frustum and culled if not within the effect Bounding Radius
public Trigger ( BoundingFrustum &frustum, Matrix world, System.Boolean checkNearFar ) : void
frustum BoundingFrustum
world Matrix
checkNearFar System.Boolean
return void

Property Details

Effect public_oe property

The efect that we are proxying
public ParticleEffect Effect
return ParticleEffect

World public_oe property

The world matrix of this effect proxy - used to give individual effect instances a transformation
public Matrix World
return Matrix