Class CollectionObject


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

        Metadata

        • Field: 'next'
        • Signature: 'CollectionObject*'
        • 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:

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

        Metadata

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

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

        Pointer Arithmetics

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

         CollectionObject collectionobject = ...;
         CPointer<Object> p = collectionobject.__dna__addressof(CollectionObject.__DNA__FIELD__ob);
         CPointer<CPointer<BlenderObject>> p_ob = p.cast(new Class[]{CPointer.class, BlenderObject.class});
         

        Metadata

        • Field: 'ob'
        • Signature: 'Object*'
        • Actual Size (32bit/64bit): 4/8
    • Constructor Detail

      • CollectionObject

        public CollectionObject​(long __address,
                                Block __block,
                                BlockTable __blockTable)