BeginAnimatedCheck
Creates a Property wrapper, useful for making regular GUI controls work with MaterialProperty.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
BeginAnimatedCheck(Rect, MaterialProperty)
Creates a Property wrapper, useful for making regular GUI controls work with MaterialProperty.
public void BeginAnimatedCheck(Rect totalPosition, MaterialProperty prop)
Parameters
Rectangle on the screen to use for the control, including label if applicable.
The MaterialProperty to use for the control.
Remarks
BeginAnimatedCheck and EndAnimatedCheck automatically handle animated property color feedback and contextual menu.
Additional Resources: MaterialEditor.EndAnimatedCheck.
BeginAnimatedCheck(MaterialProperty)
Creates a Property wrapper, useful for making regular GUI controls work with MaterialProperty.
public void BeginAnimatedCheck(MaterialProperty prop)
Parameters
The MaterialProperty to use for the control.
Remarks
BeginAnimatedCheck and EndAnimatedCheck automatically handle animated property color feedback and contextual menu.
Additional Resources: MaterialEditor.EndAnimatedCheck.