Table of Contents

Class AxisPlaneGridNode

Namespace
HelixToolkit.SharpDX.Model.Scene
Assembly
HelixToolkit.SharpDX.dll
public class AxisPlaneGridNode : SceneNode, IDisposable, IComparable<SceneNode>, IAnimationNode
Inheritance
AxisPlaneGridNode
Implements
Inherited Members
Extension Methods

Constructors

AxisPlaneGridNode()

Initializes a new instance of the AxisPlaneGridNode class.

public AxisPlaneGridNode()

Properties

AcutalSpacing

Gets the acutal spacing.

public float AcutalSpacing { get; }

Property Value

float

The acutal spacing.

AutoSpacing

Gets or sets a value indicating whether [automatic spacing].

public bool AutoSpacing { get; set; }

Property Value

bool

true if [automatic spacing]; otherwise, false.

AutoSpacingRate

Gets or sets the automatic spacing rate.

public float AutoSpacingRate { get; set; }

Property Value

float

The automatic spacing rate.

FadingFactor

Gets or sets the fading factor.

public float FadingFactor { get; set; }

Property Value

float

The fading factor.

GridColor

Gets or sets the color of the grid.

public Color4 GridColor { get; set; }

Property Value

Color4

The color of the grid.

GridPattern

Gets or sets the type of the grid.

public GridPattern GridPattern { get; set; }

Property Value

GridPattern

The type of the grid.

GridSpacing

Gets or sets the grid spacing.

public float GridSpacing { get; set; }

Property Value

float

The grid spacing.

GridThickness

Gets or sets the grid thickness.

public float GridThickness { get; set; }

Property Value

float

The grid thickness.

Offset

Gets or sets the axis plane offset.

public float Offset { get; set; }

Property Value

float

The offset.

PlaneColor

Gets or sets the color of the plane.

public Color4 PlaneColor { get; set; }

Property Value

Color4

The color of the plane.

RenderShadowMap

Gets or sets a value indicating whether [render shadow map].

public bool RenderShadowMap { get; set; }

Property Value

bool

true if [render shadow map]; otherwise, false.

UpAxis

Gets or sets up axis.

public Axis UpAxis { get; set; }

Property Value

Axis

Up axis.

Methods

OnCreateRenderCore()

Called when [create render core].

protected override RenderCore OnCreateRenderCore()

Returns

RenderCore

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

effectsManager IEffectsManager

Returns

IRenderTechnique

Return RenderTechnique

OnHitTest(HitTestContext?, Matrix4x4, ref List<HitTestResult>)

Called when [hit test].

protected override bool OnHitTest(HitTestContext? context, Matrix4x4 totalModelMatrix, ref List<HitTestResult> hits)

Parameters

context HitTestContext

The context.

totalModelMatrix Matrix4x4

The total model matrix.

hits List<HitTestResult>

The hits.

Returns

bool