大约有 1,253 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0043 秒)
... = 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
... 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
...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
...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
... 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
...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
...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
...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
...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
...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