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

大约有 1,125 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0060 秒)

541. 求助高手请进,关于场景导入的问题~ [ 69%]

...scene1:GameScene = new GameScene(); Laya.stage.addChild(scene1);   public class GameScene extends Scene {    public function GameScene()    {       Laya.loader.create("LayaScene_01/loveScene.ls",Handler.create(this,this.completeHandler));    }          private function completeHandle...

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

542. 动画状态脚本(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 69%]

...port laya.display.Text; //继承自AnimatorStateScript(动画状态脚本) class AnimatorStateScriptTest extends AnimatorStateScript { private var _text:Text = null; public function get text():Text { return _text; } public function set text(value:Text):int { _text = value; } public function Animator...

来源: Laya2.0_文档 发布时间: 20210714

543. laya.d3.resource.MulSampleRenderTexture_API3.0 [ 69%]

...u Globals "laya/d3/resource/MulSampleRenderTexture" MulSampleRenderTexture Class MulSampleRenderTexture MulSampleRenderTexture类用于创建多重采样渲染目标 webGL2.0多重采样才会生效 Hierarchy RenderTexture MulSampleRenderTexture Implements IRenderTarget Index Constructors constructo...

来源: Laya3.0_api 发布时间: 20231102

544. 物理引擎-牛顿摆 [ 69%]

...ya.Browser; import WebGL = Laya.WebGL; import Render = Laya.Render; export class Physics_NewtonsCradle { private stageWidth: number = 800; private stageHeight: number = 600; private Matter: any = Browser.window.Matter; private LayaRender: any = Browser.window.LayaRender; private mouseConstraint: any...

来源: Laya_示例 发布时间: 20251209

545. Laya3D [ 69%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames Laya3DProperties | Methods | Constants PackageTop LevelClasspublic class Laya3DInheritanceLaya3D Object Laya3D 类用于初始化3D设置。 Public Properties PropertyDefined By  enbalePhysics : *[static] [read-only]...

来源: Laya2.0_api 发布时间: 20190513

546. [Error] TypeError: null is not an object (evaluating 'this._style._tf') [ 69%]

...ange261, 有谁知道什么原因导致的吗? 怎样解决? Warning!,this class[MiniAdpter] already exist: Object {init: } 请问object层中添加的sprite怎么添加点击事件 IDE不能运行调试提示:Chrome error: Error:... LayaAirIDE2.2 - Laya3D init error ,must support webGL 问题状...

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

547. laya.resource.RenderTextureCube_API3.0 [ 69%]

... exported Menu Globals "laya/resource/RenderTextureCube" RenderTextureCube Class RenderTextureCube SpotLight 类用于创建RenderTextureCube。 Hierarchy RenderTexture RenderTextureCube Implements IRenderTarget Index Constructors constructor Properties _generateMipmap _id _inPool _isCameraTarget _r...

来源: Laya3.0_api 发布时间: 20231115

548. 射线检测-点击行走 [ 69%]

...kAt(box.transform.position, _vector3, _upVector3, _quaternion); } }); })();class RayPicking03 { private ray: Laya.Ray; private point: Laya.Vector2 = new Laya.Vector2(); private _outHitInfo: Laya.RaycastHit; private _position: Laya.Vector3; private _upVector3: Laya.Vector3; private _quaternion: Laya....

来源: Laya_示例 发布时间: 20251209

549. 想用js写一个什么也不继承的类,但每次实例化这个类的时候会报错,是不是这个类写得不对呀 [ 69%]

...);         console.log("执行测试构造函数"); } //注册类 Laya.class(Test,"Test",_super); //获取执行域 var _proto = Test.prototype; //_proto. return Test; })(); 2018-06-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

550. List选中项下滚会变 [ 69%]

...eHandler = new Laya.Handler(this,this.onMouse);//鼠标事件响应 } Laya.class(ServerListView,"ServerListView",_super); var _proto_ = ServerListView.prototype; //选择列表项时的相应时间,参数index是选中项的下标 // _proto_.onSelect = function(index){ // console.log("index",index...

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