大约有 80 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0078 秒)
...的Uniform变量,其余引擎涉及到的Uniform变量为高阶的使用方法在本文中不会做详细的介绍,感兴趣的开发者可以在引擎中的xx.glsl文件中可以找到相对应的Uniform变量,在此篇幅仅介绍在常用的Shader编写中所使用的到的一些高频的Un...
来源: Laya3.0_文档 发布时间: 20251010
...内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from AnimationBase.hitTestPrior Defined in laya/display/Sprite.ts:266 指定鼠标事件检测是优先检测自身...
来源: Laya3.0_api 发布时间: 20231102
...垂直方向坐标值。 sprite.pivotX = 0;//设置 sprite 对象的水平方法轴心点坐标。 sprite.pivotY = 0;//设置 sprite 对象的垂直方法轴心点坐标。 Laya.stage.addChild(sprite);//将此 sprite 对象添加到显示列表。 sprite.on(Event.CLICK, this, onClickSprite);//给 sp...
来源: 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
... 使用set source、loadImages(...)、loadAtlas(...)、loadAnimation(...)方法可以创建动画模版。使用play(...)可以播放指定动画。 example 以下示例代码,创建了一个 Text 实例。 package { import laya.display.Animation; import laya.net.Loader; import laya.utils.Handler;...
来源: Laya3.0_api 发布时间: 20231115
...内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 currentCreationLayer currentCreationLayer: number = Math.pow(2, 0) Defined in laya/d3/core/scene/Scene3D.ts:421 当前创建精灵所属遮罩层。 enableLight enableL...
来源: Laya3.0_api 发布时间: 20231115
...内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 drawImageNum drawImageNum: number = 0 Defined in laya/map/GridSprite.ts:25 当前GRID包含多少个TILE(包含动画) hitTestPrior hitTestPrior: boolean = false Inheri...
来源: 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
...内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是...
来源: 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