大约有 349 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)
Laya3.0_api(161) Laya2.0_api(87) Laya_社区(50) laya_api(30) Laya_示例(14) Laya3.0_文档(5) Laya2.0_文档(2)
...响事件的触发这里是随便取的名。 ```typescript import laya.d3.component.Script3D; class SceneScript extends Script3D { //用于表现的方法 public var showMsgFunc:Function; public function SceneScript() { } //对应unity添加的AnimationEvent的动画事件函数,名字是可以...
来源: Laya2.0_文档 发布时间: 20210715
...s Packagelaya.d3.core.renderInterfacepublic interface IUpdateImplementors Component3D, Sprite3D IUpdate 接口用于实现3D对象的更新相关功能。 Public Methods MethodDefined By _update(state:RenderState):voidIUpdateMethod Detail_update()method public function _update(state:RenderStat...
来源: laya_api 发布时间: 20170929
...property 'cursor' of undefined错误 Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot be invoke...
来源: Laya_社区 发布时间: 20181210
...n this; }; //可以用style样式来控制各种控件的字体设置 Laya.Component.prototype["textFormatObj"] = null;//给Component基类定义一个textFormatObj属性 //Label字体样式处理 Laya["getset"](false, Laya.Label.prototype, "fontStyle", function () { return this["textFormatObj"]; },...
来源: Laya_社区 发布时间: 20171226
...FontFaceFromBuffer is not a function Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot be invoke...
来源: Laya_社区 发布时间: 20171111
... at MailWin.__proto.createChildren (Nxsg.max.js:71310) at MailWin.Component (Nxsg.max.js:52200) at MailWin.Box (Nxsg.max.js:58163) at MailWin.View (Nxsg.max.js:62736) at MailWinUI (Nxsg.max.js:71304) at new MailWin (eval at __proto.loadJs (Nxsg.max.js:52044), <ano...
来源: Laya_社区 发布时间: 20180306
...结构为: Sprite3D child Sprite3D components Animator Rigidbody child SkinnedMeshSprite3D 初始化的时候,直接拿第二层的 Sprite3D 创建,是有刚体...
来源: Laya_社区 发布时间: 20181026
... Offset is outside the bounds of the DataView 代码: package com.ppt.components.role { import laya.ani.bone.Skeleton; import laya.ani.bone.Templet; import laya.events.Event; public class CombatRole extends BaseRole { private var _templet...
来源: Laya_社区 发布时间: 20170204
...自定义组件编译出错 用fd编译报错 libs/laya/src/laya/editorUI/Component.as (86):warning:model This variable is not defined. 发现官方自定义组件教程里的地址https://github.com/layabox/layaair-ide-ui,更新时间是2016年的 代码里写的是model && model.size(_wi...
来源: Laya_社区 发布时间: 20180615
...huriKenParticle3DInheritanceShuriKenParticle3D RenderableSprite3D Sprite3D ComponentNode Node EventDispatcher Object ShuriKenParticle3D 3D粒子。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Sp...
来源: laya_api 发布时间: 20170929