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

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

271. laya.d3.physics.PhysicsCollider [ 70%]

...No Frames PhysicsColliderProperties | Methods Packagelaya.d3.physicsClasspublic class PhysicsColliderInheritancePhysicsCollider PhysicsTriggerComponent PhysicsComponent Component Object PhysicsCollider 类用于创建物理碰撞器。 Public Properties Hide Inherited Public Properties Show Inheri...

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

272. laya.physics.joint.PrismaticJoint [ 70%]

... Frames PrismaticJointProperties | Methods Packagelaya.physics.jointClasspublic class PrismaticJointInheritancePrismaticJoint JointBase Component Object 平移关节:移动关节允许两个物体沿指定轴相对移动,它会阻止相对旋转 Public Properties Hide Inherited Public Properti...

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

273. 如何预加载shader [ 70%]

...she ShaderCompile3D    /**是否开启调试模式。 */         public static var debugMode:Boolean = false; 设置为true,           /**          * 通过宏定义预编译shader。          * @param   spriteIntToNameDic 精灵宏定义数组。       ...

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

274. laya.d3.math.Matrix4x4 [ 70%]

...rames Matrix4x4Properties | Methods | Constants Packagelaya.d3.mathClasspublic class Matrix4x4InheritanceMatrix4x4 ObjectImplements laya.d3.core.IClone Matrix4x4 类用于创建4x4矩阵。 Public Properties PropertyDefined By  elements : Float32Array矩阵元素数组Matrix4x4Public Methods ...

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

275. 2.0里面的组件(Laya.Script)的prop其中几个类型应该怎么设置 [ 70%]

... @prop {name:intType, tips:"整数类型示例", type:Int, default:1000}*/ public intType: number = 1000; /** @prop {name:numType, tips:"数字类型示例", type:Number, default:1000}*/ public numType: number = 1000; /** @prop {name:strType, tips:"字符串类型示例", type:String, default:"hello...

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

276. laya.d3.physics.PhysicsComponent [ 70%]

...o Frames PhysicsComponentProperties | Methods Packagelaya.d3.physicsClasspublic class PhysicsComponentInheritancePhysicsComponent Component ObjectSubclasses CharacterController, PhysicsTriggerComponent PhysicsComponent 类用于创建物理组件的父类。 Public Properties Hide Inherited Public...

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

277. 位图字体的制作与使用(ActionScript-LayaAir基础篇(AS3)-文本) [ 70%]

...source.Texture; import laya.utils.Handler; import laya.display.BitmapFont; public class TestBitmapFont { //自定义文件名称 private var mFontName:String = "diyFont"; private var mBitmapFont:BitmapFont; public function TestBitmapFont() { Laya.init(550, 400); mBitmapFont = new BitmapFont(); //这...

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

278. 性能统计面板介绍(ActionScript-2D进阶篇(AS3)-性能优化) [ 70%]

...: Demo.as编写代码如下: ```java package { import laya.utils.Stat; public class Demo { public function Demo() { //初始化舞台 Laya.init(1334,750); //调用性能统计面板方法,(0,0)为面板位置坐标 Stat.show(0,0); } } } ``` ### 2、FPS相关的介绍 ### 2.1 FPS概述 FPS是...

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

279. 组件属性的代码使用 · LayaAir3.3 · 引擎文档 · LAYABOX [ 69%]

...ort class NewScript extends Laya.Script { @property({ type : Laya.Sprite}) public spr: Laya.Sprite; onAwake(): void { this.spr.size(512, 313); //设置Sprite大小 this.spr.loadImage("atlas/comp/image.png"); //添加纹理 } } 效果如图1-2所示: (图1-2) 1.2 3D节点的基础使用 首先...

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

280. laya.d3.math.Vector2_API3.0 [ 69%]

...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Vector2" Vector2 Class Vector2 Vector2 类用于创建二维向量。 Hierarchy Vector2 Implements IClone Index Constructors constructor...

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