大约有 2,995 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0070 秒)
Laya_社区(1062) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(107)
API DocumentationAll Packages | All Classes | Index | Frames No Frames IndexBuffer3DProperties | Methods | Constants Packagelaya.d3.graphicsClasspublic class IndexBuffer3DInheritanceIndexBuffer3D Buffer Object IndexBuffer3D 类用于创建索引缓冲。 Public Properties Hide Inherited Pu...
来源: Laya2.0_api 发布时间: 20190513
...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
...aya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_AutoSize { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Lay...
来源: Laya_示例 发布时间: 20251219
...howall", "noborder", "full", "fixedwidth", "fixedheight"], index = 0, txt; class SmartScale_T { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Image = Laya.Image, Text = Laya.Text; // 不支持WebGL时自动切换至Can...
来源: Laya2.0_示例 发布时间: 20251219
API DocumentationAll Packages | All Classes | Index | Frames No Frames PrismaticJointProperties | Methods Packagelaya.physics.jointClasspublic class PrismaticJointInheritancePrismaticJoint JointBase Component Object 平移关节:移动关节允许两个物体沿指定轴相对移动,它...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalTexture0Texture1SkinTangentProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalTexture0Texture1SkinTangentInheritanceVertexPositionNormalTexture0Texture1SkinTangent Objec...
来源: laya_api 发布时间: 20170929
...发更高效。let SPACING = 150, X_OFFSET = 200, Y_OFFSET = 200, skins; class UI_RadioGroup { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.st...
来源: Laya2.0_示例 发布时间: 20251219
...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
...分的代码,ios和android小程序都能正常显示。 代码如下: class Particle { constructor() { Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene: Laya.Scene3D = Laya.stage.addChild( new Laya.Scene...
来源: Laya_社区 发布时间: 20220721
...例如,给Sprite添加纹理等,示例代码如下所示: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type : Laya.Sprite}) public spr: Laya.Sprite; onAwake(): void { this.spr.size(512, 313); //设置Sprite大小 this.spr.loadImage("...
来源: Laya3.0_文档 发布时间: 20251010