大约有 3,031 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0064 秒)
Laya_社区(1088) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(108)
...码 希望大家指正 https://my.oschina.net/u/659068/blog/1564002 class Ball extends Laya.Sprite{ private static cached:boolean = false; private body:Laya.Sprite; constructor(){ super(); this.init(); } public init():void{ if(!Ball.cached){ Ball.cached = true; this.body = new Laya.Sprite(); th...
来源: Laya_社区 发布时间: 20171108
...crollBar; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ScrollBar { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHO...
来源: Laya_示例 发布时间: 20251209
...ernals Only exported Menu Globals "laya/physics/EdgeCollider" EdgeCollider Class EdgeCollider 2D边框碰撞体 Hierarchy ColliderBase EdgeCollider Index Constructors constructor Properties _extra _singleton fixture label owner rigidBody runInEditor scriptPath Accessors awaked density destroyed enab...
来源: Laya3.0_api 发布时间: 20231115
...结合1.3节的脚本控制,在脚本中输入如下代码: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Text }) txt: Laya.Text; constructor() { super(); } onAwake(): void { this.txt.text = "...
来源: Laya3.0_文档 发布时间: 20251010
...rnals Only exported Menu Globals "laya/resource/TextResource" TextResource Class TextResource 文字资源 Hierarchy Resource TextResource Index Constructors constructor Properties _id data destroyedImmediately format lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute refer...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames IFilterActionGLProperties | Methods Packagelaya.filtersInterfacepublic interface IFilterActionGL extends IFilterActionImplementors ColorFilterActionGL, FilterActionGLPublic Properties PropertyDefined By typeMix : int...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames TerrainProperties | Methods | Events Packagelaya.d3.terrainClasspublic class TerrainInheritanceTerrain Sprite3D Node EventDispatcher Object Terrain 类用于创建地块。 Public Properties Hide Inherited Public Proper...
来源: Laya2.0_api 发布时间: 20190513
...ited Externals Only exported Menu Globals "laya/d3/core/light/Light" Light Class Light LightSprite 类用于创建灯光的父类。 Hierarchy Component Light SpotLightCom DirectionLightCom PointLightCom AreaLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames RenderTextureProperties | Methods | Constants Packagelaya.d3.resourceClasspublic class RenderTextureInheritanceRenderTexture BaseTexture laya.resource.Bitmap //RenderTexture 类用于创建渲染目标。 Public Propert...
来源: Laya2.0_api 发布时间: 20190513
...y exported Menu Globals "laya/physics/joint/PrismaticJoint" PrismaticJoint Class PrismaticJoint 平移关节:移动关节允许两个物体沿指定轴相对移动,它会阻止相对旋转 Hierarchy JointBase PrismaticJoint Index Constructors constructor Properties _extra _singleton anchor axis ...
来源: Laya3.0_api 发布时间: 20231115