Lightweight FBX Importer
Search Results for

    Show / Hide Table of Contents

    Struct ufbx.ufbx_bake_opts

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: ufbxWrapper
    Assembly: ufbxWrapper.dll
    Syntax
    public struct ufbx.ufbx_bake_opts

    Fields

    _begin_zero

    Declaration
    public uint _begin_zero
    Field Value
    Type Description
    uint

    _end_zero

    Declaration
    public uint _end_zero
    Field Value
    Type Description
    uint

    bake_transform_props

    Bake the raw versions of properties related to transforms.

    Declaration
    public bool bake_transform_props
    Field Value
    Type Description
    bool

    evaluate_flags

    Flags passed to animation evaluation functions. See ufbx_evaluate_flags.

    Declaration
    public uint evaluate_flags
    Field Value
    Type Description
    uint

    ignore_layer_weight_animation

    Ignore layer weight animation.

    Declaration
    public bool ignore_layer_weight_animation
    Field Value
    Type Description
    bool

    key_reduction_enabled

    Enable key reduction.

    Declaration
    public bool key_reduction_enabled
    Field Value
    Type Description
    bool

    key_reduction_passes

    Maximum passes over the keys to reduce. Every pass can potentially halve the the amount of keys. Default: 4

    Declaration
    public ulong key_reduction_passes
    Field Value
    Type Description
    ulong

    key_reduction_rotation

    Enable key reduction for non-constant rotations. Assumes rotations will be interpolated using a spherical linear interpolation at runtime.

    Declaration
    public bool key_reduction_rotation
    Field Value
    Type Description
    bool

    key_reduction_threshold

    Threshold for reducing keys for linear segments. Default 0.000001, use negative to disable.

    Declaration
    public double key_reduction_threshold
    Field Value
    Type Description
    double

    max_keyframe_segments

    Maximum number of segments to generate from one keyframe. Default: 32

    Declaration
    public ulong max_keyframe_segments
    Field Value
    Type Description
    ulong

    maximum_sample_rate

    Maximum sample rate to use, this will remove keys if they are too close together. Default: unlimited

    Declaration
    public double maximum_sample_rate
    Field Value
    Type Description
    double

    minimum_sample_rate

    Minimum sample rate to not resample. Many exporters resample animation by default. To avoid double-resampling keyframe rates higher or equal to this will not be resampled. Default: 19.5

    Declaration
    public double minimum_sample_rate
    Field Value
    Type Description
    double

    no_resample_rotation

    Do not resample linear rotation keyframes. FBX interpolates rotation in Euler angles, so this might cause incorrect interpolation.

    Declaration
    public bool no_resample_rotation
    Field Value
    Type Description
    bool

    resample_rate

    Samples per second to use for resampling non-linear animation. Default: 30

    Declaration
    public double resample_rate
    Field Value
    Type Description
    double

    result_allocator

    Allocator used for the final baked animation

    Declaration
    public ufbx.ufbx_allocator_opts result_allocator
    Field Value
    Type Description
    ufbx.ufbx_allocator_opts

    skip_node_transforms

    Do not bake node transforms.

    Declaration
    public bool skip_node_transforms
    Field Value
    Type Description
    bool

    step_custom_duration

    Interpolation duration used by UFBX_BAKE_STEP_HANDLING_CUSTOM_DURATION.

    Declaration
    public double step_custom_duration
    Field Value
    Type Description
    double

    step_custom_epsilon

    Interpolation epsilon used by UFBX_BAKE_STEP_HANDLING_CUSTOM_DURATION. Defined as the minimum fractional decrease/increase in key time, ie. time / (1.0 + step_custom_epsilon) and time * (1.0 + step_custom_epsilon).

    Declaration
    public double step_custom_epsilon
    Field Value
    Type Description
    double

    step_handling

    How to handle stepped tangents.

    Declaration
    public ufbx.ufbx_bake_step_handling step_handling
    Field Value
    Type Description
    ufbx.ufbx_bake_step_handling

    temp_allocator

    Allocator used during loading

    Declaration
    public ufbx.ufbx_allocator_opts temp_allocator
    Field Value
    Type Description
    ufbx.ufbx_allocator_opts

    trim_start_time

    Move the keyframe times to start from zero regardless of the animation start time. For example, for an animation spanning between frames [30, 60] will be moved to [0, 30] in the baked animation. NOTE: This is in general not equivalent to subtracting ufbx_anim.time_begin from each keyframe, as this trimming is done exactly using internal FBX ticks.

    Declaration
    public bool trim_start_time
    Field Value
    Type Description
    bool
    In this article
    Back to top Generated by DocFX