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

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

951. laya.d3.core.HeightMap [ 70%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames HeightMapProperties | Methods Packagelaya.d3.coreClasspublic class HeightMapInheritanceHeightMap Object HeightMap 类用于实现高度图数据。 Public Properties PropertyDefined By  height : int[read-only] 获取...

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

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_示例 发布时间: 20251209

953. 开放数据域组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 70%]

...点上添加一个自定义组件脚本,脚本内容如下: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,...

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

954. 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

955. laya.map.TileTexSet [ 70%]

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

来源: laya_api 发布时间: 20170929

956. 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

957. 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

958. 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

959. 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

960. 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