Lightweight FBX Importer
Search Results for

    Show / Hide Table of Contents

    Enum ufbx.ufbx_inherit_mode

    Inherit type specifies how hierarchial node transforms are combined. This only affects the final scaling, as rotation and translation are always inherited correctly. NOTE: These don't map to "InheritType" property as there may be new ones for compatibility with various exporters.

    Namespace: ufbxWrapper
    Assembly: ufbxWrapper.dll
    Syntax
    public enum ufbx.ufbx_inherit_mode

    Fields

    Name Description
    UFBX_INHERIT_MODE_COMPONENTWISE_SCALE

    Apply parent scale component-wise: R*r*S*s. ufbx_transform t = node.local_transform; t.translation *= parent.inherit_scale; t.scale *= node.inherit_scale_node.inherit_scale; child.node_to_world = parent.unscaled_node_to_world * t;

    UFBX_INHERIT_MODE_FORCE_32BIT
    UFBX_INHERIT_MODE_IGNORE_PARENT_SCALE

    Ignore parent scale when computing the transform: R*r*s. ufbx_transform t = node.local_transform; t.translation *= parent.inherit_scale; t.scale *= node.inherit_scale_node.inherit_scale; child.node_to_world = parent.unscaled_node_to_world * t; Also known as "Segment scale compensate" in some software.

    UFBX_INHERIT_MODE_NORMAL

    Normal matrix composition of hierarchy: R*S*r*s. child.node_to_world = parent.node_to_world * child.node_to_parent;

    In this article
    Back to top Generated by DocFX