Files
com.misaki.hdrp-toon/Editor/Inspector/View/BoxLightAdjustmentView.uxml
Misaki d47641e5e2 Added HairBlending shader pass;
Added HairBlendingSetting in UTSRenderPassSetting;
Added MaterialType to UTS;
Added MaterialFeature scope to UTS material editor;

Merged HairBlendingPass and HairShadowPass into UTSPass;

Fixed the bug that character box light can not update rotation correctly according to bound light source;
2025-01-09 07:58:06 +09:00

41 lines
2.7 KiB
Plaintext

<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.HdrpToon.BoxLightAdjustment, Misaki.HdrpToon" style="flex-grow: 1;">
<engine:Label text="Rendering" style="-unity-font-style: bold; margin-top: 4px; margin-bottom: 2px;" />
<engine:VisualElement name="renderingGroup" style="padding-left: 8px;">
<editor:RenderingLayerMaskField label="Layer Mask" value="DynamicTransform" type="UnityEngine.Rendering.HighDefinition.RenderingLayerMask, Unity.RenderPipelines.HighDefinition.Runtime">
<Bindings>
<engine:DataBinding property="value" data-source-path="LayerMask" binding-mode="TwoWay" />
</Bindings>
</editor:RenderingLayerMaskField>
<editor:ObjectField label="Source Light" type="UnityEngine.Light, UnityEngine.CoreModule">
<Bindings>
<engine:DataBinding property="value" data-source-path="BindingSourceLight" binding-mode="TwoWay" />
</Bindings>
</editor:ObjectField>
<editor:ObjectField label="Target Box Light" type="UnityEngine.Light, UnityEngine.CoreModule">
<Bindings>
<engine:DataBinding property="value" data-source-path="TargetBoxLight" binding-mode="TwoWay" />
</Bindings>
</editor:ObjectField>
</engine:VisualElement>
<engine:Label text="Tracking" style="-unity-font-style: bold; margin-top: 4px; margin-bottom: 2px;" />
<engine:VisualElement name="trackingGroup" style="padding-left: 8px;">
<editor:ObjectField label="Tracked Transform" type="UnityEngine.Transform, UnityEngine.CoreModule">
<Bindings>
<engine:DataBinding property="value" data-source-path="trackedTransform" binding-mode="TwoWay" />
</Bindings>
</editor:ObjectField>
<engine:DropdownField label="Follow Position" choices="Disable,Enable" index="0">
<Bindings>
<engine:DataBinding property="index" data-source-path="followGameObjectPosition" binding-mode="TwoWay" />
</Bindings>
</engine:DropdownField>
<engine:FloatField label="Distance Offset" value="20">
<Bindings>
<engine:DataBinding property="value" data-source-path="distanceOffset" binding-mode="TwoWay" />
</Bindings>
</engine:FloatField>
</engine:VisualElement>
</engine:VisualElement>
</engine:UXML>