Class SpeckleUnityMesh
A stream object represented as a gameobject with a MeshRenderer
. Also adds a
MeshCollider
to the object. The material is assigned by the SpeckleUnityReceiver
.
Inheritance
System.Object
SpeckleUnityMesh
Assembly: cs.temp.dll.dll
Syntax
public class SpeckleUnityMesh : SpeckleUnityGeometry
Constructors
SpeckleUnityMesh(String, Vector3[], Int32[])
Declaration
public SpeckleUnityMesh(string type, Vector3[] verts, int[] tris)
Parameters
Type |
Name |
Description |
System.String |
type |
|
Vector3[] |
verts |
|
System.Int32[] |
tris |
|
Fields
meshRenderer
Declaration
public MeshRenderer meshRenderer
Field Value
Type |
Description |
MeshRenderer |
|