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

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

81. 2D相机 · LayaAir3.4 · 引擎文档 · LAYABOX [ 35%]

...置2D区域节点的位置和大小 this.area2D.pos(100, 100); this.area2D.size(200, 200); this.owner.addChild(this.area2D); //创建2D相机 this.camera2D = this.area2D.addChild(new Laya.Camera2D); //开发者可以根据需求自行设置相机的各项属性,例如: //将相机设为主相机...

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

82. laya.html.dom.HTMLDivElement_API3.0 [ 34%]

...是粗体 letter-spacing:10px; 字间距 font-family:宋体; 字体 font-size:20px; 字体大小 font-weight:bold:none; 字体是否是粗体,功能同bold color:#ff0000; 字体颜色 stroke:2px; 字体描边宽度 strokeColor:#ff0000; 字体描边颜色 padding:10px 10px 20px 20px; 边缘的距...

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

83. laya.map.TileAniSprite [ 33%]

...值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性...

来源: laya_api 发布时间: 20170929

84. 静态碰撞器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 33%]

...状的物体。 (图1-2) 我们可以通过偏移localOffset和尺寸size,来设置盒子碰撞形状的位置与尺寸,如图1-3所示。 (图1-3) 1.1.2 球体碰撞形状 球体碰撞形状是最简单的碰撞形状,它使用一个球体来代表物体的碰撞边界,如图1-4所...

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

85. laya.physics.PhysicsDebugDraw [ 33%]

...值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性...

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

86. laya.ui.WXOpenDataViewer_API3.0 [ 33%]

...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight dis...

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

87. laya.ui.UIComponent_API3.0 [ 33%]

...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroy...

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

88. laya.map.TileAniSprite [ 33%]

...值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性...

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

89. laya.ui.ScaleBox_API3.0 [ 32%]

...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource...

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

90. laya.ui.Box_API3.0 [ 32%]

...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource...

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