33 [ReinteropNativeImplementation(
"CesiumForUnityNative::CesiumFeatureIdAttributeImpl",
"CesiumFeatureIdAttributeImpl.h")]
48 this.CreateImplementation();
Represents a feature ID attribute from a glTF primitive.
override partial Int64 GetFeatureIdForVertex(Int64 vertexIndex)
Gets the feature ID associated with a given vertex.The feature ID can be used with a CesiumPropertyTa...
CesiumFeatureIdAttributeStatus status
The status of this feature ID attribute.
override Int64 GetFeatureIdFromRaycastHit(RaycastHit hitInfo)
Gets the feature ID from the feature ID set using the given raycast hit.This returns a more accurate ...
Represents a feature ID set from a glTF primitive.
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.
CesiumFeatureIdAttributeStatus
Reports the status of a CesiumFeatureIdAttribute.
@ Valid
The feature ID attribute is valid.
@ ErrorInvalidAccessor
The feature ID attribute uses an invalid accessor in the glTF.
@ ErrorInvalidAttribute
The feature ID attribute does not exist in the glTF primitive.