C# Класс ProjectMercury.Proxies.ParticleEffectProxy

A proxy to a particle effect
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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