Lightweight FBX Importer
Search Results for

    Show / Hide Table of Contents

    Struct ufbx.ufbx_scene_settings

    Global settings: Axes and time/unit scales

    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_scene_settings

    Fields

    ambient_color

    Declaration
    public ufbx.ufbx_vec3 ambient_color
    Field Value
    Type Description
    ufbx.ufbx_vec3

    axes

    Mapping of X/Y/Z axes to world-space directions. HINT: Use ufbx_load_opts.target_axes to normalize this. NOTE: This contains the original axes even if you supply ufbx_load_opts.target_axes.

    Declaration
    public ufbx.ufbx_coordinate_axes axes
    Field Value
    Type Description
    ufbx.ufbx_coordinate_axes

    default_camera

    Declaration
    public ufbx.ufbx_string default_camera
    Field Value
    Type Description
    ufbx.ufbx_string

    frames_per_second

    Frames per second the animation is defined at.

    Declaration
    public double frames_per_second
    Field Value
    Type Description
    double

    original_axis_up

    Original settings (?)

    Declaration
    public ufbx.ufbx_coordinate_axis original_axis_up
    Field Value
    Type Description
    ufbx.ufbx_coordinate_axis

    original_unit_meters

    Declaration
    public float original_unit_meters
    Field Value
    Type Description
    float

    props

    Declaration
    public ufbx.ufbx_props props
    Field Value
    Type Description
    ufbx.ufbx_props

    snap_mode

    Declaration
    public ufbx.ufbx_snap_mode snap_mode
    Field Value
    Type Description
    ufbx.ufbx_snap_mode

    time_mode

    Animation user interface settings. HINT: Use ufbx_scene_settings.frames_per_second instead of interpreting these yourself.

    Declaration
    public ufbx.ufbx_time_mode time_mode
    Field Value
    Type Description
    ufbx.ufbx_time_mode

    time_protocol

    Declaration
    public ufbx.ufbx_time_protocol time_protocol
    Field Value
    Type Description
    ufbx.ufbx_time_protocol

    unit_meters

    How many meters does a single world-space unit represent. FBX files usually default to centimeters, reported as 0.01 here. HINT: Use ufbx_load_opts.target_unit_meters to normalize this.

    Declaration
    public float unit_meters
    Field Value
    Type Description
    float
    In this article
    Back to top Generated by DocFX