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

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

461. laya.d3.core.reflectionprobe.ReflectionProbeManager_API3.0 [ 72%]

...aya/d3/core/reflectionProbe/ReflectionProbeManager" ReflectionProbeManager Class ReflectionProbeManager ReflectionProbeManager 类用于反射探针管理 miner Hierarchy ReflectionProbeManager Index Constructors constructor Accessors sceneReflectionCubeHDRParam sceneReflectionProbe Methods _updateM...

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

462. 聊天消息对话框中new一个HTMLDivElement 报错"Illegal constructor",请问这个该怎么处理? [ 72%]

...HTMLDivElement 报错"Illegal constructor",请问这个该怎么处理? class ChatLineView extends Laya.Box{ textfield : any = null; constructor(){ super(); // this.initLineView(); } public initLineView (data) : void { this.pos(0,0); console.log(this.textfield); if (this.textfield == null) { var s...

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

463. laya.d3.component.staticmesh.StaticBatchMeshRenderElement_API3.0 [ 72%]

...nent/staticmesh/StaticBatchMeshRenderElement" StaticBatchMeshRenderElement Class StaticBatchMeshRenderElement Hierarchy RenderElement StaticBatchMeshRenderElement Index Constructors constructor Properties _batchElement _renderElementOBJ Methods _convertSubShader _renderUpdatePre compileShader getInv...

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

464. 骨骼动画-多纹理 [ 72%]

...= Laya.Browser; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class MultiTexture { private mAniPath:string; private mStartX:number = 400; private mStartY:number = 500; private mFactory:Templet; private mActionIndex:number = 0; private mCurrIndex:number = 0; private mArmature:Skeleton; p...

来源: Laya_示例 发布时间: 20260303

465. 分享:改变图片皮肤,保持图片原样宽高显示 [ 72%]

...laya.events.Event; import laya.ui.Image; import laya.utils.Handler; public class LayaAirDemo { private var image:Image; public function LayaAirDemo() { Laya.init(800,600); Laya.loader.load(["bg.jpg","logo.png"],Handler.create(this,onLoaded)); } private function onLoaded():void { image=new Image(); i...

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

466. js怎么主动调用AS定义的静态变量? [ 72%]

...2017-03-21 17:11 浏览: 1247 关注: 2 人 vincent • 2017-03-21 17:41 //class common.dataModule.DataSingleton var DataSingleton=(function(){ function DataSingleton(){}; __class(DataSingleton,'common.dataModule.DataSingleton'); DataSingleton.dxMerchantID=20000020; DataSingleton.dxAccount=null Data...

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

467. 网络和格式-ProtocolBuffer [ 72%]

...ader; import Browser = Laya.Browser; import Handler = Laya.Handler; export class Network_ProtocolBuffer { private ProtoBuf:any = Browser.window.protobuf; constructor() { Laya.init(550, 400); this.ProtoBuf.load("../../res/protobuf/user.proto", this.onAssetsLoaded); } private onAssetsLoaded(err:any, r...

来源: Laya_示例 发布时间: 20260303

468. 网络和格式-ProtocolBuffer [ 72%]

...ader; import Browser = Laya.Browser; import Handler = Laya.Handler; export class Network_ProtocolBuffer { private ProtoBuf:any = Browser.window.protobuf; constructor() { Laya.init(550, 400); this.ProtoBuf.load("res/protobuf/user.proto", this.onAssetsLoaded); } private onAssetsLoaded(err:any, root:an...

来源: Laya2.0_示例 发布时间: 20260303

469. laya.html.HtmlLink_API3.0 [ 72%]

...herited Externals Only exported Menu Globals "laya/html/HtmlLink" HtmlLink Class HtmlLink Hierarchy HtmlLink Implements IHtmlObject IHitArea Index Constructors constructor Accessors element height width Methods addRect contains create destroy pos release resetArea Constructors constructor new HtmlLi...

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

470. ViewStack属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 72%]

...用请参考 [http://layaair.ldc.layabox.com/api/index.html?category=Core&class=laya.ui.ViewStack](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.ViewStack)。 ## 2、通过LayaAirIDE创建ViewStack组件 ### 2.1 创建ViewStack页面 ##...

来源: Laya2.0_文档 发布时间: 20210715