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

大约有 4,336 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0121 秒)

801. 加载-多种类型资源加载 [ 86%]

...ipt、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Loader = Laya.Loader; var Handler = Laya.Handler; var ROBOT_DATA_PATH = "../../res/skeleton/robot/robot.bin"; var ROBOT_TEXTURE_PATH = "../../res/skeleton/robot/texture.png"; (function() { Laya.init(100, 100)...

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

802. 加载-多种类型资源加载 [ 86%]

...ipt、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Loader = Laya.Loader; var Handler = Laya.Handler; var ROBOT_DATA_PATH = "res/skeleton/robot/robot.bin"; var ROBOT_TEXTURE_PATH = "res/skeleton/robot/texture.png"; (function() { Laya.init(100, 100); var assets...

来源: Laya2.0_示例 发布时间: 20241002

803. laya.d3.graphics.Vertex.VertexPositionTexture0 [ 86%]

...itionpropertyposition:Vector3  [read-only] Implementation     public function get position():Vector3textureCoordinate0property textureCoordinate0:Vector2  [read-only] Implementation     public function get textureCoordinate0():Vector2vertexDeclarationproperty vertexDeclaration:VertexDe...

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

804. playByFrame动画监听问题,真不会了。就一个小问题。监听不到动画结束。。。 [ 86%]

...该怎么用求教啊。。。。。 Laya.stage.on(Laya.Event.CLICK, this, function () {                 for (var i = 0; i < _outHitAllInfo.length; i++) {                     var name=_outHitAllInfo<em>.sprite3D.name;                     if(name=='anifish'){   ...

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

805. 帮忙看看Texture类getPixels内存泄漏的问题。 [ 86%]

...te; private var _colorTex:Texture; private var _initPixelCount:int; public function Main() { Laya.init(1024, 768, WebGL); Stat.show(0, 0); Laya.stage.bgColor = "#fff"; Laya.loader.load("assets/images/color1.png", Handler.create(this, __loadImageHandler)); } private function __loadImageHandler():void...

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

806. 图集动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 86%]

...ring = "../../../../res/role.atlas"; private var roleAni:Animation; public function HelloLayabox() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scale...

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

807. F5, 运行后提示找不到 Laya类 [ 86%]

...var ProtoBuf = dcodeIO.ProtoBuf; var ef_protocol = new EF_DataProtocol(); (function() { (function() { Laya.init(1334, 750, WebGL); Laya.stage.scaleMode = Stage.SCALE_EXACTFIT; Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.screenMode = Stage.SCREEN_HORIZON...

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

808. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 86%]

...Node.ts:218 Parameters node: Node Returns Node callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:611 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

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

809. 物理碰撞脚本和触发器脚本(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 86%]

... 注:如相对移动速度过快,可能直接越过 */ override public function onTriggerEnter(other:PhysicsComponent):void { ((owner as MeshSprite3D).meshRenderer.sharedMaterial as BlinnPhongMaterial).albedoColor = new Vector4(0.0, 1.0, 0.0, 1.0); } /** * 当其他碰撞器进入绑定物体碰...

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

810. laya.ui.LayoutBox [ 86%]

...组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.time...

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