struct Plane3D
Swift
struct Plane3D
A flat rectangle in the x–y plane, facing +z.
Sources/LavaUI/Spatial.swift:601
Constructors
init<ID>(id: ID, width: Float = 1, height: Float = 1, color: Color = .accent) where ID : Hashable
Creates a plane. id identifies the object across rebuilds, which is what
lets it animate between transforms and report hover and taps. Sizes are
in world units.
Sources/LavaUI/Spatial.swift:606
Methods
func spatialElements() -> [SpatialElement]
Not documented.
Sources/LavaUI/Spatial.swift:614