VisualEffectAsset.GetExposedSpace

Declaration

public VFX.VFXSpace GetExposedSpace(int nameID);

Declaration

public VFX.VFXSpace GetExposedSpace(string name);

Parameters

nameID The ID of the property. This is the same ID that Shader.PropertyToID returns.
name The name of the property.

Returns

VFXSpace The expected space of the property.

Description

Provides the configured space of an exposed property in VisualEffectAsset.

VFXSpace.None will be returned if the property doesn't exist or isn't spaceable. The VisualEffect.SetVector3 will not apply any automatic transform, the VisualEffect is expecting raw values.


Did you find this page useful? Please give it a rating: