Class CrossSectionMeshRenderCore
- Namespace
- HelixToolkit.SharpDX.Core
- Assembly
- HelixToolkit.SharpDX.dll
public class CrossSectionMeshRenderCore : MeshRenderCore, IDisposable, IGUID, IThrowingShadow, IGeometryRenderCore, IMeshRenderParams, IInvertNormal, IMaterialRenderParams, IDynamicReflectable, ICrossSectionRenderParams
- Inheritance
-
CrossSectionMeshRenderCore
- Implements
- Inherited Members
Constructors
CrossSectionMeshRenderCore()
public CrossSectionMeshRenderCore()
Properties
CuttingOperation
Gets or sets the cutting operation.
public CuttingOperation CuttingOperation { get; set; }
Property Value
- CuttingOperation
The cutting operation.
Plane1Params
Defines the plane 1(Normal + d)
public Vector4 Plane1Params { get; set; }
Property Value
Plane2Params
Defines the plane 2(Normal + d)
public Vector4 Plane2Params { get; set; }
Property Value
Plane3Params
Defines the plane 3(Normal + d)
public Vector4 Plane3Params { get; set; }
Property Value
Plane4Params
Defines the plane 4(Normal + d)
public Vector4 Plane4Params { get; set; }
Property Value
Plane5Params
Defines the plane 5(Normal + d)
public Vector4 Plane5Params { get; set; }
Property Value
Plane5To8Enabled
Gets or sets the plane5 to 8 enabled.
public Bool4 Plane5To8Enabled { get; set; }
Property Value
- Bool4
The plane5 to8 enabled.
Plane6Params
Defines the plane 6(Normal + d)
public Vector4 Plane6Params { get; set; }
Property Value
Plane7Params
Defines the plane 7(Normal + d)
public Vector4 Plane7Params { get; set; }
Property Value
Plane8Params
Defines the plane 8(Normal + d)
public Vector4 Plane8Params { get; set; }
Property Value
PlaneEnabled
Gets or sets a value indicating whether [plane1/plane2/plane3/plane4 enabled].
public Bool4 PlaneEnabled { get; set; }
Property Value
- Bool4
trueif [plane1/plane2/plane3/plane4 enabled]; otherwise,false.
SectionColor
Defines the sectionColor
public Color4 SectionColor { get; set; }
Property Value
Methods
CreateRasterState(RasterizerStateDescription, bool)
protected override bool CreateRasterState(RasterizerStateDescription description, bool force)
Parameters
descriptionRasterizerStateDescriptionforcebool
Returns
OnAttach(IRenderTechnique?)
protected override bool OnAttach(IRenderTechnique? technique)
Parameters
techniqueIRenderTechnique
Returns
OnDetach()
On detaching, default is to release all resources
protected override void OnDetach()
OnRender(RenderContext, DeviceContextProxy)
Called when [render].
protected override void OnRender(RenderContext renderContext, DeviceContextProxy deviceContext)
Parameters
renderContextRenderContextdeviceContextDeviceContextProxyThe device context.