Use the Slider 3D node as a building block for a 3D UI control that lets the application user change a numerical value using a visual indicator between a minimum and a maximum value. More...
#include <kanzi/ui/node/slider3d.hpp>
Public Types | |
| typedef Slider3DConceptImplType | ConceptClass |
| Slider concept implementation, defining the base class (Component) and presenter (TrajectoryLayout3D). More... | |
| typedef Slider3DPresenterType | PresenterClass |
Public Types inherited from kanzi::Slider3DConceptImpl< TBaseClass, TPresenterClass, TDerivedClass > | |
| typedef shared_ptr< TPresenterClass > | PresenterSharedPtr |
Static Public Member Functions | |
| static Slider3DSharedPtr | create (Domain *domain, string_view name) |
| Creates a Slider3D node. More... | |
| static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Static Public Member Functions inherited from kanzi::Slider3DConceptImpl< TBaseClass, TPresenterClass, TDerivedClass > | |
| static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Static Public Member Functions inherited from kanzi::SliderConcept | |
| static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Protected Member Functions | |
| Slider3D (Domain *domain, string_view name) | |
| Constructor. More... | |
Protected Member Functions inherited from kanzi::Slider3DConceptImpl< TBaseClass, TPresenterClass, TDerivedClass > | |
| void | arrangeOverride (Vector3 actualSize) override |
| KzuUiComponent::arrangeOverride() implementation. More... | |
| void | findLayout () |
| Vector3 | measureOverride (Vector3 availableSize) override |
| KzuUiComponent::measureOverride() implementation. More... | |
| void | onAttached () override |
Additional Inherited Members | |
Public Member Functions inherited from kanzi::Slider3DConceptImpl< TBaseClass, TPresenterClass, TDerivedClass > | |
| float | getMaxDistanceFromCurve () const |
| Gets the value of MaxDistanceFromCurveProperty. More... | |
| const PresenterSharedPtr & | getPresenter () const |
| void | hitPointChanged () |
| void | initialize () |
| void | setMaxDistanceFromCurve (float value) |
| Sets the value of MaxDistanceFromCurveProperty. More... | |
| Slider3DConceptImpl (Domain *domain, string_view name) | |
| ~Slider3DConceptImpl () override | |
Static Public Attributes inherited from kanzi::SliderConcept | |
| static PropertyType< float > | MaxDistanceFromCurveProperty |
| MaxDistanceFromCurve property. More... | |
Use the Slider 3D node as a building block for a 3D UI control that lets the application user change a numerical value using a visual indicator between a minimum and a maximum value.
To disable a Slider 3D node, set the Node::EnabledProperty to false. A disabled Slider 3D does not respond to input. To visually indicate the disabled state of a Slider 3D node, create a state manager and use the Node::EffectivelyEnabledProperty as its controller property. When Kanzi disables a Slider 3D node, it cancels current gestures and preserves the slider value.
To create a Slider 3D node with a custom appearance:
Slider concept implementation, defining the base class (Component) and presenter (TrajectoryLayout3D).
|
explicitprotected |
Constructor.
| domain | The UI domain the new node belongs to. |
| name | The name of the node. |
|
static |
Creates a Slider3D node.
| domain | The UI domain the new node belongs to. |
| name | The name of the stack layout. |
|
static |