2using System.Collections.Generic;
91 this.nullFeatureId = -1;
92 this.propertyTableIndex = -1;
97 #region Public methods
119 if (vertexIndex < 0 || vertexIndex >= this.
featureCount)
Represents a feature ID set from a glTF primitive.
virtual Int64 GetFeatureIdForVertex(Int64 vertexIndex)
Gets the feature ID associated with a given vertex.
Int64 featureCount
The number of features this primitive has.
virtual Int64 GetFeatureIdFromRaycastHit(RaycastHit hitInfo)
Gets the feature ID from the feature ID set using the given raycast hit.
CesiumFeatureIdSetType type
The type of this feature ID set.
Int64 propertyTableIndex
The index of the property table corresponding to this feature ID set.
Int64 nullFeatureId
The null feature ID, i.e., the value that indicates no feature is associated with the owner....
String label
The label assigned to this feature ID set.
Represents the EXT_mesh_features of a glTF primitive in a Cesium3DTileset.
static int GetFirstVertexFromHitTriangle(RaycastHit hitInfo)
Given a successful raycast hit, finds the index of the first vertex from the hit triangle.
CesiumFeatureIdSetType
The type of a feature ID set.