大约有 3,244 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0076 秒)
Laya_社区(2446) Laya3.0_api(242) Laya2.0_文档(138) Laya2.0_api(136) laya_api(135) Laya3.0_文档(77) Laya_示例(52) Laya2.0_示例(18)
...ath.pow(2,1)为第0层和第1层可见。BaseCamera destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node enableRender : Boolean = true是否允许渲染。Camera farPlane ...
来源: Laya2.0_api 发布时间: 20190513
...aya/d3/core/GeometryElement.ts:20 autoRandomSeed autoRandomSeed: boolean = false Inherited from ShurikenParticleSystem.autoRandomSeed Defined in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:310 是否使用随机种子。 dragConstant dragConstant: number = 0 Inherited from ShurikenPartic...
来源: Laya3.0_api 发布时间: 20231115
...ad-only] 表示 Alt 键是处于活动状态 (true) 还是非活动状态 (false)。 Event charCode : Boolean[read-only] 包含按下或释放的键的字符代码值。字符代码值为英文键盘值。 Event ctrlKey : Boolean[read-only] 表示 Ctrl 键是处于活动状态 (true) 还是非活...
来源: laya_api 发布时间: 20170929
...)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6)...
来源: Laya_社区 发布时间: 20180725
...Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 EventDispatcher on...
来源: laya_api 发布时间: 20170929
...mer.frameLoop(1, this, function () { layaMonkey.transform.rotate(rotation, false); }); function initShader() { var attributeMap = { 'a_Position': Laya.VertexElementUsage.POSITION0, 'a_Normal': Laya.VertexElementUsage.NORMAL0 }; var uniformMap = { 'u_MvpMatrix': [Laya.Sprite3D.MVPMATRIX, Laya.Shader3...
来源: Laya_示例 发布时间: 20251209
...,是否使用认证信息(例如cookie或授权的header)。 默认为 `false。` | | timeout | number | 请求超时时间 | `withCredentials`这个属性一般用到不多,这里我们简单介绍下,在web中,发送同域的请求浏览器会将`cookie`自动加在`request header`中...
来源: Laya2.0_文档 发布时间: 20210715
... 3.5, 1)); this.camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); //3.清除照相机颜色 this.camera.clearColor = null; this.directionLight = new Laya.DirectionLight(); this.scene.addChild(this.directionLight); this.directionLight.direction = new Laya.Vector3(0, -0.8, -1); this.d...
来源: Laya_社区 发布时间: 20200903
...ource/Resource.ts:109 获取资源的UUID。 Static DEBUG DEBUG: boolean = false Defined in laya/resource/Resource.ts:19 是否开启debug模式 Accessors cpuMemory get cpuMemory(): number Defined in laya/resource/Resource.ts:124 内存大小。 Returns number destroyed get destroyed(): boolean Defi...
来源: Laya3.0_api 发布时间: 20231115
...eFormat Default value mipmap: boolean = true Default value sRGB: boolean = false Default value premultiplyAlpha: boolean = false Returns TextureCube Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Resource.ts:97 destroyedImmediately destroyedImmediately: boolean I...
来源: Laya3.0_api 发布时间: 20231115