大约有 770 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0058 秒)
...archy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anch...
来源: Laya2.0_api 发布时间: 20190513
...ranslate multiply translation Constructors constructor new Matrix4x4(m11?: number, m12?: number, m13?: number, m14?: number, m21?: number, m22?: number, m23?: number, m24?: number, m31?: number, m32?: number, m33?: number, m34?: number, m41?: number, m42?: number, m43?: number, m44?: number, element...
来源: Laya3.0_api 发布时间: 20231102
...ge.addChild(tab);//将 tab 添到显示列表。 } private onSelect(index: number): void { console.log("当前选择的表情页索引: index= ", index); } } Hierarchy UIGroup Tab Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThroug...
来源: Laya3.0_api 发布时间: 20231115
...archy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anch...
来源: Laya2.0_api 发布时间: 20190513
...Path Defined in laya/components/Component.ts:35 sortingFudge sortingFudge: number Defined in laya/d3/core/render/BaseRender.ts:158 排序矫正值。 Accessors awaked get awaked(): boolean Inherited from Component.awaked Defined in laya/components/Component.ts:86 Returns boolean bounds get bounds():...
来源: Laya3.0_api 发布时间: 20231115
...激活。 Returns boolean 在场景中是否激活。 alpha get alpha(): number set alpha(value: number): void Inherited from AnimationBase.alpha Defined in laya/display/Sprite.ts:925 透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。 Returns number Inherite...
来源: Laya3.0_api 发布时间: 20231102
...h数据 Returns SkinMeshForGraphic Properties canvasPadding canvasPadding: number = 1 Inherited from MeshData.canvasPadding Defined in laya/ani/bone/canvasmesh/MeshData.ts:43 扩展像素,用来去除黑边 indexes indexes: Uint16Array = new Uint16Array([0, 1, 3, 3, 1, 2]) Inherited from MeshData.in...
来源: Laya3.0_api 发布时间: 20231115
...ed Public Properties PropertyDefined By cmds : ArrayGraphics height : Number 表示显示对象的高度,以像素为单位。 AutoBitmap sizeGrid : Array 当前实例的有效缩放网格数据。 如果设置为null,则在应用任何缩放转换时,将正常缩放整个显示对象。...
来源: laya_api 发布时间: 20170929
...t transformV3ToV3 transformV3ToV4 Constructors constructor new Vector3(x?: number, y?: number, z?: number): Vector3 Defined in laya/maths/Vector3.ts:329 创建一个 Vector3 实例。 Parameters Default value x: number = 0 X轴坐标。 Default value y: number = 0 Y轴坐标。 Default value z: numb...
来源: Laya3.0_api 发布时间: 20231115
...ScrollBar 对象添加到显示列表。 } private function onChange(value:Number):void { trace("滚动条的位置: value=" + value); } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 var hScrollBar; var res = ["resource/ui/h...
来源: Laya3.0_api 发布时间: 20231115