Rasagar/Library/PackageCache/com.unity.visualeffectgraph/Documentation~/Operator-GetAttributeAge.md
2024-08-26 23:07:20 +03:00

920 B
Raw Permalink Blame History

Get Attribute: age

Menu Path : Operator > Attribute > Get Attribute: age

The Get Attribute: age returns the age, which is a standard attribute, of a simulated element depending on Location. This Operator outputs the time, in seconds, since the simulated element spawned.

[!include]

Operator properties

Output Type Description
age float The value of the age attribute, based on Location.
If this attribute has not been written to, this Operator returns the default attribute value, which is 0.0.

Details

The value the attribute returns uses the systems space (either local-space or world-space).