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

大约有 1,253 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0043 秒)

591. Sprite-显示图片 [ 65%]

... = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Sprite_DisplayImage { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN...

来源: Laya_示例 发布时间: 20250219

592. Label属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 65%]

... Stage = Laya.Stage; import Label = Laya.Label; import WebGL = Laya.WebGL; export class UI_Label { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_...

来源: Laya2.0_文档 发布时间: 20210715

593. 网络和格式-GET [ 64%]

...aya.HttpRequest; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Network_GET { private hr: HttpRequest; private logger: Text; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_...

来源: Laya2.0_示例 发布时间: 20250219

594. laya.d3.physicscannon.shape.CannonBoxColliderShape_API3.0 [ 64%]

...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physicsCannon/shape/CannonBoxColliderShape" CannonBoxColliderShape Class CannonBoxColliderShape BoxColliderShape 类用于创建盒子形状碰撞器。 Hierarchy CannonColliderShape CannonBoxCo...

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

595. UI-Tab [ 64%]

... Tab = Laya.Tab; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Tab { private skins: Array = ["res/ui/tab1.png", "res/ui/tab2.png"]; constructor(){ // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alig...

来源: Laya2.0_示例 发布时间: 20250219

596. Sprite-切换纹理 [ 64%]

...r = Laya.Handler; import Browser= Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_SwitchTexture { private texture1: string = "res/apes/monkey2.png"; private texture2: string = "res/apes/monkey3.png"; private flag: boolean = false; private ape: Sprite; constructor() { // 不支持WebGL...

来源: Laya2.0_示例 发布时间: 20250219

597. laya.d3.webxr.core.AxiGamepad_API3.0 [ 64%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/WebXR/core/WebXRGamepad" AxiGamepad Class AxiGamepad 类用来描述gamepad Axis Hierarchy EventDispatcher AxiGamepad Index Properties axisLength handness EVENT_OUTPUT Methods destroy event hasL...

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

598. laya.d3.core.trail.TrailGeometry_API3.0 [ 64%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/trail/TrailGeometry" TrailGeometry Class TrailGeometry TrailGeometry 类用于创建拖尾渲染单元。 Hierarchy GeometryElement TrailGeometry Index Constructors constructor Properties _...

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

599. laya.d3.component.hlod.HLODBatchMesh_API3.0 [ 64%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/HLOD/HLODBatchMesh" HLODBatchMesh Class HLODBatchMesh Hierarchy GeometryElement HLODBatchMesh Index Constructors constructor Properties _geometryElementOBj Accessors batchMesh batchSub...

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

600. laya.d3.renderobjs.renderobj.InstanceRenderElementOBJ_API3.0 [ 64%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/RenderObjs/RenderObj/InstanceRenderElementOBJ" InstanceRenderElementOBJ Class InstanceRenderElementOBJ Hierarchy RenderElementOBJ InstanceRenderElementOBJ Implements IRenderElement Index Constru...

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