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

大约有 3,124 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0080 秒)

2621. [LayaAir2]在使用videoDom创建视频元素后iPad跟iPhone中位置不一样 [ 44%]

...用Laya.HtmlVideo播放视频 * @ author:xs * @ data: 2024-03-05 16:20 */ export default class VideoDom { htmlvideo:Laya.HtmlVideo; constructor() { Laya.stage.on(Laya.Event.CLICK,this,this.onClick); } onClick(){ this.initVideo(); } initVideo() { this.htmlvideo = new Laya.HtmlVideo(); this.htmlvideo....

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

2622. 动画状态机 · LayaAir3.4 · 引擎文档 · LAYABOX [ 44%]

...脚本,添加的代码如下: ... import Vector3 = Laya.Vector3; ... export class AnimationScript extends Laya.AnimatorStateScript { ... private model: Laya.Sprite3D; /**@internal */ setPlayScriptInfo(animator: Laya.Animator | Laya.Animator2D, layerindex: number, playstate: Laya.AnimatorState | ...

来源: Laya3.0_文档 发布时间: 20251010

2623. laya.d3.core.ui3d.UI3DGeometry_API3.0 [ 44%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/UI3D/UI3DGeometry" UI3DGeometry Class UI3DGeometry Hierarchy GeometryElement UI3DGeometry Index Properties _geometryElementOBj Accessors bufferState destroyed drawType indexFormat instanceC...

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

2624. laya.d3.physics.shape.HeightfieldTerrainShape_API3.0 [ 44%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/shape/HeightfieldTerrainShape" HeightfieldTerrainShape Class HeightfieldTerrainShape BoxColliderShape 类用于创建高度图地形形状碰撞器。 Hierarchy ColliderShape Heightfield...

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

2625. laya.ani.bone.BoneSlot_API3.0 [ 44%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ani/bone/BoneSlot" BoneSlot Class BoneSlot Hierarchy BoneSlot Index Properties attachmentName currDisplayData currSlotData currTexture displayIndex name parent srcDisplayIndex templet type Methods ...

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

2626. 请问ts版本下的Combobox组件,下拉框层级问题,是不打算改了吗? [ 44%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 问题状态 最新活动: 2017-04-25 22:31 浏览: 1165 关注: 2 人 cuixueying • 2017-04-26 11:35 谢谢,收到! cuixueying • 2017-04-26 11:59 已经修复,下个版本直接更新即可,感谢反...

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

2627. UI-Tab [ 44%]

... 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; Lay...

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

2628. laya.device.Shake_API3.0 [ 44%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/Shake" Shake Class Shake Shake只能在支持此操作的设备上有效。 Hierarchy EventDispatcher Shake Index Constructors constructor Accessors instance Methods event hasListener off of...

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

2629. laya.d3.resource.models.SubMesh_API3.0 [ 44%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/resource/models/SubMesh" SubMesh Class SubMesh SubMesh 类用于创建子网格数据模板。 Hierarchy GeometryElement SubMesh Index Constructors constructor Properties _geometryElementOBj Acc...

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

2630. 文本-Overflow [ 44%]

...ext = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_Overflow { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(600, 300, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.S...

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