大约有 1,112 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0054 秒)
Laya_社区(423) Laya3.0_api(324) Laya2.0_api(157) laya_api(90) Laya2.0_文档(47) Laya_示例(32) Laya3.0_文档(25) Laya2.0_示例(14)
API DocumentationAll Packages | All Classes | Index | Frames No Frames MouseManagerProperties | Methods | Constants Packagelaya.eventsClasspublic class MouseManagerInheritanceMouseManager Object MouseManager 是鼠标、触摸交互管理器。 鼠标事件流包括捕获阶段、目标阶...
来源: laya_api 发布时间: 20170929
...rited Externals Only exported Menu Globals "laya/components/Script" Script Class Script Script 类用于创建脚本的父类,该类为抽象类,不允许实例。 Hierarchy Component Script Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath Accessors awaked...
来源: Laya3.0_api 发布时间: 20231115
...oord(pos, _translate); layaMonkey.transform.position = _translate; }); }); class OrthographicCamera { private pos: Laya.Vector3 = new Laya.Vector3(310, 500, 0); private _translate: Laya.Vector3 = new Laya.Vector3(0, 0, 0); constructor() { Laya3D.init(1024, 768, true); Laya.stage.scaleMode = Laya.Sta...
来源: Laya_示例 发布时间: 20241125
... Only exported Menu Globals "laya/d3/core/light/SpotLightCom" SpotLightCom Class SpotLightCom SpotLight 类用于创建聚光。 Hierarchy Light SpotLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames RenderableSprite3DProperties | Methods | Events Packagelaya.d3.coreClasspublic class RenderableSprite3DInheritanceRenderableSprite3D Sprite3D Node EventDispatcher ObjectSubclasses MeshSprite3D, PixelLineSprite3D, ShuriK...
来源: Laya2.0_api 发布时间: 20190513
...a.Script _start和_update以及_lateupdate不执行是什么原因呢? class b extends Laya.Script{ _initialize(owner:Laya.Sprite3D){ super._initialize(owner); //加打印可以执行 } _start(state:Laya.RenderState):void{ //加打印不执行 ...
来源: Laya_社区 发布时间: 20180423
...真阅读文章,现在改成在具体的使用说明: 主域:public class LayaUISample { public function LayaUISample() { //微信小游戏适配库初始化 MiniAdpter.init(true,false); //初始化引擎 Laya.init(640, 480,WebGL); Laya.stage.scaleMode = Stage.SCALE_FIXED_HEIGHT; Laya.stage.bg...
来源: Laya_社区 发布时间: 20180525
... Globals "laya/d3/physics/PhysicsTriggerComponent" PhysicsTriggerComponent Class PhysicsTriggerComponent PhysicsTriggerComponent 类用于创建物理触发器组件。 Hierarchy PhysicsComponent PhysicsTriggerComponent PhysicsCollider Rigidbody3D Index Constructors constructor Properties _extra _si...
来源: Laya3.0_api 发布时间: 20231115
...cale.z = Math.abs(scaleValue); layaMonkey3.transform.localScale = _scale; }class Sprite3DTransform { private layaMonkey1: Laya.Sprite3D; private layaMonkey2: Laya.Sprite3D; private layaMonkey3: Laya.Sprite3D; private _position: Laya.Vector3; private _rotate: Laya.Vector3; private _scale: Laya.Vector...
来源: Laya_示例 发布时间: 20241125
...nu Globals "laya/d3/physics/shape/SphereColliderShape" SphereColliderShape Class SphereColliderShape SphereColliderShape 类用于创建球形碰撞器。 Hierarchy ColliderShape SphereColliderShape Implements IClone Index Constructors constructor Properties needsCustomCollisionCallback SHAPEORIENTA...
来源: Laya3.0_api 发布时间: 20231115