大约有 1,546 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0077 秒)
Laya_社区(545) Laya3.0_api(360) Laya2.0_api(247) laya_api(208) Laya2.0_文档(120) Laya3.0_文档(64) Laya2.0_示例(2)
...和教程搜索无果,想请教如何做才能实现。 export default class CMat extends Laya.BaseMaterial { public static _mainTex : number; public static _mainCol : number; inited : boolean = false; constructor() { super(); if(!this.inited) { CMat._mainTex = Laya.Shader3D.propertyNameToID("u_Ma...
来源: Laya_社区 发布时间: 20190814
...tarFinder } from "../node_modules/astar-typescript/dist/astar"; const { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { private aStarInstance: AStarFinder; onStart() { console.log("Game start"); // 0表示通路,1表示障碍 let myMatrix = [ [0, 0, 0, 0, 0, 0, 0, ...
来源: Laya3.0_文档 发布时间: 20250214
...ox = Laya.Box; import Image = Laya.Image; import Text = Laya.Text; class Item extends Box { public static WID: number = 400; public static HEI: number =40; private text_guanqia: Text; private text_guanqia_info: Text; private img: I...
来源: Laya_社区 发布时间: 20210122
...ly exported Menu Globals "laya/components/AnimationClip2D" AnimationClip2D Class AnimationClip2D Hierarchy Resource AnimationClip2D Index Constructors constructor Properties _id destroyedImmediately islooping lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames ProgressBarProperties | Methods | Events Packagelaya.uiClasspublic class ProgressBarInheritanceProgressBar UIComponent Sprite Node EventDispatcher Object ProgressBar 组件显示内容的加载进度。 Public Propertie...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames Matrix4x4Properties | Methods | Constants Packagelaya.d3.mathClasspublic class Matrix4x4InheritanceMatrix4x4 ObjectImplements laya.d3.core.IClone Matrix4x4 类用于创建4x4矩阵。 Public Properties PropertyDefined ...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames HBoxProperties | Methods | Events | Constants Packagelaya.uiClasspublic class HBoxInheritanceHBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hi...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames PBRSpecularMaterialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class PBRSpecularMaterialInheritancePBRSpecularMaterial BaseMaterial laya.resource.Resource PBRSpecularMaterial 类用于实现...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames Particle2DProperties | Methods | Events Packagelaya.particleClasspublic class Particle2DInheritanceParticle2D Sprite Node EventDispatcher Object Particle2D 类是2D粒子播放类 Public Properties Hide Inherited Public...
来源: laya_api 发布时间: 20170929
...代码如下: /** * TypeScript语言的3D脚本示例 */ export default class TSDemo extends Laya.Script3D { constructor() { super(); } } 2D脚本与3D脚本不要混用,如果是用IDE创建的脚本模板,需要将继承的2D脚本类(Laya.Script)改为3D脚本类(Laya.Script3D), ...
来源: Laya3.0_文档 发布时间: 20250103