Murl::Graph::TouchArea Class Referenceabstract

The TouchArea node class. More...

#include "murl_graph_touch_area.h"

Inheritance diagram for Murl::Graph::TouchArea:

Additional Inherited Members

- Public Types inherited from Murl::IFactoryObject< INode >
using ClassInfoArray = Array< const ClassInfo * >
 Definition of an array of ClassInfo objects.
 
- Public Member Functions inherited from Murl::IFactoryObject< INode >
 ~IFactoryObject () override
 The destructor.
 
virtual const ClassInfo * GetObjectClassInfo () const=0
 Get the object instance's class info, if present. More...
 
virtual void ResetObjectProperties ()=0
 Reset the object instance's properties to their default values.
 
- Static Public Member Functions inherited from Murl::IFactoryObject< INode >
static const PropertyInfoGetPropertyInfo ()
 Get the class' property info struct. More...
 
static const AttributeInfoGetAttributeInfo ()
 Get the class' attribute info struct. More...
 
static void ResetProperties (IFactoryObject< INode > *object)
 Reset an object instance's properties to their default values. More...
 

Detailed Description

The TouchArea node class.

XML Elements

XML Graph Node Tag:

<TouchArea>

XML Graph Node Attributes:

enabled="true" [Bool]

If true, the touch area reacts to input events. See Murl::Graph::ITouchable::SetEnabled().

activeFaces="FRONT_ONLY" [IEnums::PolygonFaces]

Selects which faces of the touch area are active (front-facing, back-facing or both). See Murl::Graph::ITouchable::SetActiveFaces().

upStateNodeId="" [String]

The ID of the node that is active when the touch area is in the "up" state. See Murl::Graph::ITouchArea::SetStateNodeId().

downStateNodeId="" [String]

The ID of the node that is active when the touch area is in the "down" state. See Murl::Graph::ITouchArea::SetStateNodeId().

hoverStateNodeId="" [String]

The ID of the node that is active when the touch area is in the "hover" state. See Murl::Graph::ITouchArea::SetStateNodeId().

disabledStateNodeId="" [String]

The ID of the node that is active when the touch area is in the "disabled" state. See Murl::Graph::ITouchArea::SetStateNodeId().

upStateChildIndex="-1" [SInt32]

The index of the child that is active when the touch area is in the "up" state. See Murl::Graph::ITouchArea::SetStateChildIndex().

downStateChildIndex="-1" [SInt32]

The index of the child that is active when the touch area is in the "down" state. See Murl::Graph::ITouchArea::SetStateChildIndex().

hoverStateChildIndex="-1" [SInt32]

The index of the child that is active when the touch area is in the "hover" state. See Murl::Graph::ITouchArea::SetStateChildIndex().

disabledStateChildIndex="-1" [SInt32]

The index of the child that is active when the touch area is in the "disabled" state. See Murl::Graph::ITouchArea::SetStateChildIndex().

timelineId="" [String]

The ID of the timeline node. Only needed if a timeline is used to visualize state changes. See Murl::Graph::ITouchArea::SetTimelineNodeId().

timelineIndex="-1" [SInt32]

The child index of the timeline node. Only needed if a timeline is used to visualize state changes. See Murl::Graph::ITouchArea::SetTimelineChildIndex().

upStateTime="0.0" [Real]

The timeline value when the touch area is in the "up" state. See Murl::Graph::ITouchArea::SetStateAnimationTime().

downStateTime="0.0" [Real]

The timeline value when the touch area is in the "down" state. See Murl::Graph::ITouchArea::SetStateAnimationTime().

hoverStateTime="0.0" [Real]

The timeline value when the touch area is in the "hover" state. See Murl::Graph::ITouchArea::SetStateAnimationTime().

disabledStateTime="0.0" [Real]

The timeline value when the touch area is in the "disabled" state. See Murl::Graph::ITouchArea::SetStateAnimationTime().

outCoordSize="1.0" [Real]

The output range factor for both X and Y. See Murl::Graph::ITouchable::SetOutCoordSize().

outCoordSizeX="1.0" [Real]

The horizontal output range factor. See Murl::Graph::ITouchable::SetOutCoordSizeX().

outCoordSizeY="1.0" [Real]

The vertical output range factor. See Murl::Graph::ITouchable::SetOutCoordSizeY().

outCoordX1="-1.0" [Real]

The horizontal start coordinate of the output range. See Murl::Graph::ITouchable::SetOutCoord().

outCoordY1="1.0" [Real]

The vertical start coordinate of the output range. See Murl::Graph::ITouchable::SetOutCoord().

outCoordX2="1.0" [Real]

The horizontal end coordinate of the output range. See Murl::Graph::ITouchable::SetOutCoord().

outCoordY2="-1.0" [Real]

The vertical end coordinate of the output range. See Murl::Graph::ITouchable::SetOutCoord().

clipOutCoords="false" [Bool]

Enable or disable output coordinate clipping. See Murl::Graph::ITouchable::SetOutCoordClippingEnabled().

mouseButton="LEFT" [IEnums::MouseButton]

The mouse button generating events. See Murl::Graph::ITouchable::SetResponseButton().

passEvents="false" [Bool]

Pass events through underlying touch areas. See Murl::Graph::ITouchable::SetPassEventsEnabled().

maxNumberOfEvents="0xffffffff" [UInt32]

The maximum number of simultaneously allowed touch events. See Murl::Graph::ITouchable::SetMaxNumberOfEvents().

frameBufferId="" [String]

The ID of an optional frame buffer to delegate input events to. See Murl::Graph::ITouchArea::GetFrameBufferNodeTarget().


The documentation for this class was generated from the following file:
  • murl_graph_touch_area.h


Copyright © 2011-2024 Spraylight GmbH.