大约有 1,163 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0064 秒)
Laya3.0_api(314) Laya_社区(299) Laya2.0_api(226) laya_api(174) Laya2.0_文档(113) Laya3.0_文档(34) Laya2.0_示例(3)
....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_文档 发布时间: 20210714
...ebXR/core/WebXRCamera" WebXRCamera Class WebXRCamera author miner 类用于创建WebXR摄像机。 Hierarchy Camera WebXRCamera Index Constructors constructor Properties _cacheDepth _cacheDepthTexture _extra _forward _scene _up _url clearFlag enableRender name tag useOcclusionCulling RENDERINGTYPE_D...
来源: Laya3.0_api 发布时间: 20231115
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya3.0_api 发布时间: 20231115
...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