C# 클래스 ProjectMercury.Proxies.ParticleEffectProxy

A proxy to a particle effect
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Effect ParticleEffect
World Matrix

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
ParticleEffectProxy ( ) : System
SetWorldWorld ( Matrix &worldMatrix ) : void

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

메소드 상세

ParticleEffectProxy() 공개 메소드

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

Trigger() 공개 메소드

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
리턴 void

Trigger() 공개 메소드

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
리턴 void

Trigger() 공개 메소드

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
리턴 void

Trigger() 공개 메소드

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
리턴 void

Trigger() 공개 메소드

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
리턴 void

프로퍼티 상세

Effect 공개적으로 프로퍼티

The efect that we are proxying
public ParticleEffect Effect
리턴 ParticleEffect

World 공개적으로 프로퍼티

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