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

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

591. 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

592. 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_示例 发布时间: 20241118

593. 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_示例 发布时间: 20241118

594. 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

595. 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

596. 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

597. 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

598. laya.d3.physicscannon.shape.CannonCompoundColliderShape_API3.0 [ 64%]

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

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

599. 请问UI之间的场景切换要怎么写 [ 64%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 请问下加载TFF字体要怎么加载呢? 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元...

来源: Laya_社区 发布时间: 20170725

600. Sprite-绘制各种形状 [ 64%]

...prite = Laya.Sprite; import Stage = Laya.Stage; import WebGL = Laya.WebGL; export class Sprite_DrawShapes { private sp: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(740, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.s...

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