C# Класс Axiom.Graphics.ShadowRenderable

Class which represents the renderable aspects of a set of shadow volume faces.
Note that for casters comprised of more than one set of vertex buffers (e.g. SubMeshes each using their own geometry), it will take more than one ShadowRenderable to render the shadow volume. Therefore for shadow caster geometry, it is best to stick to one set of vertex buffers (not necessarily one buffer, but the positions for the entire geometry should come from one buffer if possible)
Наследование: DisposableObject, IRenderable
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
customParams List
dummyLightList LightList
lightCap ShadowRenderable
material Material
renderOperation RenderOperation

Открытые методы

Метод Описание
GetCustomParameter ( int index ) : Vector4
GetRenderOperationForUpdate ( ) : RenderOperation

Gets the internal render operation for setup.

GetSquaredViewDepth ( Camera camera ) : float
GetWorldTransforms ( Axiom matrices ) : void
SetCustomParameter ( int index, Vector4 val ) : void
UpdateCustomGpuParameter ( GpuProgramParameters entry, GpuProgramParameters gpuParams ) : void

Защищенные методы

Метод Описание
ShadowRenderable ( ) : System
dispose ( bool disposeManagedResources ) : void

Class level dispose method

When implementing this method in an inherited class the following template should be used; protected override void dispose( bool disposeManagedResources ) { if ( !isDisposed ) { if ( disposeManagedResources ) { // Dispose managed resources. } // There are no unmanaged resources to release, but // if we add them, they need to be released here. } // If it is available, make the call to the // base class's Dispose(Boolean) method base.dispose( disposeManagedResources ); }

Описание методов

GetCustomParameter() публичный Метод

public GetCustomParameter ( int index ) : Vector4
index int
Результат Vector4

GetRenderOperationForUpdate() публичный Метод

Gets the internal render operation for setup.
public GetRenderOperationForUpdate ( ) : RenderOperation
Результат RenderOperation

GetSquaredViewDepth() публичный Метод

public GetSquaredViewDepth ( Camera camera ) : float
camera Axiom.Core.Camera
Результат float

GetWorldTransforms() публичный абстрактный Метод

public abstract GetWorldTransforms ( Axiom matrices ) : void
matrices Axiom
Результат void

SetCustomParameter() публичный Метод

public SetCustomParameter ( int index, Vector4 val ) : void
index int
val Vector4
Результат void

ShadowRenderable() защищенный Метод

protected ShadowRenderable ( ) : System
Результат System

UpdateCustomGpuParameter() публичный Метод

public UpdateCustomGpuParameter ( GpuProgramParameters entry, GpuProgramParameters gpuParams ) : void
entry GpuProgramParameters
gpuParams GpuProgramParameters
Результат void

dispose() защищенный Метод

Class level dispose method
When implementing this method in an inherited class the following template should be used; protected override void dispose( bool disposeManagedResources ) { if ( !isDisposed ) { if ( disposeManagedResources ) { // Dispose managed resources. } // There are no unmanaged resources to release, but // if we add them, they need to be released here. } // If it is available, make the call to the // base class's Dispose(Boolean) method base.dispose( disposeManagedResources ); }
protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool True if Unmanaged resources should be released.
Результат void

Описание свойств

customParams защищенное свойство

protected List customParams
Результат List

dummyLightList защищенное свойство

protected LightList dummyLightList
Результат LightList

lightCap защищенное свойство

Used only if IsLightCapSeparate == true.
protected ShadowRenderable,Axiom.Graphics lightCap
Результат ShadowRenderable

material защищенное свойство

protected Material,Axiom.Graphics material
Результат Material

renderOperation защищенное свойство

protected RenderOperation,Axiom.Graphics renderOperation
Результат RenderOperation