DVScene class
The 3D content of a DVBox.scene.
Constructors
-
DVScene({List<
DVSceneNode> nodes = const <DVSceneNode>[], DVEnvironment environment = DVEnvironment.studio, DVImage? poster, String? label, double aspectRatio = 16 / 9}) -
const
Properties
- aspectRatio → double
-
The viewport's shape when its parent does not bound its height.
final
- environment → DVEnvironment
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → String?
-
What assistive technology announces for the viewport.
final
-
nodes
→ List<
DVSceneNode> -
final
- poster → DVImage?
-
The still shown wherever the scene cannot render.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
) → DVSceneResolved - Resolves every node, reading signals, into a document.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited