Struct ufbx.ufbx_subdivide_opts
Options for ufbx_subdivide_mesh()
NOTE: Initialize to zero with { 0 }
(C) or { }
(C++)
Assembly: ufbxWrapper.dll
Syntax
public struct ufbx.ufbx_subdivide_opts
Fields
_begin_zero
Declaration
Field Value
_end_zero
Declaration
Field Value
boundary
Declaration
public ufbx.ufbx_subdivision_boundary boundary
Field Value
evaluate_skin_weights
Calculate bone influences over subdivided vertices (if applicable).
NOTE: May be O(n^2) if max_skin_weights
is not specified!
Declaration
public bool evaluate_skin_weights
Field Value
evaluate_source_vertices
Map subdivided vertices into weighted original vertices.
NOTE: May be O(n^2) if max_source_vertices
is not specified!
Declaration
public bool evaluate_source_vertices
Field Value
ignore_normals
Declaration
public bool ignore_normals
Field Value
interpolate_normals
Interpolate existing normals using the subdivision rules
instead of generating new normals
Declaration
public bool interpolate_normals
Field Value
interpolate_tangents
Subdivide also tangent attributes
Declaration
public bool interpolate_tangents
Field Value
max_skin_weights
Limit bone influences per subdivided vertex.
Declaration
public ulong max_skin_weights
Field Value
max_source_vertices
Limit source vertices per subdivided vertex.
Declaration
public ulong max_source_vertices
Field Value
result_allocator
Allocator used for the final mesh
Declaration
public ufbx.ufbx_allocator_opts result_allocator
Field Value
Index of the skin deformer to use for evaluate_skin_weights
.
Declaration
public ulong skin_deformer_index
Field Value
temp_allocator
Allocator used during subdivision
Declaration
public ufbx.ufbx_allocator_opts temp_allocator
Field Value
uv_boundary
Declaration
public ufbx.ufbx_subdivision_boundary uv_boundary
Field Value