大约有 1,276 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0066 秒)
...=MultiLight))的代码来做讲解: > 移动灯光脚本 ```typescript export default class LightMoveScript extends Laya.Script3D { //需要操作的光源数组 public lights = []; //光源对应的位置偏移数组 public offsets = []; //光源对应的移动半径数组 public moveRanges = [...
来源: Laya2.0_文档 发布时间: 20210715
...=MultiLight))的代码来做讲解: > 移动灯光脚本 ```typescript export default class LightMoveScript extends Laya.Script3D { //需要操作的光源数组 public lights = []; //光源对应的位置偏移数组 public offsets = []; //光源对应的移动半径数组 public moveRanges = [...
来源: Laya2.0_文档 发布时间: 20210715
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/effect/EffectBase" EffectBase Class EffectBase 效果插件基类,基于对象池管理 Hierarchy Component EffectBase FadeIn FadeOut Index Constructors constructor Properties _extra _singleton a...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/scene/BVHSceneRenderManager/BVHRenderSpatialBox" BVHRenderBox Class BVHRenderBox<T> Type parameters T Hierarchy BVHSpatialBox<T> BVHRenderBox Index Constructors constructor Acce...
来源: Laya3.0_api 发布时间: 20231115
...的方法。 使用示例如下: const { regClass } = Laya; @regClass() export class NewScript extends Laya.Script { //被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也会调用 onAdded(): void { console.log("Game onAdded"); } //组件被激活后执行,此时所...
来源: Laya3.0_文档 发布时间: 20251010
...ge = Laya.Image; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Clip { private buttonSkin: string = "res/ui/button-7.png"; private clipSkin: string = "res/ui/num0-9.png"; private bgSkin: string = "res/ui/coutDown.png"; private counter: Clip; private currFrame: number; priv...
来源: Laya2.0_文档 发布时间: 20210714
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
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/GradientSize" GradientSize Class GradientSize GradientSize 类用于创建渐变尺寸。 Hierarchy GradientSize Implements IClone Index Constructors constructor Acc...
来源: Laya3.0_api 发布时间: 20231115
...age"; // import { List } from "laya/ui/List"; import { Laya } from "laya"; export default class test_move extends Image{ // /** @prop {name:move_img, tips:"用来移动的箭头", type:Image} */ // public _move_img: Image; // public _list: List; //创建一个 List 类的实例对象 list 。 privat...
来源: Laya_社区 发布时间: 20200203
...该对象池对应的编号对应好,否则使用时会出问题 */ export default class PoolManager { static _instance:any; public m_ObjectPoolDic:{[key:number]:QueueT<Laya.MeshSprite3D>}={} constructor() { } static getInstance() { return this._instance || (this._instance = new PoolManag...
来源: Laya_社区 发布时间: 20191206