大约有 696 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0046 秒)
Laya3.0_api(324) Laya2.0_api(134) laya_api(106) Laya_社区(97) Laya2.0_文档(23) Laya3.0_文档(11) Laya2.0_示例(1)
...e(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获阶段,此阶段引擎会从stage开始递归检测stage及其子对象,直到找到命中的...
来源: laya_api 发布时间: 20170929
... this._align = align; this._padding = padding; } /** * 字间距 */ public set padding(v: number){ if(v === this._padding){return;} this._padding = v; if(this.text){ this.createFnt(this.text); } } public get padding(): number{ return this._padding; } /** * 文本内容 */ public set text(v: string) ...
来源: Laya_社区 发布时间: 20180302
...e(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获阶段,此阶段引擎会从stage开始递归检测stage及其子对象,直到找到命中的...
来源: Laya2.0_api 发布时间: 20190513
...plementation public function get mode():int public function set mode(value:int):voidConstructor DetailGradient()Constructorpublic function Gradient(maxColorRGBKeyCount:int, maxColorAlphaKeyCount:int) 创建一个 Gradient 实例。 Parameters maxColorRGBKeyCount:int — 最大RGB帧...
来源: Laya2.0_api 发布时间: 20190513
....log("加载ScaleButton"); } private _owner: any; public set owner(o: laya.display.Sprite) { this._owner = o; console.log("设置owner"); } public get owner(): laya.display.Sprite { return this._owner; } } 新建脚本类如上...
来源: Laya_社区 发布时间: 20170601
...tion public function get matrix():Matrix4x4 public function set matrix(value:Matrix4x4):voidnearproperty near:Plane [read-only] 获取近平面。 Implementation public function get near():Planerightproperty right:Plane [read-only] 获取右平面。 Implementation ...
来源: laya_api 发布时间: 20170929
...tion public function get matrix():Matrix4x4 public function set matrix(value:Matrix4x4):voidnearproperty near:Plane [read-only] 获取近平面。 Implementation public function get near():Planerightproperty right:Plane [read-only] 获取右平面。 Implementation ...
来源: Laya2.0_api 发布时间: 20190513
...tmapIndex : int 获取光照贴图的索引。 BaseRender lightmapScaleOffset : Vector4 获取光照贴图的缩放和偏移。 BaseRender material : BaseMaterial 返回第一个实例材质,第一次使用会拷贝实例对象。 BaseRender materials : Vector.<BaseMaterial> 获取潜拷贝...
来源: Laya2.0_api 发布时间: 20190513
...plementation public function get w():Number public function set w(value:Number):voidxproperty x:Number 获取X轴坐标。 Implementation public function get x():Number public function set x(value:Number):voidyproperty y:Number 获取Y轴坐标。 Implementation ...
来源: laya_api 发布时间: 20170929
...tmapIndex : int 获取光照贴图的索引。 BaseRender lightmapScaleOffset : Vector4 获取光照贴图的缩放和偏移。 BaseRender localBounds : Bounds 获取局部边界。 SkinnedMeshRenderer material : BaseMaterial 返回第一个实例材质,第一次使用会拷贝实例对象。 B...
来源: Laya2.0_api 发布时间: 20190513