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

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

631. 自定义组件用的layaeditor.d.zip报错 [ 54%]

...,所以只好上论坛求助了。 比如这么一个报错的地方: class Component extends laya.ui.Component implements laya.ui.IComponent { _getBoundPointsM(ifRotate?: boolean): Array<any>; disableLayout: boolean; protected resetLayoutX(): void; protected resetLayoutY(): void; } 类lay...

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

632. 提示错误在laya.core.js里 [ 54%]

...就出问题了。是要把unity场景导入到laya2.6. export default class SceneLoad extends Laya.Script{     constructor(){         super();     }     onAwake(){         Laya.Scene3D.load("res/LayaScene_demo/Android/demo.ls",Laya.Handler.create(this,function(scene...

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

633. 使用layaAir3D从unity3D中导出场景模型时报错 [ 54%]

...zation.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222) 2018-02-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 5 个回复 qian 赞同来自: ide版本...

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

634. laya.maths.Matrix3x3_API3.0 [ 54%]

...ited Externals Only exported Menu Globals "laya/maths/Matrix3x3" Matrix3x3 Class Matrix3x3 Matrix3x3 类用于创建3x3矩阵。 Hierarchy Matrix3x3 Implements IClone Index Constructors constructor Properties elements DEFAULT Methods clone cloneTo determinant identity invert rotate scale translate t...

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

635. laya.d3.webxr.core.WebXRInput_API3.0 [ 54%]

...nals Only exported Menu Globals "laya/d3/WebXR/core/WebXRInput" WebXRInput Class WebXRInput author miner 类用来描述输入设备 Hierarchy EventDispatcher WebXRInput Index Constructors constructor Properties _lastXRPose gamepadAxis gamepadButton handness lastXRPose position ray rotation EVENT_FR...

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

636. 我想动态改自定义shader里的值,应该怎么写?? [ 54%]

...al.__super.call(this);     this.setShaderName("CustomShader"); }   Laya.class(CustomMaterial, "CustomMaterial", Laya.BaseMaterial);   CustomMaterial.DIFFUSETEXTURE = 1; CustomMaterial.NORMALTEXTURE = 2; CustomMaterial.ALPHATESTVALUE = 0;   CustomMaterial.prototype.getDiffuseTexture = function (...

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

637. laya.physics.joint.PulleyJoint_API3.0 [ 54%]

...ls Only exported Menu Globals "laya/physics/joint/PulleyJoint" PulleyJoint Class PulleyJoint 滑轮关节:它将两个物体接地(ground)并彼此连接,当一个物体上升,另一个物体就会下降 Hierarchy JointBase PulleyJoint Index Constructors constructor Properties _extra _singleto...

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

638. laya.utils.PerformancePlugin_API3.0 [ 54%]

...nals Only exported Menu Globals "laya/utils/Performance" PerformancePlugin Class PerformancePlugin Hierarchy PerformancePlugin Index Properties PERFORMANCE_LAYA PERFORMANCE_LAYA_2D PERFORMANCE_LAYA_3D PERFORMANCE_LAYA_3D_PHYSICS PERFORMANCE_LAYA_3D_PHYSICS_CHARACTORCOLLISION PERFORMANCE_LAYA_3D_PHYS...

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

639. Laya2.7.1 射线提示rayCast未定义 [ 53%]

Laya2.7.1 射线提示rayCast未定义 export default class click3d extends Laya.Script3D{ constructor() { super(); //创建场景 this.scene = Laya.stage.addChild(new Laya.Scene3D()); //添加相机 this.camera = (this.scene.addChild(new Laya.Camera(0, 0.1, 100))); this.camera.transform.translate(...

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

640. Spine3D渲染器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 53%]

...的运行时库版本。 代码动态添加的示例如下: const { regClass, property } = Laya; @regClass() export class Demo extends Laya.Script { spine3D: Laya.Spine3DRenderer; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void ...

来源: Laya3.0_文档 发布时间: 20260203