Version: 2022.3
LanguageEnglish
  • C#

VFXManager

class in UnityEngine.VFX

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Use this class to set a number of properties that control VisualEffect behavior within your Unity Project.

Static Properties

fixedTimeStepThe fixed interval in which the frame rate updates. The tick rate is in seconds.
maxDeltaTimeThe maximum allowed delta time for an update interval. This limit affects fixedDeltaTime and deltaTime. The tick rate is in seconds.

Static Methods

FlushEmptyBatchesDeallocates all empty batches used in the VFX runtime.
GetBatchedEffectInfoGets information on how a Visual Effect Asset is batched.
GetBatchedEffectInfosGets batch information of all active Visual Effect Assets.
IsCameraBufferNeededQueries which buffers the VFX Manager needs for the given Camera.
PrepareCameraUse this method to prepare per-Camera VFX commands for this frame.
ProcessCameraCommandUse this method to process per-Camera VFX commands for the current frame.
SetCameraBufferUse this method to set the buffer of a given type for this Camera. This allows the VFX Manager to use the buffer.