Improved the culling result of HizCulling;
Added custom inspector for VolumeObject; Change the name of AoVolume to VolumeObject;
This commit is contained in:
10
Editor/View/VolumeObjectView.uxml
Normal file
10
Editor/View/VolumeObjectView.uxml
Normal file
@@ -0,0 +1,10 @@
|
||||
<engine:UXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:engine="UnityEngine.UIElements" xmlns:editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="True">
|
||||
<engine:VisualElement data-source-type="Misaki.AoVolume.VolumeObject, Misaki.AoVolume" style="flex-grow: 1;">
|
||||
<editor:PropertyField binding-path="dynamicVolume" label="Dynamic Volume" />
|
||||
<editor:PropertyField binding-path="data.size" label="Size" />
|
||||
<editor:PropertyField binding-path="data.intensity" label="Intensity" />
|
||||
<editor:PropertyField binding-path="data.falloff" label="IntensityFalloff" />
|
||||
<editor:PropertyField binding-path="data.normalFalloff" label="NormalFalloff" />
|
||||
<engine:Button text="Force Update" name="force-update-button" />
|
||||
</engine:VisualElement>
|
||||
</engine:UXML>
|
||||
Reference in New Issue
Block a user