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

大约有 447 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0048 秒)

61. laya.d3.core.Gradient_API3.0 [ 70%]

...透明值。 Parameters lerpFactor: number 插值因子。 outColor: Color Default value startSearchIndex: number = 0 Default value reverseSearch: boolean = false Returns number 结果索引 。 evaluateColorRGB evaluateColorRGB(lerpFactor: number, out: Color, startSearchIndex?: number, reverseSearc...

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

62. laya.maths.Matrix4x4_API3.0 [ 70%]

...ix4x4 Implements IClone Index Constructors constructor Properties elements DEFAULT DEFAULTINVERT ZERO Methods clone cloneByArray cloneTo decomposeTransRotMatScale decomposeTransRotScale decomposeYawPitchRoll equalsOtherMatrix getForward getInvertFront getTranslationVector identity invert isIdentity ...

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

63. Laya.loader.load(xx) 当地址""的时候,会报错。 [ 69%]

...          break;                         default: {                             console.error('unknown format', ext);                             return;                         }  ...

来源: Laya_社区 发布时间: 20201130

64. laya.d3.math.Color_API3.0 [ 69%]

...efined in laya/d3/math/Color.ts:97 创建一个 Color 实例。 Parameters Default value r: number = 1 颜色的red分量。 Default value g: number = 1 颜色的green分量。 Default value b: number = 1 颜色的blue分量。 Default value a: number = 1 颜色的alpha分量。 Returns Color Proper...

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

65. laya.d3.math.Matrix4x4_API3.0 [ 69%]

...ix4x4 Implements IClone Index Constructors constructor Properties elements DEFAULT ZERO Methods clone cloneByArray cloneTo decomposeTransRotMatScale decomposeTransRotScale decomposeYawPitchRoll equalsOtherMatrix getElementByRowColumn getForward getInvertFront getTranslationVector identity invert isI...

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

66. laya.maths.Rectangle_API3.0 [ 69%]

... in laya/maths/Rectangle.ts:27 创建一个 Rectangle 对象。 Parameters Default value x: number = 0 矩形左上角的 X 轴坐标。 Default value y: number = 0 矩形左上角的 Y 轴坐标。 Default value width: number = 0 矩形的宽度。 Default value height: number = 0 矩形的高度...

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

67. laya.d3.renderobjs.nativeobj.NativeIndexBuffer3D_API3.0 [ 69%]

...texBuffer3D 实例。 Parameters indexType: IndexFormat indexCount: number Default value bufferUsage: BufferUsage = BufferUsage.Static VertexBuffer3D用途类型。 Default value canRead: boolean = false 是否可读。 Returns NativeIndexBuffer3D Properties _buffer _buffer: Float32Array | Uint16Arr...

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

68. ts项目 模块问题 [ 68%]

... class? export 显示未定义,require也用不了   //b文件 export default class player extends Laya.Sprite { constructor() { super(); this.pivot(this.width / 2, this.height / 2); this.graphics.drawRect(0, 0, this._size, this._size, this._color); } }   //a文件 import player from './player...

来源: Laya_社区 发布时间: 20180804

69. laya.maths.Quaternion_API3.0 [ 68%]

...ernion Implements IClone Index Constructors constructor Properties w x y z DEFAULT NAN Methods clone cloneTo equals forNativeElement fromArray getYawPitchRoll identity invert length lengthSquared normalize rotateX rotateY rotateZ scaling set setValue add createFromAxisAngle createFromMatrix4x4 creat...

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

70. laya.d3.graphics.VertexBuffer3D_API3.0 [ 68%]

...ber 字节长度。 bufferUsage: BufferUsage VertexBuffer3D用途类型。 Default value canRead: boolean = false 是否可读。 Returns VertexBuffer3D Properties _buffer _buffer: Float32Array | Uint16Array | Uint8Array | Uint32Array Inherited from Buffer._buffer Defined in laya/RenderEngine/Buffer...

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