大约有 919 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0048 秒)
Laya3.0_api(529) Laya_社区(122) Laya2.0_api(101) laya_api(89) Laya3.0_文档(36) Laya2.0_文档(26) Laya2.0_示例(10) Laya_示例(6)
...audio(owner: any, url: string, originalUrl: string, onProgress: (progress: number) => void, onComplete: (data: any, error?: string) => void): void Defined in laya/net/Downloader.ts:63 Parameters owner: any url: string originalUrl: string onProgress: (progress: number) => void (progress: num...
来源: Laya3.0_api 发布时间: 20231115
...激活。 Returns boolean 在场景中是否激活。 alpha get alpha(): number set alpha(value: number): void Inherited from Text.alpha Defined in laya/display/Sprite.ts:1026 透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。 Returns number Inherited from T...
来源: Laya3.0_api 发布时间: 20231115
...c Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并...
来源: laya_api 发布时间: 20170422
...axSubSteps Properties contactEquationRelaxation contactEquationRelaxation: number = 10 Defined in laya/d3/physicsCannon/CannonPhysicsSettings.ts:14 物理松弛系数 contactEquationStiffness contactEquationStiffness: number = 1000000 Defined in laya/d3/physicsCannon/CannonPhysicsSettings.ts:16 刚...
来源: Laya3.0_api 发布时间: 20231102
...前使用的矩阵 Methods adjustBrightness adjustBrightness(brightness: number): ColorFilter Defined in laya/filters/ColorFilter.ts:115 调整亮度 Parameters brightness: number 亮度,范围:-100~100 Returns ColorFilter this adjustColor adjustColor(brightness: number, contrast: number, saturation...
来源: Laya3.0_api 发布时间: 20231115
...:276 override Returns boolean renderNotCanvas renderNotCanvas(ctx: any, x: number, y: number): void Overrides IStatRender.renderNotCanvas Defined in laya/utils/StatUI.ts:284 override 非canvas模式的渲染 Parameters ctx: any x: number y: number Returns void set_onclick set_onclick(fn: (this: Glob...
来源: Laya3.0_api 发布时间: 20231102
... color font stroke strokeColor text Methods recover create Properties x x: number = 0 Defined in laya/display/cmd/FillTextCmd.ts:19 开始绘制文本的 x 坐标位置(相对于画布)。 y y: number = 0 Defined in laya/display/cmd/FillTextCmd.ts:23 开始绘制文本的 y 坐标位置(相对...
来源: Laya3.0_api 发布时间: 20231115
... Constructors constructor Constructors constructor new ShaderDefine(index: number, value: number): ShaderDefine Defined in laya/d3/shader/ShaderDefine.ts:8 创建一个宏定义的实例 Parameters index: number 宏索引 value: number 宏值 Returns ShaderDefine Globals "laya/d3/shader/ShaderDefine...
来源: Laya3.0_api 发布时间: 20231102
...iveOBJ/NativeCameraCullInfo.ts:28 Accessors cullingMask get cullingMask(): number set cullingMask(cullingMask: number): void Defined in laya/d3/RenderObjs/NativeOBJ/NativeCameraCullInfo.ts:59 Returns number Defined in laya/d3/RenderObjs/NativeOBJ/NativeCameraCullInfo.ts:54 Parameters cullingMask: nu...
来源: Laya3.0_api 发布时间: 20231115
...atKeyFrame 实例。 Returns FloatKeyframe Properties inTangent inTangent: number Defined in laya/d3/core/FloatKeyframe.ts:7 内切线 inWeight inWeight: number = Keyframe.defaultWeight Defined in laya/d3/core/FloatKeyframe.ts:13 内权重 outTangent outTangent: number Defined in laya/d3/core/FloatK...
来源: Laya3.0_api 发布时间: 20231115