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

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

631. UI-Slider [ 64%]

... = Laya.VSlider; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Slider { constructor(){ // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_...

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

632. laya.d3.physics.shape.BoxColliderShape_API3.0 [ 64%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/shape/BoxColliderShape" BoxColliderShape Class BoxColliderShape BoxColliderShape 类用于创建盒子形状碰撞器。 Hierarchy ColliderShape BoxColliderShape Implements IClone Index ...

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

633. laya.components.AnimatorControllerLayer2D_API3.0 [ 64%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/components/AnimatorControllerLayer2D" AnimatorControllerLayer2D Class AnimatorControllerLayer2D Hierarchy AnimatorControllerLayer2D Implements IClone Index Constructors constructor Properties blend...

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

634. laya.maths.Color_API3.0 [ 63%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Color" Color Class Color Color 类用于创建颜色实例。 Hierarchy Color Implements IClone Index Constructors constructor Properties a b g r BLACK BLUE CLEAR CYAN GRAY GREEN MAGENTA RED ...

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

635. 骨骼动画-换装 [ 63%]

...rowser = Laya.Browser; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class ChangeSkin { private mAniPath:string; private mStartX:number = 400; private mStartY:number = 500; private mFactory:Templet; private mActionIndex:number = 0; private mCurrIndex:number = 0; private mArmature:Skelet...

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

636. 鼠标脚本(JavaScript-3D基础(JS)-LayaAir3D之鼠标交互) [ 63%]

...,并且给4个猴都添加了脚本。 > **脚本类**: ```typescript export default class MouseScript extends Laya.Script3D{ constructor(){super();} //物体必须拥有碰撞组件(Collider) //当被鼠标点击 onMouseDown(e){ //console.log("点击到了我box",owner.name); //从父容器...

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

637. UI-Label [ 63%]

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

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

638. laya.components.Component_API3.0 [ 63%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/components/Component" Component Class Component Component 类用于创建组件的基类。 Hierarchy Component Widget Volume MeshFilter ConstraintComponent PhysicsComponent BaseRender Light Animat...

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

639. Runtime照着视频做运行不了,求解 [ 63%]

Runtime照着视频做运行不了,求解 export default class TextInputExt extends Laya.TextInput{ constructor() { super(); } } 脚拖到runtime那里,结果运行提示找不到脚本 附件 : --> 2019-01-21 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

640. 2.0版本 CameramoveScript添加就报错 [ 63%]

... 2020-09-14 17:43 已经引用了。引用之后需要在class前面加入export default 132*****260 • 2020-09-11 18:57 我也是这样的问题

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