Class: abstract
M2Node
Extended by
Implements
Constructors
new M2Node()
new M2Node(
options
):M2Node
Parameters
• options: M2NodeOptions
= {}
Returns
Source
Properties
_alpha
_alpha:
number
=1.0
Source
_draggable
protected
_draggable:boolean
=false
Source
_game?
optional
_game:Game
Source
_hidden
protected
_hidden:boolean
=false
Source
_isUserInteractionEnabled
protected
_isUserInteractionEnabled:boolean
=false
Source
_position
_position:
Point
Source
_scale
_scale:
number
=1.0
Source
_size
protected
_size:Size
Source
_suppressEvents
private
_suppressEvents:boolean
=false
Source
_zRotation
_zRotation:
number
=0
Source
absoluteAlpha
absoluteAlpha:
number
=1.0
Source
absoluteAlphaChange
absoluteAlphaChange:
number
=0
Source
absolutePosition
absolutePosition:
Point
Source
absoluteScale
absoluteScale:
number
=1.0
Source
actions
actions:
Action
[]
Source
children
children:
M2Node
[]
Source
constructionIso8601TimeStamp
constructionIso8601TimeStamp:
string
Source
constructionSequence
constructionSequence:
number
Source
constructionTimeStamp
constructionTimeStamp:
number
Source
dragging
dragging:
boolean
=false
Is the node in a dragging state?
Source
draggingLastPointerOffset
draggingLastPointerOffset:
Point
What was the previous pointer offset when the node was in a dragging state?