Class Multires


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         Multires multires = ...;
         CPointer<Object> p = multires.__dna__addressof(Multires.__DNA__FIELD__levels);
         CPointer<ListBase> p_levels = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'levels'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__verts

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

        Pointer Arithmetics

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

         Multires multires = ...;
         CPointer<Object> p = multires.__dna__addressof(Multires.__DNA__FIELD__verts);
         CPointer<CPointer<MVert>> p_verts = p.cast(new Class[]{CPointer.class, MVert.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         Multires multires = ...;
         CPointer<Object> p = multires.__dna__addressof(Multires.__DNA__FIELD__level_count);
         CPointer<Byte> p_level_count = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'level_count'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__current

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

        Pointer Arithmetics

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

         Multires multires = ...;
         CPointer<Object> p = multires.__dna__addressof(Multires.__DNA__FIELD__current);
         CPointer<Byte> p_current = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'current'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__newlvl

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

        Pointer Arithmetics

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

         Multires multires = ...;
         CPointer<Object> p = multires.__dna__addressof(Multires.__DNA__FIELD__newlvl);
         CPointer<Byte> p_newlvl = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'newlvl'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__edgelvl

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

        Pointer Arithmetics

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

         Multires multires = ...;
         CPointer<Object> p = multires.__dna__addressof(Multires.__DNA__FIELD__edgelvl);
         CPointer<Byte> p_edgelvl = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'edgelvl'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__pinlvl

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

        Pointer Arithmetics

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

         Multires multires = ...;
         CPointer<Object> p = multires.__dna__addressof(Multires.__DNA__FIELD__pinlvl);
         CPointer<Byte> p_pinlvl = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'pinlvl'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__renderlvl

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

        Pointer Arithmetics

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

         Multires multires = ...;
         CPointer<Object> p = multires.__dna__addressof(Multires.__DNA__FIELD__renderlvl);
         CPointer<Byte> p_renderlvl = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'renderlvl'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__use_col

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

        Pointer Arithmetics

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

         Multires multires = ...;
         CPointer<Object> p = multires.__dna__addressof(Multires.__DNA__FIELD__use_col);
         CPointer<Byte> p_use_col = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'use_col'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __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:

         Multires multires = ...;
         CPointer<Object> p = multires.__dna__addressof(Multires.__DNA__FIELD__flag);
         CPointer<Byte> p_flag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__vdata

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

        Field Documentation

        Blender Source Code

        Special level 1 data that cannot be modified from other levels

        Pointer Arithmetics

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

         Multires multires = ...;
         CPointer<Object> p = multires.__dna__addressof(Multires.__DNA__FIELD__vdata);
         CPointer<CustomData> p_vdata = p.cast(new Class[]{CustomData.class});
         

        Metadata

        • Field: 'vdata'
        • Signature: 'CustomData'
        • Actual Size (32bit/64bit): 212/224
      • __DNA__FIELD__fdata

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

        Pointer Arithmetics

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

         Multires multires = ...;
         CPointer<Object> p = multires.__dna__addressof(Multires.__DNA__FIELD__fdata);
         CPointer<CustomData> p_fdata = p.cast(new Class[]{CustomData.class});
         

        Metadata

        • Field: 'fdata'
        • Signature: 'CustomData'
        • Actual Size (32bit/64bit): 212/224
      • __DNA__FIELD__edge_flags

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

        Pointer Arithmetics

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

         Multires multires = ...;
         CPointer<Object> p = multires.__dna__addressof(Multires.__DNA__FIELD__edge_flags);
         CPointer<CPointer<Short>> p_edge_flags = p.cast(new Class[]{CPointer.class, Short.class});
         

        Metadata

        • Field: 'edge_flags'
        • Signature: 'short*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__edge_creases

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

        Pointer Arithmetics

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

         Multires multires = ...;
         CPointer<Object> p = multires.__dna__addressof(Multires.__DNA__FIELD__edge_creases);
         CPointer<CPointer<Byte>> p_edge_creases = p.cast(new Class[]{CPointer.class, Byte.class});
         

        Metadata

        • Field: 'edge_creases'
        • Signature: 'char*'
        • Actual Size (32bit/64bit): 4/8
    • Constructor Detail

      • Multires

        public Multires​(long __address,
                        Block __block,
                        BlockTable __blockTable)
      • Multires

        protected Multires​(Multires that)
    • Method Detail

      • getLevels

        public ListBase getLevels()
                           throws java.io.IOException
        Get method for struct member 'levels'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__levels
      • setLevels

        public void setLevels​(ListBase levels)
                       throws java.io.IOException
        Set method for struct member 'levels'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__levels
      • getVerts

        public CPointer<MVert> getVerts()
                                 throws java.io.IOException
        Get method for struct member 'verts'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__verts
      • setVerts

        public void setVerts​(CPointer<MVert> verts)
                      throws java.io.IOException
        Set method for struct member 'verts'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__verts
      • getLevel_count

        public byte getLevel_count()
                            throws java.io.IOException
        Get method for struct member 'level_count'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__level_count
      • setLevel_count

        public void setLevel_count​(byte level_count)
                            throws java.io.IOException
        Set method for struct member 'level_count'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__level_count
      • getCurrent

        public byte getCurrent()
                        throws java.io.IOException
        Get method for struct member 'current'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__current
      • setCurrent

        public void setCurrent​(byte current)
                        throws java.io.IOException
        Set method for struct member 'current'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__current
      • getNewlvl

        public byte getNewlvl()
                       throws java.io.IOException
        Get method for struct member 'newlvl'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__newlvl
      • setNewlvl

        public void setNewlvl​(byte newlvl)
                       throws java.io.IOException
        Set method for struct member 'newlvl'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__newlvl
      • getEdgelvl

        public byte getEdgelvl()
                        throws java.io.IOException
        Get method for struct member 'edgelvl'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__edgelvl
      • setEdgelvl

        public void setEdgelvl​(byte edgelvl)
                        throws java.io.IOException
        Set method for struct member 'edgelvl'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__edgelvl
      • getPinlvl

        public byte getPinlvl()
                       throws java.io.IOException
        Get method for struct member 'pinlvl'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pinlvl
      • setPinlvl

        public void setPinlvl​(byte pinlvl)
                       throws java.io.IOException
        Set method for struct member 'pinlvl'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pinlvl
      • getRenderlvl

        public byte getRenderlvl()
                          throws java.io.IOException
        Get method for struct member 'renderlvl'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__renderlvl
      • setRenderlvl

        public void setRenderlvl​(byte renderlvl)
                          throws java.io.IOException
        Set method for struct member 'renderlvl'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__renderlvl
      • getUse_col

        public byte getUse_col()
                        throws java.io.IOException
        Get method for struct member 'use_col'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__use_col
      • setUse_col

        public void setUse_col​(byte use_col)
                        throws java.io.IOException
        Set method for struct member 'use_col'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__use_col
      • getFlag

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

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

        public CustomData getVdata()
                            throws java.io.IOException
        Get method for struct member 'vdata'.

        Field Documentation

        Blender Source Code

        Special level 1 data that cannot be modified from other levels

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vdata
      • setVdata

        public void setVdata​(CustomData vdata)
                      throws java.io.IOException
        Set method for struct member 'vdata'.

        Field Documentation

        Blender Source Code

        Special level 1 data that cannot be modified from other levels

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vdata
      • getFdata

        public CustomData getFdata()
                            throws java.io.IOException
        Get method for struct member 'fdata'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fdata
      • setFdata

        public void setFdata​(CustomData fdata)
                      throws java.io.IOException
        Set method for struct member 'fdata'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fdata
      • getEdge_flags

        public CPointer<java.lang.Short> getEdge_flags()
                                                throws java.io.IOException
        Get method for struct member 'edge_flags'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__edge_flags
      • setEdge_flags

        public void setEdge_flags​(CPointer<java.lang.Short> edge_flags)
                           throws java.io.IOException
        Set method for struct member 'edge_flags'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__edge_flags
      • getEdge_creases

        public CPointer<java.lang.Byte> getEdge_creases()
                                                 throws java.io.IOException
        Get method for struct member 'edge_creases'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__edge_creases
      • setEdge_creases

        public void setEdge_creases​(CPointer<java.lang.Byte> edge_creases)
                             throws java.io.IOException
        Set method for struct member 'edge_creases'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__edge_creases
      • __io__addressof

        public CPointer<Multires> __io__addressof()
        Instantiates a pointer on this instance.