大约有 3,003 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0085 秒)
Laya_社区(1068) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(109)
...者layaconch.jar包 官方有公开java代码吗? 现在里边的是.class类无法修改和添加调试代码。 apk已上传,代码在舞台只添加了一个video,点击屏幕播放 再次点击是暂停,再点击是播放。 APP启动请等待几秒加载视频,然后点击屏...
来源: Laya_社区 发布时间: 20200522
API DocumentationAll Packages | All Classes | Index | Frames No Frames BaseRenderProperties | Methods Packagelaya.d3.core.renderClasspublic class BaseRenderInheritanceBaseRender EventDispatcher ObjectImplements laya.resource.IDestroySubclasses GlitterRender, MeshRender, ShurikenParticleRend...
来源: laya_api 发布时间: 20170929
...as 或者WebGL 两种模式对使用引擎有什么区别? Warning!,this class[MiniAdpter] already exist: Object {init: } unity粒子特效的sorting fudge层级排序与laya3d的渲染显示相反 问题状态 最新活动: 2017-05-18 17:50 浏览: 1902 关注: 2 人
来源: Laya_社区 发布时间: 20170323
...re.on(Laya.Event.MOUSE_UP,this,onSure); function onSure(params) { } } Laya.class(TipsView,"TipsView",TipsViewUI); return TipsView; })(); 2017-10-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 15818760256 赞...
来源: Laya_社区 发布时间: 20171017
TS项目怎么通过OC调用一个JS函数 ts中的代码: class Native { private setNativeListener(): void { alert("oc call me to do someing"); } } oc代码: [[conchRuntime GetIOSConchRuntime] runJS:@"Laya.Native.setNativeListener()"]; Laya改成Window也不行! ...
来源: Laya_社区 发布时间: 20180118
...ted Menu Globals "laya/d3/core/render/command/CommandBuffer" CommandBuffer Class CommandBuffer CommandBuffer 类用于创建命令流。 Hierarchy CommandBuffer Index Constructors constructor Accessors casterShadow context name Methods _apply _applyOne addCustomCMD blitScreenQuad blitScreenQuadByMat...
来源: Laya3.0_api 发布时间: 20231115
...报错Uncaught ReferenceError: int is not defined function DConfig(){}; __class(DConfig,'DConfig'); __getset(1,DConfig,'GamrRoomEnterPower',function(){ return DConfig.gamrRoomEnterPower; },function(value){ DConfig.gamrRoomEnterPower=value; console.log(DConfig.gamrRoomEnterPower.length); console.log(...
来源: Laya_社区 发布时间: 20170731
...加如下代码,实现鼠标点击后,获取地理位置。 const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { constructor() { super(); } onMouseClick(evt: Laya.Event): void { // 尝试获取当前位置 Laya.Geolocation.getCurrentPosition( Laya.Handler...
来源: Laya3.0_文档 发布时间: 20251010
...是实际显示是以文本宽度来显示的 示例代码export default class HtmlTest extends Laya.Sprite { constructor() { super(); this.init(); } init() { this.bg = new Laya.Sprite(); this.bg.graphics.drawRect(0, 0, 200, 200, '#ccc'); this.addChild(this.bg); this.htmlTxt = new Laya.HTMLDivElemen...
来源: Laya_社区 发布时间: 20210107
...猴都添加了脚本。 > **脚本类**: ```typescript export default class MouseScript extends Laya.Script3D{ constructor(){super();} //物体必须拥有碰撞组件(Collider) //当被鼠标点击 onMouseDown(e){ //console.log("点击到了我box",owner.name); //从父容器销毁我自己 ...
来源: Laya2.0_文档 发布时间: 20210715