Class CompositionLayer.MeshGenerationHelper
Inheritance
CompositionLayer.MeshGenerationHelper
Assembly: VIVE.OpenXR.dll
Syntax
public static class CompositionLayer.MeshGenerationHelper
Methods
GenerateCylinderMesh(float, Vector3[])
Declaration
public static Mesh GenerateCylinderMesh(float cylinderAngleOfArc, Vector3[] vertices)
Parameters
Type |
Name |
Description |
float |
cylinderAngleOfArc |
|
Vector3[] |
vertices |
|
Returns
GenerateCylinderVertex(float, float, float)
Declaration
public static Vector3[] GenerateCylinderVertex(float cylinderAngleOfArc, float cylinderRadius, float cylinderHeight)
Parameters
Type |
Name |
Description |
float |
cylinderAngleOfArc |
|
float |
cylinderRadius |
|
float |
cylinderHeight |
|
Returns
Type |
Description |
Vector3[] |
|
GenerateQuadMesh(Vector3[])
Declaration
public static Mesh GenerateQuadMesh(Vector3[] vertices)
Parameters
Type |
Name |
Description |
Vector3[] |
vertices |
|
Returns
GenerateQuadVertex(float, float)
Declaration
public static Vector3[] GenerateQuadVertex(float quadWidth, float quadHeight)
Parameters
Type |
Name |
Description |
float |
quadWidth |
|
float |
quadHeight |
|
Returns
Type |
Description |
Vector3[] |
|