Point_CacheSpacewarpModifier : SpacewarpModifier

Point_CacheSpacewarpModifier - superclass: SpacewarpModifier; super-superclass:MAXWrapper - 7:0 - classID: #(567311073, 1221790701)

Constructors

Point_CacheSpacewarpModifier ...

PointCacheWSM ...

Note: This class is not available in Autodesk VIZ.

Properties

.time Float default: 0.0 -- float

?

.start_time Float default: 0.0 -- float

The frame number at which the cached animation starts playing back. Using decimal fractions lets you start at a sub-frame setting when using a Frame:Ticks time display. Default=0.0.

Sets the first frame for recording the vertex animation.

.end_time Float default: 100.0 -- float

Sets the last frame for recording the vertex animation.

.samples Integer default: 1 -- integer

?

.cache_file Filename default: undefined -- string

Loads a vertex animation from a cache file on disk into the Point Cache modifier. If number of vertices in the cache file does not match the number of vertices in the object, a warning appears, but no error occurs.

.relativeOffset Boolean default: false -- boolean; Relative_Offset

Makes the Strength setting available. This enables offsetting the animated vertex positions relative to their positions as recorded. Default=off.

Note: When you turn on Use Relative Offsets and play back a cached animation with the modifiers turned on, the cached vertex positions are calculated relative to their positions as calculated by the modifiers. For example, if you record a Bend animation to a cache file, and then play it back with both Use Relative Offsets and the Bend modifier turned on and Strength=1.0, all vertex positions are doubled, resulting in exaggerated motion.

.strength Float default: 1.0 -- animatable; float

Affects the motion relative to the original animation. Available only when Use Relative Offsets is turned on. Default=1.0. Range=-10.0 to 10.0.

At 1.0, the animation plays back the same as recorded. With strengths between 0 and 1, the animation is relatively restrained. At strengths greater than 1, the animation is exaggerated. With negative Strength settings, the motion is reversed.

Point Cache Interfaces:

Interface: pointCacheWSM

Methods

record()

Stores the vertex animation to a disk file. Call Record to activate the Save Points dialog, which lets you specify a path and file name for the cache file. Click OK to record the file, and then load it into the Point Cache modifier, ready for playback.

setCache()

Loads a vertex animation from a cache file on disk into the Point Cache Spacewarp modifier. If number of vertices in the cache file does not match the number of vertices in the object, a warning appears, but no error occurs.

enableMods()

Turns on all stack modifiers below the Point Cache SpaceWarp modifier. Use this when you want to change modifier settings.

disableMods()

Turns off all the object's stack modifiers below Point Cache SpaceWarp so that only the cached vertex animation appears when you play back the animation.

See also

Point_Cache - superclass: modifier