Class wmKeyConfigPref


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

    Class Documentation

    Blender Source Code

    This is similar to addon-preferences, however unlike add-ons key-config's aren't saved to disk.

    wmKeyConfigPref is written to DNA, #wmKeyConfigPrefType_Runtime has the RNA type.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

        Metadata

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

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

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Unique name.

        Pointer Arithmetics

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

         wmKeyConfigPref wmkeyconfigpref = ...;
         CPointer<Object> p = wmkeyconfigpref.__dna__addressof(wmKeyConfigPref.__DNA__FIELD__idname);
         CPointer<CArrayFacade<Byte>> p_idname = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         wmKeyConfigPref wmkeyconfigpref = ...;
         CPointer<Object> p = wmkeyconfigpref.__dna__addressof(wmKeyConfigPref.__DNA__FIELD__prop);
         CPointer<CPointer<IDProperty>> p_prop = p.cast(new Class[]{CPointer.class, IDProperty.class});
         

        Metadata

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

      • wmKeyConfigPref

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

      • getIdname

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

        Field Documentation

        Blender Source Code

        Unique name.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__idname
      • setIdname

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

        Field Documentation

        Blender Source Code

        Unique name.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__idname
      • setProp

        public void setProp​(CPointer<IDProperty> prop)
                     throws java.io.IOException
        Set method for struct member 'prop'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prop