大约有 691 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0093 秒)
...se label : String标签ColliderBase owner : Node [只读]获取所属Node节点。 Component radius : Number圆形半径,必须为正数CircleCollider restitution : Number弹性系数,取值范围0-1,值越大,弹性越大,默认值为0ColliderBase rigidBody : RigidBody[只读]刚...
来源: Laya2.0_api 发布时间: 20190513
...true Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Defined in laya/components/Component.ts:34 是否可...
来源: Laya3.0_api 发布时间: 20231115
... NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 ...
来源: Laya2.0_api 发布时间: 20190513
...少drawcall,渲染性能最高。 webgl下命令缓存模式只会减少节点遍历及命令组织,不会减少drawcall,性能中等。 Sprite cacheAsBitmap : Boolean 指定显示对象是否缓存为静态图像。功能同cacheAs的normal模式。 Sprite count : int[read-only] 动画长...
来源: laya_api 发布时间: 20170422
...ndex-beginIndex+1吗?这是很基本的计数问题啊。。 假设有个节点p,想要移除内部除最后一个之外的子节点,那么那么按理是调用p.removeChildren(0,p.numChildren-2);结果界面会剩两个子节点; 那么改成p.removeChildren(0,p.numChildren-1);结果子节...
来源: Laya_社区 发布时间: 20201103
...all,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点遍历及命令组织,不会减少drawcall数,性能中等。优点:没有额外内存开销,无需renderTarget支持。 Sprite customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只...
来源: Laya2.0_api 发布时间: 20190513
... NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 ...
来源: Laya2.0_api 发布时间: 20190513
...all,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点遍历及命令组织,不会减少drawcall数,性能中等。优点:没有额外内存开销,无需renderTarget支持。 Sprite cacheAsBitmap : Boolean 指定显示对象是否缓存为静态图像。功能同c...
来源: laya_api 发布时间: 20170929
...是否为单实例组件。 Script owner : Node [只读]获取所属Node节点。 ComponentPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By _isScript():Boolean[override] Script destroy():void 销毁组件 Component onAwake():void 组件被激活后...
来源: Laya2.0_api 发布时间: 20190513
...all,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点遍历及命令组织,不会减少drawcall数,性能中等。优点:没有额外内存开销,无需renderTarget支持。 Sprite count : int[read-only] 当前动画中帧的总数。 AnimationBase customRenderE...
来源: Laya2.0_api 发布时间: 20190513