大约有 618 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0075 秒)
Laya3.0_api(242) Laya2.0_api(136) laya_api(135) Laya3.0_文档(82) Laya_社区(20) Laya2.0_示例(1) Laya_示例(1) Laya2.0_文档(1)
...s' href='html/test.css'/> * * style支持的属性如下: * italic:true|false; 是否是斜体 * bold:true|false; 是否是粗体 * letter-spacing:10px; 字间距 * font-family:宋体; 字体 * font-size:20px; 字体大小 * font-weight:bold:none; 字体是否是粗体,功能同bold * color:#ff...
来源: Laya3.0_文档 发布时间: 20230303
...Body.ts:378 是否允许旋转,如果不希望刚体旋转,这设置为false Returns boolean Defined in laya/physics/RigidBody.ts:382 是否允许旋转,如果不希望刚体旋转,这设置为false Parameters value: boolean Returns void allowSleep get allowSleep(): boolean set allowSleep(va...
来源: Laya3.0_api 发布时间: 20231115
... var declaration = Laya.VertexMesh2D.getVertexDeclaration(["POSITION,UV"], false)[0]; let mesh2D = Laya.Mesh2D.createMesh2DByPrimitive([vertexs], [declaration], index, Laya.IndexFormat.UInt16, [{ length: index.length, start: 0 }]); return mesh2D; } } 最终的效果如图3-1所示, (图3-1) ...
来源: Laya3.0_文档 发布时间: 20251120
...ad-only] 表示 Alt 键是处于活动状态 (true) 还是非活动状态 (false)。 Event charCode : Boolean[read-only] 包含按下或释放的键的字符代码值。字符代码值为英文键盘值。 Event ctrlKey : Boolean[read-only] 表示 Ctrl 键是处于活动状态 (true) 还是非...
来源: laya_api 发布时间: 20170929
...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...
来源: Laya3.0_api 发布时间: 20231115
...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...
来源: Laya3.0_api 发布时间: 20231115
...ath.pow(2,1)为第0层和第1层可见。BaseCamera destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node enableRender : Boolean = true是否允许渲染。Camera farPlane ...
来源: Laya2.0_api 发布时间: 20190513
... scaleY , scale。 Sprite 默认不接受鼠标事件,即mouseEnabled=false,但是只要对其监听任意鼠标事件,会自动打开自己以及所有父对象的mouseEnabled=true。所以一般也无需手动设置mouseEnabled。 LayaAir引擎API设计精简巧妙。核心显示类只有...
来源: Laya3.0_api 发布时间: 20231115
...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...
来源: Laya3.0_api 发布时间: 20231115
...的字体大小 标签加粗 labelBold 文本标签是否加粗,默认为false 标签文本颜色 labelColors 鼠标在鼠标移出(up)、鼠标悬停(over),鼠标按下(down)时,各个状态下的文本标签颜色 标签描边宽度 labelStroke 文本标签的描边宽度,以...
来源: Laya3.0_文档 发布时间: 20251010