Class TransformOrientation


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         TransformOrientation transformorientation = ...;
         CPointer<Object> p = transformorientation.__dna__addressof(TransformOrientation.__DNA__FIELD__next);
         CPointer<CPointer<TransformOrientation>> p_next = p.cast(new Class[]{CPointer.class, TransformOrientation.class});
         

        Metadata

        • Field: 'next'
        • Signature: 'TransformOrientation*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__prev

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

        Pointer Arithmetics

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

         TransformOrientation transformorientation = ...;
         CPointer<Object> p = transformorientation.__dna__addressof(TransformOrientation.__DNA__FIELD__prev);
         CPointer<CPointer<TransformOrientation>> p_prev = p.cast(new Class[]{CPointer.class, TransformOrientation.class});
         

        Metadata

        • Field: 'prev'
        • Signature: 'TransformOrientation*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__name

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

        Field Documentation

        Blender Python API

        Name of the custom transform orientation

        Blender Source Code

        MAX_NAME.

        Pointer Arithmetics

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

         TransformOrientation transformorientation = ...;
         CPointer<Object> p = transformorientation.__dna__addressof(TransformOrientation.__DNA__FIELD__name);
         CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'name'
        • Signature: 'char[64]'
        • Actual Size (32bit/64bit): 64/64
      • __DNA__FIELD__mat

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

        Pointer Arithmetics

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

         TransformOrientation transformorientation = ...;
         CPointer<Object> p = transformorientation.__dna__addressof(TransformOrientation.__DNA__FIELD__mat);
         CPointer<CArrayFacade<CArrayFacade<Float>>> p_mat = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'mat'
        • Signature: 'float[3][3]'
        • Actual Size (32bit/64bit): 36/36
      • __DNA__FIELD___pad

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

        Pointer Arithmetics

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

         TransformOrientation transformorientation = ...;
         CPointer<Object> p = transformorientation.__dna__addressof(TransformOrientation.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

      • TransformOrientation

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

      • getName

        public CArrayFacade<java.lang.Byte> getName()
                                             throws java.io.IOException
        Get method for struct member 'name'.

        Field Documentation

        Blender Python API

        Name of the custom transform orientation

        Blender Source Code

        MAX_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • setName

        public void setName​(CArrayFacade<java.lang.Byte> name)
                     throws java.io.IOException
        Set method for struct member 'name'.

        Field Documentation

        Blender Python API

        Name of the custom transform orientation

        Blender Source Code

        MAX_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • get_pad

        public CArrayFacade<java.lang.Byte> get_pad()
                                             throws java.io.IOException
        Get method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • set_pad

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