大约有 1,131 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0088 秒)
Laya_社区(430) Laya3.0_api(324) Laya2.0_api(157) laya_api(90) Laya2.0_文档(47) Laya3.0_文档(37) Laya_示例(32) Laya2.0_示例(14)
...接 提交 1 个回复 Laya_Aaron 赞同来自: a503807636 // 程序入口 class LayaAir3D { private _quaternion: Laya.Quaternion = new Laya.Quaternion(); constructor() { //初始化引擎 Laya3D.init(0, 0, true); //适配模式 Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = L...
来源: Laya_社区 发布时间: 20180302
... ```typescript /** * TypeScript语言的3D脚本示例 */ export default class TSDemo extends Laya.Script3D { constructor() { super(); } } ``` > 2D脚本与3D脚本不要混用,如果是用IDE创建的脚本模板,需要将继承的2D脚本类(Laya.Script)改为3D脚本类(Laya.Script3D)...
来源: Laya2.0_文档 发布时间: 20210715
...ed Externals Only exported Menu Globals "laya/display/Animation" Animation Class Animation Animation 是Graphics动画类。实现了基于Graphics的动画创建、播放、控制接口。 本类使用了动画模版缓存池,它以一定的内存开销来节省CPU开销,当相同的动画模...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames ClipProperties | Methods | Events Packagelaya.uiClasspublic class ClipInheritanceClip UIComponent Sprite Node EventDispatcher ObjectSubclasses FontClip Clip 类是位图切片动画。 Clip 可将一张图片,按横...
来源: Laya2.0_api 发布时间: 20190513
...rt Burst = Laya.Burst; export class JinBi extends ShuriKenParticle3D { constructor() { let material = ShurikenParticleMaterial.load("resources/Assets/ArtResources/Effects/Materials/Effect_yu_jinbi_xulie.lmat"); ...
来源: Laya_社区 发布时间: 20170605
API DocumentationAll Packages | All Classes | Index | Frames No Frames ColorPickerProperties | Methods | Events Packagelaya.uiClasspublic class ColorPickerInheritanceColorPicker UIComponent Sprite Node EventDispatcher Object ColorPicker 组件将显示包含多个颜色样本的列表,...
来源: Laya2.0_api 发布时间: 20190513
...m.Collections; using System.Collections.Generic; using UnityEngine; public class TestMove : MonoBehaviour { [SerializeField] private Transform pivot; [SerializeField] private Transform guard; // Use this for initialization void Start () { pivot.transform.rotation = Quaternion.Euler(0, 0, -20); } // ...
来源: Laya_社区 发布时间: 20171228
...tAnimationFrame callback function Error: expected Number(uniform4f)<div class="eruda-json eruda-hidden"></div> at e.value (wagame://WAGameVConsole.html:27576:37881) at new e (wagame://WAGameVConsole.html:27576:36645) at t.value (wagame://WAGameVConsole.html:27576:32217) at t.value (wagam...
来源: Laya_社区 发布时间: 20190423
Cannot read property 'rayCast' of undefined export default class indexscene extends Laya.Script { constructor(){ super(); this.rotation = new Laya.Vector3(0, 0.01, 0); this.point = new Laya.Vector2(); this.ray = new Laya.Ray(new Laya.Vector3(),new Laya.Vector3()); //1.开启第四个参数 let conf...
来源: Laya_社区 发布时间: 20200903
API DocumentationAll Packages | All Classes | Index | Frames No Frames PanelProperties | Methods | Events Packagelaya.uiClasspublic class PanelInheritancePanel Box UIComponent Sprite Node EventDispatcher Object Panel 是一个面板容器类。 Public Properties Hide Inherited Public Prope...
来源: Laya2.0_api 发布时间: 20190513