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

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

271. 2.x引擎项目升级说明 · LayaAir3.4 · 引擎文档 · LAYABOX [ 42%]

...上@property()。 @property( { type : String } ) public text: string = ""; constructor() { super(); } } 5、Runtime的使用差异 3.0的场景与2.0完全不是一个概念, 3.0的runtime只能在场景上的2D根节点Scene2D或预制体的根节点上设置,其它的子级节点,不再支...

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

272. laya.display.FrameAnimation_API3.0 [ 41%]

...点动画。 Hierarchy AnimationBase FrameAnimation EffectAnimation Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior loop mouseThrough name tag wrapMode WRAP_PINGPONG WRAP_POSITIVE WRAP_REVERSE drawtocanvCtx Accessors _isHeightSet _isWidthS...

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

273. laya.ui.LayoutBox_API3.0 [ 41%]

...outBox 是一个布局容器类。 Hierarchy Box LayoutBox HBox VBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchor...

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

274. laya.spine.SpineSkeleton_API3.0 [ 41%]

...der,SpineSkeleton三部分组成。 Hierarchy Sprite SpineSkeleton Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag PAUSED PLAYING STOPPED drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alp...

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

275. 自定义shader-地形shader [ 41%]

...mpile3D.registerMaterialDefine("CUSTOM_LIGHTMAP"); }class Shader_Terrain { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); this.initShader(); var scene: Laya.Scene = Laya.stage.addChild(Laya.Scen...

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

276. laya.resource.NativeContext_API3.0 [ 41%]

...veContext" NativeContext Class NativeContext Hierarchy NativeContext Index Constructors constructor Properties _buffer _byteArray _fdata _idata sprite ARRAY_BUFFER_REF_COPY ARRAY_BUFFER_REF_REFERENCE ARRAY_BUFFER_TYPE_CMD ARRAY_BUFFER_TYPE_DATA ENUM_TEXTALIGN_CENTER ENUM_TEXTALIGN_DEFAULT ENUM_TEXTA...

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

277. laya.ani.bone.Skeleton_API3.0 [ 41%]

...imationPlayer,Skeleton三部分组成。 Hierarchy Sprite Skeleton Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY aniM...

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

278. 使用3D精灵 · LayaAir3.4 · 引擎文档 · LAYABOX [ 41%]

...a; protected scene: Laya.Scene3D = new Laya.Scene3D; speed: number = 0.01; constructor() { super(); } /** * @private */ protected _updateRotation(): void { if (Math.abs(this.yawPitchRoll.y) < 1.50) { Laya.Quaternion.createFromYawPitchRoll(this.yawPitchRoll.x, this.yawPitchRoll.y, this.yawPitchRol...

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

279. laya.ui.WXOpenDataViewer_API3.0 [ 41%]

...方式显示开放域数据 Hierarchy UIComponent WXOpenDataViewer Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX ce...

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

280. 实体组件系统 · LayaAir3.4 · 引擎文档 · LAYABOX [ 41%]

...收机制 */ @regClass() export default class Bullet extends Laya.Script { constructor() { super(); } onEnable(): void { //设置初始速度 let rig: Laya.RigidBody = this.owner.getComponent(Laya.RigidBody); rig.setVelocity({ x: 0, y: -10 }); } onTriggerEnter(other: any, self: any, contact: any): v...

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