大约有 62 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0537 秒)
...。Graphics是比Sprite更轻量级的对象,合理使用能提高应用性能(比如把大量的节点绘图改为一个节点的Graphics命令集合,能减少大量节点创建消耗)。 see laya.display.Sprite#graphics Hierarchy Graphics GraphicsAni AutoBitmap Index Constructors constructor A...
来源: Laya3.0_api 发布时间: 20231115
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是优先检测其子对象。鼠标...
来源: Laya3.0_api 发布时间: 20231115
...ya/display/Graphics.ts:243 绘制纹理,相比drawImage功能更强大,性能会差一些 Parameters texture: Texture | null 纹理。 Default value x: number = 0 (可选)X轴偏移量。 Default value y: number = 0 (可选)Y轴偏移量。 Default value width: number = null (可选)...
来源: Laya3.0_api 发布时间: 20231115
...ya/display/Graphics.ts:243 绘制纹理,相比drawImage功能更强大,性能会差一些 Parameters texture: Texture | null 纹理。 Default value x: number = 0 (可选)X轴偏移量。 Default value y: number = 0 (可选)Y轴偏移量。 Default value width: number = null (可选)...
来源: Laya3.0_api 发布时间: 20231115
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from AnimationBase.hitTestPrior Defined in laya/display/Sprite.ts:266 指定鼠标事件检测是优先检测自身,还是优先检测其子对象...
来源: Laya3.0_api 发布时间: 20231102
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from AnimationBase.hitTestPrior Defined in laya/display/Sprite.ts:266 指定鼠标事件检测是优先检测自身,还是优先检测其子对象...
来源: Laya3.0_api 发布时间: 20231102
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 canvasDegree canvasDegree: number = 0 Defined in laya/display/Stage.ts:126 画布的旋转角度。 canvasRotation canvasRotation: boolean = false Defined in laya/display/Stage.ts:124 画布是否发...
来源: Laya3.0_api 发布时间: 20231115
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是优先检测其子对象。鼠标...
来源: Laya3.0_api 发布时间: 20231115
...染优化,所以保证一个类实现丰富功能的同时,又达到高性能。 example 创建了一个 Sprite 实例。 package { import laya.display.Sprite; import laya.events.Event; public class Sprite_Example { private var sprite:Sprite; private var shape:Sprite public function Sprite_Examp...
来源: Laya3.0_api 发布时间: 20231115
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是优先检测其子对象。鼠标...
来源: Laya3.0_api 发布时间: 20231115