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

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

951. 弹窗视图组件 · LayaAir3.0文档 · LAYABOX [ 70%]

... 保存场景后,在RuntimeScript.ts中添加如下代码: const { regClass } = Laya; import { RuntimeScriptBase } from "./RuntimeScript.generated"; @regClass() export class RuntimeScript extends RuntimeScriptBase { onAwake(): void { this.closeBtn.on(Laya.Event.CLICK, this, () => { this.close...

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

952. Sprite-绘制各种形状 [ 70%]

...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Sprite_DrawShapes { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage...

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

953. laya.map.TileTexSet [ 70%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TileTexSetProperties | Methods Packagelaya.mapClasspublic class TileTexSetInheritanceTileTexSet Object 此类是子纹理类,也包括同类动画的管理 TiledMap会把纹理分割成无数子纹理,也可以把其...

来源: laya_api 发布时间: 20170929

954. laya.d3.component.Script [ 70%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ScriptProperties | Methods | Events Packagelaya.d3.componentClasspublic class ScriptInheritanceScript Component3D EventDispatcher Object Script 类用于创建脚本的父类。 Public Properties Hide Inherited Public P...

来源: laya_api 发布时间: 20170929

955. laya.physics.CircleCollider [ 70%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames CircleColliderProperties | Methods Packagelaya.physicsClasspublic class CircleColliderInheritanceCircleCollider ColliderBase Component Object 2D圆形碰撞体 Public Properties Hide Inherited Public Properties Show Inhe...

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

956. laya.d3.physics.shape.CompoundColliderShape_API3.0 [ 70%]

...lobals "laya/d3/physics/shape/CompoundColliderShape" CompoundColliderShape Class CompoundColliderShape CompoundColliderShape 类用于创建组合碰撞器。 Hierarchy ColliderShape CompoundColliderShape Implements IClone Index Constructors constructor Properties needsCustomCollisionCallback SHAPEO...

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

957. laya.d3.math.Bounds_API3.0 [ 70%]

...nherited Externals Only exported Menu Globals "laya/d3/math/Bounds" Bounds Class Bounds Bounds 类用于创建包围体。 Hierarchy Bounds Implements IClone Index Constructors constructor Accessors max min Methods calculateBoundsintersection clone cloneTo getBoundBox getCenter getCorners getExtent ...

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

958. laya.d3.graphics.VertexElementFormat [ 70%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexElementFormatMethods | Constants Packagelaya.d3.graphicsClasspublic class VertexElementFormatInheritanceVertexElementFormat Object ... Public Methods  MethodDefined By  getElementInfos(element:String):Array[stat...

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

959. laya.media.Sound_API3.0 [ 70%]

...ll Inherited Externals Only exported Menu Globals "laya/media/Sound" Sound Class Sound Sound 类是用来播放控制声音的类。 引擎默认有两套声音方案,优先使用WebAudio播放声音,如果WebAudio不可用,则用H5Audio播放,H5Audio在部分机器上有兼容问题(比...

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

960. laya.d3.graphics.VertexBuffer3D_API3.0 [ 70%]

...nly exported Menu Globals "laya/d3/graphics/VertexBuffer3D" VertexBuffer3D Class VertexBuffer3D 请使用LayaGL.RenderOBJCreate.createIndexBuffer3D来创建 VertexBuffer3D 类用于创建顶点缓冲。 Hierarchy VertexBuffer VertexBuffer3D NativeVertexBuffer3D Index Constructors constructor Propert...

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