Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Creates an immutable imported geometry description.

API: scripting
Project: Inno.Rendering.Assets
Scope: Runtime

public InnoEngine.Rendering.GeometryAsset.GeometryAsset(int vertexCount, int indexCount, int sectionCount, InnoEngine.Mathematics.Vector3 boundsCenter, InnoEngine.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.