<reponame>VladSerhiienko/FbxPipeline
# automatically generated by the FlatBuffers compiler, do not modify

# namespace: apemodefb

import flatbuffers

class TransformLimitsFb(object):
    __slots__ = ['_tab']

    # TransformLimitsFb
    def Init(self, buf, pos):
        self._tab = flatbuffers.table.Table(buf, pos)

    # TransformLimitsFb
    def TranslationMinActive(self, obj):
        obj.Init(self._tab.Bytes, self._tab.Pos + 0)
        return obj

    # TransformLimitsFb
    def TranslationMaxActive(self, obj):
        obj.Init(self._tab.Bytes, self._tab.Pos + 3)
        return obj

    # TransformLimitsFb
    def RotationMinActive(self, obj):
        obj.Init(self._tab.Bytes, self._tab.Pos + 6)
        return obj

    # TransformLimitsFb
    def RotationMaxActive(self, obj):
        obj.Init(self._tab.Bytes, self._tab.Pos + 9)
        return obj

    # TransformLimitsFb
    def ScalingMinActive(self, obj):
        obj.Init(self._tab.Bytes, self._tab.Pos + 12)
        return obj

    # TransformLimitsFb
    def ScalingMaxActive(self, obj):
        obj.Init(self._tab.Bytes, self._tab.Pos + 15)
        return obj

    # TransformLimitsFb
    def TranslationMin(self, obj):
        obj.Init(self._tab.Bytes, self._tab.Pos + 20)
        return obj

    # TransformLimitsFb
    def TranslationMax(self, obj):
        obj.Init(self._tab.Bytes, self._tab.Pos + 32)
        return obj

    # TransformLimitsFb
    def RotationMin(self, obj):
        obj.Init(self._tab.Bytes, self._tab.Pos + 44)
        return obj

    # TransformLimitsFb
    def RotationMax(self, obj):
        obj.Init(self._tab.Bytes, self._tab.Pos + 56)
        return obj

    # TransformLimitsFb
    def ScalingMin(self, obj):
        obj.Init(self._tab.Bytes, self._tab.Pos + 68)
        return obj

    # TransformLimitsFb
    def ScalingMax(self, obj):
        obj.Init(self._tab.Bytes, self._tab.Pos + 80)
        return obj


def CreateTransformLimitsFb(builder, translation_min_active_x, translation_min_active_y, translation_min_active_z, translation_max_active_x, translation_max_active_y, translation_max_active_z, rotation_min_active_x, rotation_min_active_y, rotation_min_active_z, rotation_max_active_x, rotation_max_active_y, rotation_max_active_z, scaling_min_active_x, scaling_min_active_y, scaling_min_active_z, scaling_max_active_x, scaling_max_active_y, scaling_max_active_z, translation_min_x, translation_min_y, translation_min_z, translation_max_x, translation_max_y, translation_max_z, rotation_min_x, rotation_min_y, rotation_min_z, rotation_max_x, rotation_max_y, rotation_max_z, scaling_min_x, scaling_min_y, scaling_min_z, scaling_max_x, scaling_max_y, scaling_max_z):
    builder.Prep(4, 92)
    builder.Prep(4, 12)
    builder.PrependFloat32(scaling_max_z)
    builder.PrependFloat32(scaling_max_y)
    builder.PrependFloat32(scaling_max_x)
    builder.Prep(4, 12)
    builder.PrependFloat32(scaling_min_z)
    builder.PrependFloat32(scaling_min_y)
    builder.PrependFloat32(scaling_min_x)
    builder.Prep(4, 12)
    builder.PrependFloat32(rotation_max_z)
    builder.PrependFloat32(rotation_max_y)
    builder.PrependFloat32(rotation_max_x)
    builder.Prep(4, 12)
    builder.PrependFloat32(rotation_min_z)
    builder.PrependFloat32(rotation_min_y)
    builder.PrependFloat32(rotation_min_x)
    builder.Prep(4, 12)
    builder.PrependFloat32(translation_max_z)
    builder.PrependFloat32(translation_max_y)
    builder.PrependFloat32(translation_max_x)
    builder.Prep(4, 12)
    builder.PrependFloat32(translation_min_z)
    builder.PrependFloat32(translation_min_y)
    builder.PrependFloat32(translation_min_x)
    builder.Pad(2)
    builder.Prep(1, 3)
    builder.PrependBool(scaling_max_active_z)
    builder.PrependBool(scaling_max_active_y)
    builder.PrependBool(scaling_max_active_x)
    builder.Prep(1, 3)
    builder.PrependBool(scaling_min_active_z)
    builder.PrependBool(scaling_min_active_y)
    builder.PrependBool(scaling_min_active_x)
    builder.Prep(1, 3)
    builder.PrependBool(rotation_max_active_z)
    builder.PrependBool(rotation_max_active_y)
    builder.PrependBool(rotation_max_active_x)
    builder.Prep(1, 3)
    builder.PrependBool(rotation_min_active_z)
    builder.PrependBool(rotation_min_active_y)
    builder.PrependBool(rotation_min_active_x)
    builder.Prep(1, 3)
    builder.PrependBool(translation_max_active_z)
    builder.PrependBool(translation_max_active_y)
    builder.PrependBool(translation_max_active_x)
    builder.Prep(1, 3)
    builder.PrependBool(translation_min_active_z)
    builder.PrependBool(translation_min_active_y)
    builder.PrependBool(translation_min_active_x)
    return builder.Offset()
