C# Class ProjectMercury.Proxies.ParticleEffectProxy

A proxy to a particle effect
Afficher le fichier Open project: Indiefreaks/igf Class Usage Examples

Méthodes publiques

Свойство Type Description
Effect ParticleEffect
World Matrix

Méthodes publiques

Méthode 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

Méthode 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 méthode

Creates a new proxy effect
public ParticleEffectProxy ( ParticleEffect effect ) : System
effect ParticleEffect
Résultat System

Trigger() public méthode

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
Résultat void

Trigger() public méthode

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
Résultat void

Trigger() public méthode

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
Résultat void

Trigger() public méthode

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
Résultat void

Trigger() public méthode

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
Résultat void

Property Details

Effect public_oe property

The efect that we are proxying
public ParticleEffect Effect
Résultat ParticleEffect

World public_oe property

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