Class ParticleBrushData


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

    Class Documentation

    Blender Source Code


    Particle Edit Settings for a Particle Editing Brush

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        Common setting.

        Pointer Arithmetics

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

         ParticleBrushData particlebrushdata = ...;
         CPointer<Object> p = particlebrushdata.__dna__addressof(ParticleBrushData.__DNA__FIELD__size);
         CPointer<Short> p_size = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'size'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__step

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

        Field Documentation

        Blender Source Code

        For specific brushes only.

        Pointer Arithmetics

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

         ParticleBrushData particlebrushdata = ...;
         CPointer<Object> p = particlebrushdata.__dna__addressof(ParticleBrushData.__DNA__FIELD__step);
         CPointer<Short> p_step = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'step'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__invert

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

        Pointer Arithmetics

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

         ParticleBrushData particlebrushdata = ...;
         CPointer<Object> p = particlebrushdata.__dna__addressof(ParticleBrushData.__DNA__FIELD__invert);
         CPointer<Short> p_invert = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'invert'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__count

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

        Pointer Arithmetics

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

         ParticleBrushData particlebrushdata = ...;
         CPointer<Object> p = particlebrushdata.__dna__addressof(ParticleBrushData.__DNA__FIELD__count);
         CPointer<Short> p_count = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'count'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __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:

         ParticleBrushData particlebrushdata = ...;
         CPointer<Object> p = particlebrushdata.__dna__addressof(ParticleBrushData.__DNA__FIELD__flag);
         CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__strength

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

        Pointer Arithmetics

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

         ParticleBrushData particlebrushdata = ...;
         CPointer<Object> p = particlebrushdata.__dna__addressof(ParticleBrushData.__DNA__FIELD__strength);
         CPointer<Float> p_strength = p.cast(new Class[]{Float.class});
         

        Metadata

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

      • ParticleBrushData

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

      • getSize

        public short getSize()
                      throws java.io.IOException
        Get method for struct member 'size'.

        Field Documentation

        Blender Source Code

        Common setting.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__size
      • setSize

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

        Field Documentation

        Blender Source Code

        Common setting.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__size
      • getStep

        public short getStep()
                      throws java.io.IOException
        Get method for struct member 'step'.

        Field Documentation

        Blender Source Code

        For specific brushes only.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__step
      • setStep

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

        Field Documentation

        Blender Source Code

        For specific brushes only.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__step
      • getInvert

        public short getInvert()
                        throws java.io.IOException
        Get method for struct member 'invert'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__invert
      • setInvert

        public void setInvert​(short invert)
                       throws java.io.IOException
        Set method for struct member 'invert'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__invert
      • getCount

        public short getCount()
                       throws java.io.IOException
        Get method for struct member 'count'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__count
      • setCount

        public void setCount​(short count)
                      throws java.io.IOException
        Set method for struct member 'count'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__count
      • getFlag

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

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

        public float getStrength()
                          throws java.io.IOException
        Get method for struct member 'strength'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__strength
      • setStrength

        public void setStrength​(float strength)
                         throws java.io.IOException
        Set method for struct member 'strength'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__strength