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.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961