大约有 291 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0035 秒)
Laya_社区(200) Laya2.0_文档(46) Laya3.0_api(16) Laya3.0_文档(10) Laya2.0_api(6) Laya_示例(6) laya_api(4) Laya2.0_示例(3)
...class GyroscopeInheritanceGyroscope EventDispatcher Object 使用Gyroscope.instance获取唯一的Gyroscope引用,请勿调用构造函数。 listen()的回调处理器接受两个参数: function onOrientationChange(absolute:Boolean, info:RotationInfo):void absolute: 指示设备是否可以提...
来源: laya_api 发布时间: 20170929
...t(ProtoPool.PROTO_STRING_VALUE); } private static _instance: ProtoPool; static get instance(): ProtoPool { if (this._instance == null) { this._instance = new ProtoPool(); } return this._...
来源: Laya_社区 发布时间: 20170807
...class GyroscopeInheritanceGyroscope EventDispatcher Object 使用Gyroscope.instance获取唯一的Gyroscope引用,请勿调用构造函数。 listen()的回调处理器接受两个参数: function onOrientationChange(absolute:Boolean, info:RotationInfo):void absolute: 指示设备是否可以提...
来源: Laya2.0_api 发布时间: 20190513
...ate(this.rotation, false); } mouseDown(){ this.point.x = Laya.MouseManager.instance.mouseX; this.point.y = Laya.MouseManager.instance.mouseY; //产生射线 this.camera.viewportPointToRay(this.point, this.ray); var out = new Laya.CannonHitResult(); this.scene.cannonPhysicsSimulation.rayCast(this.ray...
来源: Laya_社区 发布时间: 20200903
...E"],"passIndex":0,"subShaderIndex":0},{"defineNames":["RECEIVESHADOW","GPU_INSTANCE","DIRECTIONLIGHT","UV","ALBEDOTEXTURE"],"passIndex":0,"subShaderIndex":0},{"defineNames":["RECEIVESHADOW","GPU_INSTANCE","DIRECTIONLIGHT","UV","ALBEDOTEXTURE","TRANSPARENTBLEND"],"passIndex":0,"subShaderIndex":0},{"d...
来源: Laya_社区 发布时间: 20210608
... Hierarchy EventDispatcher Shake Index Constructors constructor Accessors instance Methods event hasListener off offAll offAllCaller on once start stop Constructors constructor new Shake(): Shake Defined in laya/device/Shake.ts:23 Returns Shake Accessors Static instance get instance(): Shake Defined...
来源: Laya3.0_api 发布时间: 20231115
...ment SkyDome Index Constructors constructor Properties _geometryElementOBj instance Accessors bufferState destroyed drawType indexFormat instanceCount mode slices stacks Methods _getType clearRenderParams destroy setDrawArrayParams setDrawElemenParams Constructors constructor new SkyDome(stacks?: nu...
来源: Laya3.0_api 发布时间: 20231115
...时候 都是新建了一个scene。可以把scene renderType属性改为instance, 或者将scene保存下来 使用时添加到舞台 2021-10-13 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Nothing 相关问题 sprite旋转以后,...
来源: Laya_社区 发布时间: 20211012
...办法。//Main.as private function loadRoles():void { SocketProxy.instance.setRoleCall(getRolesBack); } protected function getRolesBack(data:ByteArray):void { var len:int=data.readShort(); if (len == 0) { //没有角色...则开始创建 trace("#没有角...
来源: Laya_社区 发布时间: 20170622
...class AcceleratorInheritanceAccelerator EventDispatcher Object Accelerator.instance获取唯一的Accelerator引用,请勿调用构造函数。 listen()的回调处理器接受四个参数: acceleration: 表示用户给予设备的加速度。 accelerationIncludingGravity: 设备受到的总加...
来源: laya_api 发布时间: 20170929