大约有 295 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0070 秒)
...tance4.Dynamic Batch5.Static Batch6.Custom Static Batch(Static Batch Volume组件)7.基于节点的材质合批功能7.1表现效果7.2 使用示例3D性能优化 1.图形性能的基本认知 1.1 降低渲染的CPU成本 在渲染过程中,对CPU渲染时间影响时间最大的因素是将渲染...
来源: Laya3.0_文档 发布时间: 20251010
...orState.ts:290 添加脚本。 Parameters type: typeof AnimatorStateScript 组件类型。 Returns AnimatorStateScript 脚本。 clone clone(): any Defined in laya/d3/component/Animator/AnimatorState.ts:350 克隆。 Returns any 克隆副本。 cloneTo cloneTo(destObject: any): void Defined in laya/...
来源: Laya3.0_api 发布时间: 20231115
...nu Globals "laya/ui/ColorPicker" ColorPicker Class ColorPicker ColorPicker 组件将显示包含多个颜色样本的列表,用户可以从中选择颜色。 example 以下示例代码,创建了一个 ColorPicker 实例。 package { import laya.ui.ColorPicker; import laya.utils.Handler; public c...
来源: Laya3.0_api 发布时间: 20231115
...点作为其子节点的鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Implement...
来源: Laya3.0_api 发布时间: 20231115
...Sprite的Texture属性才能设置渲染纹理,其它任何显示对象组件中设置渲染纹理的方式都是不正确的 2.3.3 Graphics属性 通过使用Graphics属性,我们可以绘制矩形,圆形,多边形等图形,如动图2-8所示 : (动图2-8) 具体每一种图形的...
来源: Laya3.0_文档 发布时间: 20251010
...点作为其子节点的鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 loop loop: boolean Inherited from AnimationBase.loop...
来源: Laya3.0_api 发布时间: 20231115
...点作为其子节点的鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 Sprite mask : Sprite 遮罩,可以设置一个对象(支持位图和矢量图),根据对象形状进行遮罩显示。 【注意】遮罩对象坐标系是相对遮罩对象本身的,和Flash机...
来源: Laya2.0_api 发布时间: 20190513
...点作为其子节点的鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 Sprite index : int 动画当前帧的索引。 AnimationBase interval : int 动画播放的帧间隔时间(单位:毫秒)。默认值依赖于Config.animationInterval=50,通过Config.animationInte...
来源: Laya2.0_api 发布时间: 20190513
...rited from Node.components Defined in laya/display/Node.ts:983 返回所有组件实例。 Returns ReadonlyArray<Component> 返回组件实例数组。 destroyed get destroyed(): boolean Inherited from Node.destroyed Defined in laya/display/Node.ts:92 是否已经销毁。对象销毁后不能...
来源: Laya3.0_api 发布时间: 20231115
...点作为其子节点的鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 Sprite index : int 动画当前帧的索引。 AnimationBase interval : int 动画播放的帧间隔时间(单位:毫秒)。默认值依赖于Config.animationInterval=50,通过Config.animationInte...
来源: Laya2.0_api 发布时间: 20190513