text: # automatically generated by the FlatBuffers compiler, do not modify
  
  # namespace: apemodefb
  
  import flatbuffers
  
  class NodeFb(object):
      __slots__ = ['_tab']
  
      @classmethod
      def GetRootAsNodeFb(cls, buf, offset):
          n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
          x = NodeFb()
          x.Init(buf, n + offset)
          return x
  
      # NodeFb
      def Init(self, buf, pos):
          self._tab = flatbuffers.table.Table(buf, pos)
  
      # NodeFb
      def Id(self):
          o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
          if o != 0:
              return self._tab.Get(flatbuffers.number_types.Uint32Flags, o + self._tab.Pos)
          return 0
  
      # NodeFb
      def MeshId(self):
          o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6))
          if o != 0:
              return self._tab.Get(flatbuffers.number_types.Uint32Flags, o + self._tab.Pos)
          return 0
  
      # NodeFb
      def LightId(self):
          o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(8))
          if o != 0:
              return self._tab.Get(flatbuffers.number_types.Uint32Flags, o + self._tab.Pos)
          return 0
  
      # NodeFb
      def CameraId(self):
          o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(10))
          if o != 0:
              return self._tab.Get(flatbuffers.number_types.Uint32Flags, o + self._tab.Pos)
          return 0
  
      # NodeFb
      def TransformLimitsId(self):
          o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(12))
          if o != 0:
              return self._tab.Get(flatbuffers.number_types.Uint32Flags, o + self._tab.Pos)
          return 0
  
      # NodeFb
      def NameId(self):
          o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(14))
          if o != 0:
              return self._tab.Get(flatbuffers.number_types.Uint32Flags, o + self._tab.Pos)
          return 0
  
      # NodeFb
      def CullingType(self):
          o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(16))
          if o != 0:
              return self._tab.Get(flatbuffers.number_types.Uint8Flags, o + self._tab.Pos)
          return 0
  
      # NodeFb
      def InheritType(self):
          o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(18))
          if o != 0:
              return self._tab.Get(flatbuffers.number_types.Uint8Flags, o + self._tab.Pos)
          return 0
  
      # NodeFb
      def RotationOrder(self):
          o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(20))
          if o != 0:
              return self._tab.Get(flatbuffers.number_types.Uint8Flags, o + self._tab.Pos)
          return 0
  
      # NodeFb
      def SkeletonType(self):
          o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(22))
          if o != 0:
              return self._tab.Get(flatbuffers.number_types.Uint8Flags, o + self._tab.Pos)
          return 0
  
      # NodeFb
      def ChildIds(self, j):
          o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(24))
          if o != 0:
              a = self._tab.Vector(o)
              return self._tab.Get(flatbuffers.number_types.Uint32Flags, a + flatbuffers.number_types.UOffsetTFlags.py_type(j * 4))
          return 0
  
      # NodeFb
      def ChildIdsAsNumpy(self):
          o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(24))
          if o != 0:
              return self._tab.GetVectorAsNumpy(flatbuffers.number_types.Uint32Flags, o)
          return 0
  
      # NodeFb
      def ChildIdsLength(self):
          o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(24))
          if o != 0:
              return self._tab.VectorLen(o)
          return 0
  
      # NodeFb
      def AnimCurveIds(self, j):
          o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(26))
          if o != 0:
              a = self._tab.Vector(o)
              return self._tab.Get(flatbuffers.number_types.Uint32Flags, a + flatbuffers.number_types.UOffsetTFlags.py_type(j * 4))
          return 0
  
      # NodeFb
      def AnimCurveIdsAsNumpy(self):
          o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(26))
          if o != 0:
              return self._tab.GetVectorAsNumpy(flatbuffers.number_types.Uint32Flags, o)
          return 0
  
      # NodeFb
      def AnimCurveIdsLength(self):
          o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(26))
          if o != 0:
              return self._tab.VectorLen(o)
          return 0
  
  def NodeFbStart(builder): builder.StartObject(12)
  def NodeFbAddId(builder, id): builder.PrependUint32Slot(0, id, 0)
  def NodeFbAddMeshId(builder, meshId): builder.PrependUint32Slot(1, meshId, 0)
  def NodeFbAddLightId(builder, lightId): builder.PrependUint32Slot(2, lightId, 0)
  def NodeFbAddCameraId(builder, cameraId): builder.PrependUint32Slot(3, cameraId, 0)
  def NodeFbAddTransformLimitsId(builder, transformLimitsId): builder.PrependUint32Slot(4, transformLimitsId, 0)
  def NodeFbAddNameId(builder, nameId): builder.PrependUint32Slot(5, nameId, 0)
  def NodeFbAddCullingType(builder, cullingType): builder.PrependUint8Slot(6, cullingType, 0)
  def NodeFbAddInheritType(builder, inheritType): builder.PrependUint8Slot(7, inheritType, 0)
  def NodeFbAddRotationOrder(builder, rotationOrder): builder.PrependUint8Slot(8, rotationOrder, 0)
  def NodeFbAddSkeletonType(builder, skeletonType): builder.PrependUint8Slot(9, skeletonType, 0)
  def NodeFbAddChildIds(builder, childIds): builder.PrependUOffsetTRelativeSlot(10, flatbuffers.number_types.UOffsetTFlags.py_type(childIds), 0)
  def NodeFbStartChildIdsVector(builder, numElems): return builder.StartVector(4, numElems, 4)
  def NodeFbAddAnimCurveIds(builder, animCurveIds): builder.PrependUOffsetTRelativeSlot(11, flatbuffers.number_types.UOffsetTFlags.py_type(animCurveIds), 0)
  def NodeFbStartAnimCurveIdsVector(builder, numElems): return builder.StartVector(4, numElems, 4)
  def NodeFbEnd(builder): return builder.EndObject()
  