Cache_Selective : Helper

Cache_Selective - superclass: helper; super-superclass:node - 22:0 - classID: #(1935830028, 515064320) 

Description:

The Cache_Selective operator records particle states for faster feedback. Some particle properties can be excluded from caching, and extra operators can be called to restore the data.

Available in 3ds Max 2014 and higher.

Constructors:

Cache_Selective...
CacheSelective...

Properties:

<Cache_Selective>.Use_At     Integer    default: 0   --  integer

Get/set the selection of the "Use At" drop-down list.

Possible values are:

0 - Viewport

1 - Render

2 - Viewport/Render

<Cache_Selective>.Range_Type     Integer    default: 0   --  integer

Get/set the selection of the "Range" drop-down list.

Possible values are:

0 - Active Segment (default)

1 - Custom

<Cache_Selective>.Start_Time     Time    default: 0f   --  time

Get/set the value of the "Start Time" spinner.

It is only used when the .Range_Type property is set to 1 - Custom.

<Cache_Selective>.End_Time     Time    default: 30f   --  time

Get/set the value of the "End Time" spinner.

It is only used when the .Range_Type property is set to 1 - Custom.

<Cache_Selective>.Sampling_Type     Integer    default: 0   --  integer

Get/set the selection of the "Sampling" drop-down list.

Possible values are:

0 - Every Frame (default)

1 - Integration Step

2 - Nth Frame

<Cache_Selective>.Every_Nth_Frame     Integer    default: 5   --  integer

Get/set the value of the "N" spinner.

<Cache_Selective>.Cache_Test_Results     BooleanClass    default: true   --  boolean

Get/set the state of the "Cache Test Results" checkbox.

<Cache_Selective>.Save_Cache_With_File     BooleanClass    default: false   --  boolean

Get/set the state of the "Save Cache With File" checkbox.

<Cache_Selective>.Save_Cache_With_Hold     BooleanClass    default: false   --  boolean

Get/set the state of the "Save Cache With Hold" checkbox.

Update And Reset group of controls

<Cache_Selective>.Update_Clear_Range_Type     Integer    default: 0   --  integer

Get/set the selection of the Update And Reset > "Range" drop-down list.

Possible values are:

0 - Active Segment (default)

1 - Custom

<Cache_Selective>.Update_Clear_Start_Time     Time    default: 0f   --  time

Get/set the value of the Update And Reset > "Start Time" spinner.

<Cache_Selective>.Update_Clear_End_Time     Time    default: 30f   --  time

Get/set the value of the Update And Reset > "End Time" spinner.

<Cache_Selective>.Update_Viewports     BooleanClass    default: true   --  boolean

Get/set the state of the "Update Viewports" checkbox.

Exclude Data From Cache group of controls

<Cache_Selective>.Exclude_Shape     BooleanClass    default: true   --  boolean

Get/set the state of the "Shape" checkbox.

<Cache_Selective>.Exclude_Scale     BooleanClass    default: false   --  boolean

Get/set the state of the "Scale" checkbox.

<Cache_Selective>.Exclude_Mapping     BooleanClass    default: false   --  boolean

Get/set the state of the "Mapping" checkbox.

<Cache_Selective>.Exclude_Script_Data     BooleanClass    default: false   --  boolean

Get/set the state of the "Script Data" checkbox.

<Cache_Selective>.Exclude_Material_ID     BooleanClass    default: false   --  boolean

Get/set the state of the "Material ID" checkbox.

<Cache_Selective>.Exclude_Rotation     BooleanClass    default: false   --  boolean

Get/set the state of the "Rotation" checkbox.

Post-Cache Operators group of controls

<Cache_Selective>.Use_Post_Cache_Operators     BooleanClass    default: true   --  boolean

Get/set the state of the "Use Post Cache Operators" checkbox.

<Cache_Selective>.Post_Cache_Operators     ArrayParameter    default: #()   --  node array; SubAnim

Get/set the array of post-cache operators.

<Cache_Selective>.Memory_Limit     Integer    default: 4192   --  integer

Get/set the value of the "Memory Limit" spinner.

Cache_Selective interfaces:

Interface: cache

Methods:

<boolean><Cache_Selective>.update()

Presses the "Update" button in the "Update And Reset" group of controls.

Returns True on success, False on failure.

<boolean><Cache_Selective>.clear()

Presses the "Clear" button in the "Update And Reset" group of controls.

Returns True on success, False on failure.

<boolean><Cache_Selective>.updateAll()

Presses the "Update All" button in the "Update And Reset" group of controls.

Returns True on success, False on failure.

<boolean><Cache_Selective>.clearAll()

Presses the "Clear All" button in the "Update And Reset" group of controls.

Returns True on success, False on failure.

<boolean><Cache_Selective>.clearMemory()

Presses the "Clear Memory" button.

Returns True on success, False on failure.

<boolean><Cache_Selective>.clearMemoryAll()

Presses the "Clear All" button.

Returns True on success, False on failure.

The following common Particle Flow Interfaces are exposed by the Cache_Selective Class:

Interface: action

Interface: operator

Interface: PViewItem