Class TransformOrientationSlot


  • public class TransformOrientationSlot
    extends CFacade
    Generated facet for DNA struct type 'TransformOrientationSlot'.

    Class Documentation

    Blender Source Code


    Scene ID-Block

    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct TransformOrientationSlot.

        It is required when allocating a new block to store data for TransformOrientationSlot.

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__type

        public static final long[] __DNA__FIELD__type
        Field descriptor (offset) for struct member 'type'.

        Field Documentation

        Blender Python API

        Transformation orientation

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         TransformOrientationSlot transformorientationslot = ...;
         CPointer<Object> p = transformorientationslot.__dna__addressof(TransformOrientationSlot.__DNA__FIELD__type);
         CPointer<Integer> p_type = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'type'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__index_custom

        public static final long[] __DNA__FIELD__index_custom
        Field descriptor (offset) for struct member 'index_custom'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         TransformOrientationSlot transformorientationslot = ...;
         CPointer<Object> p = transformorientationslot.__dna__addressof(TransformOrientationSlot.__DNA__FIELD__index_custom);
         CPointer<Integer> p_index_custom = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'index_custom'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__flag

        public static final long[] __DNA__FIELD__flag
        Field descriptor (offset) for struct member 'flag'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         TransformOrientationSlot transformorientationslot = ...;
         CPointer<Object> p = transformorientationslot.__dna__addressof(TransformOrientationSlot.__DNA__FIELD__flag);
         CPointer<Byte> p_flag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD___pad0

        public static final long[] __DNA__FIELD___pad0
        Field descriptor (offset) for struct member '_pad0'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         TransformOrientationSlot transformorientationslot = ...;
         CPointer<Object> p = transformorientationslot.__dna__addressof(TransformOrientationSlot.__DNA__FIELD___pad0);
         CPointer<CArrayFacade<Byte>> p__pad0 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad0'
        • Signature: 'char[7]'
        • Actual Size (32bit/64bit): 7/7
    • Constructor Detail

      • TransformOrientationSlot

        public TransformOrientationSlot​(long __address,
                                        Block __block,
                                        BlockTable __blockTable)
    • Method Detail

      • getType

        public int getType()
                    throws java.io.IOException
        Get method for struct member 'type'.

        Field Documentation

        Blender Python API

        Transformation orientation
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • setType

        public void setType​(int type)
                     throws java.io.IOException
        Set method for struct member 'type'.

        Field Documentation

        Blender Python API

        Transformation orientation
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • getIndex_custom

        public int getIndex_custom()
                            throws java.io.IOException
        Get method for struct member 'index_custom'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__index_custom
      • setIndex_custom

        public void setIndex_custom​(int index_custom)
                             throws java.io.IOException
        Set method for struct member 'index_custom'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__index_custom
      • getFlag

        public byte getFlag()
                     throws java.io.IOException
        Get method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(byte flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • get_pad0

        public CArrayFacade<java.lang.Byte> get_pad0()
                                              throws java.io.IOException
        Get method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • set_pad0

        public void set_pad0​(CArrayFacade<java.lang.Byte> _pad0)
                      throws java.io.IOException
        Set method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0