public VisitStatus Visit <TContainer>(Property <TContainer, quaternion> property, ref TContainer container, ref quaternion value) { using (MakePathScope(property)) { CustomEditorGUILayout.Vector4Label(GetDisplayName(property), value.value, IsMixedValue("value", value.value)); } return(VisitStatus.Stop); }
public VisitStatus Visit <TContainer>(Property <TContainer, float4x4> property, ref TContainer container, ref float4x4 value) { using (MakePathScope(property)) { CustomEditorGUILayout.Vector4Label(GetDisplayName(property), value.c0, IsMixedValue("c0", value.c0)); CustomEditorGUILayout.Vector4Label(GetEmptyNameForRow(), value.c1, IsMixedValue("c1", value.c1)); CustomEditorGUILayout.Vector4Label(GetEmptyNameForRow(), value.c2, IsMixedValue("c2", value.c2)); CustomEditorGUILayout.Vector4Label(GetEmptyNameForRow(), value.c3, IsMixedValue("c3", value.c3)); } return(VisitStatus.Stop); }
public VisitStatus Visit <TContainer>(Property <TContainer, float4> property, ref TContainer container, ref float4 value) { CustomEditorGUILayout.Vector4Label(GetDisplayName(property), value, IsMixedValue(property.Name, value)); return(VisitStatus.Stop); }