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

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

471. laya.display.cmd.ClipRectCmd_API3.0 [ 82%]

...x Properties height width x y ID Methods recover Properties height height: number Defined in laya/display/cmd/ClipRectCmd.ts:26 高度。 width width: number Defined in laya/display/cmd/ClipRectCmd.ts:22 宽度。 x x: number Defined in laya/display/cmd/ClipRectCmd.ts:14 X 轴偏移量。 y y: numbe...

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

472. laya.d3.core.Camera [ 82%]

...需使用getRenderTexture()可开启此属性。 Camera  aspectRatio : Number 获取横纵比。 Camera  boundFrustum : BoundFrustum[read-only] 获取摄像机视锥。 Camera clearColor : Vector4摄像机的清除颜色,默认颜色为CornflowerBlue。BaseCamera clearFlag : int清楚标记。...

来源: Laya2.0_api 发布时间: 20190513

473. laya.display.css.SpriteStyle_API3.0 [ 82%]

.../display/css/SpriteStyle.ts:38 Returns SpriteStyle Properties alpha alpha: number Defined in laya/display/css/SpriteStyle.ts:28 透明度 blendMode blendMode: string Defined in laya/display/css/SpriteStyle.ts:38 混合模式 dragging dragging: Dragging Defined in laya/display/css/SpriteStyle.ts:36 ...

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

474. 资源加载 · LayaAir3.0文档 · LAYABOX [ 82%]

...s/monkey2.png"); } /**加载并显示图片 */ loadTexture(url: string, x: number = 0, y: number = 0): void { Laya.loader.load(url).then((res: Laya.Texture) => { let img = new Laya.Image(); img.texture = res; // img.skin = url; //ui组件直接设置skin也可以 img.pos(x, y); this.owner.addChil...

来源: Laya3.0_文档 发布时间: 20241014

475. laya.spine.SpineSkeletonRenderer_API3.0 [ 82%]

...Methods draw draw(skeleton: Skeleton, graphics: Graphics, slotRangeStart?: number, slotRangeEnd?: number): void Defined in laya/spine/SpineSkeletonRenderer.ts:41 Parameters skeleton: Skeleton graphics: Graphics Default value slotRangeStart: number = -1 Default value slotRangeEnd: number = -1 Returns...

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

476. laya.d3.graphics.IndexBuffer3D_API3.0 [ 82%]

...tructors constructor new IndexBuffer3D(indexType: IndexFormat, indexCount: number, bufferUsage?: BufferUsage, canRead?: boolean): IndexBuffer3D Overrides IndexBuffer.constructor Defined in laya/d3/graphics/IndexBuffer3D.ts:38 创建一个 IndexBuffer3D,不建议开发者使用并用IndexBuffer3D.cre...

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

477. Laya3D_API3.0 [ 82%]

...Init(): void Defined in Laya3D.ts:249 Returns void Static init init(width: number, height: number, config?: any, complete?: Handler): void Defined in Laya3D.ts:243 初始化Laya3D相关设置。 deprecated use Laya.init instead. Parameters width: number height: number Default value config: any = nul...

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

478. laya.d3.core.trail.TrailFilter_API3.0 [ 82%]

...ers owner: TrailRenderer Returns TrailFilter Properties _curtime _curtime: number = 0 Defined in laya/d3/core/trail/TrailFilter.ts:65 _lastPosition _lastPosition: Vector3 = new Vector3() Defined in laya/d3/core/trail/TrailFilter.ts:63 _ownerRender _ownerRender: TrailRenderer Defined in laya/d3/core/...

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

479. laya.display.cmd.ScaleCmd_API3.0 [ 82%]

...s pivotX pivotY scaleX scaleY ID Methods recover Properties pivotX pivotX: number Defined in laya/display/cmd/ScaleCmd.ts:20 (可选)水平方向轴心点坐标。 pivotY pivotY: number Defined in laya/display/cmd/ScaleCmd.ts:24 (可选)垂直方向轴心点坐标。 scaleX scaleX: number De...

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

480. laya.d3.core.render.BloomEffect_API3.0 [ 82%]

...一个 BloomEffect 实例。 Returns BloomEffect Properties clamp clamp: number = 65472 Defined in laya/d3/core/render/BloomEffect.ts:81 限制泛光像素的数量,该值在伽马空间。 color color: Color = new Color(1.0, 1.0, 1.0, 1.0) Defined in laya/d3/core/render/BloomEffect.ts:83 泛光颜...

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