大约有 854 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0044 秒)
Laya_社区(263) Laya3.0_api(263) Laya2.0_api(142) laya_api(119) Laya3.0_文档(34) Laya2.0_文档(28) Laya_示例(3) Laya2.0_示例(2)
...e.ts:28 表示使用此文本格式的文本段落的水平对齐方式。 default "left" bold bold: boolean Defined in laya/display/css/TextStyle.ts:12 是否为粗体 color color: string Defined in laya/display/css/TextStyle.ts:10 文字颜色 font font: string Defined in laya/display/css/TextStyl...
来源: Laya3.0_api 发布时间: 20231115
...画布宽度。 height:Number — 3D画布高度。 antialias:Boolean (default = false) alpha:Boolean (default = false) premultipliedAlpha:Boolean (default = true) stencil:Boolean (default = true)Fri Sep 29 2017, 06:34 PM +08:00
来源: laya_api 发布时间: 20170929
...umber = 1, a:Number = 1) 创建一个 Color 实例。 Parameters r:Number (default = 1) — 颜色的red分量。 g:Number (default = 1) — 颜色的green分量。 b:Number (default = 1) — 颜色的blue分量。 a:Number (default = 1) — 颜色的alpha分量。 Method Detailclone()method p...
来源: Laya2.0_api 发布时间: 20190513
...e2DTextureShader, shaderType:2, uniformMap:{ u_MainTex : {type: Texture2D, default: "white"}, u_SampleTexcoord : {type: Vector2, default:[1,1]}, u_Color : {type:Vector4, default:[1,1,1,1]}, u_spend : {type:Float, default:1.0}, u_defaultMat : {type:Matrix4x4, default:[ 1,0,0,0 0,1,0,0, 0,0,1,0, 0.0,0...
来源: Laya3.0_文档 发布时间: 20251010
...s graphicO:Object — 绘图指令描述 sprite:Sprite isChild:Boolean (default = false)createByJson()method public static function createByJson(json:*, node:* = null, root:Node = null, customHandler:Handler = null, instanceHandler:Handler = null):* 根据指定的 json 数据创建节点对象...
来源: laya_api 发布时间: 20170929
...n — 要执行的函数的名称。例如,functionName。 args:Array (default = null) — 传递给 method 函数的可选参数列表。 See alsorunCallLater()clearTimer()method public function clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 P...
来源: Laya2.0_api 发布时间: 20190513
...射线发生碰撞的第一个碰撞器的碰撞信息 distance:Number (default = NaN) — 射线长度,默认为最大值 layer:int (default = 0) — 选定制定层内的碰撞器,其他层内碰撞器忽略 rayCastAll()method public static function rayCastAll(ray:Ray, outHitAllInfo:Vector.&...
来源: laya_api 发布时间: 20170929
...个新的 AnimationNode 实例。 Parameters localPosition:Float32Array (default = null) localRotation:Float32Array (default = null) localScale:Float32Array (default = null) worldMatrix:Float32Array (default = null)Method DetailaddChild()method public function addChild(child:AnimationNode):void ...
来源: Laya2.0_api 发布时间: 20190513
... in laya/resource/Texture.ts:228 创建一个 Texture 实例。 Parameters Default value source: Texture | BaseTexture = null Default value uv: ArrayLike<number> = null UV 数据信息。 Default value sourceWidth: number = 0 Default value sourceHeight: number = 0 Returns Texture Properties _i...
来源: Laya3.0_api 发布时间: 20231115
...mat:Array = null) 创建一个 ColorFilter 实例。 Parameters mat:Array (default = null) — (可选)由 20 个项目(排列成 4 x 5 矩阵)组成的数组,用于颜色转换。 Method DetailadjustBrightness()method public function adjustBrightness(brightness:Number):ColorFilter 调整...
来源: Laya2.0_api 发布时间: 20190513