Base class for scene graph nodes in Kanzi. More...
#include <kanzi/core.ui/node/node.hpp>
Classes | |
struct | BindingEntry |
binding entry. More... | |
class | MessageSubscriptionToken |
Message subscription token for nodes. More... | |
struct | NodeComponentEntry |
Object node component entry. More... | |
Public Member Functions | |
virtual | ~Node () |
Destructor. More... | |
template<typename DataType > | |
PropertyType< DataType >::Traits::ReturnType | getProperty (const PropertyType< DataType > &propertyType) const |
Returns the current value of a property. More... | |
AbstractPropertyTypeDescriptor::ValueSource * | getNodeFinalValueSource (AbstractPropertyTypeDescriptor &descriptor) const |
template<typename DataType > | |
optional< typename PropertyType< DataType >::Traits::ReturnType > | getOptionalProperty (const PropertyType< DataType > &propertyType) const |
Evaluates the property value in the same way as the overload above but does not default to the value in property metadata if there are no inputs to the property value. More... | |
template<typename DataType > | |
DataType | getAbstractProperty (AbstractPropertyType abstractPropertyType) const |
template<typename DataType > | |
optional< typename PropertyType< DataType >::DataType > | getOptionalAbstractProperty (AbstractPropertyType abstractPropertyType) const |
template<typename TMessageType , typename TClass , typename TClassMethod > | |
MessageSubscriptionToken | addMessageHandler (TMessageType &messageType, TClass *messageHandlerObject, TClassMethod method) |
Adds a message handler where handler is a method to invoke on an object. More... | |
template<typename TMessageType , typename TClass , typename TClassMethod > | |
MessageSubscriptionToken | addMessageFilter (TMessageType &messageType, TClass *messageHandlerObject, TClassMethod method) |
Adds a message filter where filter is a method to invoke on an object. More... | |
template<typename TMessageType > | |
MessageSubscriptionToken | addMessageHandler (const TMessageType &messageType, typename TMessageType::FunctionType function) |
Adds a message handler where handler is function. More... | |
template<typename TMessageType > | |
MessageSubscriptionToken | addMessageFilter (const TMessageType &messageType, typename TMessageType::FunctionType function) |
Adds a message filter where filter is function. More... | |
template<typename TMessageType > | |
MessageSubscriptionToken | addMessageHandler (const TMessageType &messageType, typename TMessageType::FunctionType function, Node *messageSourceFilter) |
Adds a message handler where handler is function and accepted source is explicitly defined. More... | |
void | removeMessageHandler (MessageSubscriptionToken token) |
Removes a message subscription. More... | |
template<typename TArgumentsType > | |
void | dispatchMessage (const MessageType< TArgumentsType > &messageType, typename MessageType< TArgumentsType >::ArgumentsType &messageArguments) |
Dispatches a message with specified arguments. More... | |
void | addResource (const ResourceID &resourceId, string_view resourceUrl) |
Adds a resource manager resource to an object node. If resourceID already exists in object, removes the existing entry. If resourceURL is NULL, error is thrown. */. More... | |
void | removeResource (const ResourceID &resourceId) |
Removes a resource with given ID from object node resource dictionary. Does not do anything if resourceID was not found. */. More... | |
bool | containsResource (const ResourceID &resourceID) const |
Returns if object node resource dictionary contains the resource with given ID. Resource can be any type: style, alias or resource manager resource. */. More... | |
optional< string > | findResourceURL (const ResourceID &resourceId) const |
Tries to find Resource URL for Resource ID from this node. More... | |
ResourceSharedPtr | acquireResource (const ResourceID &id) const |
Acquires a resource from the node or the node's closest ancestor having the resource id in the resource dictionary. More... | |
template<typename T > | |
shared_ptr< T > | acquireResource (const ResourceID &id) const |
Acquires a resource from the node or the node's closest ancestor having the resource id in the resource dictionary, and casts the resource to given type. More... | |
ResourceSharedPtr | tryAcquireResource (const ResourceID &id) const |
Acquires a resource from the node or the node's closest ancestor having the resource id in the resource dictionary. More... | |
ResourceManager::AcquireTaskSharedPtr | acquireResourceAsync (const ResourceID &key, ResourceManager::AsyncAcquireFinishedCallback func) const |
Posts an asynchronous task to acquire a resource. More... | |
template<typename T > | |
shared_ptr< T > | tryAcquireResource (const ResourceID &id) const |
Acquires a resource from the node or the node's closest ancestor having the resource and casts the resource to given type. More... | |
ResourceDictionarySharedPtr | getResourceDictionary () const |
Gets the resource dictionary of the node, if the node has one. More... | |
ResourceDictionarySharedPtr | acquireResourceDictionary () |
Gets the resource dictionary of the node. More... | |
void | notifyResourceDictionaryModified () |
Forces the re-evaluation of resource IDs in a node tree. More... | |
void | setResourceDictionary (ResourceDictionarySharedPtr resourceDictionary) |
Replaces the resource dictionary of the node. More... | |
void | addResourceDictionary (ResourceDictionarySharedPtr resourceDictionary) |
Add a nested resource dictionary to the resource dictionary of the node. More... | |
void | addAnonymousResource (ResourceSharedPtr resource) |
Adds alias resource to an object node. More... | |
void | removeAnonymousResource (const Resource &resource) |
Removes anonymous resource from object node resources. More... | |
bool | isNamed (string_view name) const |
Node * | getParent () const |
Returns the parent of the node. More... | |
void | setParent (Node *parent) |
VisitorResult | visit (const Visitor &visitor, VisitorOrder order) |
VisitorResult | visitDescendants (const Visitor &visitor, VisitorOrder order) |
template<typename Type > | |
shared_ptr< Type > | lookupNode (string_view pathOrKey) |
Returns a node of specified type by looking it up with specified path or alias. More... | |
Node * | lookupNodeRaw (string_view relativePath) |
Get an object node by another node and a relative path. More... | |
ObjectSharedPtr | lookupObject (string_view relativePath) |
Lookup for an object from a node. More... | |
tuple< NodeSharedPtr, AbstractPropertyType > | lookupObjectForStateManager (string_view relativePath) |
Lookup for an node and possible object from within the node for state manager. More... | |
template<typename Type > | |
shared_ptr< Type > | lookupObject (string_view path) |
Lookup for an object from a node. More... | |
template<typename TNodeType > | |
shared_ptr< TNodeType > | findAbstractChild (string_view name) |
Find a child by name. Finds direct children as well as children connected indirectly for example Viewport->Scene. More... | |
virtual bool | addAbstractChildOverride (NodeSharedPtr child)=0 |
virtual size_t | getAbstractChildCountOverride ()=0 |
virtual NodeSharedPtr | getAbstractChildOverride (size_t index)=0 |
virtual bool | removeAbstractChildOverride (Node &child)=0 |
void | addInputManipulator (InputManipulatorSharedPtr inputManipulator) |
Transfers the ownership and attaches an input manipulator to an object node. More... | |
void | removeInputManipulator (InputManipulator &inputManipulator) |
Removes the ownership and detaches an input manipulator from an object node. More... | |
InputManipulatorConstIterator | beginInputManipulators () const |
InputManipulatorConstIterator | endInputManipulators () const |
void | addBinding (BindingSharedPtr binding) |
Transfers the ownership of a binding rule to an object node. More... | |
void | addBindingWithOwner (BindingSharedPtr binding, shared_ptr< void > owner) |
Transfers the ownership of a binding rule to an object node and sets the owner of binding rule. More... | |
void | removeBinding (Binding &binding) |
Removes the ownership and detaches a binding rule from an object node. More... | |
void | removeBindingsWithOwner (shared_ptr< void > owner) |
Removes all bindings with the specified owner. More... | |
BindingConstIterator | beginBindings () const |
BindingConstIterator | endBindings () const |
void | addNodeComponent (NodeComponentSharedPtr nodeComponent) |
Transfers the ownership of a node component to an object node. More... | |
void | addNodeComponentWithOwner (NodeComponentSharedPtr nodeComponent, const void *owner) |
Transfers the ownership of a node component to an object node and sets the owner of the node component. More... | |
void | removeNodeComponent (NodeComponent &nodeComponent) |
Removes the ownership of a node component from an object node. More... | |
void | removeNodeComponentWithOwner (const void *owner) |
Removes all bindings with the specified owner. More... | |
NodeComponentConstIterator | beginNodeComponents () const |
NodeComponentConstIterator | endNodeComponents () const |
template<typename Type > | |
shared_ptr< Type > | lookupNodeComponent (string_view name) |
Returns a node component of specified type by looking it up with specified name. More... | |
void | setRenderable (bool state) |
Sets whether the object node is renderable. More... | |
bool | isRenderable () const |
Returns whether node is renderable. More... | |
bool | isEffectivelyVisible () const |
Checks if the node and all of its ancestors are visible. More... | |
bool | isEffectivelyEnabled () const |
Checks if the node and all of its ancestors are enabled. More... | |
uint32_t | getChangeFlags () const |
Get current change flags. More... | |
uint32_t | getChildChangeFlags () const |
Get current child change flags. More... | |
void | setChangeFlag (uint32_t flag) |
Sets a change flag. More... | |
void | clearChangeFlag (uint32_t flag) |
Clears a change flag. More... | |
bool | isChangeFlagSet (uint32_t flag) const |
Checks if a change flag is set. More... | |
bool | isAnyChangeFlagSet (uint32_t flag) const |
Checks if any of given flags is set. More... | |
void | setChildChangeFlag (uint32_t flag) |
Sets a child change flag. More... | |
void | clearChildChangeFlag (uint32_t flag) |
Clears a child change flag. More... | |
bool | isChildChangeFlagSet (uint32_t flag) const |
Checks if child change flags match. More... | |
bool | isAnyChildChangeFlagSet (uint32_t flag) const |
Checks if any child change flags (corresponding to given mask) are set. More... | |
bool | isInvalidMeasure () const |
Check if the node needs measure. More... | |
void | invalidateMeasure () |
Invalidates measure for the node. More... | |
void | validateMeasure () |
Validates measure for the node. More... | |
bool | isInvalidArrange () const |
Checks if the node needs arrange. More... | |
void | invalidateArrange () |
Invalidates arrange. More... | |
void | validateArrange () |
Validates arrange. More... | |
bool | isInvalidRender () const |
Returns if node render flag is invalid. More... | |
void | validateRender () |
Validates render for node. More... | |
void | invalidateRender () |
Invalidates render for node. More... | |
bool | isInvalidFinalTransform () const |
Tells if final transform flag is invalid for node. More... | |
void | invalidateFinalTransform () |
Invalidates final transform for node. More... | |
bool | isInvalidDraw () |
Tells if node draw flag is invalid. More... | |
void | invalidateDraw () |
Invalidates draw flag for the node. More... | |
void | validateDraw () |
Validates draw flags for the node. More... | |
void | validateDrawForChildrenRecursive () |
Recursively validates draw for the children from this 2D node onwards. More... | |
bool | isInitialized () const |
Returns true if initialize() has been called, false otherwise. More... | |
bool | isAttached () const |
Returns true if the node is attached to a screen or one of its descendants. More... | |
bool | isAttaching () const |
Returns true if node is in the process of attaching, false otherwise. More... | |
bool | isDetaching () const |
Returns true if the node currently detaching. More... | |
void | attachRecursive () |
Attaches an object node and its children recursively. More... | |
void | detachRecursive () |
Detaches an object node and its children recursively. More... | |
virtual const KzuBoundingVolume * | getBoundingVolume () const |
Gets bounding volume from object node. More... | |
AppliedStyleEntrySharedPtr | applyStyle (StyleSharedPtr style) |
Applies a style to an object node. More... | |
AppliedStyleEntrySharedPtr | applyManualStyle (StyleSharedPtr style) |
Applies a style to an object node. More... | |
void | unapplyStyle (AppliedStyleEntrySharedPtr appliedStyleEntry) |
Unapplies a style from an object node. More... | |
void | applyStyles () |
Apply all styles for an object node. More... | |
void | unapplyStyles () |
Unapplies and removes all applied styles. More... | |
void | applyStylesRecursive () |
Applies styles recursively. More... | |
void | unapplyStylesRecursive () |
Unapplies styles recursively. More... | |
void | removeKZBData () |
Destroys all object node data loaded from KZB, including properties, bindings, node comopnents, resources etc. More... | |
void | addResourceReference (AbstractPropertyType propertyType, AbstractResourceReference *reference) |
This is a helper for automatic resource tracking in ResourceReference. More... | |
void | removeResourceReference (const AbstractResourceReference &reference) |
This is a helper for automatic resource tracking in ResourceReference. More... | |
void | addNodeReference (AbstractPropertyType propertyType, AbstractNodeReference *reference) |
void | removeNodeReference (const AbstractNodeReference &reference) |
virtual void | restoreResources () |
Reattaches an object node after potential resource change. More... | |
ScriptingContextSharedPtr | getScriptingContext () const |
void | setScriptingContext (ScriptingContextSharedPtr context) |
void | setTemplateRoot (NodeSharedPtr templateRoot) |
Sets the template root of this node. More... | |
NodeSharedPtr | getTemplateRoot () const |
Gets the template root of this node. More... | |
bool | trySetActiveFocus () |
The method tries to move the active focus on this node. More... | |
Public Member Functions inherited from kanzi::Object | |
Object (Domain *domain) | |
virtual | ~Object () |
Domain * | getDomain () const |
Returns the domain the object belongs to. More... | |
KzuTaskScheduler * | getTaskScheduler () const |
Returns the task scheduler of the object. More... | |
KzuMessageDispatcher * | getMessageDispatcher () const |
Returns the message dispatcher of the object. More... | |
ResourceManager * | getResourceManager () const |
Returns the resource manager of the object. More... | |
virtual const Metaclass * | getDynamicMetaclass () const KZ_OVERRIDE |
Returns the metaclass of the dynamic type of the object. More... | |
AppliedStyleEntrySharedPtr | applyObjectStyle (kanzi::StyleSharedPtr style) |
Applies a style to an object. More... | |
void | unapplyObjectStyle (AppliedStyleEntrySharedPtr appliedStyleEntry) |
void | applyObjectStyles () |
Apply all styles for an object node. More... | |
void | unapplyObjectStyles () |
Unapplies and removes all applied styles. More... | |
Public Member Functions inherited from kanzi::MetaObject | |
virtual | ~MetaObject () |
bool | isTypeOf (const Metaclass *objectType) const |
Determines if the type of this object is the given type or derived from it. More... | |
Public Member Functions inherited from kanzi::PropertyObject | |
PropertyObject () | |
virtual | ~PropertyObject () |
template<typename DataType > | |
void | setProperty (const PropertyType< DataType > &propertyType, typename PropertyType< DataType >::Traits::ParameterType value) |
Sets the local value of a property. More... | |
void | removeKzbProperties () |
template<typename DataType > | |
PropertyType< DataType >::Traits::ReturnType | getProperty (const PropertyType< DataType > &propertyType) const |
Returns the current value of a property. More... | |
template<typename DataType > | |
optional< typename PropertyType< DataType >::Traits::ReturnType > | getOptionalProperty (const PropertyType< DataType > &propertyType) const |
Evaluates the property value in the same way as the overload above but does not default to the value in property metadata if there are no inputs to the property value. More... | |
template<typename DataType > | |
PropertyType< DataType >::Traits::ReturnType | getPropertyBase (const PropertyType< DataType > &propertyType) const |
Returns the current value of a property disregarding modifiers. More... | |
template<typename DataType > | |
void | setAbstractProperty (AbstractPropertyType abstractPropertyType, typename PropertyType< DataType >::Traits::ParameterType value) |
template<typename DataType > | |
PropertyType< DataType >::Traits::ReturnType | getAbstractProperty (AbstractPropertyType abstractPropertyType) const |
template<typename DataType > | |
PropertyType< DataType >::Traits::ReturnType | getAbstractPropertyBase (AbstractPropertyType abstractPropertyType) const |
template<typename DataType > | |
optional< typename PropertyType< DataType >::Traits::ReturnType > | getOptionalAbstractProperty (AbstractPropertyType abstractPropertyType) const |
void | setPropertyFlag (AbstractPropertyType propertyType, uint32_t flag) |
bool | isPropertyFlagSet (AbstractPropertyType propertyType, uint32_t flag) const |
void | clearPropertyFlag (AbstractPropertyType propertyType, uint32_t flag) |
bool | hasValue (AbstractPropertyType propertyType) const |
Evaluates whether there are any inputs into the property value. More... | |
bool | hasBaseValue (AbstractPropertyType propertyType) const |
Evaluates whether there are any inputs into the property value, disregarding modifiers. More... | |
bool | hasLocalValue (AbstractPropertyType propertyType) const |
Evaluates whether there is a local value set for the property. More... | |
bool | hasNonClassValue (AbstractPropertyType propertyType) const |
Evaluates whether there is a value of any precedence higher than class default value set for the property. More... | |
void | removeLocalValue (AbstractPropertyType propertyType) |
Removes the local value associated with the property. More... | |
void | copyLocalValue (const PropertyObject &other, AbstractPropertyType propertyType) |
Copies local value of single property from another object. More... | |
void | copyLocalValues (const PropertyObject &other) |
Copies all local values from another object. More... | |
template<typename DataType > | |
void | addPropertyValueSource (const PropertyType< DataType > &propertyType, typename PropertyType< DataType >::Descriptor::TypedValueSource *valueSource, PropertyValuePrecedence precedence, void *owner) |
template<typename DataType > | |
void | removePropertyValueSource (const PropertyType< DataType > &propertyType, typename PropertyType< DataType >::Descriptor::TypedValueSource *valueSource, void *owner) |
template<typename DataType > | |
void | addPropertyModifier (const PropertyType< DataType > &propertyType, typename PropertyType< DataType >::Descriptor::ModifierCallback callback, void *owner) |
template<typename DataType > | |
void | removePropertyModifier (const PropertyType< DataType > &propertyType, typename PropertyType< DataType >::Descriptor::ModifierCallback callback, void *owner) |
void | validatePropertyModifiers (AbstractPropertyType propertyType) |
template<typename DataType > | |
void | addPropertyNotificationHandler (const PropertyType< DataType > &propertyType, typename PropertyType< DataType >::Descriptor::NotificationCallback callback, void *owner) |
template<typename DataType > | |
void | removePropertyNotificationHandler (const PropertyType< DataType > &propertyType, typename PropertyType< DataType >::Descriptor::NotificationCallback callback, void *owner) |
template<typename DataType > | |
size_t | getPropertyNotificationHandlerCount (const PropertyType< DataType > &propertyType) |
Gets number of current notification handlers for given property type. More... | |
Static Public Member Functions | |
static bool | isValidLayoutValue (float value) |
Indicates whether a value is valid layout value. More... | |
static float | unboundedLayoutValue () |
Returns an unbounded layout value. More... | |
static bool | isUnboundedLayoutValue (float layoutValue) |
Indicates whether a value is an unbound layout value. More... | |
static float | replaceUnboundedLayoutValue (float layoutValue, float resetValue) |
Replaces layout value with the specified value if it is unbounded and returns it. More... | |
static float | replaceUnboundedLayoutValueWithZero (float layoutValue) |
Replaces layout value with zero if it is unbounded layout value and returns it. More... | |
Static Public Member Functions inherited from kanzi::Object | |
static const Metaclass * | getStaticMetaclass () |
Returns the metaclass of Object class. More... | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Default implementation that returns empty editor info. More... | |
Static Public Member Functions inherited from kanzi::MetaObject | |
static const Metaclass * | getStaticMetaclass () |
Returns the metaclass of Object class. More... | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Default implementation that returns empty editor info. More... | |
Static Protected Member Functions | |
static VisitorResult | updateResourceVisitor (Node &node, const ResourceID &id) |
static VisitorResult | updateAllResourcesVisitor (Node &node) |
static VisitorResult | applyStylesVisitor (Node &node, bool apply) |
static VisitorResult | attachVisitor (Node &node) |
static VisitorResult | detachVisitor (Node &node) |
static VisitorResult | validateDrawVisitor (Node &node) |
Visitor for validating draw. More... | |
static bool | processPropertyChanged (Node &node, AbstractPropertyType propertyType, const PropertyStoragePtr &nodePropertyStorage, AbstractPropertyTypeDescriptor::PropertyStorage *changedPropertyStorage, PropertyNotificationReason reason) |
Processes notification handlers for node and property storage. More... | |
static VisitorResult | propertyChangedVisitor (Node &node, AbstractPropertyType propertyType, AbstractPropertyTypeDescriptor::PropertyStorage *propertyStorage, PropertyNotificationReason reason) |
Friends | |
class | InputManager |
Additional Inherited Members | |
Protected Types inherited from kanzi::Object | |
typedef vector< AppliedStyleEntrySharedPtr > | AppliedStyleContainer |
Applied style container. More... | |
Protected Attributes inherited from kanzi::Object | |
AppliedStyleContainer | m_appliedStyles |
Listing of applied styles applied to this object. More... | |
Base class for scene graph nodes in Kanzi.
To set node properties:
To introduce new message types and use them:
typedef kanzi::vector<Node::MessageSubscriptionToken> kanzi::Node::MessageSubscriptionTokenVector |
typedef function<VisitorResult(Node&)> kanzi::Node::Visitor |
typedef vector<InputManipulatorSharedPtr> kanzi::Node::InputManipulatorContainer |
Gets the input manipulator iterator.
typedef InputManipulatorContainer::iterator kanzi::Node::InputManipulatorIterator |
typedef InputManipulatorContainer::const_iterator kanzi::Node::InputManipulatorConstIterator |
typedef vector<BindingEntry> kanzi::Node::BindingContainer |
Gets the bindings iterator.
typedef BindingContainer::iterator kanzi::Node::BindingIterator |
typedef BindingContainer::const_iterator kanzi::Node::BindingConstIterator |
typedef vector<NodeComponentEntry> kanzi::Node::NodeComponentContainer |
Gets the node component iterator.
typedef NodeComponentContainer::iterator kanzi::Node::NodeComponentIterator |
typedef NodeComponentContainer::const_iterator kanzi::Node::NodeComponentConstIterator |
Content stretch option.
|
virtual |
Destructor.
|
explicitprotected |
Constructor.
|
inline |
Gets the value of NameProperty.
|
inline |
Sets the value of NameProperty.
|
inline |
Gets the value of PathProperty.
|
inline |
Sets the value of PathProperty.
|
inline |
Gets the value of LocaleProperty.
|
inline |
Sets the value of LocaleProperty.
|
inline |
Gets the value of HitTestableProperty.
|
inline |
Sets the value of HitTestableProperty.
|
inline |
Gets the value of HitTestableContainerProperty.
|
inline |
Sets the value of HitTestableContainerProperty.
|
inline |
Gets the value of VisibleProperty.
|
inline |
Sets the value of VisibleProperty.
|
inline |
Gets the value of EnabledProperty.
|
inline |
Sets the value of EnabledProperty.
|
inline |
Gets the value of FocusableProperty.
|
inline |
Sets the value of FocusableProperty.
value | true to set the node focusable, false if not. |
|
inline |
Gets the value of FocusedProperty.
|
inline |
Sets the value of FocusedProperty.
value | true to set the active focus, false to clear it. |
|
inline |
Returns the #LogicalFocusedProperty value.
|
inline |
Sets the value of LogicalFocusProperty.
value | true to set the logical focus, false to clear it. |
FontSharedPtr kanzi::Node::getFont | ( | ) | const |
Gets the value of FontProperty.
void kanzi::Node::setFont | ( | FontSharedPtr | value | ) |
Sets the value of FontProperty.
|
inline |
Gets the value of VisibleAmountInParentProperty.
|
inline |
Sets the value of VisibleAmountInParentProperty.
|
inline |
Gets the value of Projection2DTo3DScaleProperty.
|
inline |
Sets the value of Projection2DTo3DScaleProperty.
|
inline |
Gets the value of EnableClickProperty.
|
inline |
Sets the value of EnableClickProperty.
|
inline |
Gets the value of EnableMultiClickProperty.
|
inline |
Sets the value of EnableMultiClickProperty.
|
inline |
Gets the value of StyleProperty.
|
inline |
Sets the value of StyleProperty.
|
inline |
Gets the value of StateManagerProperty.
|
inline |
Sets the value of StateManagerProperty.
|
inline |
Gets the value of WidthProperty.
|
inline |
Sets the value of WidthProperty.
|
inline |
Gets the value of HeightProperty.
|
inline |
Sets the value of HeightProperty.
|
inline |
Gets the value of DepthProperty.
|
inline |
Sets the value of DepthProperty.
|
inline |
Gets the value of ActualWidthProperty.
|
inline |
Sets the value of ActualWidthProperty.
|
inline |
Gets the value of ActualHeightProperty.
|
inline |
Sets the value of ActualHeightProperty.
|
inline |
Gets the value of ActualDepthProperty.
|
inline |
Sets the value of ActualDepthProperty.
|
inline |
Gets the value of HorizontalAlignmentProperty.
|
inline |
Sets the value of HorizontalAlignmentProperty.
|
inline |
Gets the value of VerticalAlignmentProperty.
|
inline |
Sets the value of VerticalAlignmentProperty.
|
inline |
Gets the value of DepthAlignmentProperty.
|
inline |
Sets the value of DepthAlignmentProperty.
|
inline |
Gets the value of HorizontalMarginProperty.
|
inline |
Sets the value of HorizontalMarginProperty.
|
inline |
Gets the value of VerticalMarginProperty.
|
inline |
Sets the value of VerticalMarginProperty.
|
inline |
Gets the value of DepthMarginProperty.
|
inline |
Sets the value of DepthMarginProperty.
|
inline |
Gets the value of ContentStretchProperty.
|
inline |
Sets the value of ContentStretchProperty.
|
inline |
Gets the value of OpacityProperty.
|
inline |
Sets the value of OpacityProperty.
|
inline |
Gets the value of ClipChildrenProperty.
|
inline |
Sets the value of ClipChildrenProperty.
|
inline |
Returns the current value of a property.
The value returned by this function is the result of the property system evaluating the inputs that can affect the values of properties. The final value is calculated by determining the base value of the property and applying existing modifiers to it.
Base value is affected by the following inputs where the highest entry in the list determines the base value:
When the base value is determined the system applies modifiers to the value that can change the value or replace it completely. The following is the list of possible modifiers, where the order of evaluation is determined by the order the modifiers were added or applied.
If the property metadata specifies that the property is inheritable and no inputs for the property value can be determined at the current node the system iterates the scene graph to the root until inputs are found or the root is reached.
If no inputs to the property value can be established the system returns the value registered in the property type metadata.
propertyType | The property type identifying the property to retrieve. |
|
inline |
|
inline |
Evaluates the property value in the same way as the overload above but does not default to the value in property metadata if there are no inputs to the property value.
propertyType | The property type identifying the property to retrieve. |
value | The reference that receives the value the function evaluates. The reference is not modified if there are no inputs to the property value. |
DataType kanzi::Node::getAbstractProperty | ( | AbstractPropertyType | abstractPropertyType | ) | const |
optional<typename PropertyType<DataType>::DataType> kanzi::Node::getOptionalAbstractProperty | ( | AbstractPropertyType | abstractPropertyType | ) | const |
MessageSubscriptionToken kanzi::Node::addMessageHandler | ( | TMessageType & | messageType, |
TClass * | messageHandlerObject, | ||
TClassMethod | method | ||
) |
Adds a message handler where handler is a method to invoke on an object.
The handler is invoked when a message of messageType is signaled in the node the handler is added to.
MessageSubscriptionToken kanzi::Node::addMessageFilter | ( | TMessageType & | messageType, |
TClass * | messageHandlerObject, | ||
TClassMethod | method | ||
) |
Adds a message filter where filter is a method to invoke on an object.
The filter is invoked when a message of messageType bubbles through the node the handler is added to.
MessageSubscriptionToken kanzi::Node::addMessageHandler | ( | const TMessageType & | messageType, |
typename TMessageType::FunctionType | function | ||
) |
Adds a message handler where handler is function.
The handler is invoked when a message of messageType is signaled in the node the handler is added to.
MessageSubscriptionToken kanzi::Node::addMessageFilter | ( | const TMessageType & | messageType, |
typename TMessageType::FunctionType | function | ||
) |
Adds a message filter where filter is function.
The filter is invoked when a message of messageType bubbles through the node the handler is added to.
MessageSubscriptionToken kanzi::Node::addMessageHandler | ( | const TMessageType & | messageType, |
typename TMessageType::FunctionType | function, | ||
Node * | messageSourceFilter | ||
) |
Adds a message handler where handler is function and accepted source is explicitly defined.
The handler is invoked when a message of messageType bubbles through the node the handler is added to, but only if it was dispatched from the given source node.
messageType | Message type to listen to. |
function | Function to invoke when message is received. |
messageSourceFilter | Only accept messages |
void kanzi::Node::removeMessageHandler | ( | MessageSubscriptionToken | token | ) |
Removes a message subscription.
void kanzi::Node::dispatchMessage | ( | const MessageType< TArgumentsType > & | messageType, |
typename MessageType< TArgumentsType >::ArgumentsType & | messageArguments | ||
) |
Dispatches a message with specified arguments.
void kanzi::Node::addResource | ( | const ResourceID & | resourceId, |
string_view | resourceUrl | ||
) |
Adds a resource manager resource to an object node. If resourceID already exists in object, removes the existing entry. If resourceURL is NULL, error is thrown. */.
void kanzi::Node::removeResource | ( | const ResourceID & | resourceId | ) |
Removes a resource with given ID from object node resource dictionary. Does not do anything if resourceID was not found. */.
bool kanzi::Node::containsResource | ( | const ResourceID & | resourceID | ) | const |
Returns if object node resource dictionary contains the resource with given ID. Resource can be any type: style, alias or resource manager resource. */.
optional<string> kanzi::Node::findResourceURL | ( | const ResourceID & | resourceId | ) | const |
ResourceSharedPtr kanzi::Node::acquireResource | ( | const ResourceID & | id | ) | const |
Acquires a resource from the node or the node's closest ancestor having the resource id in the resource dictionary.
If the resource id maps to a resource url, but the url doesn't map to any resource, throws an exception.
Id | Name of the resource. |
shared_ptr<T> kanzi::Node::acquireResource | ( | const ResourceID & | id | ) | const |
Acquires a resource from the node or the node's closest ancestor having the resource id in the resource dictionary, and casts the resource to given type.
If the cast fails, or the found resource url doesn't map to a resource, throws an exception.
Id | Name of the resource. |
ResourceSharedPtr kanzi::Node::tryAcquireResource | ( | const ResourceID & | id | ) | const |
Acquires a resource from the node or the node's closest ancestor having the resource id in the resource dictionary.
Id | Name of the resource. |
ResourceManager::AcquireTaskSharedPtr kanzi::Node::acquireResourceAsync | ( | const ResourceID & | key, |
ResourceManager::AsyncAcquireFinishedCallback | func | ||
) | const |
Posts an asynchronous task to acquire a resource.
key | Name of the resource. |
func | Callback to execute upon completion of the task. |
shared_ptr<T> kanzi::Node::tryAcquireResource | ( | const ResourceID & | id | ) | const |
Acquires a resource from the node or the node's closest ancestor having the resource and casts the resource to given type.
Id | Name of the resource. |
ResourceDictionarySharedPtr kanzi::Node::getResourceDictionary | ( | ) | const |
Gets the resource dictionary of the node, if the node has one.
ResourceDictionarySharedPtr kanzi::Node::acquireResourceDictionary | ( | ) |
Gets the resource dictionary of the node.
Creates the dictionary if it doesn't exist.
void kanzi::Node::notifyResourceDictionaryModified | ( | ) |
Forces the re-evaluation of resource IDs in a node tree.
If you modify a resource dictionary of a node that is already attached, you can use this to update the resource properties. Note that you need to use this function only if you modify the dictionary directly through getResourceDictionary or acquireResourceDictionary. If you use other Node class functions like addResource or setResourceDictionary, you don't need to call this.
void kanzi::Node::setResourceDictionary | ( | ResourceDictionarySharedPtr | resourceDictionary | ) |
Replaces the resource dictionary of the node.
Updates all the resource references of the child nodes.
resourceDictionary | The resource dictionary. |
void kanzi::Node::addResourceDictionary | ( | ResourceDictionarySharedPtr | resourceDictionary | ) |
Add a nested resource dictionary to the resource dictionary of the node.
Updates all the resource references of the child nodes.
resourceDictionary | The nested resource dictionary. |
void kanzi::Node::addAnonymousResource | ( | ResourceSharedPtr | resource | ) |
Adds alias resource to an object node.
Removes alias resource from an object node. Adds anonymous resource (such as style) for object node resources.
void kanzi::Node::removeAnonymousResource | ( | const Resource & | resource | ) |
Removes anonymous resource from object node resources.
bool kanzi::Node::isNamed | ( | string_view | name | ) | const |
Node* kanzi::Node::getParent | ( | ) | const |
Returns the parent of the node.
void kanzi::Node::setParent | ( | Node * | parent | ) |
VisitorResult kanzi::Node::visit | ( | const Visitor & | visitor, |
VisitorOrder | order | ||
) |
VisitorResult kanzi::Node::visitDescendants | ( | const Visitor & | visitor, |
VisitorOrder | order | ||
) |
shared_ptr<Type> kanzi::Node::lookupNode | ( | string_view | pathOrKey | ) |
Returns a node of specified type by looking it up with specified path or alias.
Node* kanzi::Node::lookupNodeRaw | ( | string_view | relativePath | ) |
Get an object node by another node and a relative path.
User should use lookupNode.
relativePath | Path to use for relative lookup. |
ObjectSharedPtr kanzi::Node::lookupObject | ( | string_view | relativePath | ) |
Lookup for an object from a node.
Object found may be another node or a resource within a node.
relativePath | Relative path to use for lookup. |
tuple<NodeSharedPtr, AbstractPropertyType> kanzi::Node::lookupObjectForStateManager | ( | string_view | relativePath | ) |
Lookup for an node and possible object from within the node for state manager.
If the path points to a resource within the node, the node, and the associated abstract property type will be returned.
relativePath | Relative path to use for lookup. |
|
inline |
Lookup for an object from a node.
Object found may be another node or a resource within a node.
relativePath | Relative path to use for lookup. |
shared_ptr<TNodeType> kanzi::Node::findAbstractChild | ( | string_view | name | ) |
Find a child by name. Finds direct children as well as children connected indirectly for example Viewport->Scene.
|
pure virtual |
Implemented in kanzi::Node2D, and kanzi::Node3D.
|
pure virtual |
Implemented in kanzi::Node2D, and kanzi::Node3D.
|
pure virtual |
Implemented in kanzi::Node2D, and kanzi::Node3D.
|
pure virtual |
Implemented in kanzi::Node2D, and kanzi::Node3D.
void kanzi::Node::addInputManipulator | ( | InputManipulatorSharedPtr | inputManipulator | ) |
Transfers the ownership and attaches an input manipulator to an object node.
void kanzi::Node::removeInputManipulator | ( | InputManipulator & | inputManipulator | ) |
Removes the ownership and detaches an input manipulator from an object node.
InputManipulatorConstIterator kanzi::Node::beginInputManipulators | ( | ) | const |
InputManipulatorConstIterator kanzi::Node::endInputManipulators | ( | ) | const |
void kanzi::Node::addBinding | ( | BindingSharedPtr | binding | ) |
Transfers the ownership of a binding rule to an object node.
void kanzi::Node::addBindingWithOwner | ( | BindingSharedPtr | binding, |
shared_ptr< void > | owner | ||
) |
Transfers the ownership of a binding rule to an object node and sets the owner of binding rule.
void kanzi::Node::removeBinding | ( | Binding & | binding | ) |
Removes the ownership and detaches a binding rule from an object node.
void kanzi::Node::removeBindingsWithOwner | ( | shared_ptr< void > | owner | ) |
Removes all bindings with the specified owner.
BindingConstIterator kanzi::Node::beginBindings | ( | ) | const |
BindingConstIterator kanzi::Node::endBindings | ( | ) | const |
void kanzi::Node::addNodeComponent | ( | NodeComponentSharedPtr | nodeComponent | ) |
Transfers the ownership of a node component to an object node.
void kanzi::Node::addNodeComponentWithOwner | ( | NodeComponentSharedPtr | nodeComponent, |
const void * | owner | ||
) |
Transfers the ownership of a node component to an object node and sets the owner of the node component.
void kanzi::Node::removeNodeComponent | ( | NodeComponent & | nodeComponent | ) |
Removes the ownership of a node component from an object node.
void kanzi::Node::removeNodeComponentWithOwner | ( | const void * | owner | ) |
Removes all bindings with the specified owner.
NodeComponentConstIterator kanzi::Node::beginNodeComponents | ( | ) | const |
NodeComponentConstIterator kanzi::Node::endNodeComponents | ( | ) | const |
shared_ptr<Type> kanzi::Node::lookupNodeComponent | ( | string_view | name | ) |
Returns a node component of specified type by looking it up with specified name.
If name is not specified, then the first anonymous node component of specified type is returned.
void kanzi::Node::setRenderable | ( | bool | state | ) |
Sets whether the object node is renderable.
bool kanzi::Node::isRenderable | ( | ) | const |
Returns whether node is renderable.
bool kanzi::Node::isEffectivelyVisible | ( | ) | const |
Checks if the node and all of its ancestors are visible.
bool kanzi::Node::isEffectivelyEnabled | ( | ) | const |
Checks if the node and all of its ancestors are enabled.
|
inline |
Get current change flags.
|
inline |
Get current child change flags.
void kanzi::Node::setChangeFlag | ( | uint32_t | flag | ) |
Sets a change flag.
void kanzi::Node::clearChangeFlag | ( | uint32_t | flag | ) |
Clears a change flag.
bool kanzi::Node::isChangeFlagSet | ( | uint32_t | flag | ) | const |
Checks if a change flag is set.
bool kanzi::Node::isAnyChangeFlagSet | ( | uint32_t | flag | ) | const |
Checks if any of given flags is set.
void kanzi::Node::setChildChangeFlag | ( | uint32_t | flag | ) |
Sets a child change flag.
void kanzi::Node::clearChildChangeFlag | ( | uint32_t | flag | ) |
Clears a child change flag.
bool kanzi::Node::isChildChangeFlagSet | ( | uint32_t | flag | ) | const |
Checks if child change flags match.
bool kanzi::Node::isAnyChildChangeFlagSet | ( | uint32_t | flag | ) | const |
Checks if any child change flags (corresponding to given mask) are set.
bool kanzi::Node::isInvalidMeasure | ( | ) | const |
Check if the node needs measure.
void kanzi::Node::invalidateMeasure | ( | ) |
Invalidates measure for the node.
void kanzi::Node::validateMeasure | ( | ) |
Validates measure for the node.
bool kanzi::Node::isInvalidArrange | ( | ) | const |
Checks if the node needs arrange.
void kanzi::Node::invalidateArrange | ( | ) |
Invalidates arrange.
void kanzi::Node::validateArrange | ( | ) |
Validates arrange.
bool kanzi::Node::isInvalidRender | ( | ) | const |
Returns if node render flag is invalid.
void kanzi::Node::validateRender | ( | ) |
Validates render for node.
void kanzi::Node::invalidateRender | ( | ) |
Invalidates render for node.
bool kanzi::Node::isInvalidFinalTransform | ( | ) | const |
Tells if final transform flag is invalid for node.
void kanzi::Node::invalidateFinalTransform | ( | ) |
Invalidates final transform for node.
bool kanzi::Node::isInvalidDraw | ( | ) |
Tells if node draw flag is invalid.
void kanzi::Node::invalidateDraw | ( | ) |
Invalidates draw flag for the node.
void kanzi::Node::validateDraw | ( | ) |
Validates draw flags for the node.
void kanzi::Node::validateDrawForChildrenRecursive | ( | ) |
Recursively validates draw for the children from this 2D node onwards.
Called internally by the system in situations where draw does not otherwise descend to the node.
bool kanzi::Node::isInitialized | ( | ) | const |
Returns true if initialize() has been called, false otherwise.
bool kanzi::Node::isAttached | ( | ) | const |
Returns true if the node is attached to a screen or one of its descendants.
bool kanzi::Node::isAttaching | ( | ) | const |
Returns true if node is in the process of attaching, false otherwise.
bool kanzi::Node::isDetaching | ( | ) | const |
Returns true if the node currently detaching.
void kanzi::Node::attachRecursive | ( | ) |
Attaches an object node and its children recursively.
void kanzi::Node::detachRecursive | ( | ) |
Detaches an object node and its children recursively.
|
virtual |
Gets bounding volume from object node.
Returns KZ_NULL if the object is not renderable.
Reimplemented in kanzi::Model3D, and kanzi::TextBlock3D.
AppliedStyleEntrySharedPtr kanzi::Node::applyStyle | ( | StyleSharedPtr | style | ) |
Applies a style to an object node.
Returns a style entry that is used to unapply the style.
AppliedStyleEntrySharedPtr kanzi::Node::applyManualStyle | ( | StyleSharedPtr | style | ) |
Applies a style to an object node.
Returns a style entry that is used to unapply the style. The style must be unapplied manually.
void kanzi::Node::unapplyStyle | ( | AppliedStyleEntrySharedPtr | appliedStyleEntry | ) |
Unapplies a style from an object node.
void kanzi::Node::applyStyles | ( | ) |
Apply all styles for an object node.
void kanzi::Node::unapplyStyles | ( | ) |
Unapplies and removes all applied styles.
void kanzi::Node::applyStylesRecursive | ( | ) |
Applies styles recursively.
void kanzi::Node::unapplyStylesRecursive | ( | ) |
Unapplies styles recursively.
void kanzi::Node::removeKZBData | ( | ) |
Destroys all object node data loaded from KZB, including properties, bindings, node comopnents, resources etc.
void kanzi::Node::addResourceReference | ( | AbstractPropertyType | propertyType, |
AbstractResourceReference * | reference | ||
) |
This is a helper for automatic resource tracking in ResourceReference.
propertyType | Property type to listen changes on. |
reference | Reference to react on. |
void kanzi::Node::removeResourceReference | ( | const AbstractResourceReference & | reference | ) |
This is a helper for automatic resource tracking in ResourceReference.
reference | Reference to remove. |
void kanzi::Node::addNodeReference | ( | AbstractPropertyType | propertyType, |
AbstractNodeReference * | reference | ||
) |
void kanzi::Node::removeNodeReference | ( | const AbstractNodeReference & | reference | ) |
|
inlinevirtual |
Reattaches an object node after potential resource change.
Reimplemented in kanzi::Node2D, kanzi::Viewport2D, and kanzi::ProgressiveRenderingViewport2D.
|
inline |
|
inline |
|
inlinestatic |
Indicates whether a value is valid layout value.
Valid layout value is a non-negative floating point number. Valid layout value can be positive infinity (unbounded layout value).
value | Value to test if it is unbound layout value. |
|
inlinestatic |
Returns an unbounded layout value.
|
inlinestatic |
Indicates whether a value is an unbound layout value.
layoutValue | Value to test if it is unbound layout value. |
|
inlinestatic |
Replaces layout value with the specified value if it is unbounded and returns it.
layoutValue | Layout value to test if it is unbounded layout value. |
resetValue | The value which is returned if layoutValue is unbounded layout value. |
|
inlinestatic |
Replaces layout value with zero if it is unbounded layout value and returns it.
layoutValue | Layout value to test if it is unbounded layout value. |
|
inline |
Sets the template root of this node.
Template root is used in template root bindings. This is an internal function.
|
inline |
Gets the template root of this node.
Template root is used in template root bindings. This is an internal function.
bool kanzi::Node::trySetActiveFocus | ( | ) |
The method tries to move the active focus on this node.
|
protected |
|
protectedvirtual |
Called when an object node becomes attached.
Reimplemented in kanzi::ListBoxConceptImpl< Node3D, GridListBox3D, GridListBox3DTraits >, kanzi::ListBoxConceptImpl< Node3D, TrajectoryListBox3D, TrajectoryListBox3DTraits >, kanzi::ListBoxConceptImpl< Node2D, GridListBox2D, GridListBox2DTraits >, kanzi::ButtonConceptImpl< Node2D, Button2D >, kanzi::ButtonConceptImpl< Node3D, Button3D >, kanzi::ButtonConceptImpl< Node3D, ToggleButton3D >, kanzi::ButtonConceptImpl< Node2D, ToggleButton2D >, kanzi::Screen, kanzi::Page, kanzi::PageHost, kanzi::Model3D, kanzi::ListBoxItemContainer2D, kanzi::GridListBox3D, kanzi::GridListBox2D, kanzi::Light, kanzi::TextBlock3D, kanzi::TrajectoryListBox3D, kanzi::ProgressiveRenderingViewport2D, kanzi::ListBoxItemContainer3D, kanzi::ToggleButtonGroupConceptImpl< Node2D, ToggleButtonGroup2D >, kanzi::ToggleButtonGroupConceptImpl< Node3D, ToggleButtonGroup3D >, kanzi::TextBlock2D, kanzi::Viewport3D, and kanzi::NinePatchImage2D.
|
protectedvirtual |
Called when an object node becomes detached.
Reimplemented in kanzi::Node2D, kanzi::ListBoxConceptImpl< Node3D, GridListBox3D, GridListBox3DTraits >, kanzi::ListBoxConceptImpl< Node3D, TrajectoryListBox3D, TrajectoryListBox3DTraits >, kanzi::ListBoxConceptImpl< Node2D, GridListBox2D, GridListBox2DTraits >, kanzi::ButtonConceptImpl< Node2D, Button2D >, kanzi::ButtonConceptImpl< Node3D, Button3D >, kanzi::ButtonConceptImpl< Node3D, ToggleButton3D >, kanzi::ButtonConceptImpl< Node2D, ToggleButton2D >, kanzi::Screen, kanzi::Page, kanzi::PageHost, kanzi::Model3D, kanzi::ListBoxItemContainer2D, kanzi::TextBlock3D, kanzi::ProgressiveRenderingViewport2D, kanzi::ListBoxItemContainer3D, kanzi::TextBlock2D, kanzi::Viewport3D, and kanzi::NinePatchImage2D.
|
protectedvirtual |
Method executed on node property change.
propertyType | Property that was changed in node. |
reason | Change reason. |
Reimplemented in kanzi::Node2D, kanzi::ScrollViewConceptImpl< Node3D, ScrollView3D >, kanzi::ScrollViewConceptImpl< Node2D, ScrollView2D >, kanzi::ListBoxConceptImpl< Node3D, GridListBox3D, GridListBox3DTraits >, kanzi::ListBoxConceptImpl< Node3D, TrajectoryListBox3D, TrajectoryListBox3DTraits >, kanzi::ListBoxConceptImpl< Node2D, GridListBox2D, GridListBox2DTraits >, kanzi::TextBlockConceptImpl< Node3D, TextBlock3D >, kanzi::TextBlockConceptImpl< Node2D, TextBlock2D >, kanzi::Node3D, kanzi::GridLayoutConceptImpl< Node2D, GridLayout2D >, kanzi::GridLayoutConceptImpl< Node3D, GridLayout3D >, kanzi::TrajectoryLayout2D, kanzi::Screen, kanzi::ButtonConceptImpl< Node2D, Button2D >, kanzi::ButtonConceptImpl< Node3D, Button3D >, kanzi::ButtonConceptImpl< Node3D, ToggleButton3D >, kanzi::ButtonConceptImpl< Node2D, ToggleButton2D >, kanzi::Viewport2D, kanzi::TrajectoryLayout3D, kanzi::PageHost, kanzi::Model3D, kanzi::PrefabViewConceptImpl< Node2D, PrefabView2D >, kanzi::PrefabViewConceptImpl< Node3D, PrefabView3D >, kanzi::TextBlock3D, kanzi::TextBlock2D, and kanzi::Viewport3D.
|
protectedpure virtual |
Implemented in kanzi::Node2D, kanzi::Node3D, kanzi::Viewport2D, and kanzi::Viewport3D.
|
protectedpure virtual |
Implemented in kanzi::Node2D, kanzi::Node3D, kanzi::Viewport2D, and kanzi::Viewport3D.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
Visitor for validating draw.
|
staticprotected |
Processes notification handlers for node and property storage.
node | Node to invoke change notification on. |
propertyType | Changed property type. |
nodePropertyStorage | Property storage for the node being modified. |
changedPropertyStorage | Property storage actually being changed (not necessarily from node). |
reason | Change reason. |
|
staticprotected |
|
protected |
Invokes property notifications for inherited properties during scene graph tree connections.
|
protected |
Invokes property notifications for inherited properties during scene graph tree disconnections.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Attaches the object node.
|
protected |
Detaches the object node.
|
protectedvirtual |
Reimplemented from kanzi::PropertyObject.
|
friend |
|
static |
|
static |
|
static |
|
static |
CreatedFromKZB property.
The default value is false.
|
static |
|
static |
HitTestableContainer property.
The default value is false.
|
static |
|
static |
|
static |
The property specifies whether a node can get active focus and can participate in the focus chain navigation.
When the node is also a focus scope, it specifies whether the scope is a focus fence. The default value is true.
|
static |
Specifies that the node is the active focus node, which receives keyboard messages.
There is only one node in an application that can have active focus. The default value is false.
|
static |
Specifies that the node has logical focus state.
An application can have multiple logical focus nodes set, however only one node in a focus scope can have logical focus set. The default value is false.
|
static |
Font property.
Defines the resource ID of the font resource. The default value is ResourceSharedPtr().
|
static |
VisibleAmountInParent property.
The default value is 1.0f.
|
static |
Projection2DTo3DScale property.
The default value is 0.02f.
|
static |
|
static |
EnableMultiClick property.
The default value is false.
|
static |
|
static |
StateManager property.
The default value is ResourceSharedPtr().
|
static |
PrefabTemplateSource property.
The default value is 0.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
HorizontalAlignment property.
The default value is Node::HorizontalAlignmentCenter.
|
static |
VerticalAlignment property.
The default value is Node::VerticalAlignmentCenter.
|
static |
DepthAlignment property.
The default value is Node::DepthAlignmentCenter.
|
static |
HorizontalMargin property.
The default value is Vector2(0.0f, 0.0f).
|
static |
VerticalMargin property.
The default value is Vector2(0.0f, 0.0f).
|
static |
DepthMargin property.
The default value is Vector2(0.0f, 0.0f).
|
static |
ContentStretch property.
The default value is Node::ContentStretchUniform.
|
static |
|
static |
|
static |
SceneGraphAddNodeChangeChildFlags property.
The default value is PropertyTypeChangeFlagFinalTransformation | PropertyTypeChangeFlagMeasure.
|
static |
SceneGraphAddNodeChangeParentFlags property.
The default value is PropertyTypeChangeFlagMeasure.
|
static |
SceneGraphRemoveNodeChangeChildFlags property.
The default value is 0.
|
static |
SceneGraphRemoveNodeChangeParentFlags property.
The default value is PropertyTypeChangeFlagMeasure.