Class FluidModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         FluidModifierData fluidmodifierdata = ...;
         CPointer<Object> p = fluidmodifierdata.__dna__addressof(FluidModifierData.__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__domain

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

        Pointer Arithmetics

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

         FluidModifierData fluidmodifierdata = ...;
         CPointer<Object> p = fluidmodifierdata.__dna__addressof(FluidModifierData.__DNA__FIELD__domain);
         CPointer<CPointer<FluidDomainSettings>> p_domain = p.cast(new Class[]{CPointer.class, FluidDomainSettings.class});
         

        Metadata

        • Field: 'domain'
        • Signature: 'FluidDomainSettings*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__flow

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

        Field Documentation

        Blender Source Code

        Inflow, outflow, smoke objects.

        Pointer Arithmetics

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

         FluidModifierData fluidmodifierdata = ...;
         CPointer<Object> p = fluidmodifierdata.__dna__addressof(FluidModifierData.__DNA__FIELD__flow);
         CPointer<CPointer<FluidFlowSettings>> p_flow = p.cast(new Class[]{CPointer.class, FluidFlowSettings.class});
         

        Metadata

        • Field: 'flow'
        • Signature: 'FluidFlowSettings*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__effector

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

        Field Documentation

        Blender Source Code

        Effector objects (collision, guiding).

        Pointer Arithmetics

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

         FluidModifierData fluidmodifierdata = ...;
         CPointer<Object> p = fluidmodifierdata.__dna__addressof(FluidModifierData.__DNA__FIELD__effector);
         CPointer<CPointer<FluidEffectorSettings>> p_effector = p.cast(new Class[]{CPointer.class, FluidEffectorSettings.class});
         

        Metadata

        • Field: 'effector'
        • Signature: 'FluidEffectorSettings*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__time

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

        Pointer Arithmetics

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

         FluidModifierData fluidmodifierdata = ...;
         CPointer<Object> p = fluidmodifierdata.__dna__addressof(FluidModifierData.__DNA__FIELD__time);
         CPointer<Float> p_time = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'time'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__type

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

        Field Documentation

        Blender Source Code

        Domain, inflow, outflow, ....

        Pointer Arithmetics

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

         FluidModifierData fluidmodifierdata = ...;
         CPointer<Object> p = fluidmodifierdata.__dna__addressof(FluidModifierData.__DNA__FIELD__type);
         CPointer<Integer> p_type = p.cast(new Class[]{Integer.class});
         

        Metadata

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

      • FluidModifierData

        public FluidModifierData​(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
      • getFlow

        public CPointer<FluidFlowSettings> getFlow()
                                            throws java.io.IOException
        Get method for struct member 'flow'.

        Field Documentation

        Blender Source Code

        Inflow, outflow, smoke objects.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flow
      • setFlow

        public void setFlow​(CPointer<FluidFlowSettings> flow)
                     throws java.io.IOException
        Set method for struct member 'flow'.

        Field Documentation

        Blender Source Code

        Inflow, outflow, smoke objects.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flow
      • getEffector

        public CPointer<FluidEffectorSettings> getEffector()
                                                    throws java.io.IOException
        Get method for struct member 'effector'.

        Field Documentation

        Blender Source Code

        Effector objects (collision, guiding).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__effector
      • setEffector

        public void setEffector​(CPointer<FluidEffectorSettings> effector)
                         throws java.io.IOException
        Set method for struct member 'effector'.

        Field Documentation

        Blender Source Code

        Effector objects (collision, guiding).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__effector
      • getTime

        public float getTime()
                      throws java.io.IOException
        Get method for struct member 'time'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__time
      • setTime

        public void setTime​(float time)
                     throws java.io.IOException
        Set method for struct member 'time'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__time
      • getType

        public int getType()
                    throws java.io.IOException
        Get method for struct member 'type'.

        Field Documentation

        Blender Source Code

        Domain, inflow, outflow, ....

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • setType

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

        Field Documentation

        Blender Source Code

        Domain, inflow, outflow, ....

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type