|
|
|
|
|
|
|
|
|
|
static void Drawer_SectionCaptureMirror(PlanarReflectionProbeUI s, SerializedPlanarReflectionProbe d, Editor o) |
|
|
|
{ |
|
|
|
EditorGUILayout.PropertyField(d.captureMirrorPlaneLocalPosition, _.GetContent("Plane Position")); |
|
|
|
EditorGUILayout.PropertyField(d.captureMirrorPlaneLocalNormal, _.GetContent("Plane Normal")); |
|
|
|
// EditorGUILayout.PropertyField(d.captureMirrorPlaneLocalPosition, _.GetContent("Plane Position"));
|
|
|
|
// EditorGUILayout.PropertyField(d.captureMirrorPlaneLocalNormal, _.GetContent("Plane Normal"));
|
|
|
|
} |
|
|
|
|
|
|
|
static void Drawer_SectionCaptureSettings(PlanarReflectionProbeUI s, SerializedPlanarReflectionProbe d, Editor o) |
|
|
|
|
|
|
|
|
|
|
static void Drawer_SectionProbeModeRealtimeSettings(PlanarReflectionProbeUI s, SerializedPlanarReflectionProbe d, Editor o) |
|
|
|
{ |
|
|
|
GUI.enabled = false; |
|
|
|
d.refreshMode.enumValueIndex = (int)ReflectionProbeRefreshMode.EveryFrame; |
|
|
|
d.capturePositionMode.enumValueIndex = (int)PlanarReflectionProbe.CapturePositionMode.MirrorCamera; |
|
|
|
GUI.enabled = true; |
|
|
|
} |
|
|
|
|
|
|
|
static void Drawer_SectionInfluenceSettings(PlanarReflectionProbeUI s, SerializedPlanarReflectionProbe d, Editor o) |
|
|
|
|
|
|
|
|
|
|
static void Drawer_FieldCaptureType(PlanarReflectionProbeUI s, SerializedPlanarReflectionProbe d, Editor o) |
|
|
|
{ |
|
|
|
GUI.enabled = false; |
|
|
|
d.mode.enumValueIndex = (int)ReflectionProbeMode.Realtime; |
|
|
|
GUI.enabled = true; |
|
|
|
} |
|
|
|
|
|
|
|
static void Drawer_FieldProxyVolumeReference(PlanarReflectionProbeUI s, SerializedPlanarReflectionProbe d, Editor o) |
|
|
|