大约有 612 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0062 秒)
...持非主流的new Tween()用法。 缓动属性的类型支持不仅限于number,还新增了对Vector2、Vector3、Vector4、Color、Point以及字符串形式颜色值的支持。新的Tween对象设计得非常轻量,因此默认不重用,以避免因对象重用而引发的问题。此外...
来源: Laya3.0_文档 发布时间: 20251010
...seMaterial> 获取浅拷贝材质列表。 BaseRender sortingFudge : Number排序矫正值。BaseRenderPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:Strin...
来源: Laya2.0_api 发布时间: 20190513
...": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component asPassword : Boolea...
来源: laya_api 发布时间: 20170929
...; /** @prop {name:animationState, tips:"动画状态-0 不开启)", type:number, default:0}*/ public animationState: number = 0; /** @prop {name:animationState, tips:"动画间隔单位毫秒", type:number, default:300}*/ public animationInterval: number = 0; /** @prop {name:font, tips:"定义字...
来源: Laya_社区 发布时间: 20191103
... */ export class ImageData { public data: Uint8ClampedArray; public width: number; public height: number; public constructor(width: number, height: number) { this.width = width; this.height = height; this.data = new Uint8ClampedArray(width * height * 4); } } window.ImageData = ImageData; // 报错...
来源: Laya_社区 发布时间: 20181122
...。Node id : int[read-only] 获取唯一标识ID。 Sprite3D intensity : Number 获取灯光强度。 LightSprite isStatic : Boolean[read-only] 获取是否为静态。 Sprite3D layer : int 获取蒙版。 Sprite3D lightmapBakedType : int 获取灯光烘培类型。 LightSprite LIGHTMAPBAKEDTY...
来源: Laya2.0_api 发布时间: 20190513
...archy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。View anchorY : N...
来源: Laya2.0_api 发布时间: 20190513
...链接 提交 2 个回复 Laya_Aaron 赞同来自: rotation是带浮点的Number类型,和操作int整型变量 方式是不一样的,建议考虑按浮点类型操作,如果还是有问题,请及时反馈 2017-12-28 0 0 分享 微博 QZONE 微信 wufee 赞同来自: 我把 rotation设成...
来源: Laya_社区 发布时间: 20171228
...放声音出错,求指教 项目分包后, 运行出错 drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 new Laya.Sprite();绘制图形以后,怎么删除释放资源? ts项目,我在程序主入口声明了公共静态类,下...
来源: Laya_社区 发布时间: 20170428
... name: string Returns AnimatorStateTriggerCondition Accessors id get id(): number Inherited from AnimatorStateCondition.id Defined in laya/components/AnimatorStateCondition.ts:66 唯一ID Returns number name get name(): string set name(value: string): void Inherited from AnimatorStateCondition.name ...
来源: Laya3.0_api 发布时间: 20231115