Class PointcloudMesh
Draw pointcloud as mesh
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Marus.Visualization.Primitives
Assembly: cs.temp.dll.dll
Syntax
public class PointcloudMesh : VisualElement
Constructors
PointcloudMesh()
Declaration
public PointcloudMesh()
PointcloudMesh(PointCloud)
Declaration
public PointcloudMesh(PointCloud pc)
Parameters
Type | Name | Description |
---|---|---|
PointCloud | pc |
PointcloudMesh(PointCloud, String)
Declaration
public PointcloudMesh(PointCloud pc, string name)
Parameters
Type | Name | Description |
---|---|---|
PointCloud | pc | |
System.String | name |
Fields
myMesh
Declaration
public Mesh myMesh
Field Value
Type | Description |
---|---|
Mesh |
Name
Name for the pointcloud gameObject to show in hierarchy
Declaration
public string Name
Field Value
Type | Description |
---|---|
System.String |
PointCloud
Object containing points, normals and colors
Declaration
public PointCloud PointCloud
Field Value
Type | Description |
---|---|
PointCloud |
Position
Position of pointcloud in space
Declaration
public Vector3 Position
Field Value
Type | Description |
---|---|
Vector3 |
Methods
Destroy()
Destroy and remove point
Declaration
public override void Destroy()
Overrides
Draw()
Draw pointcloud
Declaration
public override void Draw()
Overrides
SetNewVertices(Vector3[])
Declaration
public void SetNewVertices(Vector3[] vertices)
Parameters
Type | Name | Description |
---|---|---|
Vector3[] | vertices |
SetParent(GameObject)
Declaration
public void SetParent(GameObject parent)
Parameters
Type | Name | Description |
---|---|---|
GameObject | parent |