大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0053 秒)
Laya_社区(720) Laya3.0_api(672) Laya2.0_api(367) laya_api(298) Laya_示例(150) Laya2.0_示例(114) Laya2.0_文档(107) Laya3.0_文档(54)
...layaAir中也找到了intersects方法,不过用法好像不太一样,public function intersects(rect:Rectangle):Boolean 问题一:是不是也是这样去用?if(rectangleA.intersects(rectangleB)) 问题二:如果是这样去用,那么是不是每一个image对象都要创建一个...
来源: Laya_社区 发布时间: 20161202
...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Vector4" Vector4 Class Vector4 Vector4 类用于创建四维向量。 Hierarchy Vector4 Implements IClone Index Constructors constructor...
来源: Laya3.0_api 发布时间: 20231102
...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/Avatar" Avatar Class Avatar Avatar 类用于创建Avatar。 Hierarchy Resource Avatar Implements IClone Index Constructors constructor P...
来源: Laya3.0_api 发布时间: 20231102
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/components/Animator2D" Animator2D Class Animator2D Animator2D2D动画组件 Hierarchy Component Animator2D Index Constructors constructor Proper...
来源: Laya3.0_api 发布时间: 20231115
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/light/PointLightCom" PointLightCom Class PointLightCom Hierarchy Light PointLightCom Index Constructors constructor Properties _extra _s...
来源: Laya3.0_api 发布时间: 20231115
...s=laya.net.LoaderManager) 。 ```typescript ...... //批量预加载方式 public function PreloadingRes() { //预加载所有资源 var resource:Array = ["res/threeDimen/scene/TerrainScene/XunLongShi.ls", "res/threeDimen/skyBox/skyBox2/skyBox2.lmat", "res/threeDimen/texture/earth.png", "res/threeDi...
来源: Laya2.0_文档 发布时间: 20210715
...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/gltf/glTFResource" glTFResource Class glTFResource Hierarchy Prefab glTFResource Index Constructors constructor Properties destoryedImmediately ...
来源: Laya3.0_api 发布时间: 20231102
...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/media/HtmlVideo" HtmlVideo Class HtmlVideo html多媒体数据 Hierarchy Bitmap HtmlVideo Index Constructors constructor Properties desto...
来源: Laya3.0_api 发布时间: 20231102
...6第一次加载正确,刷新几次就变大了。 class GameMain{ public static pxTimes: number = Laya.Browser.height / Laya.Browser.clientHeight; constructor() { console.log('ch=' + Laya.Browser.clientHeight + ', h=' + Laya.Browser.height + ', pxTimes=' + GameMain.p...
来源: Laya_社区 发布时间: 20170403
...ort laya.events.Event; import laya.utils.Browser; import laya.webgl.WebGL; public class Interaction_Mouse { private var txt:Text; public function Interaction_Mouse() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALI...
来源: Laya2.0_示例 发布时间: 20260106