大约有 720 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0042 秒)
Laya3.0_api(284) Laya2.0_api(154) laya_api(114) Laya_社区(84) Laya2.0_文档(47) Laya3.0_文档(35) Laya2.0_示例(1) Laya_示例(1)
... No Frames PulleyJointProperties | Methods Packagelaya.physics.jointClasspublic class PulleyJointInheritancePulleyJoint JointBase Component Object 滑轮关节:它将两个物体接地(ground)并彼此连接,当一个物体上升,另一个物体就会下降 Public Properties Hide Inherited P...
来源: Laya2.0_api 发布时间: 20190513
...she ShaderCompile3D /**是否开启调试模式。 */ public static var debugMode:Boolean = false; 设置为true, /** * 通过宏定义预编译shader。 * @param spriteIntToNameDic 精灵宏定义数组。 ...
来源: Laya_社区 发布时间: 20180620
...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
... Frames PrismaticJointProperties | Methods Packagelaya.physics.jointClasspublic class PrismaticJointInheritancePrismaticJoint JointBase Component Object 平移关节:移动关节允许两个物体沿指定轴相对移动,它会阻止相对旋转 Public Properties Hide Inherited Public Properti...
来源: Laya2.0_api 发布时间: 20190513
...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
... @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
...o Frames PhysicsComponentProperties | Methods Packagelaya.d3.physicsClasspublic class PhysicsComponentInheritancePhysicsComponent Component ObjectSubclasses CharacterController, PhysicsTriggerComponent PhysicsComponent 类用于创建物理组件的父类。 Public Properties Hide Inherited Public...
来源: Laya2.0_api 发布时间: 20190513
...: 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
...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
...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_文档 发布时间: 20240809