C# Class Fusion.Engine.Graphics.LightRenderer.DefaultCSMController

Inheritance: ICSMController
Mostra file Open project: demiurghg/FusionEngine

Public Methods

Method Description
ComputeMatricies ( System.Matrix viewMatrix, System.Vector3 lightDir, int cascadeSize, float splitSize, float splitOffset, float splitFactor, float projDepth ) : void
DefaultCSMController ( ) : System
GetActiveCascadeCount ( ) : int
GetShadowProjectionMatrix ( int cascadeIndex ) : System.Matrix
GetShadowViewMatrix ( int cascadeIndex ) : System.Matrix
IsCascadeDirty ( int cascadeIndex ) : bool

Method Details

ComputeMatricies() public method

public ComputeMatricies ( System.Matrix viewMatrix, System.Vector3 lightDir, int cascadeSize, float splitSize, float splitOffset, float splitFactor, float projDepth ) : void
viewMatrix System.Matrix
lightDir System.Vector3
cascadeSize int
splitSize float
splitOffset float
splitFactor float
projDepth float
return void

DefaultCSMController() public method

public DefaultCSMController ( ) : System
return System

GetActiveCascadeCount() public method

public GetActiveCascadeCount ( ) : int
return int

GetShadowProjectionMatrix() public method

public GetShadowProjectionMatrix ( int cascadeIndex ) : System.Matrix
cascadeIndex int
return System.Matrix

GetShadowViewMatrix() public method

public GetShadowViewMatrix ( int cascadeIndex ) : System.Matrix
cascadeIndex int
return System.Matrix

IsCascadeDirty() public method

public IsCascadeDirty ( int cascadeIndex ) : bool
cascadeIndex int
return bool