Table of Contents

Class SceneViewSettings

Namespace
Velvet
Assembly
Velvet.Docs.dll

The camera a SceneView element displays, plus its render-resolution policy. The framework owns the RenderTexture: it is created at the element's laid-out pixel size (times ResolutionScale), follows geometry changes, and is released on unmount. The constructor fail-fasts on a non-positive or NaN scale so every construction path (the factory, wrapper hosts, direct construction) shares one guard; a with expression bypasses it like any record init.

public sealed record SceneViewSettings
Inheritance
object
SceneViewSettings

Constructors

SceneViewSettings(Camera?, float)

Properties

Camera
ResolutionScale