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

大约有 404 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0088 秒)

301. laya.ui.LayoutBox_API3.0 [ 29%]

...alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouse...

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

302. laya.ui.TipManager_API3.0 [ 29%]

...Manager" TipManager Class TipManager 鼠标提示管理类 Hierarchy UIComponent TipManager Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx offsetX offsetY tipBackColor tipDelay tipTextColor Accessors _i...

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

303. laya.ui.ViewStack_API3.0 [ 29%]

...alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D items left mask...

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

304. laya.ui.VBox_API3.0 [ 29%]

...alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouse...

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

305. laya.ui.HBox_API3.0 [ 29%]

...alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouse...

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

306. laya.d3.core.pixelLine.PixelLineSprite3D [ 28%]

...置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode  addLine(startPosition:Vector3, endPosition:Vector3, startColor:Color, endColor:C...

来源: Laya2.0_api 发布时间: 20190513

307. laya.d3.core.MeshTerrainSprite3D [ 28%]

...置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 ...

来源: Laya2.0_api 发布时间: 20190513

308. ProtocolBuffer通信 · LayaAir3.4 · 引擎文档 · LAYABOX [ 28%]

...lass } = Laya; @regClass() export class ProtobufDemo extends Laya.Script { onEnable() { console.log("Game start"); } } 2.2 Protobuf示例脚本 引入了protobuf模块就可以直接在项目中使用了,这里我们写了一个简单的示例DEMO,完整代码如下: // src/ProtobufDemo.ts // ...

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

309. 组件装饰器说明 · LayaAir3.4 · 引擎文档 · LAYABOX [ 27%]

...nInEditor来让组件在IDE内加载时也可以触发生命周期方法(onEnable、onStart等所有的组件脚本生命周期方法)。示例代码如下: const { regClass, property, runInEditor } = Laya; @regClass() @runInEditor //重点看这里,要放到类之前,@regClass()与@runInE...

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

310. laya.d3.core.BaseCamera [ 26%]

...置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode  addLayer(layer:int):void 增加可视图层,layer值为0到31层。 BaseCamera ...

来源: Laya2.0_api 发布时间: 20190513