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

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

141. Laya_API3.0 [ 66%]

...c/Protected All Inherited Externals Only exported Menu Globals "Laya" Laya Class Laya Laya 是全局对象的引用入口集。 Laya类引用了一些常用的全局对象,比如Laya.stage:舞台,Laya.timer:时间管理器,Laya.loader:加载管理器,使用时注意大小写。 Hierarc...

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

142. laya.d3.physics.shape.StaticPlaneColliderShape_API3.0 [ 66%]

... "laya/d3/physics/shape/StaticPlaneColliderShape" StaticPlaneColliderShape Class StaticPlaneColliderShape StaticPlaneColliderShape 类用于创建静态平面碰撞器。 Hierarchy ColliderShape StaticPlaneColliderShape Implements IClone Index Constructors constructor Properties needsCustomCollision...

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

143. 我想动态改自定义shader里的值,应该怎么写?? [ 66%]

...al.__super.call(this);     this.setShaderName("CustomShader"); }   Laya.class(CustomMaterial, "CustomMaterial", Laya.BaseMaterial);   CustomMaterial.DIFFUSETEXTURE = 1; CustomMaterial.NORMALTEXTURE = 2; CustomMaterial.ALPHATESTVALUE = 0;   CustomMaterial.prototype.getDiffuseTexture = function (...

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

144. 新手,图片加载不进去,没有报错。很疑问 [ 66%]

...rite(); this.bg1.loadImage("comp/bg.png"); this.addChild(this.bg1); } Laya.class(BackGround,"BackGround",_super); return BackGround; })(Laya.Sprite)代码我这样写可以正常显示,你试试 2017-02-22 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请...

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

145. laya.d3.component.volume.Volume_API3.0 [ 66%]

...ernals Only exported Menu Globals "laya/d3/component/Volume/Volume" Volume Class Volume Hierarchy Component Volume ReflectionProbe VolumetricGI StaticBatchVolume Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath Accessors awaked boundsMax boundsMin destroyed en...

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

146. laya.physics.joint.PulleyJoint_API3.0 [ 66%]

...ls Only exported Menu Globals "laya/physics/joint/PulleyJoint" PulleyJoint Class PulleyJoint 滑轮关节:它将两个物体接地(ground)并彼此连接,当一个物体上升,另一个物体就会下降 Hierarchy JointBase PulleyJoint Index Constructors constructor Properties _extra _singleto...

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

147. laya.resource.Resource_API3.0 [ 66%]

...ted Externals Only exported Menu Globals "laya/resource/Resource" Resource Class Resource Resource 资源存取类。 Hierarchy EventDispatcher Resource BaseTexture BaseShader TextTexture HTMLCanvas BitmapFont Prefab Material Mesh Texture AtlasResource AnimationClip AnimatorController AnimationClip2...

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

148. as3字符串截取int的问题 [ 66%]

...报错Uncaught ReferenceError: int is not defined function DConfig(){}; __class(DConfig,'DConfig'); __getset(1,DConfig,'GamrRoomEnterPower',function(){ return DConfig.gamrRoomEnterPower; },function(value){ DConfig.gamrRoomEnterPower=value; console.log(DConfig.gamrRoomEnterPower.length); console.log(...

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

149. swf转成H5资源显示超出原有范围 [ 66%]

...stem.LoaderContext;     import flash.system.Capabilities;     public class Main extends Sprite     {         public function Main():void         {             if (stage) init();             else addEventListener(Event.ADDED_TO_STAGE, init);         }   ...

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

150. laya.physics.joint.WeldJoint_API3.0 [ 66%]

...ernals Only exported Menu Globals "laya/physics/joint/WeldJoint" WeldJoint Class WeldJoint 焊接关节:焊接关节的用途是使两个物体不能相对运动,受到关节的限制,两个刚体的相对位置和角度都保持不变,看上去像一个整体 Hierarchy JointBase WeldJoint I...

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