Class SurfaceModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Old position.

        Pointer Arithmetics

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

         SurfaceModifierData surfacemodifierdata = ...;
         CPointer<Object> p = surfacemodifierdata.__dna__addressof(SurfaceModifierData.__DNA__FIELD__x);
         CPointer<CPointer<MVert>> p_x = p.cast(new Class[]{CPointer.class, MVert.class});
         

        Metadata

        • Field: 'x'
        • Signature: 'MVert*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__v

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

        Field Documentation

        Blender Source Code

        Velocity.

        Pointer Arithmetics

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

         SurfaceModifierData surfacemodifierdata = ...;
         CPointer<Object> p = surfacemodifierdata.__dna__addressof(SurfaceModifierData.__DNA__FIELD__v);
         CPointer<CPointer<MVert>> p_v = p.cast(new Class[]{CPointer.class, MVert.class});
         

        Metadata

        • Field: 'v'
        • Signature: 'MVert*'
        • 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:

         SurfaceModifierData surfacemodifierdata = ...;
         CPointer<Object> p = surfacemodifierdata.__dna__addressof(SurfaceModifierData.__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__bvhtree

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

        Field Documentation

        Blender Source Code

        Bounding volume hierarchy of the mesh faces.

        Pointer Arithmetics

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

         SurfaceModifierData surfacemodifierdata = ...;
         CPointer<Object> p = surfacemodifierdata.__dna__addressof(SurfaceModifierData.__DNA__FIELD__bvhtree);
         CPointer<CPointer<Object>> p_bvhtree = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'bvhtree'
        • Signature: 'BVHTreeFromMesh*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__cfra

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

        Pointer Arithmetics

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

         SurfaceModifierData surfacemodifierdata = ...;
         CPointer<Object> p = surfacemodifierdata.__dna__addressof(SurfaceModifierData.__DNA__FIELD__cfra);
         CPointer<Integer> p_cfra = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'cfra'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __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:

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

        Metadata

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

      • SurfaceModifierData

        public SurfaceModifierData​(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
      • getX

        public CPointer<MVert> getX()
                             throws java.io.IOException
        Get method for struct member 'x'.

        Field Documentation

        Blender Source Code

        Old position.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__x
      • setX

        public void setX​(CPointer<MVert> x)
                  throws java.io.IOException
        Set method for struct member 'x'.

        Field Documentation

        Blender Source Code

        Old position.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__x
      • getV

        public CPointer<MVert> getV()
                             throws java.io.IOException
        Get method for struct member 'v'.

        Field Documentation

        Blender Source Code

        Velocity.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__v
      • setV

        public void setV​(CPointer<MVert> v)
                  throws java.io.IOException
        Set method for struct member 'v'.

        Field Documentation

        Blender Source Code

        Velocity.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__v
      • 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
      • getBvhtree

        public CPointer<java.lang.Object> getBvhtree()
                                              throws java.io.IOException
        Get method for struct member 'bvhtree'.

        Field Documentation

        Blender Source Code

        Bounding volume hierarchy of the mesh faces.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bvhtree
      • setBvhtree

        public void setBvhtree​(CPointer<java.lang.Object> bvhtree)
                        throws java.io.IOException
        Set method for struct member 'bvhtree'.

        Field Documentation

        Blender Source Code

        Bounding volume hierarchy of the mesh faces.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bvhtree
      • getCfra

        public int getCfra()
                    throws java.io.IOException
        Get method for struct member 'cfra'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cfra
      • setCfra

        public void setCfra​(int cfra)
                     throws java.io.IOException
        Set method for struct member 'cfra'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cfra
      • 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