Class IdAdtTemplate


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

    Class Documentation

    Blender Source Code

    Base Struct for Anim ---------------------------------- Used for #BKE_animdata_from_id() All ID-data-blocks which have their own 'local' AnimData should have the same arrangement in their structs.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         IdAdtTemplate idadttemplate = ...;
         CPointer<Object> p = idadttemplate.__dna__addressof(IdAdtTemplate.__DNA__FIELD__id);
         CPointer<ID> p_id = p.cast(new Class[]{ID.class});
         

        Metadata

        • Field: 'id'
        • Signature: 'ID'
        • Actual Size (32bit/64bit): 152/192
      • __DNA__FIELD__adt

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

        Pointer Arithmetics

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

         IdAdtTemplate idadttemplate = ...;
         CPointer<Object> p = idadttemplate.__dna__addressof(IdAdtTemplate.__DNA__FIELD__adt);
         CPointer<CPointer<AnimData>> p_adt = p.cast(new Class[]{CPointer.class, AnimData.class});
         

        Metadata

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

      • IdAdtTemplate

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

      • getId

        public ID getId()
                 throws java.io.IOException
        Get method for struct member 'id'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id
      • setId

        public void setId​(ID id)
                   throws java.io.IOException
        Set method for struct member 'id'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id
      • setAdt

        public void setAdt​(CPointer<AnimData> adt)
                    throws java.io.IOException
        Set method for struct member 'adt'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__adt
      • __io__addressof

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