大约有 1,253 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0086 秒)
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/material/BlinnPhongMaterial" BlinnPhongMaterial Class BlinnPhongMaterial BlinnPhongMaterial 类用于实现Blinn-Phong材质。 Hierarchy Material BlinnPhongMaterial Implements IClone Index...
来源: Laya3.0_api 发布时间: 20231115
...,脚本代码如下: const { regClass, property } = Laya; @regClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } event1(p1:any, p2:any): void { console.log("event1",p1,p2); } } 在脚本中创建event1的方法和接收两个参数,最...
来源: Laya3.0_文档 发布时间: 20240910
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/material/PBRMaterial" PBRMaterial Class PBRMaterial PBR材质的父类,该类为抽象类。 Hierarchy Material PBRMaterial PBRStandardMaterial Implements IClone Index Constructors construc...
来源: Laya3.0_api 发布时间: 20231115
...终代码 /** * Based upon https://github.com/bgrins/javascript-astar */ export class AStarFindPath { private terrainSprite: MeshTerrainSprite3D; private layaMonkey: Sprite3D; private path: Vector3[]; private _everyPath: any[]; private _position: Vector3 = new Vector3(0, 0, 0); private _upVector3: V...
来源: Laya3.0_文档 发布时间: 20230303
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/material/PBRStandardMaterial" PBRStandardMaterial Class PBRStandardMaterial PBRStandardMaterial 类用于实现PBR材质。 Hierarchy PBRMaterial PBRStandardMaterial Implements IClone Index...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/Button" Button Class Button Button 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或同时显示两者。 * 可以是单态,两态和三态,默认三...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/CheckBox" CheckBox Class CheckBox CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox...
来源: Laya3.0_api 发布时间: 20231115
...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/html/dom/HTMLIframeElement" HTMLIframeElement Class HTMLIframeElement iframe标签类,目前用于加载外并解析数据 Hierarchy HTMLDivElement HTMLIframeElement Index Constructors constructo...
来源: Laya3.0_api 发布时间: 20231102
...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/html/dom/HTMLDivElement" HTMLDivElement Class HTMLDivElement HTML图文类,用于显示html内容 支持的标签如下: a:链接标签,点击后会派发"link"事件 比如:a div:div容器标...
来源: Laya3.0_api 发布时间: 20231102
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/PhysicsDebugDraw" PhysicsDebugDraw Class PhysicsDebugDraw 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Hierarchy Sprite PhysicsDebugDraw Index Const...
来源: Laya3.0_api 发布时间: 20231115