|
StereoscopicVirtualRealityProvider Constructor |
Constructor
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax public StereoscopicVirtualRealityProvider(
float eyeSeparation,
float parallax,
bool prepareRenderTargetsForEachEye
)
Parameters
- eyeSeparation Single
- distance between left and right eye
- parallax Single
- value in degrees that specifies an angle of the left and right eye
- prepareRenderTargetsForEachEye Boolean
- specifies where the BeginVirtualRealityRenderingStep is inserted: true if current RenderTarget is cleared before each eye is rendered - two times per frame (BeginVirtualRealityRenderingStep is added before the DefaultPrepareRenderTargetsRenderingStep - used to Anaglyph rendering); false when the RenderTarget is cleared only once per frame - (BeginVirtualRealityRenderingStep is added after the DefaultPrepareRenderTargetsRenderingStep - used to Split screen stereoscopic rendering)
See Also