Synced
GeometryAsset.Constructor
Section titled “GeometryAsset.Constructor”
- Creates an immutable imported geometry description.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Rendering.Assets
Scope: Runtime
Declaration
Section titled “Declaration”public InnoEngine.Rendering.GeometryAsset.GeometryAsset(int vertexCount, int indexCount, int sectionCount, InnoEngine.Mathematics.Vector3 boundsCenter, InnoEngine.Mathematics.Vector3 boundsExtents)Parameters
Section titled “Parameters”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.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentOutOfRangeException: Thrown when any count is negative or a bounds extent is negative.