• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 417 项符合查询结果, 库内数据总量为 30,936 项。 (搜索耗时: 0.0042 秒)

241. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 54%]

...于实现反射探针组件 miner Hierarchy Sprite3D ReflectionProbe Index Constructors constructor Properties _extra _isScene _scene _url name TEMPVECTOR3 defaultTextureHDRDecodeValues Accessors active activeInHierarchy boundsMax boundsMin boxProjection components destroyed displayedInStage hideFla...

来源: Laya3.0_api 发布时间: 20231102

242. UI弹窗 · LayaAir3.0文档 · LAYABOX [ 54%]

...N_PADDING: number = 5; private assets: any[]; private dialog: Laya.Dialog; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.assets = ["resources/res/ui/dialog (1).png", "resources/res/ui/clo...

来源: Laya3.0_文档 发布时间: 20230303

243. 动画节点 · LayaAir3.3 · 引擎文档 · LAYABOX [ 54%]

...type: Laya.Animation }) //在IDE面板中显示属性 ani: Laya.Animation; constructor() { super(); } //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.ani.source = "resources/role.atlas"; //接收动画数据源为图集 thi...

来源: Laya3.0_文档 发布时间: 20240910

244. 输入文本组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 53%]

...te3D; @property( { type : Laya.TextInput } ) public txtin: Laya.TextInput; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.txtin.pos(Laya.stage.width >> 1, Laya.stage.height >> ...

来源: Laya3.0_文档 发布时间: 20240910

245. 网格像素线 · LayaAir3.3 · 引擎文档 · LAYABOX [ 53%]

...例。 * @param maxCount 最大线段数量。 * @param name 名字。 */ constructor(maxCount: number = 2, name: string = null) { super(name); this._render = this.addComponent(PixelLineRenderer); this._geometryFilter = (this._render as PixelLineRenderer)._pixelLineFilter; (this._render as PixelLine...

来源: Laya3.0_文档 发布时间: 20250103

246. laya.d3.core.light.LightSprite_API3.0 [ 53%]

... Hierarchy Sprite3D LightSprite DirectionLight PointLight SpotLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedTy...

来源: Laya3.0_api 发布时间: 20231115

247. 通过laya设计模式制作的,要怎么给按钮绑定事件呢? [ 52%]

...我看一下 xdkaka • 2017-12-13 17:03 没办法发图了 class Main { constructor() { Laya.init(480, 852); Laya.stage.scaleMode = "showall"; Laya.stage.alignV = 'middle'; Laya.stage.alignH = 'center'; Laya.stage.screenMode = "vertical"; Laya.stage.bgColor = "#101825"...

来源: Laya_社区 发布时间: 20171213

248. 面板容器组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 52%]

...property } = Laya; @regClass() export class UI_Panel extends Laya.Script { constructor() { super(); } // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { // 创建Panel组件 let panel: Laya.Panel = new Laya.Panel(); panel.hScrollB...

来源: Laya3.0_文档 发布时间: 20240910

249. laya.d3.core.light.PointLight_API3.0 [ 52%]

...PointLight 类用于创建点光。 Hierarchy LightSprite PointLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedT...

来源: Laya3.0_api 发布时间: 20231115

250. laya.d3.core.material.Material_API3.0 [ 52%]

...aterial ExtendTerrainMaterial WaterPrimaryMaterial Implements IClone Index Constructors constructor Properties _id destroyedImmediately lock name renderQueue url uuid ALPHATESTVALUE DEBUG RENDERQUEUE_ALPHATEST RENDERQUEUE_OPAQUE RENDERQUEUE_TRANSPARENT SHADERDEFINE_ADDTIVEFOG SHADERDEFINE_ALPHATEST ...

来源: Laya3.0_api 发布时间: 20231115