C# 클래스 Axiom.Graphics.AutoParamDataSource

This utility class is used to hold the information used to generate the matrices and other information required to automatically populate GpuProgramParameters.
This class exercises a lazy-update scheme in order to avoid having to update all the information a GpuProgramParameters class could possibly want all the time. It relies on the SceneManager to update it when the base data has changed, and will calculate concatenated matrices etc only when required, passing back precalculated matrices when they are requested more than once when the underlying information has not altered.
상속: DisposableObject
파일 보기 프로젝트 열기: mono-soc-2011/axiom 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
ProjectionClipSpace2DToImageSpacePerspective Matrix4
ambientLight ColorEx
blankLight Light
camera Camera
cameraPositionObjectSpace Vector4
cameraPositionObjectSpaceDirty bool
currentLightList LightList
currentRenderTarget RenderTarget
currentTextureProjector Frustum
currentViewport Viewport
dirLightExtrusionDistance float
fogParams Vector4
inverseTransposeWorldViewMatrix Matrix4
inverseTransposeWorldViewMatrixDirty bool
inverseViewMatrix Matrix4
inverseViewMatrixDirty bool
inverseWorldMatrix Matrix4
inverseWorldMatrixDirty bool
inverseWorldViewMatrix Matrix4
inverseWorldViewMatrixDirty bool
mvShadowTechnique Vector4
passNumber int
projMatrixDirty bool
projectionMatrix Matrix4
renderable IRenderable
textureViewProjMatrix Matrix4
textureViewProjMatrixDirty bool
time float
viewMatrix Matrix4
viewMatrixDirty bool
viewProjMatrix Matrix4
viewProjMatrixDirty bool
worldMatrix Matrix4[]
worldMatrixCount int
worldMatrixDirty bool
worldViewMatrix Matrix4
worldViewMatrixDirty bool
worldViewProjMatrix Matrix4
worldViewProjMatrixDirty bool

공개 메소드들

메소드 설명
AutoParamDataSource ( ) : System

Default constructor.

GetLight ( int index ) : Light

Get the light which is 'index'th closest to the current object

GetLightPowerScale ( int index ) : Real

SetCurrentLightList ( LightList lightList ) : void

SetShadowDirLightExtrusionDistance ( float distance ) : void

Sets the constant extrusion distance for directional lights.

보호된 메소드들

메소드 설명
dispose ( bool disposeManagedResources ) : void

메소드 상세

AutoParamDataSource() 공개 메소드

Default constructor.
public AutoParamDataSource ( ) : System
리턴 System

GetLight() 공개 메소드

Get the light which is 'index'th closest to the current object
public GetLight ( int index ) : Light
index int Ordinal value signifying the light to retreive, with 0 being closest, 1 being next closest, etc.
리턴 Axiom.Core.Light

GetLightPowerScale() 공개 메소드

public GetLightPowerScale ( int index ) : Real
index int Ordinal value signifying the light to retreive.
리턴 Real

SetCurrentLightList() 공개 메소드

public SetCurrentLightList ( LightList lightList ) : void
lightList LightList
리턴 void

SetShadowDirLightExtrusionDistance() 공개 메소드

Sets the constant extrusion distance for directional lights.
public SetShadowDirLightExtrusionDistance ( float distance ) : void
distance float
리턴 void

dispose() 보호된 메소드

protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool
리턴 void

프로퍼티 상세

ProjectionClipSpace2DToImageSpacePerspective 보호되어 있는 프로퍼티

protected Matrix4 ProjectionClipSpace2DToImageSpacePerspective
리턴 Matrix4

ambientLight 보호되어 있는 프로퍼티

Current global ambient light color.
protected ColorEx ambientLight
리턴 ColorEx

blankLight 보호되어 있는 프로퍼티

Blank light to use when a higher index light is requested than is available.
protected Light blankLight
리턴 Light

camera 보호되어 있는 프로퍼티

Current camera being used for rendering.
protected Camera camera
리턴 Camera

cameraPositionObjectSpace 보호되어 있는 프로퍼티

Position of the current camera in object space relative to the current renderable.
protected Vector4 cameraPositionObjectSpace
리턴 Vector4

cameraPositionObjectSpaceDirty 보호되어 있는 프로퍼티

protected bool cameraPositionObjectSpaceDirty
리턴 bool

currentLightList 보호되어 있는 프로퍼티

List of lights that are in the scene and near the current renderable.
protected LightList currentLightList
리턴 LightList

currentRenderTarget 보호되어 있는 프로퍼티

Current active render target.
protected RenderTarget currentRenderTarget
리턴 RenderTarget

currentTextureProjector 보호되어 있는 프로퍼티

Current frustum used for texture projection.
protected Frustum currentTextureProjector
리턴 Frustum

currentViewport 보호되어 있는 프로퍼티

The current viewport. We don't really do anything with this, but Ogre uses it to determine the width and height.
protected Viewport currentViewport
리턴 Viewport

dirLightExtrusionDistance 보호되어 있는 프로퍼티

Distance to extrude shadow volume vertices.
protected float dirLightExtrusionDistance
리턴 float

fogParams 보호되어 있는 프로퍼티

Parameters for GPU fog. fogStart, fogEnd, and fogScale
protected Vector4 fogParams
리턴 Vector4

inverseTransposeWorldViewMatrix 보호되어 있는 프로퍼티

Inverse Transpose of the current world view matrix.
protected Matrix4 inverseTransposeWorldViewMatrix
리턴 Matrix4

inverseTransposeWorldViewMatrixDirty 보호되어 있는 프로퍼티

protected bool inverseTransposeWorldViewMatrixDirty
리턴 bool

inverseViewMatrix 보호되어 있는 프로퍼티

Inverse of the current view matrix.
protected Matrix4 inverseViewMatrix
리턴 Matrix4

inverseViewMatrixDirty 보호되어 있는 프로퍼티

protected bool inverseViewMatrixDirty
리턴 bool

inverseWorldMatrix 보호되어 있는 프로퍼티

Inverse of current world matrix.
protected Matrix4 inverseWorldMatrix
리턴 Matrix4

inverseWorldMatrixDirty 보호되어 있는 프로퍼티

protected bool inverseWorldMatrixDirty
리턴 bool

inverseWorldViewMatrix 보호되어 있는 프로퍼티

Inverse of current concatenated world and view matrices.
protected Matrix4 inverseWorldViewMatrix
리턴 Matrix4

inverseWorldViewMatrixDirty 보호되어 있는 프로퍼티

protected bool inverseWorldViewMatrixDirty
리턴 bool

mvShadowTechnique 보호되어 있는 프로퍼티

protected Vector4 mvShadowTechnique
리턴 Vector4

passNumber 보호되어 있는 프로퍼티

protected int passNumber
리턴 int

projMatrixDirty 보호되어 있는 프로퍼티

protected bool projMatrixDirty
리턴 bool

projectionMatrix 보호되어 있는 프로퍼티

Current projection matrix.
protected Matrix4 projectionMatrix
리턴 Matrix4

renderable 보호되어 있는 프로퍼티

Current target renderable.
protected IRenderable renderable
리턴 IRenderable

textureViewProjMatrix 보호되어 있는 프로퍼티

Current texture view projection matrix.
protected Matrix4 textureViewProjMatrix
리턴 Matrix4

textureViewProjMatrixDirty 보호되어 있는 프로퍼티

protected bool textureViewProjMatrixDirty
리턴 bool

time 보호되어 있는 프로퍼티

current time
protected float time
리턴 float

viewMatrix 보호되어 있는 프로퍼티

Current view matrix;
protected Matrix4 viewMatrix
리턴 Matrix4

viewMatrixDirty 보호되어 있는 프로퍼티

protected bool viewMatrixDirty
리턴 bool

viewProjMatrix 보호되어 있는 프로퍼티

Current view and projection matrices concatenated.
protected Matrix4 viewProjMatrix
리턴 Matrix4

viewProjMatrixDirty 보호되어 있는 프로퍼티

protected bool viewProjMatrixDirty
리턴 bool

worldMatrix 보호되어 있는 프로퍼티

Array of world matrices for the current renderable.
protected Matrix4[] worldMatrix
리턴 Matrix4[]

worldMatrixCount 보호되어 있는 프로퍼티

Current count of matrices in the world matrix array.
protected int worldMatrixCount
리턴 int

worldMatrixDirty 보호되어 있는 프로퍼티

protected bool worldMatrixDirty
리턴 bool

worldViewMatrix 보호되어 있는 프로퍼티

Current concatenated world and view matrices.
protected Matrix4 worldViewMatrix
리턴 Matrix4

worldViewMatrixDirty 보호되어 있는 프로퍼티

protected bool worldViewMatrixDirty
리턴 bool

worldViewProjMatrix 보호되어 있는 프로퍼티

Current concatenated world, view, and projection matrices.
protected Matrix4 worldViewProjMatrix
리턴 Matrix4

worldViewProjMatrixDirty 보호되어 있는 프로퍼티

protected bool worldViewProjMatrixDirty
리턴 bool