Class MeshCacheModifierData


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

    Class Documentation

    Blender Source Code

    cache modifier

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         MeshCacheModifierData meshcachemodifierdata = ...;
         CPointer<Object> p = meshcachemodifierdata.__dna__addressof(MeshCacheModifierData.__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__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:

         MeshCacheModifierData meshcachemodifierdata = ...;
         CPointer<Object> p = meshcachemodifierdata.__dna__addressof(MeshCacheModifierData.__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__type

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

        Field Documentation

        Blender Source Code

        File format.

        Pointer Arithmetics

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

         MeshCacheModifierData meshcachemodifierdata = ...;
         CPointer<Object> p = meshcachemodifierdata.__dna__addressof(MeshCacheModifierData.__DNA__FIELD__type);
         CPointer<Byte> p_type = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'type'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__time_mode

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

        Pointer Arithmetics

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

         MeshCacheModifierData meshcachemodifierdata = ...;
         CPointer<Object> p = meshcachemodifierdata.__dna__addressof(MeshCacheModifierData.__DNA__FIELD__time_mode);
         CPointer<Byte> p_time_mode = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'time_mode'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__play_mode

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

        Pointer Arithmetics

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

         MeshCacheModifierData meshcachemodifierdata = ...;
         CPointer<Object> p = meshcachemodifierdata.__dna__addressof(MeshCacheModifierData.__DNA__FIELD__play_mode);
         CPointer<Byte> p_play_mode = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'play_mode'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__forward_axis

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

        Field Documentation

        Blender Source Code

        axis conversion

        Pointer Arithmetics

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

         MeshCacheModifierData meshcachemodifierdata = ...;
         CPointer<Object> p = meshcachemodifierdata.__dna__addressof(MeshCacheModifierData.__DNA__FIELD__forward_axis);
         CPointer<Byte> p_forward_axis = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'forward_axis'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__up_axis

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

        Pointer Arithmetics

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

         MeshCacheModifierData meshcachemodifierdata = ...;
         CPointer<Object> p = meshcachemodifierdata.__dna__addressof(MeshCacheModifierData.__DNA__FIELD__up_axis);
         CPointer<Byte> p_up_axis = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'up_axis'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__flip_axis

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

        Pointer Arithmetics

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

         MeshCacheModifierData meshcachemodifierdata = ...;
         CPointer<Object> p = meshcachemodifierdata.__dna__addressof(MeshCacheModifierData.__DNA__FIELD__flip_axis);
         CPointer<Byte> p_flip_axis = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'flip_axis'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__interp

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

        Pointer Arithmetics

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

         MeshCacheModifierData meshcachemodifierdata = ...;
         CPointer<Object> p = meshcachemodifierdata.__dna__addressof(MeshCacheModifierData.__DNA__FIELD__interp);
         CPointer<Byte> p_interp = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'interp'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__factor

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

        Pointer Arithmetics

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

         MeshCacheModifierData meshcachemodifierdata = ...;
         CPointer<Object> p = meshcachemodifierdata.__dna__addressof(MeshCacheModifierData.__DNA__FIELD__factor);
         CPointer<Float> p_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__deform_mode

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

        Pointer Arithmetics

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

         MeshCacheModifierData meshcachemodifierdata = ...;
         CPointer<Object> p = meshcachemodifierdata.__dna__addressof(MeshCacheModifierData.__DNA__FIELD__deform_mode);
         CPointer<Byte> p_deform_mode = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'deform_mode'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD___pad

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

        Pointer Arithmetics

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

         MeshCacheModifierData meshcachemodifierdata = ...;
         CPointer<Object> p = meshcachemodifierdata.__dna__addressof(MeshCacheModifierData.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'char[7]'
        • Actual Size (32bit/64bit): 7/7
      • __DNA__FIELD__frame_start

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

        Field Documentation

        Blender Source Code

        play_mode == MOD_MESHCACHE_PLAY_CFEA

        Pointer Arithmetics

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

         MeshCacheModifierData meshcachemodifierdata = ...;
         CPointer<Object> p = meshcachemodifierdata.__dna__addressof(MeshCacheModifierData.__DNA__FIELD__frame_start);
         CPointer<Float> p_frame_start = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'frame_start'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__frame_scale

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

        Pointer Arithmetics

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

         MeshCacheModifierData meshcachemodifierdata = ...;
         CPointer<Object> p = meshcachemodifierdata.__dna__addressof(MeshCacheModifierData.__DNA__FIELD__frame_scale);
         CPointer<Float> p_frame_scale = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'frame_scale'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__eval_frame

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

        Field Documentation

        Blender Source Code

        play_mode == MOD_MESHCACHE_PLAY_EVAL we could use one float for all these but their purpose is very different

        Pointer Arithmetics

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

         MeshCacheModifierData meshcachemodifierdata = ...;
         CPointer<Object> p = meshcachemodifierdata.__dna__addressof(MeshCacheModifierData.__DNA__FIELD__eval_frame);
         CPointer<Float> p_eval_frame = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'eval_frame'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__eval_time

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

        Pointer Arithmetics

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

         MeshCacheModifierData meshcachemodifierdata = ...;
         CPointer<Object> p = meshcachemodifierdata.__dna__addressof(MeshCacheModifierData.__DNA__FIELD__eval_time);
         CPointer<Float> p_eval_time = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'eval_time'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__eval_factor

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

        Pointer Arithmetics

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

         MeshCacheModifierData meshcachemodifierdata = ...;
         CPointer<Object> p = meshcachemodifierdata.__dna__addressof(MeshCacheModifierData.__DNA__FIELD__eval_factor);
         CPointer<Float> p_eval_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'eval_factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__filepath

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

        Field Documentation

        Blender Source Code

        FILE_MAX.

        Pointer Arithmetics

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

         MeshCacheModifierData meshcachemodifierdata = ...;
         CPointer<Object> p = meshcachemodifierdata.__dna__addressof(MeshCacheModifierData.__DNA__FIELD__filepath);
         CPointer<CArrayFacade<Byte>> p_filepath = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

      • MeshCacheModifierData

        public MeshCacheModifierData​(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
      • 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
      • getType

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

        Field Documentation

        Blender Source Code

        File format.

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

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

        Field Documentation

        Blender Source Code

        File format.

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

        public byte getTime_mode()
                          throws java.io.IOException
        Get method for struct member 'time_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__time_mode
      • setTime_mode

        public void setTime_mode​(byte time_mode)
                          throws java.io.IOException
        Set method for struct member 'time_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__time_mode
      • getPlay_mode

        public byte getPlay_mode()
                          throws java.io.IOException
        Get method for struct member 'play_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__play_mode
      • setPlay_mode

        public void setPlay_mode​(byte play_mode)
                          throws java.io.IOException
        Set method for struct member 'play_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__play_mode
      • getForward_axis

        public byte getForward_axis()
                             throws java.io.IOException
        Get method for struct member 'forward_axis'.

        Field Documentation

        Blender Source Code

        axis conversion

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__forward_axis
      • setForward_axis

        public void setForward_axis​(byte forward_axis)
                             throws java.io.IOException
        Set method for struct member 'forward_axis'.

        Field Documentation

        Blender Source Code

        axis conversion

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__forward_axis
      • getUp_axis

        public byte getUp_axis()
                        throws java.io.IOException
        Get method for struct member 'up_axis'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__up_axis
      • setUp_axis

        public void setUp_axis​(byte up_axis)
                        throws java.io.IOException
        Set method for struct member 'up_axis'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__up_axis
      • getFlip_axis

        public byte getFlip_axis()
                          throws java.io.IOException
        Get method for struct member 'flip_axis'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flip_axis
      • setFlip_axis

        public void setFlip_axis​(byte flip_axis)
                          throws java.io.IOException
        Set method for struct member 'flip_axis'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flip_axis
      • getInterp

        public byte getInterp()
                       throws java.io.IOException
        Get method for struct member 'interp'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__interp
      • setInterp

        public void setInterp​(byte interp)
                       throws java.io.IOException
        Set method for struct member 'interp'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__interp
      • getFactor

        public float getFactor()
                        throws java.io.IOException
        Get method for struct member 'factor'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__factor
      • setFactor

        public void setFactor​(float factor)
                       throws java.io.IOException
        Set method for struct member 'factor'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__factor
      • getDeform_mode

        public byte getDeform_mode()
                            throws java.io.IOException
        Get method for struct member 'deform_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__deform_mode
      • setDeform_mode

        public void setDeform_mode​(byte deform_mode)
                            throws java.io.IOException
        Set method for struct member 'deform_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__deform_mode
      • get_pad

        public CArrayFacade<java.lang.Byte> get_pad()
                                             throws java.io.IOException
        Get method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • set_pad

        public void set_pad​(CArrayFacade<java.lang.Byte> _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • getFrame_start

        public float getFrame_start()
                             throws java.io.IOException
        Get method for struct member 'frame_start'.

        Field Documentation

        Blender Source Code

        play_mode == MOD_MESHCACHE_PLAY_CFEA

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__frame_start
      • setFrame_start

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

        Field Documentation

        Blender Source Code

        play_mode == MOD_MESHCACHE_PLAY_CFEA

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__frame_start
      • getFrame_scale

        public float getFrame_scale()
                             throws java.io.IOException
        Get method for struct member 'frame_scale'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__frame_scale
      • setFrame_scale

        public void setFrame_scale​(float frame_scale)
                            throws java.io.IOException
        Set method for struct member 'frame_scale'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__frame_scale
      • getEval_frame

        public float getEval_frame()
                            throws java.io.IOException
        Get method for struct member 'eval_frame'.

        Field Documentation

        Blender Source Code

        play_mode == MOD_MESHCACHE_PLAY_EVAL we could use one float for all these but their purpose is very different

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__eval_frame
      • setEval_frame

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

        Field Documentation

        Blender Source Code

        play_mode == MOD_MESHCACHE_PLAY_EVAL we could use one float for all these but their purpose is very different

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__eval_frame
      • getEval_time

        public float getEval_time()
                           throws java.io.IOException
        Get method for struct member 'eval_time'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__eval_time
      • setEval_time

        public void setEval_time​(float eval_time)
                          throws java.io.IOException
        Set method for struct member 'eval_time'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__eval_time
      • getEval_factor

        public float getEval_factor()
                             throws java.io.IOException
        Get method for struct member 'eval_factor'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__eval_factor
      • setEval_factor

        public void setEval_factor​(float eval_factor)
                            throws java.io.IOException
        Set method for struct member 'eval_factor'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__eval_factor
      • getFilepath

        public CArrayFacade<java.lang.Byte> getFilepath()
                                                 throws java.io.IOException
        Get method for struct member 'filepath'.

        Field Documentation

        Blender Source Code

        FILE_MAX.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__filepath
      • setFilepath

        public void setFilepath​(CArrayFacade<java.lang.Byte> filepath)
                         throws java.io.IOException
        Set method for struct member 'filepath'.

        Field Documentation

        Blender Source Code

        FILE_MAX.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__filepath