共用方式為


EnvironmentObservation Class

Definition

Snapshot of observations of the environment, e.g. in the context of an ObjectQuery.

public class EnvironmentObservation
type EnvironmentObservation = class
Public Class EnvironmentObservation
Inheritance
EnvironmentObservation

Constructors

EnvironmentObservation(IntPtr, Boolean)

Properties

LastUpdatedTime

Last updated time.

Origin

Origin of coordinate system used to report vertices, etc.

TriangleIndexCount

Index list length of triangles on surface mesh. May be zero if triangles were not requested.

VertexCount

Number of vertices observed.

Methods

Finalize()

Finalizes an instance of the EnvironmentObservation class.

GetTriangleIndices(UInt32[])

Returns triangle indices defining a mesh over the vertices. Will fail if triangles were not requested.

GetVertexNormals(Vector3[])

Returns per-vertex normals observed in the environment.

GetVertexPositions(Vector3[])

Returns positions of vertices observed in the environment.

Applies to