大约有 3,008 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0066 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
...了 以下附上代码 : (function () { 'use strict'; class GameMain extends Laya.Scene { constructor(){ super(); GameMain.instance = this; Laya.MouseManager.multiTouchEnabled = false; thi...
来源: Laya_社区 发布时间: 20201110
...et_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) q.a (UnityEngine.GameObject A_0, .i A_1, Boolean A_2) q.a (UnityEngine.GameObject A_0, .i A_1, System.Collections.Generic.List`1 A_2) q.a (UnityEngine.GameObject A_0,...
来源: Laya_社区 发布时间: 20190313
...rted Menu Globals "laya/d3/WebXR/core/WebXRInputManager" WebXRInputManager Class WebXRInputManager author miner 类用来管理输入设备 The path of the CDN the sample will fetch controller models from: MeshSource https://cdn.jsdelivr.net/npm/@webxr-input-profiles/assets@1.0.9/dist/profiles/ Hi...
来源: Laya3.0_api 发布时间: 20231115
...u Globals "laya/d3/core/particleShuriKen/module/shape/BaseShape" BaseShape Class BaseShape BaseShape 类用于粒子形状。 Hierarchy BaseShape BoxShape CircleShape ConeShape HemisphereShape SphereShape Implements IClone Index Constructors constructor Properties enable randomDirection shapeType Me...
来源: Laya3.0_api 发布时间: 20231115
...,在文件内创建namespace,如下: namespace MyNamespace { export class MyClass { // TODO. } }在main.ts的构造函数中,总是报错,提示 MyNamespace is not defined, 但是,如果我不用新文件,把这段定义放在main.ts内,就不会报错,请问如何引用外部文...
来源: Laya_社区 发布时间: 20180918
...exported Menu Globals "laya/d3/core/QuaternionKeyframe" QuaternionKeyframe Class QuaternionKeyframe QuaternionKeyframe 类用于创建四元数关键帧实例。 Hierarchy Keyframe QuaternionKeyframe Implements IClone Index Constructors constructor Properties inTangent inWeight outTangent outWeight ...
来源: Laya3.0_api 发布时间: 20231115
...abox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=Filter&class=laya.filters.ColorFilter) 查看API说明。 ### 1.2 设置颜色滤镜 如果要给一个位图设置颜色滤镜,需要先设置一个颜色矩阵,然后用ColorFilter方法创建一个颜色滤镜实例,如下...
来源: Laya2.0_文档 发布时间: 20210715
...建议 使用TypeScript开发时,LayaAir.d.ts中各个类生成的都是class。 能否与标准的lib.d.ts中保持一致,比如对于Date声明为: interface Date { } interface DateConstructor { } const Date: DateConstructor; 这样应用可以针对引擎层的一些类通过修改prototype...
来源: Laya_社区 发布时间: 20170705
...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_社区 发布时间: 20170926
...ted Menu Globals "laya/d3/resource/models/MorphTargetData" MorphTargetData Class MorphTargetData Hierarchy MorphTargetData Index Constructors constructor Properties bounds elementCount vertexCount vertexDec Accessors channelCount Methods addMorphChannel clone destroy getMorphChannel getMorphChannelb...
来源: Laya3.0_api 发布时间: 20231115