Class View3DCursor


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         View3DCursor view3dcursor = ...;
         CPointer<Object> p = view3dcursor.__dna__addressof(View3DCursor.__DNA__FIELD__location);
         CPointer<CArrayFacade<Float>> p_location = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'location'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__rotation_quaternion

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

        Field Documentation

        Blender Python API

        Rotation in quaternions (keep normalized)

        Pointer Arithmetics

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

         View3DCursor view3dcursor = ...;
         CPointer<Object> p = view3dcursor.__dna__addressof(View3DCursor.__DNA__FIELD__rotation_quaternion);
         CPointer<CArrayFacade<Float>> p_rotation_quaternion = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'rotation_quaternion'
        • Signature: 'float[4]'
        • Actual Size (32bit/64bit): 16/16
      • __DNA__FIELD__rotation_euler

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

        Field Documentation

        Blender Python API

        3D rotation

        Pointer Arithmetics

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

         View3DCursor view3dcursor = ...;
         CPointer<Object> p = view3dcursor.__dna__addressof(View3DCursor.__DNA__FIELD__rotation_euler);
         CPointer<CArrayFacade<Float>> p_rotation_euler = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'rotation_euler'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__rotation_axis

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

        Pointer Arithmetics

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

         View3DCursor view3dcursor = ...;
         CPointer<Object> p = view3dcursor.__dna__addressof(View3DCursor.__DNA__FIELD__rotation_axis);
         CPointer<CArrayFacade<Float>> p_rotation_axis = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'rotation_axis'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__rotation_angle

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

        Pointer Arithmetics

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

         View3DCursor view3dcursor = ...;
         CPointer<Object> p = view3dcursor.__dna__addressof(View3DCursor.__DNA__FIELD__rotation_angle);
         CPointer<Float> p_rotation_angle = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'rotation_angle'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__rotation_mode

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

        Pointer Arithmetics

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

         View3DCursor view3dcursor = ...;
         CPointer<Object> p = view3dcursor.__dna__addressof(View3DCursor.__DNA__FIELD__rotation_mode);
         CPointer<Short> p_rotation_mode = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'rotation_mode'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __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:

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

        Metadata

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

      • View3DCursor

        public View3DCursor​(long __address,
                            Block __block,
                            BlockTable __blockTable)
      • View3DCursor

        protected View3DCursor​(View3DCursor that)
    • Method Detail

      • getLocation

        public CArrayFacade<java.lang.Float> getLocation()
                                                  throws java.io.IOException
        Get method for struct member 'location'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__location
      • setLocation

        public void setLocation​(CArrayFacade<java.lang.Float> location)
                         throws java.io.IOException
        Set method for struct member 'location'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__location
      • getRotation_quaternion

        public CArrayFacade<java.lang.Float> getRotation_quaternion()
                                                             throws java.io.IOException
        Get method for struct member 'rotation_quaternion'.

        Field Documentation

        Blender Python API

        Rotation in quaternions (keep normalized)
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotation_quaternion
      • setRotation_quaternion

        public void setRotation_quaternion​(CArrayFacade<java.lang.Float> rotation_quaternion)
                                    throws java.io.IOException
        Set method for struct member 'rotation_quaternion'.

        Field Documentation

        Blender Python API

        Rotation in quaternions (keep normalized)
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotation_quaternion
      • getRotation_euler

        public CArrayFacade<java.lang.Float> getRotation_euler()
                                                        throws java.io.IOException
        Get method for struct member 'rotation_euler'.

        Field Documentation

        Blender Python API

        3D rotation
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotation_euler
      • setRotation_euler

        public void setRotation_euler​(CArrayFacade<java.lang.Float> rotation_euler)
                               throws java.io.IOException
        Set method for struct member 'rotation_euler'.

        Field Documentation

        Blender Python API

        3D rotation
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotation_euler
      • getRotation_axis

        public CArrayFacade<java.lang.Float> getRotation_axis()
                                                       throws java.io.IOException
        Get method for struct member 'rotation_axis'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotation_axis
      • setRotation_axis

        public void setRotation_axis​(CArrayFacade<java.lang.Float> rotation_axis)
                              throws java.io.IOException
        Set method for struct member 'rotation_axis'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotation_axis
      • getRotation_angle

        public float getRotation_angle()
                                throws java.io.IOException
        Get method for struct member 'rotation_angle'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotation_angle
      • setRotation_angle

        public void setRotation_angle​(float rotation_angle)
                               throws java.io.IOException
        Set method for struct member 'rotation_angle'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotation_angle
      • getRotation_mode

        public short getRotation_mode()
                               throws java.io.IOException
        Get method for struct member 'rotation_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotation_mode
      • setRotation_mode

        public void setRotation_mode​(short rotation_mode)
                              throws java.io.IOException
        Set method for struct member 'rotation_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotation_mode
      • 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
      • __io__addressof

        public CPointer<View3DCursor> __io__addressof()
        Instantiates a pointer on this instance.