大约有 3,177 项符合查询结果, 库内数据总量为 30,782 项。 (搜索耗时: 0.0097 秒)
Laya_社区(2392) Laya3.0_api(242) Laya2.0_文档(138) Laya2.0_api(136) laya_api(135) Laya3.0_文档(64) Laya_示例(52) Laya2.0_示例(18)
...aphics Defined in laya/ui/Image.ts:98 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...
来源: Laya3.0_api 发布时间: 20231115
...(new Vector3(0, 45, -60)); camera.transform.rotate(new Vector3(0, 180, 0), false, false); //相机视角控制组件(脚本) camera.addComponent(CameraMoveScript); //添加光照 var directionLight:DirectionLight = _scene.addChild(new DirectionLight()) as DirectionLight; //光照颜色 directionLigh...
来源: Laya2.0_文档 发布时间: 20210715
...0, 3, 3)); this.camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); this.camera.clearColor = null; //添加方向光 var directionLight: Laya.DirectionLight = this.scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6);...
来源: Laya_社区 发布时间: 20180307
...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...
来源: Laya3.0_api 发布时间: 20231115
...ransform.position = pos; cardOne.transform.rotate(new Laya.Vector3(0,0,0), false, false); if(index == 0){ cardOne.meshRenderer.receiveShadow = true; }else{ var unlitMat = new Laya.PBRStandardMaterial(); var texture: Laya.Texture2D = Laya.loader.getRes("Reference/cardtest.png"); unlitMat.albedoTextur...
来源: Laya_社区 发布时间: 20191223
...ctor3(0, 0.8, 1.5)); camera.transform.rotate(new Vector3(-15, 0, 0), true, false); //创建平行光 var directionLight:DirectionLight = scene.addChild(new DirectionLight()) as DirectionLight; directionLight.color = new Vector3(0.6, 0.6, 0.6); //加载精灵 var monkey:Sprite3D = Loader.getRes("res/...
来源: Laya2.0_文档 发布时间: 20210714
...Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 EventDispatcher on...
来源: laya_api 发布时间: 20170929
...a/components/AnimatorState2D.ts:45 动画播放速度 yoyo yoyo: boolean = false Defined in laya/components/AnimatorState2D.ts:65 是否为一次正播放,一次倒播放模式 Accessors clip get clip(): AnimationClip2D | null set clip(value: AnimationClip2D | null): void Defined in laya/component...
来源: Laya3.0_api 发布时间: 20231115
... Laya.MeshSprite3D; //使可行走区域模型隐藏 meshSprite3D.active = false; var heightMap: Laya.Texture2D = Laya.Loader.getRes("../../res/threeDimen/scene/TerrainScene/Assets/HeightMap.png") as Laya.Texture2D; //初始化MeshTerrainSprite3D this.terrainSprite = Laya.MeshTerrainSprite3D.createF...
来源: Laya_社区 发布时间: 20180309
...ad-only] 表示 Alt 键是处于活动状态 (true) 还是非活动状态 (false)。 Event charCode : Boolean[read-only] 包含按下或释放的键的字符代码值。字符代码值为英文键盘值。 Event ctrlKey : Boolean[read-only] 表示 Ctrl 键是处于活动状态 (true) 还是非...
来源: laya_api 发布时间: 20170929