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

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

1. laya.d3.renderobjs.nativeobj.NativeTransform3D_API3.0 [ 100%]

...ansform3D Index Constructors constructor Properties _nativeObj MemoryBlock_size tmpVec3 Accessors localMatrix localPosition localPositionX localPositionY localPositionZ localRotation localRotationEuler localRotationEulerX localRotationEulerY localRotationEulerZ localRotationW localRotationX localRot...

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

2. laya.ui.Image_API3.0 [ 94%]

... bg 对象的属性 y 的值,用于控制 bg 对象的显示位置。 bg.sizeGrid = "40,10,5,10";//设置 bg 对象的网格信息。 bg.width = 150;//设置 bg 对象的宽度。 bg.height = 250;//设置 bg 对象的高度。 Laya.stage.addChild(bg);//将此 bg 对象添加到显示列表。 var ...

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

3. laya.display.Sprite_API3.0 [ 94%]

...过getBounds函数获取;也可手动设置宽高;还可以设置autoSize=true,然后再获取宽高。Sprite的宽高一般用于进行碰撞检测和排版,并不影响显示图像大小,如果需要更改显示图像大小,请使用 scaleX , scaleY , scale。 Sprite 默认不接...

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

4. laya.html.dom.HTMLDivElement_API3.0 [ 90%]

...是粗体 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

5. laya.ui.ColorPicker_API3.0 [ 89%]

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

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

6. laya.ui.List_API3.0 [ 88%]

... = "100000"; label.name = "label";//设置 label 的name属性值。 label.size(100, 20); addChild(label); } } example (function (_super){ function Item(){ Item.__super.call(this);//初始化父类 this.graphics.drawRect(0, 0, 100, 20, "#ff0000"); var label = new laya.ui.Label();//创建一个 Label...

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

7. laya.ui.ProgressBar_API3.0 [ 87%]

...。 progressBar.height = 50;//设置 progressBar 的高度。 progressBar.sizeGrid = "5,10,5,10";//设置 progressBar 的网格信息。 progressBar.changeHandler = new Handler(this, onChange);//设置 progressBar 的value值改变时执行的处理器。 Laya.stage.addChild(progressBar);//将 progr...

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

8. laya.net.LoaderManager_API3.0 [ 86%]

...数组:["a.png","b.png"];复杂数组[{url:"a.png",type:Loader.IMAGE,size:100,priority:1},{url:"b.json",type:Loader.JSON,size:50,priority:1}]。 Default value complete: Handler | null = null 加载结束回调。根据url类型不同分为2种情况:1. url为String类型,也就是单个资...

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

9. laya.ui.Panel_API3.0 [ 82%]

...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 content customRenderEnable da...

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

10. laya.html.dom.HTMLIframeElement_API3.0 [ 82%]

...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha blendMode cacheAs components contextHeight contextWidth customRenderEnable destroyed displayHeight displayWidth displayedInStage drawC...

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