Version: 2023.1
言語: 日本語
public VFX.VFXSpace GetExposedSpace (int nameID);
public VFX.VFXSpace GetExposedSpace (string name);

パラメーター

nameID The ID of the property. This is the same ID that Shader.PropertyToID returns.
name プロパティーの名前

戻り値

VFXSpace The expected space of the property.

説明

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.