Class BuildModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         BuildModifierData buildmodifierdata = ...;
         CPointer<Object> p = buildmodifierdata.__dna__addressof(BuildModifierData.__DNA__FIELD__modifier);
         CPointer<ModifierData> p_modifier = p.cast(new Class[]{ModifierData.class});
         

        Metadata

        • Field: 'modifier'
        • Signature: 'ModifierData'
        • Actual Size (32bit/64bit): 100/120
      • __DNA__FIELD__start

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

        Pointer Arithmetics

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

         BuildModifierData buildmodifierdata = ...;
         CPointer<Object> p = buildmodifierdata.__dna__addressof(BuildModifierData.__DNA__FIELD__start);
         CPointer<Float> p_start = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'start'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__length

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

        Pointer Arithmetics

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

         BuildModifierData buildmodifierdata = ...;
         CPointer<Object> p = buildmodifierdata.__dna__addressof(BuildModifierData.__DNA__FIELD__length);
         CPointer<Float> p_length = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'length'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__flag

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

        Pointer Arithmetics

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

         BuildModifierData buildmodifierdata = ...;
         CPointer<Object> p = buildmodifierdata.__dna__addressof(BuildModifierData.__DNA__FIELD__flag);
         CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__randomize

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

        Field Documentation

        Blender Source Code

        (bool) whether order of vertices is randomized - legacy files (for readfile conversion).

        Pointer Arithmetics

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

         BuildModifierData buildmodifierdata = ...;
         CPointer<Object> p = buildmodifierdata.__dna__addressof(BuildModifierData.__DNA__FIELD__randomize);
         CPointer<Short> p_randomize = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'randomize'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__seed

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

        Field Documentation

        Blender Source Code

        (int) random seed.

        Pointer Arithmetics

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

         BuildModifierData buildmodifierdata = ...;
         CPointer<Object> p = buildmodifierdata.__dna__addressof(BuildModifierData.__DNA__FIELD__seed);
         CPointer<Integer> p_seed = p.cast(new Class[]{Integer.class});
         

        Metadata

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

      • BuildModifierData

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

      • getModifier

        public ModifierData getModifier()
                                 throws java.io.IOException
        Get method for struct member 'modifier'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__modifier
      • setModifier

        public void setModifier​(ModifierData modifier)
                         throws java.io.IOException
        Set method for struct member 'modifier'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__modifier
      • getStart

        public float getStart()
                       throws java.io.IOException
        Get method for struct member 'start'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__start
      • setStart

        public void setStart​(float start)
                      throws java.io.IOException
        Set method for struct member 'start'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__start
      • getLength

        public float getLength()
                        throws java.io.IOException
        Get method for struct member 'length'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__length
      • setLength

        public void setLength​(float length)
                       throws java.io.IOException
        Set method for struct member 'length'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__length
      • getFlag

        public short getFlag()
                      throws java.io.IOException
        Get method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(short flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getRandomize

        public short getRandomize()
                           throws java.io.IOException
        Get method for struct member 'randomize'.

        Field Documentation

        Blender Source Code

        (bool) whether order of vertices is randomized - legacy files (for readfile conversion).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__randomize
      • setRandomize

        public void setRandomize​(short randomize)
                          throws java.io.IOException
        Set method for struct member 'randomize'.

        Field Documentation

        Blender Source Code

        (bool) whether order of vertices is randomized - legacy files (for readfile conversion).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__randomize
      • getSeed

        public int getSeed()
                    throws java.io.IOException
        Get method for struct member 'seed'.

        Field Documentation

        Blender Source Code

        (int) random seed.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__seed
      • setSeed

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

        Field Documentation

        Blender Source Code

        (int) random seed.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__seed