大约有 1,763 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0057 秒)
Laya_社区(623) Laya3.0_api(482) Laya2.0_文档(180) Laya_示例(146) Laya2.0_示例(116) Laya3.0_文档(85) Laya2.0_api(67) laya_api(64)
...API](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.resource.models.PrimitiveMesh)。 创建时需注意的是,加载到场景中的引擎自带模型,轴心点在模型正中心,因此我们是以模型中心点为参考进行移动、旋转、缩放。加...
来源: Laya2.0_文档 发布时间: 20210714
Timer Handler被覆盖 class Timer _getHandler(caller, method) { var cid = caller ? caller.$_GID || (caller.$_GID = ILaya.Utils.getGID()) : 0; var mid = method.$_TID || (method.$_TID = (Timer._mid++) * 100000); return this._map[cid + mid]; } 当游戏玩的功能多时间长了,随着cal...
来源: Laya_社区 发布时间: 20210701
...= Laya.Sprite; import Stage = Laya.Stage; export class Sprite_DrawShapes { private sp: Sprite; constructor() { Laya.init(500, 300); this.drawSomething(); ...
来源: Laya2.0_文档 发布时间: 20210714
....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.ComboBox)。 ComboBox 组件的图像资源示例:  (图1) 设置 ComboBox 的属性 labels 的值为 “label1,label2” 后,显示效果如下: 常态: ...
来源: Laya2.0_文档 发布时间: 20210715
... Externals Only exported Menu Globals "laya/maths/MathUtils3D" MathUtils3D Class MathUtils3D MathUtils3D 类用于创建数学工具。 Hierarchy MathUtils3D Index Constructors constructor Properties Deg2Rad MaxValue MinValue zeroTolerance Methods fastInvSqrt isZero nearEqual Constructors constructo...
来源: Laya3.0_api 发布时间: 20231115
Laya2.7.1 射线提示rayCast未定义 export default class click3d extends Laya.Script3D{ constructor() { super(); //创建场景 this.scene = Laya.stage.addChild(new Laya.Scene3D()); //添加相机 this.camera = (this.scene.addChild(new Laya.Camera(0, 0.1, 100))); this.camera.transform.translate(...
来源: Laya_社区 发布时间: 20200801
...ted All Inherited Externals Only exported Menu Globals "laya/html/XML" XML Class XML Hierarchy XML Index Constructors constructor Properties name text Accessors attributes Methods elements getAttrBool getAttrFloat getAttrInt getAttrString getNode parse reset setAttribute Constructors constructor new...
来源: Laya3.0_api 发布时间: 20231115
...d Menu Globals "laya/components/AnimatorTransition2D" AnimatorTransition2D Class AnimatorTransition2D Hierarchy AnimatorTransition2D Index Constructors constructor Properties conditions destState exitByTime exitTime mute transduration transstartoffset Methods addCondition check removeCondition Const...
来源: Laya3.0_api 发布时间: 20231115
...= Laya.Event; import Image = Laya.Image; import WebGL = Laya.WebGL; export class SmartScale_T { //所有适配模式 private modes: Array = ["noscale", "exactfit", "showall", "noborder", "full", "fixedwidth", "fixedheight"]; //当前适配模式索引 private index: number = 0; //全局文本信息 ...
来源: Laya_示例 发布时间: 20251209
...bals "laya/components/AnimatorStateCondition" AnimatorStateNumberCondition Class AnimatorStateNumberCondition Hierarchy AnimatorStateCondition AnimatorStateNumberCondition Index Constructors constructor Accessors compareFlag id name numberValue type Methods checkState conditionIDToName conditionName...
来源: Laya3.0_api 发布时间: 20231115