C# 클래스 Util, HoloToolkit

파일 보기 프로젝트 열기: Microsoft/HoloToolkit 1 사용 예제들

공개 메소드들

메소드 설명
CreateSimpleMesh ( int dimension, Vector3 bounds ) : PlaneFinding.MeshData
CreateSimpleMesh ( int dimension, Vector3 bounds, Matrix4x4 transform ) : PlaneFinding.MeshData
CreateSimpleMesh ( int dimension, Vector3 bounds, Matrix4x4 vertDataTransform, Matrix4x4 meshTransform ) : PlaneFinding.MeshData

Helper function that creates a simple mesh for use in the PlaneFinding API. The mesh is built as tesselated quad spanning the x and y dimensions of the specified Bounds. Each vert in the mesh is randomly perturbed along the z axis with in the specified Bounds. This results in a somewhat more realistic noisy planar mesh that simulates the sort of data we might get from SR.

메소드 상세

CreateSimpleMesh() 공개 정적인 메소드

public static CreateSimpleMesh ( int dimension, Vector3 bounds ) : PlaneFinding.MeshData
dimension int
bounds Vector3
리턴 PlaneFinding.MeshData

CreateSimpleMesh() 공개 정적인 메소드

public static CreateSimpleMesh ( int dimension, Vector3 bounds, Matrix4x4 transform ) : PlaneFinding.MeshData
dimension int
bounds Vector3
transform Matrix4x4
리턴 PlaneFinding.MeshData

CreateSimpleMesh() 공개 정적인 메소드

Helper function that creates a simple mesh for use in the PlaneFinding API. The mesh is built as tesselated quad spanning the x and y dimensions of the specified Bounds. Each vert in the mesh is randomly perturbed along the z axis with in the specified Bounds. This results in a somewhat more realistic noisy planar mesh that simulates the sort of data we might get from SR.
public static CreateSimpleMesh ( int dimension, Vector3 bounds, Matrix4x4 vertDataTransform, Matrix4x4 meshTransform ) : PlaneFinding.MeshData
dimension int
bounds Vector3
vertDataTransform Matrix4x4
meshTransform Matrix4x4
리턴 PlaneFinding.MeshData