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

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

1. laya.d3.math.BoundSphere_API3.0 [ 100%]

...y BoundSphere Implements IClone Index Constructors constructor Properties _center _radius Accessors center radius Methods clone cloneTo intersectsRayDistance intersectsRayPoint toDefault createFromSubPoints createfromPoints Constructors constructor new BoundSphere(center?: Vector3, radius?: number):...

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

2. playSound和playMusic结束时候有异常抛出 [ 69%]

...howall";         //设置剧中对齐         Laya.stage.alignH = "center";         //设置横竖屏         Laya.stage.screenMode = "vertical";         //显示FPS         Laya.Stat.show(0, 50);         Laya.loader.load("res/music/Music_start.mp3",              ...

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

3. 通过laya设计模式制作的,要怎么给按钮绑定事件呢? [ 65%]

... = "showall"; Laya.stage.alignV = 'middle'; Laya.stage.alignH = 'center'; Laya.stage.screenMode = "vertical"; Laya.stage.bgColor = "#101825"; this.init() } init() { // 预加载图集 Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, this.onLo...

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

4. laya.resource.NativeContext_API3.0 [ 55%]

..._REF_REFERENCE ARRAY_BUFFER_TYPE_CMD ARRAY_BUFFER_TYPE_DATA ENUM_TEXTALIGN_CENTER ENUM_TEXTALIGN_DEFAULT ENUM_TEXTALIGN_RIGHT const2DRenderCMD Accessors _curMat _targets asBitmap fillStyle globalAlpha globalCompositeOperation isMain Methods _drawCircle _drawLine _drawLines _drawPath _drawPie _drawPo...

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

5. laya.ui.AutoBitmap_API3.0 [ 52%]

..."#ff0000"。 textAlign: string 文本对齐方式,可选值:"left","center","right"。 lineWidth: number 镶边线条宽度。 borderColor: string 定义镶边文本颜色。 Returns FillTextCmd fillText fillText(text: string | WordText, x: number, y: number, font: string, color: string, tex...

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

6. laya.ui.VBox [ 50%]

...。优点:没有额外内存开销,无需renderTarget支持。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 UIComponent centerY : Number 在父容器中,此对象的垂直方向中轴线与...

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

7. HTML文本 · LayaAir3.0文档 · LAYABOX [ 49%]

... * vertical-align:top|bottom|middle; 垂直对齐方式 * align:left|right|center; 水平对齐方式 * line-height:20px; 行高 * background-color:#ff0000; 背景颜色 * border-color:#ff0000; 边框颜色 * width:100px; 对象宽度 * height:100px; 对象高度 * * 示例用法: * var div:HTMLDi...

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

8. laya.display.Stage_API3.0 [ 43%]

...ingEnabled screenAdaptationEnabled tag useRetinalCanvas ALIGN_BOTTOM ALIGN_CENTER ALIGN_LEFT ALIGN_MIDDLE ALIGN_RIGHT ALIGN_TOP FRAME_FAST FRAME_MOUSE FRAME_SLEEP FRAME_SLOW SCALE_EXACTFIT SCALE_FIXED_AUTO SCALE_FIXED_AUTO_LAYAME SCALE_FIXED_AUTO_LAYAVERSE SCALE_FIXED_HEIGHT SCALE_FIXED_WIDTH SCALE_...

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

9. laya.ui.VBox_API3.0 [ 43%]

...e _skinBaseUrl _url autoSize hitTestPrior isSortItem mouseThrough name tag CENTER LEFT NONE RIGHT drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed ...

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

10. laya.d3.core.scene.BaseScene [ 41%]

...在此对象内。 Sprite  initOctree(width:int, height:int, depth:int, center:Vector3, level:int = 6):void 初始化八叉树。 BaseScene isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher  lateRender(state:RenderState):void 渲染后处理,可...

来源: laya_api 发布时间: 20170422