Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates an immutable imported geometry description.

API: engine
Project: Inno.Rendering.Assets

public Inno.Rendering.Assets.GeometryAsset.GeometryAsset(int vertexCount, int indexCount, int sectionCount, Inno.Core.Mathematics.Vector3 boundsCenter, Inno.Core.Mathematics.Vector3 boundsExtents)

Parameter vertexCount: The number of normalized vertices.

Parameter indexCount: The number of indices.

Parameter sectionCount: The number of independently submitted sections.

Parameter boundsCenter: The object-space center of the geometry bounds.

Parameter boundsExtents: The non-negative object-space half-extents of the geometry bounds.

Exception T:System.ArgumentOutOfRangeException: Thrown when any count is negative or a bounds extent is negative.