BeginAnimatedCheck
Creates a Property wrapper, useful for making regular GUI controls work with MaterialProperty.
읽는 시간 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.