大约有 2,970 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0074 秒)
Laya_社区(1047) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(97)
...ll Inherited Externals Only exported Menu Globals "laya/maths/Point" Point Class Point Point 对象表示二维坐标系统中的某个位置,其中 x 表示水平轴,y 表示垂直轴。 Hierarchy Point Index Constructors constructor Properties x y TEMP Methods copy distance normalize recover r...
来源: Laya3.0_api 发布时间: 20231115
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Text_InputSingleline { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeigh...
来源: Laya2.0_示例 发布时间: 20250221
API DocumentationAll Packages | All Classes | Index | Frames No Frames SoundManagerProperties | Methods Packagelaya.mediaClasspublic class SoundManagerInheritanceSoundManager Object SoundManager 是一个声音管理类。提供了对背景音乐、音效的播放控制方法。 引擎默...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames SoundManagerProperties | Methods Packagelaya.mediaClasspublic class SoundManagerInheritanceSoundManager Object SoundManager 是一个声音管理类。提供了对背景音乐、音效的播放控制方法。 引擎默...
来源: laya_api 发布时间: 20170929
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Text_Editable { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.sta...
来源: Laya2.0_示例 发布时间: 20250221
...ll 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 Methods Static fromStringColor fromStringColor(valu...
来源: Laya3.0_api 发布时间: 20231115
...nals 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 scaleY scrollRect skewX skewY viewport EMPTY Methods recover reset ...
来源: Laya3.0_api 发布时间: 20231115
...als Only exported Menu Globals "laya/d3/physics/RaycastWheel" RaycastWheel Class RaycastWheel Hierarchy RaycastWheel Index Constructors constructor Properties bt btWheelPtr worldMat worldPos worldQuat Accessors brake deltaRotation engineForce rotation steeringValue transform Methods getWorldTransfor...
来源: Laya3.0_api 发布时间: 20231115
...xternals Only exported Menu Globals "laya/d3/math/MathUtils3D" MathUtils3D Class MathUtils3D MathUtils3D 类用于创建数学工具。 Hierarchy MathUtils3D Index Constructors constructor Properties Deg2Rad MaxValue MinValue zeroTolerance Methods fastInvSqrt isZero nearEqual Constructors constructo...
来源: Laya3.0_api 发布时间: 20231102
...下面给出一个示例代码,实现脚本控制VideoNode: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.VideoNode }) public video: Laya.VideoNode; constructor() { super(); } // 组件被激活后执行,此时所有节点...
来源: Laya3.0_文档 发布时间: 20250103