大约有 1,150 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0061 秒)
Laya3.0_api(314) Laya_社区(291) Laya2.0_api(226) laya_api(174) Laya2.0_文档(113) Laya3.0_文档(29) Laya2.0_示例(3)
...iderShape Class CannonCompoundColliderShape CompoundColliderShape 类用于创建盒子形状碰撞器。 Hierarchy CannonColliderShape CannonCompoundColliderShape Implements IClone Index Constructors constructor Properties needsCustomCollisionCallback SHAPEORIENTATION_UPX SHAPEORIENTATION_UPY SHAPE...
来源: Laya3.0_api 发布时间: 20231102
...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
... Inherited Public Methods MethodDefined By Transform3D(owner:Sprite3D) 创建一个 Transform3D 实例。 Transform3D event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getForward(forward:Vector3):void 获取向前方向。 Transform3D getRight(right:Vector3):void ...
来源: Laya2.0_api 发布时间: 20190513
... 玩家·~~~ 这节要说的要点如下: 1、打包动画图集 2、创建动画模板 首先 当然是将我们需要的素材放到素材目录 这么多图 ~~~~ 一张一张加载要屎人的 我们不怕 因为laya有图集打包工具 图集是什么?你不懂? 看看官方例子先...
来源: Laya_社区 发布时间: 20160801
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: laya_api 发布时间: 20170929
...(): Panel Overrides UIComponent.constructor Defined in laya/ui/Panel.ts:31 创建一个新的 Panel 类实例。 在 Panel 构造函数中设置属性width、height的值都为100。 Returns Panel Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.t...
来源: Laya3.0_api 发布时间: 20231115
...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
...ted 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 getMax getMin setCenter setEx...
来源: Laya3.0_api 发布时间: 20231115
...面六、自定义面板七、使用对话框八、扩展内置菜单九、创建菜单十、在场景视图中绘制形状以及交互式手柄十一、自定义配置十二、扩展编辑器配置界面十三、扩展构建流程十四、自定义发布目标平台十五、资源导入预处理和...
来源: Laya3.0_文档 发布时间: 20250214
....5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); //创建平行光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); //加载精灵 var monkey = Laya.Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaM...
来源: Laya2.0_文档 发布时间: 20210715