Sp3dRenderer class
(en)A widget for rendering Sp3dWorld. The clip of the world taken by the Sp3dCamera is displayed on the screen.
(ja)Sp3dWorldのレンダリング用ウィジェットです。 Sp3dCameraで撮影されたワールドのクリップをスクリーン上に表示します。
Author Masahide Mori
First edition creation date 2021-07-18 15:41:26
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- Sp3dRenderer
Constructors
-
Sp3dRenderer(Size size, Sp3dV2D worldOrigin, Sp3dWorld world, Sp3dCamera camera, Sp3dLight light, {Key? key, bool useUserGesture = true, bool allowUserWorldRotation = true, bool allowUserWorldZoom = true, bool checkTouchObj = true, void onPanDown(Sp3dGestureDetails details, Sp3dFaceObj?)?, void onSecondPanDown(Sp3dGestureDetails details, Sp3dFaceObj?)?, void onPanCancel()?, void onPanStart(Sp3dGestureDetails details)?, void onPanUpdate(Sp3dGestureDetails details)?, void onPanEnd(Sp3dGestureDetails details)?, void onPinchStart(Sp3dGestureDetails details)?, void onPinchUpdate(Sp3dGestureDetails details)?, void onPinchEnd(Sp3dGestureDetails details)?, void onMouseScroll(Sp3dGestureDetails details)?, HitTestBehavior behavior = HitTestBehavior.opaque, ValueNotifier<
int> ? vn, double pinchZoomSpeed = 3.0, double mouseZoomSpeed = 20.0, bool isMouseScrollSameVector = true, Sp3dCameraZoomController zoomController = const Sp3dCameraZoomController(), bool useClipping = false, Sp3dCameraRotationController? rotationController}) - Constructor
Properties
- allowUserWorldRotation → bool
-
final
- allowUserWorldZoom → bool
-
final
- behavior → HitTestBehavior
-
final
- camera → Sp3dCamera
-
final
- checkTouchObj → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isMouseScrollSameVector → bool
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- light → Sp3dLight
-
final
- mouseZoomSpeed → double
-
final
- onMouseScroll → (void Function(Sp3dGestureDetails details)?)
-
final
- onPanCancel → (void Function()?)
-
final
- onPanDown → (void Function(Sp3dGestureDetails details, Sp3dFaceObj?)?)
-
final
- onPanEnd → (void Function(Sp3dGestureDetails details)?)
-
final
- onPanStart → (void Function(Sp3dGestureDetails details)?)
-
final
- onPanUpdate → (void Function(Sp3dGestureDetails details)?)
-
final
- onPinchEnd → (void Function(Sp3dGestureDetails details)?)
-
final
- onPinchStart → (void Function(Sp3dGestureDetails details)?)
-
final
- onPinchUpdate → (void Function(Sp3dGestureDetails details)?)
-
final
- onSecondPanDown → (void Function(Sp3dGestureDetails details, Sp3dFaceObj?)?)
-
final
- pinchZoomSpeed → double
-
final
- rotationController ↔ Sp3dCameraRotationController
-
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Size
-
final
- useClipping → bool
-
final
- useUserGesture → bool
-
final
-
vn
↔ ValueNotifier<
int> -
latefinal
- world → Sp3dWorld
-
final
- worldOrigin → Sp3dV2D
-
final
- zoomController → Sp3dCameraZoomController
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → Sp3dRendererState -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of
DiagnosticsNode
objects describing this node's children.inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited