unreal.NiagaraSimCacheCreateParameters
¶
- class unreal.NiagaraSimCacheCreateParameters(attribute_capture_mode: NiagaraSimCacheAttributeCaptureMode = Ellipsis, allow_rebasing: bool = False, allow_data_interface_caching: bool = False, allow_interpolation: bool = False, allow_velocity_extrapolation: bool = False, rebase_include_attributes: None = [], rebase_exclude_attributes: None = [], interpolation_include_attributes: None = [], interpolation_exclude_attributes: None = [], explicit_capture_attributes: None = [])¶
Bases:
StructBase
Niagara Sim Cache Create Parameters
C++ Source:
Plugin: Niagara
Module: Niagara
File: NiagaraSimCache.h
Editor Properties: (see get_editor_property/set_editor_property)
allow_data_interface_caching
(bool): [Read-Write] When enabled Data Interface data will be stored in the SimCache. This can result in a large increase to the cache size, depending on what Data Interfaces are usedallow_interpolation
(bool): [Read-Write] When enabled we allow the cache to be generated for interpolation. This will increase the memory usage for the cache slightly but can allow you to reduce the capture rate. By default we will capture and interpolate all Position & Quat types, you can adjust this using the include / exclude list.allow_rebasing
(bool): [Read-Write] When enabled allows the SimCache to be re-based. i.e. World space emitters can be moved to the new component’s locationallow_velocity_extrapolation
(bool): [Read-Write] When enabled we allow the cache to be generated for extrapolation. This will force the velocity attribute to be maintained.attribute_capture_mode
(NiagaraSimCacheAttributeCaptureMode): [Read-Write] How do we want to capture attributes for the simulation cache. The mode selected depends on what situations the cache can be used in.explicit_capture_attributes
(Array[Name]): [Read-Write] List of attributes to capture when the capture attribute capture mode is set to explicit. For example, adding MyEmitter.Particles.Position will only gather that attribute inside the cache.interpolation_exclude_attributes
(Array[Name]): [Read-Write] List of specific Attributes to exclude interpolation for. They must be types that are supported for interpolation. For example, MyEmitter.Particles.MyPosition would force MyPosition to be interpolated.interpolation_include_attributes
(Array[Name]): [Read-Write] List of specific Attributes to include when using interpolation. They must be types that are supported for interpolation. For example, MyEmitter.Particles.MyPosition would force MyPosition to be interpolated.rebase_exclude_attributes
(Array[Name]): [Read-Write] List of Attributes to force exclude from the SimCache rebase, they should be the full path to the attribute For example, MyEmitter.Particles.MyQuat would force the particle attribute MyQuat to be included for MyEmitterrebase_include_attributes
(Array[Name]): [Read-Write] List of Attributes to force include in the SimCache rebase, they should be the full path to the attribute For example, MyEmitter.Particles.MyQuat would force the particle attribute MyQuat to be included for MyEmitter
- property allow_data_interface_caching: bool¶
[Read-Write] When enabled Data Interface data will be stored in the SimCache. This can result in a large increase to the cache size, depending on what Data Interfaces are used
- Type:
(bool)
- property allow_interpolation: bool¶
[Read-Write] When enabled we allow the cache to be generated for interpolation. This will increase the memory usage for the cache slightly but can allow you to reduce the capture rate. By default we will capture and interpolate all Position & Quat types, you can adjust this using the include / exclude list.
- Type:
(bool)
- property allow_rebasing: bool¶
[Read-Write] When enabled allows the SimCache to be re-based. i.e. World space emitters can be moved to the new component’s location
- Type:
(bool)
- property allow_velocity_extrapolation: bool¶
[Read-Write] When enabled we allow the cache to be generated for extrapolation. This will force the velocity attribute to be maintained.
- Type:
(bool)
- property attribute_capture_mode: NiagaraSimCacheAttributeCaptureMode¶
[Read-Write] How do we want to capture attributes for the simulation cache. The mode selected depends on what situations the cache can be used in.
- property explicit_capture_attributes: None¶
[Read-Write] List of attributes to capture when the capture attribute capture mode is set to explicit. For example, adding MyEmitter.Particles.Position will only gather that attribute inside the cache.
- property interpolation_exclude_attributes: None¶
[Read-Write] List of specific Attributes to exclude interpolation for. They must be types that are supported for interpolation. For example, MyEmitter.Particles.MyPosition would force MyPosition to be interpolated.
- property interpolation_include_attributes: None¶
[Read-Write] List of specific Attributes to include when using interpolation. They must be types that are supported for interpolation. For example, MyEmitter.Particles.MyPosition would force MyPosition to be interpolated.