Class FluidEffectorSettings


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

    Class Documentation

    Blender Source Code

    Collision objects (filled with smoke).

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        Runtime-only fields (from here on). For fast RNA access.

        Pointer Arithmetics

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

         FluidEffectorSettings fluideffectorsettings = ...;
         CPointer<Object> p = fluideffectorsettings.__dna__addressof(FluidEffectorSettings.__DNA__FIELD__fmd);
         CPointer<CPointer<FluidModifierData>> p_fmd = p.cast(new Class[]{CPointer.class, FluidModifierData.class});
         

        Metadata

        • Field: 'fmd'
        • Signature: 'FluidModifierData*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__mesh

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

        Pointer Arithmetics

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

         FluidEffectorSettings fluideffectorsettings = ...;
         CPointer<Object> p = fluideffectorsettings.__dna__addressof(FluidEffectorSettings.__DNA__FIELD__mesh);
         CPointer<CPointer<Mesh>> p_mesh = p.cast(new Class[]{CPointer.class, Mesh.class});
         

        Metadata

        • Field: 'mesh'
        • Signature: 'Mesh*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__verts_old

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

        Pointer Arithmetics

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

         FluidEffectorSettings fluideffectorsettings = ...;
         CPointer<Object> p = fluideffectorsettings.__dna__addressof(FluidEffectorSettings.__DNA__FIELD__verts_old);
         CPointer<CPointer<Float>> p_verts_old = p.cast(new Class[]{CPointer.class, Float.class});
         

        Metadata

        • Field: 'verts_old'
        • Signature: 'float*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__numverts

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

        Pointer Arithmetics

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

         FluidEffectorSettings fluideffectorsettings = ...;
         CPointer<Object> p = fluideffectorsettings.__dna__addressof(FluidEffectorSettings.__DNA__FIELD__numverts);
         CPointer<Integer> p_numverts = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'numverts'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__surface_distance

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

        Field Documentation

        Blender Python API

        Additional distance around mesh surface to consider as effector

        Blender Source Code

        User-accessible fields (from here on). Thickness of mesh surface, used in obstacle sdf.

        Pointer Arithmetics

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

         FluidEffectorSettings fluideffectorsettings = ...;
         CPointer<Object> p = fluideffectorsettings.__dna__addressof(FluidEffectorSettings.__DNA__FIELD__surface_distance);
         CPointer<Float> p_surface_distance = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'surface_distance'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__flags

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

        Pointer Arithmetics

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

         FluidEffectorSettings fluideffectorsettings = ...;
         CPointer<Object> p = fluideffectorsettings.__dna__addressof(FluidEffectorSettings.__DNA__FIELD__flags);
         CPointer<Integer> p_flags = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'flags'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__subframes

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

        Field Documentation

        Blender Python API

        Number of additional samples to take between frames to improve quality of fast moving effector objects

        Pointer Arithmetics

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

         FluidEffectorSettings fluideffectorsettings = ...;
         CPointer<Object> p = fluideffectorsettings.__dna__addressof(FluidEffectorSettings.__DNA__FIELD__subframes);
         CPointer<Integer> p_subframes = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'subframes'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__type

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

        Pointer Arithmetics

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

         FluidEffectorSettings fluideffectorsettings = ...;
         CPointer<Object> p = fluideffectorsettings.__dna__addressof(FluidEffectorSettings.__DNA__FIELD__type);
         CPointer<Short> p_type = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'type'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD___pad1

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

        Pointer Arithmetics

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

         FluidEffectorSettings fluideffectorsettings = ...;
         CPointer<Object> p = fluideffectorsettings.__dna__addressof(FluidEffectorSettings.__DNA__FIELD___pad1);
         CPointer<CArrayFacade<Byte>> p__pad1 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad1'
        • Signature: 'char[6]'
        • Actual Size (32bit/64bit): 6/6
      • __DNA__FIELD__vel_multi

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

        Field Documentation

        Blender Source Code

        Guiding options. Multiplier for object velocity.

        Pointer Arithmetics

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

         FluidEffectorSettings fluideffectorsettings = ...;
         CPointer<Object> p = fluideffectorsettings.__dna__addressof(FluidEffectorSettings.__DNA__FIELD__vel_multi);
         CPointer<Float> p_vel_multi = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'vel_multi'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__guiding_mode

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

        Pointer Arithmetics

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

         FluidEffectorSettings fluideffectorsettings = ...;
         CPointer<Object> p = fluideffectorsettings.__dna__addressof(FluidEffectorSettings.__DNA__FIELD__guiding_mode);
         CPointer<Short> p_guiding_mode = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'guiding_mode'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD___pad2

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

        Pointer Arithmetics

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

         FluidEffectorSettings fluideffectorsettings = ...;
         CPointer<Object> p = fluideffectorsettings.__dna__addressof(FluidEffectorSettings.__DNA__FIELD___pad2);
         CPointer<CArrayFacade<Byte>> p__pad2 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad2'
        • Signature: 'char[2]'
        • Actual Size (32bit/64bit): 2/2
    • Constructor Detail

      • FluidEffectorSettings

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

      • getFmd

        public CPointer<FluidModifierData> getFmd()
                                           throws java.io.IOException
        Get method for struct member 'fmd'.

        Field Documentation

        Blender Source Code

        Runtime-only fields (from here on). For fast RNA access.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fmd
      • setFmd

        public void setFmd​(CPointer<FluidModifierData> fmd)
                    throws java.io.IOException
        Set method for struct member 'fmd'.

        Field Documentation

        Blender Source Code

        Runtime-only fields (from here on). For fast RNA access.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fmd
      • getMesh

        public CPointer<Mesh> getMesh()
                               throws java.io.IOException
        Get method for struct member 'mesh'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mesh
      • setMesh

        public void setMesh​(CPointer<Mesh> mesh)
                     throws java.io.IOException
        Set method for struct member 'mesh'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mesh
      • getVerts_old

        public CPointer<java.lang.Float> getVerts_old()
                                               throws java.io.IOException
        Get method for struct member 'verts_old'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__verts_old
      • setVerts_old

        public void setVerts_old​(CPointer<java.lang.Float> verts_old)
                          throws java.io.IOException
        Set method for struct member 'verts_old'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__verts_old
      • getNumverts

        public int getNumverts()
                        throws java.io.IOException
        Get method for struct member 'numverts'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__numverts
      • setNumverts

        public void setNumverts​(int numverts)
                         throws java.io.IOException
        Set method for struct member 'numverts'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__numverts
      • getSurface_distance

        public float getSurface_distance()
                                  throws java.io.IOException
        Get method for struct member 'surface_distance'.

        Field Documentation

        Blender Python API

        Additional distance around mesh surface to consider as effector

        Blender Source Code

        User-accessible fields (from here on). Thickness of mesh surface, used in obstacle sdf.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__surface_distance
      • setSurface_distance

        public void setSurface_distance​(float surface_distance)
                                 throws java.io.IOException
        Set method for struct member 'surface_distance'.

        Field Documentation

        Blender Python API

        Additional distance around mesh surface to consider as effector

        Blender Source Code

        User-accessible fields (from here on). Thickness of mesh surface, used in obstacle sdf.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__surface_distance
      • getFlags

        public int getFlags()
                     throws java.io.IOException
        Get method for struct member 'flags'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flags
      • setFlags

        public void setFlags​(int flags)
                      throws java.io.IOException
        Set method for struct member 'flags'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flags
      • getSubframes

        public int getSubframes()
                         throws java.io.IOException
        Get method for struct member 'subframes'.

        Field Documentation

        Blender Python API

        Number of additional samples to take between frames to improve quality of fast moving effector objects
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__subframes
      • setSubframes

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

        Field Documentation

        Blender Python API

        Number of additional samples to take between frames to improve quality of fast moving effector objects
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__subframes
      • getType

        public short getType()
                      throws java.io.IOException
        Get method for struct member 'type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • setType

        public void setType​(short type)
                     throws java.io.IOException
        Set method for struct member 'type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • get_pad1

        public CArrayFacade<java.lang.Byte> get_pad1()
                                              throws java.io.IOException
        Get method for struct member '_pad1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad1
      • set_pad1

        public void set_pad1​(CArrayFacade<java.lang.Byte> _pad1)
                      throws java.io.IOException
        Set method for struct member '_pad1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad1
      • getVel_multi

        public float getVel_multi()
                           throws java.io.IOException
        Get method for struct member 'vel_multi'.

        Field Documentation

        Blender Source Code

        Guiding options. Multiplier for object velocity.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vel_multi
      • setVel_multi

        public void setVel_multi​(float vel_multi)
                          throws java.io.IOException
        Set method for struct member 'vel_multi'.

        Field Documentation

        Blender Source Code

        Guiding options. Multiplier for object velocity.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vel_multi
      • getGuiding_mode

        public short getGuiding_mode()
                              throws java.io.IOException
        Get method for struct member 'guiding_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__guiding_mode
      • setGuiding_mode

        public void setGuiding_mode​(short guiding_mode)
                             throws java.io.IOException
        Set method for struct member 'guiding_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__guiding_mode
      • get_pad2

        public CArrayFacade<java.lang.Byte> get_pad2()
                                              throws java.io.IOException
        Get method for struct member '_pad2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad2
      • set_pad2

        public void set_pad2​(CArrayFacade<java.lang.Byte> _pad2)
                      throws java.io.IOException
        Set method for struct member '_pad2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad2