Class DynamicReflectionNode
- Namespace
- HelixToolkit.SharpDX.Model.Scene
- Assembly
- HelixToolkit.SharpDX.dll
public class DynamicReflectionNode : GroupNode, IDisposable, IComparable<SceneNode>, IAnimationNode, IHitable, IDynamicReflector
- Inheritance
-
DynamicReflectionNode
- Implements
- Inherited Members
- Extension Methods
Constructors
DynamicReflectionNode()
Initializes a new instance of the DynamicReflectionNode class.
public DynamicReflectionNode()
Properties
Center
Gets or sets the center.
public Vector3 Center { get; set; }
Property Value
- Vector3
The center.
EnableReflector
Gets or sets a value indicating whether [enable reflector].
public bool EnableReflector { get; set; }
Property Value
- bool
trueif [enable reflector]; otherwise,false.
FaceSize
Gets or sets the size of the face.
public int FaceSize { get; set; }
Property Value
- int
The size of the face.
FarField
Gets or sets the far field.
public float FarField { get; set; }
Property Value
- float
The far field.
IsDynamicScene
Gets or sets a value indicating whether this scene is dynamic scene. If true, reflection map will be updated in each frame. Otherwise it will only be updated if scene graph or visibility changed.
public bool IsDynamicScene { get; set; }
Property Value
- bool
trueif this instance is dynamic scene; otherwise,false.
IsLeftHanded
Gets or sets a value indicating whether this coordinate system is left handed.
public bool IsLeftHanded { get; set; }
Property Value
- bool
trueif this coordinate system is left handed; otherwise,false.
NearField
Gets or sets the near field.
public float NearField { get; set; }
Property Value
- float
The near field.
Methods
BindCubeMap(DeviceContextProxy)
Binds the cube map.
public void BindCubeMap(DeviceContextProxy deviceContext)
Parameters
deviceContextDeviceContextProxyThe device context.
CanRender(RenderContext)
protected override bool CanRender(RenderContext context)
Parameters
contextRenderContext
Returns
OnAttach(IEffectsManager)
Called when [attach].
protected override bool OnAttach(IEffectsManager effectsManager)
Parameters
effectsManagerIEffectsManagerThe effectsManager.
Returns
OnCreateRenderCore()
Called when [create render core].
protected override RenderCore OnCreateRenderCore()
Returns
OnCreateRenderTechnique(IEffectsManager)
Override this function to set render technique during Attach Host.
If OnSetRenderTechnique is set, then OnSetRenderTechnique instead of OnCreateRenderTechnique(IEffectsManager) function will be called.
protected override IRenderTechnique? OnCreateRenderTechnique(IEffectsManager effectsManager)
Parameters
effectsManagerIEffectsManager
Returns
- IRenderTechnique
Return RenderTechnique
UnBindCubeMap(DeviceContextProxy)
Uns the bind cube map.
public void UnBindCubeMap(DeviceContextProxy deviceContext)
Parameters
deviceContextDeviceContextProxyThe device context.
UpdateNotRender(RenderContext)
Updates the not render.
public override void UpdateNotRender(RenderContext context)
Parameters
contextRenderContextThe context.