大约有 962 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0076 秒)
Laya3.0_api(668) Laya_社区(264) Laya3.0_文档(9) Laya2.0_api(6) laya_api(5) Laya_示例(5) Laya2.0_示例(3) Laya2.0_文档(2)
... Globals "laya/d3/physics/PhysicsTriggerComponent" PhysicsTriggerComponent Class PhysicsTriggerComponent PhysicsTriggerComponent 类用于创建物理触发器组件。 Hierarchy PhysicsComponent PhysicsTriggerComponent PhysicsCollider Rigidbody3D Index Constructors constructor Properties _extra _si...
来源: Laya3.0_api 发布时间: 20231115
... Globals "laya/d3/component/Volume/VolumetricGI/VolumetricGI" VolumetricGI Class VolumetricGI Hierarchy Volume VolumetricGI Index Constructors constructor Properties _extra _singleton intensity owner probeCounts probeStep runInEditor scriptPath Accessors awaked boundsMax boundsMin destroyed distance...
来源: Laya3.0_api 发布时间: 20231115
...Main.js格式完全和教程不同 import GameConfig from "./GameConfig"; class Main { constructor() { //根据IDE设置初始化引擎 if (window["Laya3D"]) Laya3D.init(GameConfig.width, GameConfig.height); else Laya.init(GameConfig.width, GameConfig.height, Laya["WebGL"]); Laya["Physics"] &&am...
来源: Laya_社区 发布时间: 20181027
.../** * FUI资源加载类 * jhj * QQ:8510001 * 2019-11-25 */ export default class FguiResMgr { private static _instance: FguiResMgr; public static get instance(): FguiResMgr { if (!this._instance) this._instance = new FguiResMgr(); return this._instance; } /**加载优先级,越小越优先,最...
来源: Laya_社区 发布时间: 20191107
...ly exported Menu Globals "laya/d3/physics/PhysicsCollider" PhysicsCollider Class PhysicsCollider PhysicsCollider 类用于创建物理碰撞器。 Hierarchy PhysicsTriggerComponent PhysicsCollider Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath ...
来源: Laya3.0_api 发布时间: 20231115
...ewer); modelViewer.AroundPos = plane.transform.position; */ export default class ModelViewer extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summary> /// Around center. /// </summary&...
来源: Laya_社区 发布时间: 20190224
...nals Only exported Menu Globals "laya/d3/core/light/PointLight" PointLight Class PointLight deprecated PointLight 类用于创建点光。 Hierarchy LightSprite PointLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color ...
来源: Laya3.0_api 发布时间: 20231115
...的运行时库版本。 代码动态添加的示例如下: const { regClass, property } = Laya; @regClass() export class Demo extends Laya.Script { spine: Laya.Spine2DRenderNode; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void ...
来源: Laya3.0_文档 发布时间: 20260131
...Externals Only exported Menu Globals "laya/d3/component/Animator" Animator Class Animator Animator 类用于创建动画组件。 Hierarchy Component Animator Index Constructors constructor Properties _extra _singleton cullingMode owner runInEditor scriptPath CULLINGMODE_ALWAYSANIMATE CULLINGMODE_CU...
来源: Laya3.0_api 发布时间: 20231102
...?代码如下: /**Created by the LayaAirIDE*/ module view { export class Guide extends ui.GuideUI { constructor() { super(); // 创建Video元素 let videoElmt: any = Laya.Browser.createElement("video"); Laya.Browser.document.body.appendChild(videoElmt); // 设置Video元素地样式和属性...
来源: Laya_社区 发布时间: 20180802