大约有 300 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0053 秒)
...n laya/d3/core/scene/bvh/BVHSpatial.ts:32 创建BVH系统实例 Parameters Default value bvhConfig: BVHSpatialConfig = null Default value bvhManager: BVHSpatialManager = null Returns BVHRenderSpatial Accessors bvhSpatialBox get bvhSpatialBox(): BVHSpatialBox<IBoundsCell> Inherited from BVHSpat...
来源: Laya3.0_api 发布时间: 20231115
...ernion Implements IClone Index Constructors constructor Properties w x y z DEFAULT NAN Methods clone cloneTo equals forNativeElement fromArray getYawPitchRoll identity invert length lengthSquared normalize rotateX rotateY rotateZ scaling set setValue add createFromAxisAngle createFromMatrix4x4 creat...
来源: Laya3.0_api 发布时间: 20231115
...ar Defined in laya/display/Graphics.ts:94 清空绘制命令。 Parameters Default value recoverCmds: boolean = true 是否回收绘图指令数组,设置为true,则对指令数组进行回收以节省内存开销,建议设置为true进行回收,但如果手动引用了数组,不建议回...
来源: Laya3.0_api 发布时间: 20231115
...hs/Matrix.ts:30 使用指定参数创建新的 Matrix 对象。 Parameters Default value a: number = 1 (可选)缩放或旋转图像时影响像素沿 x 轴定位的值。 Default value b: number = 0 (可选)旋转或倾斜图像时影响像素沿 y 轴定位的值。 Default value c: number...
来源: Laya3.0_api 发布时间: 20231115
...:177 切换Shader Parameters customShader: Shader3D replacementTag: string Default value subshaderIndex: number = 0 Returns void _renderUpdatePre _renderUpdatePre(context: RenderContext3D): void Defined in laya/d3/core/render/RenderElement.ts:225 pre update data Parameters context: RenderContext3D R...
来源: Laya3.0_api 发布时间: 20231115
...路径。 callback: Handler 清单(json)文件加载完成后执行。 Default value type: number = 2 FOLDER_VERSION为基于文件夹管理方式(老版本IDE默认类型),FILENAME_VERSION为基于文件名映射管理(新版本IDE默认类型 Returns void Globals "laya/net/ResourceVers...
来源: Laya3.0_api 发布时间: 20231102
...ernion Implements IClone Index Constructors constructor Properties w x y z DEFAULT NAN Methods clone cloneTo equals forNativeElement fromArray getYawPitchRoll identity invert length lengthSquared normalize rotateX rotateY rotateZ scaling set setValue add createFromAxisAngle createFromMatrix4x4 creat...
来源: Laya3.0_api 发布时间: 20231102
...ix4x4 Implements IClone Index Constructors constructor Properties elements DEFAULT DEFAULTINVERT ZERO Methods clone cloneByArray cloneTo decomposeTransRotMatScale decomposeTransRotScale decomposeYawPitchRoll equalsOtherMatrix getForward getInvertFront getTranslationVector identity invert isIdentity ...
来源: Laya3.0_api 发布时间: 20231115
...自CustomScene。 MyScene.tsimport { ui } from "../ui/layaMaxUI"; export default class MyScene extends ui.CustomSceneUI{ constructor(){ super(); console.log(this.txt_hello.text); } } 设置CustomScene的runtime为刚刚创建的MyScene类,并创建一个var为txt_hello的文本,用来测试MySce...
来源: Laya_社区 发布时间: 20200827
...XRCameraManager.ts:66 用来创建XRCamera管理类 Parameters camera: any Default value manager: WebXRSessionManager = null Returns WebXRCameraManager Properties owner owner: any Defined in laya/d3/WebXR/core/WebXRCameraManager.ts:45 parent Accessors position get position(): Vector3 set position(ne...
来源: Laya3.0_api 发布时间: 20231115