大约有 334 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0029 秒)
Laya3.0_api(116) Laya2.0_api(82) laya_api(75) Laya3.0_文档(48) Laya_社区(10) Laya2.0_示例(1) Laya_示例(1) Laya2.0_文档(1)
...Viewport 类用于创建视口。 Public Properties PropertyDefined By height : Number高度Viewport maxDepth : Number最大深度Viewport minDepth : Number最小深度Viewport width : Number宽度Viewport x : NumberX轴坐标Viewport y : NumberY轴坐标ViewportPublic Methods M...
来源: Laya2.0_api 发布时间: 20190513
... init(stageConfig?: IStageConfig): Promise<void> init(width: number, height: number, ...plugins: any[]): Promise<void> Defined in Laya.ts:73 初始化引擎。使用引擎需要先初始化引擎,否则可能会报错。 Parameters Optional stageConfig: IStageConfig Returns Promise<...
来源: Laya3.0_api 发布时间: 20231115
...lor : * 填充颜色,或者填充绘图的渐变对象。 DrawRectCmd height : Number 矩形高度。 DrawRectCmd lineColor : * (可选)边框颜色,或者填充绘图的渐变对象。 DrawRectCmd lineWidth : Number (可选)边框宽度。 DrawRectCmd width : Number 矩形...
来源: Laya2.0_api 发布时间: 20190513
...illTextureCmd Object 填充贴图 Public Properties PropertyDefined By height : Number (可选)高度。 FillTextureCmd offset : Point (可选)贴图纹理偏移 FillTextureCmd texture : Texture 纹理。 FillTextureCmd type : String (可选)填充类型 repeat|repeat-x|repe...
来源: Laya2.0_api 发布时间: 20190513
...源。 BaseTexture format : int[read-only] 纹理格式 BaseTexture height : int[read-only] 获取高度。 BaseTexture magFifter : int 放大过滤器 BaseTexture minFifter : int 缩小过滤器 BaseTexture mipmap : Boolean 是否使用mipLevel BaseTexture repeat : Boolean 是否...
来源: laya_api 发布时间: 20170929
...RENDERORDER_LEFTUP RENDERORDER_RIGHTDOWN RENDERORDER_RIGHTUP Accessors gridHeight gridWidth height numColumnsGrid numColumnsTile numRowsGrid numRowsTile orientation renderOrder scale tileHeight tileWidth width x y Methods changeViewPort changeViewPortBySize createMap destroy getLayerByIndex getLayer...
来源: Laya3.0_api 发布时间: 20231115
...滤镜。 DrawTextureCmd colorFlt : ColorFilter = nullDrawTextureCmd height : Number (可选)高度。 DrawTextureCmd matrix : Matrix (可选)矩阵信息。 DrawTextureCmd texture : Texture 纹理。 DrawTextureCmd width : Number (可选)宽度。 DrawTextureCmd x : Nu...
来源: Laya2.0_api 发布时间: 20190513
...以及宽度和高度定义的区域。 Rectangle 类的 x、y、width 和 height 属性相互独立;更改一个属性的值不会影响其他属性。 Public Properties PropertyDefined By bottom : Number[read-only] 此矩形底端的 Y 轴坐标。y 和 height 属性的和。Rectangle hei...
来源: laya_api 发布时间: 20170929
...值范围0-1,值越大,摩擦越大,默认值为0.2ColliderBase height : Number矩形高度BoxCollider id : int[read-only] 获取唯一标识ID。 Component isSensor : Boolean是否是传感器,传感器能够触发碰撞事件,但不会产生碰撞反应ColliderBase isSingleton : Bo...
来源: Laya2.0_api 发布时间: 20190513
...以及宽度和高度定义的区域。 Rectangle 类的 x、y、width 和 height 属性相互独立;更改一个属性的值不会影响其他属性。 Public Properties PropertyDefined By bottom : Number[read-only] 此矩形底端的 Y 轴坐标。y 和 height 属性的和。Rectangle hei...
来源: Laya2.0_api 发布时间: 20190513