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

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

1. laya.display.Graphics_API3.0 [ 100%]

...色,或者填充绘图的渐变对象。 Default value lineColor: any = null (可选)边框颜色,或者填充绘图的渐变对象。 Default value lineWidth: number = 1 (可选)边框宽度。 Returns DrawCircleCmd drawCurves drawCurves(x: number, y: number, points: any[], lineColor: a...

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

2. laya.ani.GraphicsAni_API3.0 [ 98%]

...色,或者填充绘图的渐变对象。 Default value lineColor: any = null (可选)边框颜色,或者填充绘图的渐变对象。 Default value lineWidth: number = 1 (可选)边框宽度。 Returns DrawCircleCmd drawCurves drawCurves(x: number, y: number, points: any[], lineColor: a...

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

3. laya.ui.AutoBitmap_API3.0 [ 95%]

...: string = "#ffffff" Defined in laya/ui/AutoBitmap.ts:31 uv uv: number[] = null Defined in laya/ui/AutoBitmap.ts:29 Accessors cmds get cmds(): any[] set cmds(value: any[]): void Inherited from Graphics.cmds Defined in laya/display/Graphics.ts:151 命令流。存储了所有绘制命令。 Returns an...

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

4. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 68%]

...h 网格。 heightMap: HeightMap 高度图。 Default value name: string = null 名字。 Returns MeshTerrainSprite3D Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:58 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Nod...

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

5. laya.d3.core.MeshSprite3D_API3.0 [ 66%]

... 创建一个 MeshSprite3D 实例。 Parameters Default value mesh: Mesh = null 网格,同时会加载网格所用默认材质。 Default value name: string = null 名字。 Returns MeshSprite3D Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:...

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

6. laya.d3.core.light.DirectionLight_API3.0 [ 66%]

...的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in laya/display/Node.ts:609 清理定时器。功能同Laya.ti...

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

7. laya.display.BitmapFont_API3.0 [ 64%]

... Parameters Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/eve...

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

8. laya.ui.List_API3.0 [ 62%]

...tem extends Box { public function Item() { graphics.drawRect(0, 0, 100, 20,null, "#ff0000"); var label:Label = new Label(); label.text = "100000"; label.name = "label";//设置 label 的name属性值。 label.size(100, 20); addChild(label); } } example (function (_super){ function Item(){ Item.__sup...

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

9. laya.html.dom.HTMLDivElement_API3.0 [ 59%]

...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from AnimationBase.viewport Defined in laya/display/Sprite.ts:1832 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提...

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

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

...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from AnimationBase.viewport Defined in laya/display/Sprite.ts:1832 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提...

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