大约有 1,229 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0045 秒)
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/renders/Render" Render Class Render Render 是渲染管理类。它是一个单例,可以使用 Laya.render 访问。 Hierarchy Render Index Constructors constructor Properties _Render _customReq...
来源: Laya3.0_api 发布时间: 20231115
...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/Animator/AnimatorStateCondition" AnimatorStateBoolCondition Class AnimatorStateBoolCondition Hierarchy AnimatorStateCondition AnimatorStateBoolCondition Index Constructors constructor ...
来源: Laya3.0_api 发布时间: 20231102
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/RenderObjs/NativeOBJ/NativeSceneRenderManager" NativeSceneRenderManager Class NativeSceneRenderManager Hierarchy NativeSceneRenderManager Implements ISceneRenderManager Index Constructors constr...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Point" Point Class Point Point 对象表示二维坐标系统中的某个位置,其中 x 表示水平轴,y 表示垂直轴。 Hierarchy Point Index Constructors constructor Properties x y...
来源: Laya3.0_api 发布时间: 20231115
...ge = Laya.Stage; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_InputSingleline { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIG...
来源: Laya2.0_示例 发布时间: 20240930
...例代码如下所示: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type : Laya.Sprite}) public spr: Laya.Sprite; onAwake(): void { this.spr.size(512, 313); //设置Sprite大小 this.spr.loadImage("atlas/comp/image.png"); //添加纹理 ...
来源: Laya3.0_文档 发布时间: 20240809
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/utils/Utils" Utils Class Utils Utils 是工具类。 Hierarchy Utils Index Methods fromStringColor getBaseName getFileExtension getGID parseInt replaceFileExtension toAngle toHexColor toRadian Meth...
来源: Laya3.0_api 发布时间: 20231115
...ge = Laya.Stage; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_Editable { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTE...
来源: Laya2.0_示例 发布时间: 20240930
...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/MathUtils3D" MathUtils3D Class MathUtils3D MathUtils3D 类用于创建数学工具。 Hierarchy MathUtils3D Index Constructors constructor Properties Deg2Rad MaxValue MinValue zeroTolerance...
来源: Laya3.0_api 发布时间: 20231102
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/css/SpriteStyle" SpriteStyle Class SpriteStyle 元素样式 Hierarchy SpriteStyle Index Constructors constructor Properties alpha blendMode dragging hitArea pivotX pivotY rotation scaleX sc...
来源: Laya3.0_api 发布时间: 20231115