csharp
public readonly record struct GizmoPlacementWhere the entity carrying a component is, in world space.
Remarks
⚠ Five vectors rather than the Transform they came from, and the reason is that Transform is a ref struct. One cannot be a field, boxed, or captured, which rules out handing it to a drawer that wants to keep it for a moment — and it needs a World and an Entity to exist at all, so a test for a gizmo would have to build a world to call one. This is what a gizmo actually reads, in a shape a test can write a literal for.
Fields and properties (5)
Methods (2)
Used by (4)
- ComponentGizmoTestsVixen.Editor.SceneView.Tests
- ComponentGizmosVixen.Editor.SceneView
- DeclaredContributionsVixen.Editor.App
- SpyVixen.Editor.SceneView.Tests