SKMeshBuilder.Build Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Build() |
Builds a non-indexed mesh using the configured vertex buffer, uniforms, children, mode, and bounds. |
| Build(String) |
Builds a non-indexed mesh using the configured vertex buffer, uniforms, children, mode, and bounds, reporting any validation errors. |
Build()
Builds a non-indexed mesh using the configured vertex buffer, uniforms, children, mode, and bounds.
public virtual SkiaSharp.SKMesh? Build();
Returns
The mesh, or null if it could not be built.
Applies to
Build(String)
Builds a non-indexed mesh using the configured vertex buffer, uniforms, children, mode, and bounds, reporting any validation errors.
public virtual SkiaSharp.SKMesh? Build(out string? errors);
Parameters
- errors
- String
When this method returns, contains the message describing why creation failed, or null on success.
Returns
The mesh, or null if it could not be built.