xworker.gdx.scenes.scene2d.Actor
事物 Actor(Actor)点击打开事物点击浏览描述

描述者:
MetaDescriptor3
thing

2D scene graph node. An actor has a position, rectangular size, origin, scale, rotation, Z index, and color. The position corresponds to the unrotated, unscaled bottom left corner of the actor. The position is relative to the actor's parent. The origin is relative to the position and is used for scale and rotation.

An actor has a list of in-progress actions that are applied to the actor (over time). These are generally used to change the presentation of the actor (moving it, resizing it, etc). See act(float) and Action.

An actor has two kinds of listeners associated with it: "capture" and regular. The listeners are notified of events the actor or its children receive. The capture listeners are designed to allow a parent or container actor to hide events from child actors. The regular listeners are designed to allow an actor to respond to events that have been delivered. See fire(com.badlogic.gdx.scenes.scene2d.Event) for more details.

An InputListener can receive all the basic input events, and more complex listeners (like ClickListener and ActorGestureListener) can listen for and combine primitive events and recognize complex interactions like multi-click or pinch.

Author:

mzechner, Nathan Sweet

字段摘要
           String color
           
           String height
           
           String name
           
           String originX
           
           String originY
           
           String rotation
           
           String scale
           
           String scaleX
           
           String scaleY
           
           String touchable
           
           String visible
           
           String width
           
           String x
           
           String y
           
           String z-index
           
 
方法摘要
 
子事物摘要
           actions
          
 
字段详细信息

color点击打开事物


height点击打开事物


name点击打开事物


originX点击打开事物


originY点击打开事物


rotation点击打开事物


scale点击打开事物


scaleX点击打开事物


scaleY点击打开事物


touchable点击打开事物


visible点击打开事物


width点击打开事物


x点击打开事物


y点击打开事物


z-index点击打开事物


 
方法详细信息
 
子事物详细信息

actions点击打开事物