大约有 441 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0046 秒)
Laya_社区(172) Laya3.0_api(172) Laya2.0_api(30) Laya2.0_文档(23) laya_api(21) Laya3.0_文档(16) Laya2.0_示例(5) Laya_示例(2)
...aya/d3/math/RandX" RandX Class RandX Rand 类用于通过128位整型种子创建随机数,算法来自:https://github.com/AndreasMadsen/xorshift。 Hierarchy RandX Index Constructors constructor Properties defaultRand Methods random randomint Constructors constructor new RandX(seed: any[]): RandX D...
来源: Laya3.0_api 发布时间: 20231115
...以添加自定义的材质,接收2D光照效果。开发者可以用来创建复杂的2D图形效果,支持自定义网格形状,适合制作需要精确网格控制的2D游戏元素。 在游戏开发中,2D网格渲染器能够在2D游戏中实现更复杂和精细的视觉效果。例如...
来源: Laya3.0_文档 发布时间: 20251120
...rs constructor new Byte(data?: any): Byte Defined in laya/utils/Byte.ts:50 创建一个 Byte 类的实例。 Parameters Default value data: any = null 用于指定初始化的元素数目,或者用于初始化的TypedArray对象、ArrayBuffer对象。如果为 null ,则预分配一定的内存...
来源: Laya3.0_api 发布时间: 20231115
...null, instanceHandler:Handler = null):*[static] 根据指定的 json 数据创建节点对象。 比如: { "type":"Sprite", "props":{ "x":100, "y":50, "name":"item1", "scale":[2,2] }, "customProps":{ "x":100, "y":50, "name":"item1", "scale":[2,2] }, "child":[ { "type":"Text", "props":{ "text":"this ...
来源: Laya2.0_api 发布时间: 20190513
...r3InheritanceVector3 ObjectImplements laya.d3.core.IClone Vector3 类用于创建三维向量。 Public Properties PropertyDefined By x : NumberX轴坐标Vector3 y : NumberY轴坐标Vector3 z : NumberZ轴坐标Vector3Public Methods MethodDefined By Vector3(x:Number = 0, y:Number = 0, ...
来源: Laya2.0_api 发布时间: 20190513
...ndColliderShape Class CompoundColliderShape CompoundColliderShape 类用于创建组合碰撞器。 Hierarchy ColliderShape CompoundColliderShape Implements IClone Index Constructors constructor Properties needsCustomCollisionCallback SHAPEORIENTATION_UPX SHAPEORIENTATION_UPY SHAPEORIENTATION_UPZ Ac...
来源: Laya3.0_api 发布时间: 20231115
... CannonPhysicsSimulation Class CannonPhysicsSimulation Simulation 类用于创建物理模拟器。 Hierarchy CannonPhysicsSimulation Index Properties fixedTimeStep maxSubSteps disableSimulation Accessors gravity solverIterations Methods clearForces dispatchCollideEvent rayCast rayCastAll raycastAll...
来源: Laya3.0_api 发布时间: 20231102
...:String):void[override] Templet buildArmature(aniMode:int = 0):Skeleton 创建动画 0,使用模板缓冲的数据,模板缓冲的数据,不允许修改 (内存开销小,计算开销小,不支持换装) 1,使用动画自己的缓冲区,每个动画都会有自己的缓冲区,相...
来源: Laya2.0_api 发布时间: 20190513
...何强制加载一个文件,避免浏览器的缓存 请问layaide如何创建一个复合的Button 请问一下 ProtoBuf 支持 as3 版本吗? 问题状态 最新活动: 2018-08-10 17:26 浏览: 617 关注: 2 人
来源: Laya_社区 发布时间: 20180810
...子特效的sorting fudge层级排序与laya3d的渲染显示相反 自动创建UI排序问题 编辑器中的HBox和VBox的排序问题 index.html中js文件排序 深度排序与drawcall数量的关系 TiledMap中对象排序问题 数组排序报错 你好,我想问下给写入引入index.html...
来源: Laya_社区 发布时间: 20171212