大约有 570 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0048 秒)
Laya3.0_api(122) Laya_社区(113) Laya2.0_api(106) Laya2.0_文档(100) laya_api(93) Laya3.0_文档(33) Laya2.0_示例(3)
...质等。这都需要从加载的模型中去获取子对象,我们可以通过 **getChildAt()、getChildByName()** 方法去获取子对象,这与2D引擎获取子对象方法一样。 下面我们来加载一个场景的.ls文件,然后获取它的子对象。在获取子对象之前,建...
来源: Laya2.0_文档 发布时间: 20210714
...节点的索引位置。 Node getComponentByIndex(index:int):Component3D 通过指定索引获得组件。 Sprite3D getComponentByType(type:*, typeIndex:int = 0):Component3D 通过指定类型和类型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>...
来源: laya_api 发布时间: 20170929
...ans: Vector2, out: Matrix3x3): void Defined in laya/maths/Matrix3x3.ts:194 通过一个二维向量转换3x3矩阵 Parameters trans: Vector2 out: Matrix3x3 输出矩阵 Returns void transpose transpose(out: Matrix3x3): void Defined in laya/maths/Matrix3x3.ts:308 计算3x3矩阵的转置矩阵 Parame...
来源: Laya3.0_api 发布时间: 20231115
...案) 1.可行走区域建模,比如有一个场景,美术可以通过3dmax建模软件,对可行走区域建模,类似于一个平面,有高低起伏,如果美术建模,切记3dmax中和unity中的坐标转换,导入fbx到unity场景中的旋转信息必须为(0,0,0)。...
来源: Laya_社区 发布时间: 20170505
...rce():*[override] 获取纹理资源。 BaseTexture generateMipmap():void 通过基础数据生成mipMap。 BaseTexture getData(x:Number, y:Number, width:Number, height:Number, out:Uint8Array):Uint8Array 获得像素数据。 RenderTexture getDataAsync(x:Number, y:Number, width:Number, height...
来源: Laya2.0_api 发布时间: 20190513
...s: Vector2, out: Matrix3x3): void Defined in laya/d3/math/Matrix3x3.ts:194 通过一个二维向量转换3x3矩阵 Parameters trans: Vector2 out: Matrix3x3 输出矩阵 Returns void transpose transpose(out: Matrix3x3): void Defined in laya/d3/math/Matrix3x3.ts:308 计算3x3矩阵的转置矩阵 Para...
来源: Laya3.0_api 发布时间: 20231102
... () 方法 ** public function loadFont(path:String, complete:Handler):void 通过指定位图字体文件路径,加载位图字体文件。 参数 path:String — 位图字体文件的路径。 complete:Handler — 加载完成的回调,通知上层字体文件已经完成加载并解析...
来源: Laya2.0_文档 发布时间: 20201114
...undsCell>): void Defined in laya/d3/core/scene/bvh/BVHSpatialBox.ts:403 通过CameraCull查找逻辑对象 override Parameters cameraCullInfo: ICameraCullInfo out: SingletonList<IBoundsCell> 输出逻辑对象组 Returns void getItemByFrustum getItemByFrustum(frustum: BoundFrustum, out: Sin...
来源: Laya3.0_api 发布时间: 20231115
...fined in laya/d3/core/render/PostEffect/BloomEffect.ts:340 获取形变比,通过扭曲泛光产生视觉上形变,负值为垂直扭曲,正值为水平扭曲。-1 - 1 Returns number 形变比。 Defined in laya/d3/core/render/PostEffect/BloomEffect.ts:348 设置形变比,通过扭曲泛光产生视...
来源: Laya3.0_api 发布时间: 20231115
...Defined in laya/display/Node.ts:630 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 see #callLater() Parameters method: Function 要执行的函数名称。例如,functionName。 Returns void setChildIndex setChildIndex(node: Node, ind...
来源: Laya3.0_api 发布时间: 20231115