大约有 3,008 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0071 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
...zation.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr...
来源: Laya_社区 发布时间: 20171208
...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_示例 发布时间: 20250220
...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
...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_示例 发布时间: 20250220
...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
...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
...下面给出一个示例代码,实现脚本控制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
...使用ColorFilter类直接创建滤镜,示例代码如下: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { // 获得Image组件 @property({ type: Laya.Image }) public img: Laya.Image; //组件被激活后执行,此时所有节点和组件均已创...
来源: Laya3.0_文档 发布时间: 20240910
...ported Menu Globals "laya/renders/VertexElementFormat" VertexElementFormat Class VertexElementFormat 类用来定义顶点元素格式 Hierarchy VertexElementFormat Index Properties Byte2 Byte3 Byte4 ByteOne Color NormalizedShort2 NormalizedShort4 Short2 Short4 Single Vector2 Vector3 Vector4 Methods...
来源: Laya3.0_api 发布时间: 20231115