Table of Contents

Class IRenderMetricesExtensions

Namespace
HelixToolkit.SharpDX
Assembly
HelixToolkit.SharpDX.dll
public static class IRenderMetricesExtensions
Inheritance
IRenderMetricesExtensions
Inherited Members

Methods

Project(IRenderMatrices, Vector3)

public static Vector2 Project(this IRenderMatrices renderMatrices, Vector3 point)

Parameters

renderMatrices IRenderMatrices
point Vector3

Returns

Vector2

UnProject(IRenderMatrices, Vector2, out Ray)

Un-project 2D screen point onto 3D space by camera.

public static bool UnProject(this IRenderMatrices renderMatrices, Vector2 point2d, out Ray ray)

Parameters

renderMatrices IRenderMatrices

The renderMatrices.

point2d Vector2

The point2d.

ray Ray

The ray.

Returns

bool