MeshCacheModifier(Modifier)

base classes — bpy_struct, Modifier

class bpy.types.MeshCacheModifier(Modifier)

Cache Mesh

cache_format

(default 'MDD')

Type:

Literal[‘MDD’, ‘PC2’]

deform_mode

(default 'OVERWRITE')

  • OVERWRITE Overwrite – Replace vertex coordinates with cached values.

  • INTEGRATE Integrate – Integrate deformation from this modifier’s input with the mesh-cache coordinates (useful for shape keys).

Type:

Literal[‘OVERWRITE’, ‘INTEGRATE’]

eval_factor

Evaluation time in seconds (in [0, 1], default 0.0)

Type:

float

eval_frame

The frame to evaluate (starting at 0) (in [0, 1.04857e+06], default 0.0)

Type:

float

eval_time

Evaluation time in seconds (in [0, inf], default 0.0)

Type:

float

factor

Influence of the deformation (in [0, 1], default 1.0)

Type:

float

filepath

Path to external displacements file (default “”, never None, blend relative // prefix supported)

Type:

str

flip_axis

(array of 3 items, default (False, False, False))

Type:

bpy_prop_array[bool]

forward_axis

(default 'POS_Y')

Type:

Literal[Object Axis Items]

frame_scale

Evaluation time in seconds (in [0, 100], default 1.0)

Type:

float

frame_start

Add this to the start frame (in [-1.04857e+06, 1.04857e+06], default 0.0)

Type:

float

interpolation

(default 'LINEAR')

Type:

Literal[‘NONE’, ‘LINEAR’]

invert_vertex_group

Invert vertex group influence (default False)

Type:

bool

play_mode

(default 'SCENE')

  • SCENE Scene – Use the time from the scene.

  • CUSTOM Custom – Use the modifier’s own time evaluation.

Type:

Literal[‘SCENE’, ‘CUSTOM’]

time_mode

Method to control playback time (default 'FRAME')

  • 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 and 1.

Type:

Literal[‘FRAME’, ‘TIME’, ‘FACTOR’]

up_axis

(default 'POS_Z')

Type:

Literal[Object Axis Items]

vertex_group

Name of the Vertex Group which determines the influence of the modifier per point (default “”, never None)

Type:

str

classmethod bl_rna_get_subclass(id, default=None, /)
Parameters:

id (str) – The RNA type identifier.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct

classmethod bl_rna_get_subclass_py(id, default=None, /)
Parameters:

id (str) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions