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

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

1261. laya.display.AnimationBase_API3.0 [ 39%]

...类实现。 Hierarchy Sprite AnimationBase FrameAnimation Animation 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 _isWidth...

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

1262. 物理引擎-牛顿摆 [ 39%]

...wser.window.LayaRender; private mouseConstraint: any; private engine: any; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(this.stageWidth, this.stageHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; ...

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

1263. laya.device.media.Video_API3.0 [ 39%]

...mozilla.org/en-US/docs/Web/HTML/Element/video Hierarchy Sprite Video Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name videoElement CAMERA MP4 OGG SUPPORT_MAYBY SUPPORT_NO SUPPORT_PROBABLY WEBM drawtocanvCtx Accessors activ...

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

1264. 区块地图-滚动地图 [ 39%]

...e mLastMouseY: number = 0; private mX: number = 0; private mY: number = 0; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.scaleMode = Stage.SCALE_FULL; Stat.show(); this.createMap(); Laya.stage.on(Laya.Event.MOUSE_DOW...

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

1265. laya.display.FrameAnimation_API3.0 [ 38%]

...点动画。 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

1266. 鼠标交互-双指旋转(多点触控) [ 38%]

...ss Interaction_Rotate { private sp: Sprite; private preRadian: number = 0; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "sh...

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

1267. 两个物体 ,如果在update里修改其中一个物体的rotationEuler,会触发另一个物体的onTriggerEnter回调 [ 38%]

...onal/bull.lh" private sEnemyRes = "remote/model/res/Conventional/man_1.lh" constructor() { super(); let self = this; Util3d.loadRes( [ this.sMapRes, this.sBullRes, this.sEnemyRes ], function (bIsFinish) { if (bIsFinish) { self.onResFinish(); } } ) } onResFinish() { let pNewScene = <Laya.Scene3D&g...

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

1268. laya.spine.SpineSkeleton_API3.0 [ 38%]

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

1269. Laya.Pool用法 [ 38%]

...ublic static PROTO_STRING_VALUE: string = "proto_ParamsProto";         constructor() {             // Pool.recover(ProtoPool.PROTO_HEAD, new com.bigao.h5.proto.Head());             // Pool.recover(ProtoPool.PROTO_BINARY_REQUEST, new com.bigao.h5.proto.BinaryRequest());          ...

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

1270. 照相机-正交相机 [ 38%]

...10, 500, 0); private _translate: Laya.Vector3 = new Laya.Vector3(0, 0, 0); constructor() { Laya3D.init(1024, 768, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_HEIGHT; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var dialog: Laya.Image = Laya.stage.addChild(new Laya.Image...

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