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

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

861. 感觉实例之间是关联的,求指教。(已解决) [ 63%]

...super) { function Panel1() { Panel1.super(this); //this.poke_a.x=0; } Laya.class(Panel1, "Panel1", _super); var _proto = Panel1.prototype; //======================================= //将指定的牌显示到桌面上 //======================================= _proto.start = function () { var tempRetu...

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

862. [BUG]刚体约束问题,移动后约束混乱! [ 63%]

...建议用脚本方式实现,比如子弹脚本。  */ export default class GameUI extends ui.test.TestSceneUI {   private newScene:Laya.Scene3D;   private boxA: Laya.MeshSprite3D;   constructor() {     super();     Laya3D.init(0, 0);     Laya.stage.scaleMode = Laya....

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

863. 角色碰撞器(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 63%]

...址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.physics.CharacterController))。 #### (1) 使用代码创建角色碰撞器 **插件目前暂不支持角色碰撞器导出,使用时需要使用代码创建。** 下面这段代码来自官方示例([demo...

来源: Laya2.0_文档 发布时间: 20210714

864. laya.d3.physics.shape.CompoundColliderShape_API3.0 [ 63%]

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

865. laya.d3.math.Bounds_API3.0 [ 63%]

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

866. 当使用Image作为一个对象的遮罩时,设置Image的ScaleX为0时遮罩失效! [ 63%]

...的遮罩时,设置Image的ScaleX为0时遮罩失效! // 程序入口 class GameMain{ constructor() { Laya.init(1280,720); Laya.loader.load([{url:"res/atlas/comp.json",type:Laya.Loader.ATLAS}],Laya.Handler.create(this,this.loaded,null)); } private loaded():void{ var img:Laya.Image = new Laya.Ima...

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

867. 文本怎么实现 文+动态图或者动画? [ 62%]

...!! simphen • 2018-03-09 16:33 我用了ani提示我[error] Undefined class: ani var appendHtml:HTMLDivElement=new HTMLDivElement(); appendHtml.innerHTML="aa==<ani src='res/1.png'></ani>"; Laya.stage.addChild(appendHtml); Laya_Aaron • 2018-03-09 18:34 你要用图集图...

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

868. laya.d3.graphics.VertexBuffer3D_API3.0 [ 62%]

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

869. 分享:DrawToCanvas内存释放问题! [ 62%]

...esource.Texture; import laya.utils.Browser; import laya.utils.Stat; public class LayaAirDemo { private var sp:Sprite ;//被截屏对象 private var htmlC:HTMLCanvas;//保存截屏后返回的HtmlCanvas对象 private var texture:Texture ;//texture实例,用于放置HtmlCanvas对象 private var coun...

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

870. Laya.Pool用法 [ 62%]

...r :Terry        * Created: 2017-08-07 09:44:25      */     export class ProtoPool {         private static _dic: Laya.Dictionary;         public static PROTO_HEAD: string = "proto_Head";         public static PROTO_BINARY_REQUEST: string = "proto_BinaryRequest";         publ...

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