GoWrapper Properties |
The GoWrapper type exposes the following members.
Name | Description | |
---|---|---|
alpha | (Inherited from DisplayObject.) | |
blendMode | (Inherited from DisplayObject.) | |
cacheAsBitmap |
将整个显示对象(如果是容器,则容器包含的整个显示列表)静态化,所有内容被缓冲到一张纹理上。
DC将保持为1。CPU消耗将降到最低。但对象的任何变化不会更新。
当cacheAsBitmap已经为true时,再次调用cacheAsBitmap=true将会刷新一次。
(Inherited from DisplayObject.) | |
cachedTransform | (Inherited from DisplayObject.) | |
filter | (Inherited from DisplayObject.) | |
focalLength | (Inherited from DisplayObject.) | |
gameObject | (Inherited from DisplayObject.) | |
graphics | (Inherited from DisplayObject.) | |
grayed | (Inherited from DisplayObject.) | |
height | (Inherited from DisplayObject.) | |
home |
为对象设置一个默认的父Transform。当对象不在显示列表里时,它的GameObject挂到哪里。
(Inherited from DisplayObject.) | |
isDisposed | (Inherited from DisplayObject.) | |
layer | (Overrides DisplayObjectlayer.) | |
location |
This is the pivot position
(Inherited from DisplayObject.) | |
material | (Inherited from DisplayObject.) | |
onAddedToStage | (Inherited from DisplayObject.) | |
onClick | (Inherited from DisplayObject.) | |
onClickLink | (Inherited from DisplayObject.) | |
onKeyDown | (Inherited from DisplayObject.) | |
onMouseWheel | (Inherited from DisplayObject.) | |
onRemovedFromStage | (Inherited from DisplayObject.) | |
onRightClick | (Inherited from DisplayObject.) | |
onRollOut | (Inherited from DisplayObject.) | |
onRollOver | (Inherited from DisplayObject.) | |
onTouchBegin | (Inherited from DisplayObject.) | |
onTouchEnd | (Inherited from DisplayObject.) | |
onTouchMove | (Inherited from DisplayObject.) | |
paintingGraphics | (Inherited from DisplayObject.) | |
paintingMode | (Inherited from DisplayObject.) | |
parent | (Inherited from DisplayObject.) | |
perspective |
当对象处于ScreenSpace,也就是使用正交相机渲染时,对象虽然可以绕X轴或者Y轴旋转,但没有透视效果。设置perspective,可以模拟出透视效果。
(Inherited from DisplayObject.) | |
pivot | (Inherited from DisplayObject.) | |
position | (Inherited from DisplayObject.) | |
renderingOrder | (Overrides DisplayObjectrenderingOrder.) | |
rotation | (Inherited from DisplayObject.) | |
rotationX | (Inherited from DisplayObject.) | |
rotationY | (Inherited from DisplayObject.) | |
scale | (Inherited from DisplayObject.) | |
scaleX | (Inherited from DisplayObject.) | |
scaleY | (Inherited from DisplayObject.) | |
shader | (Inherited from DisplayObject.) | |
size | (Inherited from DisplayObject.) | |
skew | (Inherited from DisplayObject.) | |
stage | (Inherited from DisplayObject.) | |
topmost | (Inherited from DisplayObject.) | |
touchable | (Inherited from DisplayObject.) | |
visible | (Inherited from DisplayObject.) | |
width | (Inherited from DisplayObject.) | |
worldSpaceContainer | (Inherited from DisplayObject.) | |
wrapTarget |
设置包装对象。注意如果原来有包装对象,设置新的包装对象后,原来的包装对象只会被删除引用,但不会被销毁。
对象包含的所有材质不会被复制,如果材质已经是公用的,这可能影响到其他对象。如果希望自动复制,改为使用setWrapTarget(target, true)设置。
| |
x | (Inherited from DisplayObject.) | |
xy | (Inherited from DisplayObject.) | |
y | (Inherited from DisplayObject.) | |
z | (Inherited from DisplayObject.) |