大约有 1,036 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0046 秒)
Laya3.0_api(529) Laya2.0_api(242) laya_api(178) Laya3.0_文档(73) Laya_社区(11) Laya2.0_示例(1) Laya_示例(1) Laya2.0_文档(1)
...颜色,或者填充绘图的渐变对象。 DrawPolyCmd lineWidth : Number 可选)边框宽度。 DrawPolyCmd points : Array 多边形的点集合。 DrawPolyCmd x : Number 开始绘制的 X 轴位置。 DrawPolyCmd y : Number 开始绘制的 Y 轴位置。 DrawPolyCmdPublic Methods ...
来源: Laya2.0_api 发布时间: 20190513
...one/SlotData.ts:3 Methods getDisplayByName getDisplayByName(name: string): number Defined in laya/ani/bone/SlotData.ts:10 通过附件名称获取位置 Parameters name: string Returns number Globals "laya/ani/bone/SlotData" SlotData displayArr name getDisplayByName Legend Object literal Variable Fu...
来源: Laya3.0_api 发布时间: 20231115
..._getNodeByHierarchyPath _getNodeByHierarchyPath(rootSprite: Node, invPath: number[]): Node Defined in laya/d3/utils/Utils3D.ts:792 interanl Parameters rootSprite: Node parentNode invPath: number[] PathArray Returns Node Static _getParentNodeByHierarchyPath _getParentNodeByHierarchyPath(rootSprite: N...
来源: Laya3.0_api 发布时间: 20231115
...ts/AnimatorPlayState2D.ts:29 是为正向播放 _playAllTime _playAllTime: number Defined in laya/components/AnimatorPlayState2D.ts:15 播放总时间,不受speed为负数的影响 Accessors animatorState get animatorState(): AnimatorState2D Defined in laya/components/AnimatorPlayState2D.ts:54 动...
来源: Laya3.0_api 发布时间: 20231115
...Properties Show Inherited Public Properties PropertyDefined By density : Number密度值,值可以为零或者是正数,建议使用相似的密度,这样做可以改善堆叠稳定性,默认值为10ColliderBase destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enable...
来源: Laya2.0_api 发布时间: 20190513
...eAniSprite showDebugInfo Properties animationTotalTime animationTotalTime: number = 0 Defined in laya/map/TileTexSet.ts:31 动画播放的总时间 durationTimeArray durationTimeArray: any[] = null Defined in laya/map/TileTexSet.ts:29 当前动画每帧的时间间隔 gid gid: number = -1 Defined in...
来源: Laya3.0_api 发布时间: 20231115
...y GradientMode Index Properties Blend Fixed Properties Static Blend Blend: number = 0 Defined in laya/d3/core/GradientMode.ts:9 找到与请求的评估时间相邻的两个键,并线性插值在他们之间,以获得一种混合的颜色。 Static Fixed Fixed: number = 1 Defined in laya/d3/core/Gra...
来源: Laya3.0_api 发布时间: 20231115
...mPointN translate create mul mul16 Constructors constructor new Matrix(a?: number, b?: number, c?: number, d?: number, tx?: number, ty?: number, nums?: number): Matrix Defined in laya/maths/Matrix.ts:30 使用指定参数创建新的 Matrix 对象。 Parameters Default value a: number = 1 (可选...
来源: Laya3.0_api 发布时间: 20231115
...n laya/utils/SingletonList.ts:76 Returns void indexof indexof(element: T): number Defined in laya/utils/SingletonList.ts:41 Parameters element: T Returns number Globals "laya/utils/SingletonList" SingletonList constructor destroy indexof Legend Object literal Variable Function Type alias Class Class...
来源: Laya3.0_api 发布时间: 20231115
...c Methods MethodDefined By HeightMap(width:int, height:int, minHeight:Number, maxHeight:Number) 创建一个 HeightMap 实例。 HeightMap createFromImage(texture:Texture2D, minHeight:Number, maxHeight:Number):HeightMap[static] 从图片生成高度图。 HeightMap creatFromMesh(mesh:Mesh...
来源: laya_api 发布时间: 20170929