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

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

431. laya.d3.animation.AnimationNode_API3.0 [ 72%]

...Only exported Menu Globals "laya/d3/animation/AnimationNode" AnimationNode Class AnimationNode BoneNode 类用于实现骨骼节点。 Hierarchy AnimationNode Implements IClone Index Constructors constructor Properties name Methods addChild clone cloneTo getChildByIndex getChildByName getChildCount ...

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

432. 3D场景-地形场景 [ 72%]

...ByName('Scenes').getChildByName('Area'); meshSprite3D1.active = false; }); class TerrainScene { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene: Laya.Scene = Laya.stage.addChild(Laya.Sc...

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

433. 材质-BlinnPhong-高光贴图 [ 72%]

...ansform.rotate(this.rotation); dude2.transform.rotate(this.rotation); }); }class BlinnPhong_SpecularMap { private scene:Laya.Scene; private rotation:Laya.Vector3 = new Laya.Vector3(0, 0.01, 0); private specularMapUrl:any = ["../../res/threeDimen/skinModel/dude/Assets/dude/headS.png", "../../res/thre...

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

434. Socket连接不上(已解决) [ 72%]

... laya.webgl.WebGL; //    import laya.webgl.WebGL;          public class LayaDemo      {         private var socket:Socket;         private var output:Byte;                  private var txt:Text;                  public function LayaDemo()        ...

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

435. 怎么获取完全限定类名,就像as的getQualifiedClassName [ 72%]

怎么获取完全限定类名,就像as的getQualifiedClassName 2017-03-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 15068753667 赞同来自: 只限基于ActionScript的项目,基于ts的嗝屁  const ...

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

436. laya.d3.shader.DefineDatas_API3.0 [ 72%]

...ernals Only exported Menu Globals "laya/d3/shader/DefineDatas" DefineDatas Class DefineDatas DefineDatas 类用于创建宏定义数据集合。 Hierarchy DefineDatas Implements IClone Index Constructors constructor Methods add addDefineDatas clear clone cloneTo has remove removeDefineDatas Construc...

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

437. 文本-自动调整文本尺寸 [ 72%]

...aya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_AutoSize { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Lay...

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

438. laya.d3.component.LODInfo_API3.0 [ 72%]

... Externals Only exported Menu Globals "laya/d3/component/LODGroup" LODInfo Class LODInfo 此类描述Lod数据 Hierarchy LODInfo Index Constructors constructor Accessors mincullRate renders Methods addNode removeAllRender removeNode Constructors constructor new LODInfo(mincullRate: number): LODInfo ...

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

439. 音频-播放演示 [ 72%]

....Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Sound_SimpleDemo { //声明一个信息文本 private txtInfo: Text; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN...

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

440. laya.utils.WeakObject_API3.0 [ 72%]

...ed Externals Only exported Menu Globals "laya/utils/WeakObject" WeakObject Class WeakObject 封装弱引用WeakMap 如果支持WeakMap,则使用WeakMap,如果不支持,则用Object代替 注意:如果采用Object,为了防止内存泄漏,则采用定时清理缓存策略 这里的设计...

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