Class ComparisonGizmoState
state of the comparison gizmo of the LookDev
Inherited Members
Namespace: UnityEditor.Rendering.LookDev
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
[Serializable]
public class ComparisonGizmoState
Properties
Name | Description |
---|---|
angle | Angle from vertical in radian |
blendFactor | The position of the blending slider. From value -1 on first extremity to value 1 on second extremity. |
center | Position of the center |
length | Length between extremity |
point1 | Position of the first extremity |
point2 | Position of the second extremity |
Methods
Name | Description |
---|---|
Update(Vector2, float, float) | Update all fields while moving the bar |
Update(Vector2, Vector2) | Update all fields while moving one extremity |