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

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

1371. laya.resource.ResourceManager [ 62%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ResourceManagerProperties | Methods Packagelaya.resourceClasspublic class ResourceManagerInheritanceResourceManager ObjectImplements laya.resource.IDispose ResourceManager 是资源管理类。它用于资源的载入、...

来源: laya_api 发布时间: 20170422

1372. laya.d3.physicscannon.CannonPhysicsComponent_API3.0 [ 62%]

...bals "laya/d3/physicsCannon/CannonPhysicsComponent" CannonPhysicsComponent Class CannonPhysicsComponent PhysicsComponent 类用于创建物理组件的父类。 Hierarchy Component CannonPhysicsComponent CannonPhysicsTriggerComponent Index Constructors constructor Properties _extra _singleton canSca...

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

1373. 鼠标交互-自定义事件 [ 62%]

... = Laya.Ease; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Interaction_CustomEvent { public static ROTATE: string = "rotate"; private sp: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.al...

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

1374. emoji表情文字乱码 [ 62%]

...: /** *...特殊的字符,如泰文,必须重新实现这个类 */ //class laya.webgl.text.CharSegment var CharSegment=(function(){     function CharSegment(){         this._sourceStr=null;     }      __class(CharSegment,'laya.webgl.text.CharSegment');     var __proto=Ch...

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

1375. laya.utils.TimeLine_API3.0 [ 62%]

...erited Externals Only exported Menu Globals "laya/utils/TimeLine" TimeLine Class TimeLine TimeLine 是一个用来创建时间轴动画的类。 Hierarchy EventDispatcher TimeLine Index Properties scale Accessors total Methods addLabel destroy event from gotoLabel gotoTime hasListener off offAll off...

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

1376. laya.d3.core.render.BaseRender [ 62%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames BaseRenderProperties | Methods Packagelaya.d3.core.renderClasspublic class BaseRenderInheritanceBaseRender EventDispatcher ObjectImplements laya.resource.ISingletonElement, laya.d3.core.scene.IOctreeObjectSubclasses Mesh...

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

1377. 加载-销毁Texture使用的图片资源 [ 62%]

...使用的图片资源不存在,则自动恢复。 */ var GameMain = /** @class */ (function () { function GameMain() { this.isDestroyed = false; this.PathBg = "../../res/bg2.png"; this.PathFly = "../../res/fighter/fighter.atlas"; //初始化引擎 Laya.init(Browser.clientWidth, Browser.clientHeigh...

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

1378. laya.d3.graphics.VertexParticleShuriken [ 62%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexParticleShurikenProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexParticleShurikenInheritanceVertexParticleShuriken ObjectImplements IVertex VertexPositionNormalColorTangent 类用于创建粒子...

来源: laya_api 发布时间: 20170422

1379. Sprite-轴心点 [ 62%]

...ya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_Pivot { private sp1: Sprite; private sp2: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Lay...

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

1380. viewportPointToRay产生的射线始终有偏差,是为什么? [ 62%]

...rt Vector4 = Laya.Vector4; import WebGLContext = Laya.WebGLContext; export class SceneScript extends Script { private _originPosition:Vector3 = new Vector3(0, -1, 1); private _phasorSpriter3D:PhasorSpriter3D; private _color:Vector4 = new Vector4(1, 0, 0, 1); private _point:Vector2 = new Vector2(); p...

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