Struct ufbx.ufbx_tessellate_surface_opts
Options for ufbx_tessellate_nurbs_surface()
NOTE: Initialize to zero with { 0 }
(C) or { }
(C++)
Assembly: ufbxWrapper.dll
Syntax
public struct ufbx.ufbx_tessellate_surface_opts
Fields
_begin_zero
Declaration
Field Value
_end_zero
Declaration
Field Value
result_allocator
Allocator used for the final mesh
Declaration
public ufbx.ufbx_allocator_opts result_allocator
Field Value
skip_mesh_parts
Skip computing ufbx_mesh.material_parts[]
Declaration
public bool skip_mesh_parts
Field Value
span_subdivision_u
How many segments tessellate each span in ufbx_nurbs_basis.spans
.
NOTE: Default is 4
, not ufbx_nurbs_surface.span_subdivision_u/v
as that
would make it easy to create an FBX file with an absurdly high subdivision
rate (similar to mesh subdivision). Please enforce copy the value yourself
enforcing whatever limits you deem reasonable.
Declaration
public ulong span_subdivision_u
Field Value
span_subdivision_v
Declaration
public ulong span_subdivision_v
Field Value
temp_allocator
Allocator used during tessellation
Declaration
public ufbx.ufbx_allocator_opts temp_allocator
Field Value