Add runtime spline creation and editing (WIP)
Spline placement: New Spline button (S key) enters placement mode where clicks add control points. Right-click/Enter finishes, Escape cancels. Min 2 points. Spline visualization as cross-shaped quad strip (vertical + horizontal ribbons). Point editing: select spline to show handles, click a handle to position gizmo on it, then use translate gizmo to move individual points. Undo supported via full-state snapshots (SplinePointAction). Visual feedback: auto-generated M_PS_Editor_SplineLine material (unlit opaque with depth test) for normal state. Gizmo material (no depth test) for selected state. Center cube at centroid for whole-spline selection. Handles highlight on selection. Serialization: spline points exported to CustomProperties (PointCount + Point_N). C++ class fallback via FindObject for LoadScene. Spline appears in scene outliner. Still WIP: depth material swap on selection, serialization edge cases, and point editing polish to be refined. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
BIN
Unreal/Plugins/PS_Editor/Content/M_PS_Editor_SplineLine.uasset
Normal file
BIN
Unreal/Plugins/PS_Editor/Content/M_PS_Editor_SplineLine.uasset
Normal file
Binary file not shown.
Reference in New Issue
Block a user