大约有 10 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
...rableSprite3D> = null):void[static] 静态批处理合并,合并后子节点修改Transform属性无效,根节点staticBatchRoot可为null,如果根节点不为null,根节点可移动。 如果renderableSprite3Ds为null,合并staticBatchRoot以及其所有子节点为静态批处理,sta...
来源: Laya2.0_api 发布时间: 20190513
...nheritanceBoundsOctreeNode Object BoundsOctreeNode 类用于创建八叉树节点。 Public Methods MethodDefined By BoundsOctreeNode(octree:BoundsOctree, parent:BoundsOctreeNode, baseLength:Number, center:Vector3) 创建一个 BoundsOctreeNode 实例。 BoundsOctreeNode add(object:IOctreeOb...
来源: Laya2.0_api 发布时间: 20190513
...体。 BoundsOctree shrinkRootIfPossible():void 如果可能则收缩根节点。 BoundsOctree update(object:IOctreeObject):Boolean 更新物体 BoundsOctree updateMotionObjects():void 更新所有运动物体。 BoundsOctreeConstructor DetailBoundsOctree()Constructorpublic function BoundsO...
来源: Laya2.0_api 发布时间: 20190513
...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 is a t...
来源: Laya2.0_api 发布时间: 20190513
... 获得是否接收阴影属性 BaseRender rootBone : Sprite3D 获取根节点。 SkinnedMeshRenderer sharedMaterial : BaseMaterial 返回第一个材质。 BaseRender sharedMaterials : Vector.<BaseMaterial> 获取浅拷贝材质列表。 BaseRender sortingFudge : Number排序矫正值...
来源: Laya2.0_api 发布时间: 20190513
...ject 场景类,负责场景创建,加载,销毁等功能 场景被从节点移除后,并不会被自动垃圾机制回收,如果想回收,请调用destroy接口,可以通过unDestroyedScenes属性查看还未被销毁的场景列表 Public Properties Hide Inherited Public Properties Sh...
来源: Laya2.0_api 发布时间: 20190513
... NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。View anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。View autoDestroyAtClosed : Boolean = false场景被关闭后,是否自动销毁(销毁节点...
来源: Laya2.0_api 发布时间: 20190513
... NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。View anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。View autoDestroyAtClosed : Boolean = false场景被关闭后,是否自动销毁(销毁节点...
来源: Laya2.0_api 发布时间: 20190513
... NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。View anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。View autoDestroyAtClosed : Boolean = false场景被关闭后,是否自动销毁(销毁节点...
来源: Laya2.0_api 发布时间: 20190513
... Sprite Node EventDispatcher Object Stage 是舞台类,显示列表的根节点,所有显示对象都在舞台上显示。通过 Laya.stage 单例访问。 Stage提供几种适配模式,不同的适配模式会产生不同的画布大小,画布越大,渲染压力越大,所以要选择合...
来源: Laya2.0_api 发布时间: 20190513