大约有 1,869 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0054 秒)
Laya_社区(616) Laya3.0_api(529) Laya2.0_api(242) laya_api(178) Laya2.0_文档(88) Laya_示例(78) Laya3.0_文档(70) Laya2.0_示例(68)
...ix Defined in laya/display/cmd/TransformCmd.ts:14 矩阵。 pivotX pivotX: number Defined in laya/display/cmd/TransformCmd.ts:18 (可选)水平方向轴心点坐标。 pivotY pivotY: number Defined in laya/display/cmd/TransformCmd.ts:22 (可选)垂直方向轴心点坐标。 Static ID ID: st...
来源: Laya3.0_api 发布时间: 20231115
...Properties colors pos texture ID Methods recover Properties colors colors: number[] Defined in laya/display/cmd/DrawTexturesCmd.ts:21 附加顶点色 pos pos: ArrayLike<number> Defined in laya/display/cmd/DrawTexturesCmd.ts:18 绘制次数和坐标。 texture texture: Texture Defined in laya/d...
来源: Laya3.0_api 发布时间: 20231115
...SubMesh.ts:16 Returns StaticBatchSubInfo Properties indexCount indexCount: number Defined in laya/d3/component/staticmesh/StaticBatchSubMesh.ts:12 indexStart indexStart: number Defined in laya/d3/component/staticmesh/StaticBatchSubMesh.ts:11 meshBounds meshBounds: Bounds Defined in laya/d3/component...
来源: Laya3.0_api 发布时间: 20231115
... interface AnimatorPlayScriptInfo { animator: Laya.Animator2D; layerindex: number; playState: Laya.AnimatorState2D; } /** * 继承自AnimatorStateScript(动画状态脚本) */ @regClass() export class AnimationScript2D extends Laya.AnimatorState2DScript { /**动画的状态信息 */ playStateInfo: A...
来源: Laya_社区 发布时间: 20251010
...持非主流的new Tween()用法。 缓动属性的类型支持不仅限于number,还新增了对Vector2、Vector3、Vector4、Color、Point以及字符串形式颜色值的支持。新的Tween对象设计得非常轻量,因此默认不重用,以避免因对象重用而引发的问题。此外...
来源: Laya3.0_文档 发布时间: 20251010
...n laya/utils/SingletonList.ts:76 Returns void indexof indexof(element: T): number Inherited from SingletonList.indexof Defined in laya/utils/SingletonList.ts:41 Parameters element: T Returns number Globals "laya/d3/RenderObjs/RenderObj/RenderGeometryElementOBJ" FastSinglelist constructor destroy ind...
来源: Laya3.0_api 发布时间: 20231115
... Laya.WebGL; export class HelloLayabox { private txt: Text; private prevX: number = 0; private prevY: number = 0; constructor(){ // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.AL...
来源: Laya2.0_文档 发布时间: 20210715
...Calculate(a:Laya.Vector3, b:Laya.Vector3, c:Laya.Vector3) { let d_a:number = Laya.Vector3. distance(b, c); let d_b:number = Laya.Vector3. distance(a, c); let d_c:number = Laya.Vector3.distance(a, b); //angleA表示A点的夹角 let angleA = Math.acos((d_b...
来源: Laya_社区 发布时间: 20191223
... "#FF7F50", 210, 290); } private createText(align: string, underlineWidth: number, underlineColor: string, x: number, y: number): Text { var txt: Text = new Text(); txt.text = "Layabox\n是HTML5引擎技术提供商\n与优秀的游戏发行商\n 面向AS/JS/TS开发者提供HTML5开发技术方案"...
来源: Laya_示例 发布时间: 20260106
...rowHeight); } }class DOM_Form{ private form:Laya.Sprite; private rowHeight:number = 30; private rowSpacing:number = 10; constructor() { Laya.init(600,400); Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; Laya....
来源: Laya_示例 发布时间: 20260106