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

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

1081. laya.d3.component.Script3D [ 52%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames Script3DProperties | Methods Packagelaya.d3.componentClasspublic class Script3DInheritanceScript3D Component Object Script3D 用于创建脚本的父,该为抽象,不允许实例。 Public Properties Hide Inh...

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

1082. 基础使用与构成 · LayaAir3.3 · 引擎文档 · LAYABOX [ 52%]

...码如下: import { ItemBoxBase } from "./ItemBox.generated"; const { regClass, property } = Laya; @regClass() export class Script extends ItemBoxBase { constructor() { super(); } get dataSource(): any { return super.dataSource; } set dataSource(value: any) { super.dataSource = value; if (!value) ...

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

1083. laya.d3.core.particleShuriKen.ShurikenParticleMaterial [ 52%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ShurikenParticleMaterialProperties | Methods | Constants Packagelaya.d3.core.particleShuriKenClasspublic class ShurikenParticleMaterialInheritanceShurikenParticleMaterial BaseMaterial laya.resource.Resource ShurikenPart...

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

1084. laya.d3.physics.PhysicsTriggerComponent_API3.0 [ 52%]

... Globals "laya/d3/physics/PhysicsTriggerComponent" PhysicsTriggerComponent Class PhysicsTriggerComponent PhysicsTriggerComponent 用于创建物理触发器组件。 Hierarchy PhysicsComponent PhysicsTriggerComponent PhysicsCollider Rigidbody3D Index Constructors constructor Properties _extra _si...

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

1085. WebSocket通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 52%]

...直接处理即可。 接收字符串数据的完整示例: const { regClass } = Laya; @regClass() export class WebSocketDemo extends Laya.Script { private socket: Laya.Socket; //组件被启用后执行,例如节点被添加到舞台后 onEnable(): void { this.socket = new Laya.Socket(); // 注...

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

1086. 怎么像canvas那样做到每次循环去清空一次画布,我发现每次画的时候他会把上一次的坐标也画出来,导致变形了,该如何让他每次累加的同时清空上次的路径 [ 52%]

...次累加的同时清空上次的路径 var sp; var x = 0; export default class Scene extends Laya.Sprite{ constructor(){ super(); Laya.init(500, 300, Laya.WebGL); var bg = new Laya.Sprite(); bg.loadImage("comp/hunter.jpg"); this.addChild(bg); Laya.timer.frameLoop(1,this,this.move); // drawSomething...

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

1087. 这是图文混排谷歌浏览器查看正常打包后的APP文字消失表情变大 [ 52%]

...混排谷歌浏览器查看正常打包后的APP文字消失表情变大 class CAffiche { private textfiled:Laya.HTMLDivElement; public Reset():void { gRoomView.chatBox.innerHTML = ""; gRoomView.chatBox.height = 1; } public SysSay(txt:string):void { this.AddChat(0, "法官", txt); } public PlayerSay...

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

1088. laya.d3.terrain.TerrainChunk [ 52%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TerrainChunkProperties | Methods | Events Packagelaya.d3.terrainClasspublic class TerrainChunkInheritanceTerrainChunk RenderableSprite3D Sprite3D Node EventDispatcher Object TerrainChunk 用于创建地块。 Public ...

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

1089. LAYA的AS3项目碰见个问题,求解 [ 52%]

...ntSize="12" editorInfo="compId=2"/> </View>   mytexts.as: public class myTexts extends myTextsUI        public function myTexts()         {             super();         }         override protected function initialize():void         {           ...

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

1090. laya.d3.core.SkinnedMeshSprite3D [ 52%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames SkinnedMeshSprite3DProperties | Methods | Events | Constants Packagelaya.d3.coreClasspublic class SkinnedMeshSprite3DInheritanceSkinnedMeshSprite3D RenderableSprite3D Sprite3D Node EventDispatcher Object SkinnedMeshSpr...

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