Cesium for Unity 1.15.2
Loading...
Searching...
No Matches
CesiumForUnity.CesiumMetadata Class Reference

Provides access to the metadata attached to features in a Cesium3DTileset. More...

Inheritance diagram for CesiumForUnity.CesiumMetadata:

Public Member Functions

partial CesiumFeature[] GetFeatures (Transform transform, int triangleIndex)
 Gets the features corresponding to a particular triangle in a tile.
 

Detailed Description

Provides access to the metadata attached to features in a Cesium3DTileset.

Definition at line 14 of file CesiumMetadata.cs.

Member Function Documentation

◆ GetFeatures()

partial CesiumFeature[] CesiumForUnity.CesiumMetadata.GetFeatures ( Transform transform,
int triangleIndex )

Gets the features corresponding to a particular triangle in a tile.

Parameters
transformThe
Transform
of the tile from which to obtain properties.
triangleIndexThe index of the tile's triangle for which to obtain properties.
Returns
An array of features associated with the triangle.

The information to pass to this function can be obtained using the

Physics.Raycast

function.


The documentation for this class was generated from the following file: