Synced
GeometryAssetRuntime.GetGeometryData
Section titled “GeometryAssetRuntime.GetGeometryData”
- Decodes the current committed mesh payload.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Assets
Declaration
Section titled “Declaration”public static Inno.Rendering.Assets.GeometryData Inno.Rendering.Assets.GeometryAssetRuntime.GetGeometryData(Inno.Rendering.Assets.GeometryAsset geometry)Parameters
Section titled “Parameters”Parameter geometry: Imported geometry asset.
Returns
Section titled “Returns”Normalized vertices, triangle indices and submeshes.
Exceptions
Section titled “Exceptions”Exception T:System.IO.InvalidDataException: Thrown when the payload is missing or corrupt.