Class IDPropertyData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         IDPropertyData idpropertydata = ...;
         CPointer<Object> p = idpropertydata.__dna__addressof(IDPropertyData.__DNA__FIELD__pointer);
         CPointer<CPointer<Object>> p_pointer = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'pointer'
        • Signature: 'void*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__group

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

        Pointer Arithmetics

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

         IDPropertyData idpropertydata = ...;
         CPointer<Object> p = idpropertydata.__dna__addressof(IDPropertyData.__DNA__FIELD__group);
         CPointer<ListBase> p_group = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'group'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__val

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

        Field Documentation

        Blender Source Code

        Note, we actually fit a double into these two ints.

        Pointer Arithmetics

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

         IDPropertyData idpropertydata = ...;
         CPointer<Object> p = idpropertydata.__dna__addressof(IDPropertyData.__DNA__FIELD__val);
         CPointer<Integer> p_val = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'val'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__val2

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

        Pointer Arithmetics

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

         IDPropertyData idpropertydata = ...;
         CPointer<Object> p = idpropertydata.__dna__addressof(IDPropertyData.__DNA__FIELD__val2);
         CPointer<Integer> p_val2 = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'val2'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • IDPropertyData

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

      • getPointer

        public CPointer<java.lang.Object> getPointer()
                                              throws java.io.IOException
        Get method for struct member 'pointer'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pointer
      • setPointer

        public void setPointer​(CPointer<java.lang.Object> pointer)
                        throws java.io.IOException
        Set method for struct member 'pointer'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pointer
      • getGroup

        public ListBase getGroup()
                          throws java.io.IOException
        Get method for struct member 'group'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__group
      • setGroup

        public void setGroup​(ListBase group)
                      throws java.io.IOException
        Set method for struct member 'group'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__group
      • getVal

        public int getVal()
                   throws java.io.IOException
        Get method for struct member 'val'.

        Field Documentation

        Blender Source Code

        Note, we actually fit a double into these two ints.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__val
      • setVal

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

        Field Documentation

        Blender Source Code

        Note, we actually fit a double into these two ints.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__val
      • getVal2

        public int getVal2()
                    throws java.io.IOException
        Get method for struct member 'val2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__val2
      • setVal2

        public void setVal2​(int val2)
                     throws java.io.IOException
        Set method for struct member 'val2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__val2
      • __io__addressof

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