C# Class GILES.pb_HandleMesh

Afficher le fichier Open project: procore3d/giles

Méthodes publiques

Méthode Description
CreateDiscMesh ( Mesh &mesh, int segments, float radius ) : Mesh
CreatePositionLineMesh ( Mesh &mesh, Transform transform, Vector3 scale, Camera cam, float handleSize ) : Mesh
CreateRotateMesh ( Mesh &mesh, int segments, float radius ) : Mesh
CreateTriangleMesh ( Mesh &mesh, Transform transform, Vector3 scale, Camera cam, Mesh cap, float handleSize, float capSize ) : Mesh
GetRotationVertices ( int segments, float radius ) : UnityEngine.Vector3[][]
TransformMesh ( Mesh mesh, Matrix4x4 matrix, Vector3 &v, Vector3 &n, Vector2 &u, Color &c, int &t, int indexOffset, Color color ) : void

Method Details

CreateDiscMesh() public static méthode

public static CreateDiscMesh ( Mesh &mesh, int segments, float radius ) : Mesh
mesh UnityEngine.Mesh
segments int
radius float
Résultat UnityEngine.Mesh

CreatePositionLineMesh() public static méthode

public static CreatePositionLineMesh ( Mesh &mesh, Transform transform, Vector3 scale, Camera cam, float handleSize ) : Mesh
mesh UnityEngine.Mesh
transform UnityEngine.Transform
scale UnityEngine.Vector3
cam UnityEngine.Camera
handleSize float
Résultat UnityEngine.Mesh

CreateRotateMesh() public static méthode

public static CreateRotateMesh ( Mesh &mesh, int segments, float radius ) : Mesh
mesh UnityEngine.Mesh
segments int
radius float
Résultat UnityEngine.Mesh

CreateTriangleMesh() public static méthode

public static CreateTriangleMesh ( Mesh &mesh, Transform transform, Vector3 scale, Camera cam, Mesh cap, float handleSize, float capSize ) : Mesh
mesh UnityEngine.Mesh
transform UnityEngine.Transform
scale UnityEngine.Vector3
cam UnityEngine.Camera
cap UnityEngine.Mesh
handleSize float
capSize float
Résultat UnityEngine.Mesh

GetRotationVertices() public static méthode

public static GetRotationVertices ( int segments, float radius ) : UnityEngine.Vector3[][]
segments int
radius float
Résultat UnityEngine.Vector3[][]

TransformMesh() public static méthode

public static TransformMesh ( Mesh mesh, Matrix4x4 matrix, Vector3 &v, Vector3 &n, Vector2 &u, Color &c, int &t, int indexOffset, Color color ) : void
mesh UnityEngine.Mesh
matrix UnityEngine.Matrix4x4
v UnityEngine.Vector3
n UnityEngine.Vector3
u UnityEngine.Vector2
c UnityEngine.Color
t int
indexOffset int
color UnityEngine.Color
Résultat void