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

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

71. UI-RefreshList [ 81%]

...加场景中需要使用的资源 this.baseBox = new Box(); this.baseBox.width = 443; this.baseBox.height = 622; this.baseBox.pos(30, 28); this.baseBox.bgColor = "#ffffff"; // 加载进度条 this.refreshLoading = new Box(); this.refreshLoading.pos(133, 0); this.refreshLoading.bottom = 10; this.refr...

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

72. 设置cacheAs = bitmap时, drawCanvas 的一个bug [ 81%]

...awCanvas 的一个bug drawCanvas(canvas: HTMLCanvas, x: number, y: number, width: number, height: number): void { if (!canvas) return; var src: Context = canvas.context as Context; var submit: ISubmit; if (src._targets) { //生成渲染结果到src._targets上 /* this._submits[this._submits._length+...

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

73. laya.ani.bone.Skeleton_API3.0 [ 81%]

...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY aniMode animationName blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globa...

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

74. laya.display.Stage_API3.0 [ 80%]

... _skinBaseUrl _url autoSize canvasDegree canvasRotation designHeight designWidth focus hitTestPrior mouseThrough name renderingEnabled screenAdaptationEnabled tag useRetinalCanvas ALIGN_BOTTOM ALIGN_CENTER ALIGN_LEFT ALIGN_MIDDLE ALIGN_RIGHT ALIGN_TOP FRAME_FAST FRAME_MOUSE FRAME_SLEEP FRAME_SLOW SC...

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

75. laya.physics.BoxCollider [ 80%]

...0ColliderBase rigidBody : RigidBody[只读]刚体引用ColliderBase  width : Number矩形宽度BoxCollider  x : Number相对节点的x轴偏移BoxCollider  y : Number相对节点的y轴偏移BoxColliderPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefine...

来源: Laya2.0_api 发布时间: 20190513

76. laya.ui.View_API3.0 [ 80%]

...Through name tag drawtocanvCtx unDestroyedScenes Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation glob...

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

77. laya.device.media.Video_API3.0 [ 80%]

...s currentSrc currentTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize duration ended error filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D loop mask mouseEnabled mouseX mouseY muted numChildren parent paused pivotX ...

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

78. laya.ui.Dialog_API3.0 [ 80%]

...bg:Image = new Image("resource/ui/bg.png"); bg.sizeGrid = "40,10,5,10"; bg.width = 150; bg.height = 250; addChild(bg); var image:Image = new Image("resource/ui/image.png"); addChild(image); var button:Button = new Button("resource/ui/btn_close.png"); button.name = Dialog.CLOSE;//设置button的name...

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

79. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 80%]

...AStart网格 */ private createGridFromAStarMap(texture): any { var textureWidth = texture.width; var textureHeight = texture.height; var pixelsInfo = texture.getPixels(); var aStarArr = []; var index = 0; for (var w = 0; w < textureWidth; w++) { var colaStarArr = aStarArr[w] = []; for (var h = 0;...

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

80. laya.ui.Tree_API3.0 [ 80%]

...对象的属性 y 的值,用于控制 tree 对象的显示位置。 tree.width = 200;//设置 tree 的宽度。 tree.height = 100;//设置 tree 的高度。 Laya.stage.addChild(tree);//将 tree 添加到显示列表。 } } } import laya.ui.Box; import laya.ui.Clip; import laya.ui.Label; class Item...

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