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

大约有 3,177 项符合查询结果, 库内数据总量为 30,782 项。 (搜索耗时: 0.0097 秒)

901. laya.ui.Image_API3.0 [ 65%]

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

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

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

903. 微信小游戏默认项目代码添加unity导出.lh文件,微信开发工具提示错误 [ 65%]

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

904. laya.ui.UIGroup_API3.0 [ 65%]

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

905. laya阴影问题 [ 65%]

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

906. Sprite3D添加组件或脚本(ActionScript-3D基础(AS3)-LayaAir3D之精灵) [ 65%]

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

907. laya.d3.core.light.LightSprite [ 65%]

...Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 EventDispatcher on...

来源: laya_api 发布时间: 20170929

908. laya.components.AnimatorState2D_API3.0 [ 64%]

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

909. 寻路导航示例中添加Laya.PathFind组件报异常 [ 64%]

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

910. laya.events.Event [ 64%]

...ad-only] 表示 Alt 键是处于活动状态 (true) 还是非活动状态 (false)。 Event  charCode : Boolean[read-only] 包含按下或释放的键的字符代码值。字符代码值为英文键盘值。 Event  ctrlKey : Boolean[read-only] 表示 Ctrl 键是处于活动状态 (true) 还是非...

来源: laya_api 发布时间: 20170929