# MeshCacheModifier(Modifier)

base classes — `bpy_struct`, `Modifier`

class `bpy.types.``MeshCacheModifier`(Modifier)

  Cache Mesh

  `cache_format`

    Type: | enum in [‘MDD’, ‘PC2’], default ‘MDD’

  `deform_mode`
    - `OVERWRITE` Overwrite, Replace vertex coords with cached values.
    - `INTEGRATE` Integrate, Integrate deformation from this modifiers input with the mesh-cache coords (useful for shape keys).

    Type: | enum in [‘OVERWRITE’, ‘INTEGRATE’], default ‘OVERWRITE’

  `eval_factor`

    Evaluation time in seconds

    Type: | float in [0, 1], default 0.0

  `eval_frame`

    The frame to evaluate (starting at 0)

    Type: | float in [0, 300000], default 0.0

  `eval_time`

    Evaluation time in seconds

    Type: | float in [0, inf], default 0.0

  `factor`

    Influence of the deformation

    Type: | float in [0, 1], default 0.0

  `filepath`

    Path to external displacements file

    Type: | string, default “”, (never None)

  `flip_axis`

    Type: | enum set in {‘X’, ‘Y’, ‘Z’}, default {‘X’}

  `forward_axis`

    Type: | enum in [‘POS_X’, ‘POS_Y’, ‘POS_Z’, ‘NEG_X’, ‘NEG_Y’, ‘NEG_Z’], default ‘POS_X’

  `frame_scale`

    Evaluation time in seconds

    Type: | float in [0, 100], default 0.0

  `frame_start`

    Add this to the start frame

    Type: | float in [-300000, 300000], default 0.0

  `interpolation`

    Type: | enum in [‘NONE’, ‘LINEAR’], default ‘NONE’

  `play_mode`
    - `SCENE` Scene, Use the time from the scene.
    - `CUSTOM` Custom, Use the modifier’s own time evaluation.

    Type: | enum in [‘SCENE’, ‘CUSTOM’], default ‘SCENE’

  `time_mode`

    Method to control playback time

    - `FRAME` Frame, Control playback using a frame-number (ignoring time FPS and start frame from the file).
    - `TIME` Time, Control playback using time in seconds.
    - `FACTOR` Factor, Control playback using a value between [0, 1].

    Type: | enum in [‘FRAME’, ‘TIME’, ‘FACTOR’], default ‘FRAME’

  `up_axis`

    Type: | enum in [‘POS_X’, ‘POS_Y’, ‘POS_Z’, ‘NEG_X’, ‘NEG_Y’, ‘NEG_Z’], default ‘POS_X’

Inherited Properties

`bpy_struct.id_data` `Modifier.name` `Modifier.type` `Modifier.show_viewport` `Modifier.show_render` | `Modifier.show_in_editmode` `Modifier.show_on_cage` `Modifier.show_expanded` `Modifier.use_apply_on_spline`

Inherited Functions

`bpy_struct.as_pointer` `bpy_struct.driver_add` `bpy_struct.driver_remove` `bpy_struct.get` `bpy_struct.is_property_hidden` `bpy_struct.is_property_readonly` `bpy_struct.is_property_set` `bpy_struct.items` | `bpy_struct.keyframe_delete` `bpy_struct.keyframe_insert` `bpy_struct.keys` `bpy_struct.path_from_id` `bpy_struct.path_resolve` `bpy_struct.property_unset` `bpy_struct.type_recast` `bpy_struct.values`