• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0053 秒)

2191. 关于intersects碰撞的疑问 [ 46%]

...layaAir中也找到了intersects方法,不过用法好像不太一样,public function intersects(rect:Rectangle):Boolean   问题一:是不是也是这样去用?if(rectangleA.intersects(rectangleB)) 问题二:如果是这样去用,那么是不是每一个image对象都要创建一个...

来源: Laya_社区 发布时间: 20161202

2192. laya.d3.math.Vector4_API3.0 [ 46%]

...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

2193. laya.d3.core.Avatar_API3.0 [ 46%]

...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

2194. laya.components.Animator2D_API3.0 [ 46%]

...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

2195. laya.d3.core.light.PointLightCom_API3.0 [ 46%]

...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

2196. 资源加载(ActionScript-3D基础(AS3)-LayaAir3D之资源加载) [ 46%]

...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

2197. laya.gltf.glTFResource_API3.0 [ 46%]

...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

2198. laya.device.media.HtmlVideo_API3.0 [ 46%]

...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

2199. Laya.Browser获取宽高数值会变化,iphone6第一次加载正确,刷新几次就变大了。 [ 46%]

...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

2200. 鼠标交互-鼠标交互 [ 46%]

...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