Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


VisualEffectAsset

This class contains a graph of the elements needed to describe a visual effect. These include: the visual effects system, generated shaders, and compiled data.
Read time 4 minutesLast updated 4 days ago

Definition

public class VisualEffectAsset : VisualEffectObject

Remarks

Additional Resources: VisualEffect.

Static Fields

Value

Description

PlayEventIDThe default name ID of the play event.
PlayEventNameThe default name of the play event.
StopEventIDThe default name ID of the stop event.
StopEventNameThe default name of the stop event.

Constructors

Constructor

Description

VisualEffectAsset()The visual effect Asset constructor.

Methods

Method

Description

GetEventsGets the name of every Event connected to a system.
GetExposedPropertiesGets the name and type of every exposed property.
GetExposedSpaceProvides the configured space of an exposed property in VisualEffectAsset.
GetTextureDimensionGets the TextureDimension of a named exposed Texture.
PrewarmComputeShadersLoads and prewarms all the compute shaders associated with the VisualEffectAsset.

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.