大约有 572 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0053 秒)
...文件还可以起到代码编写提示的作用。 ### 2、使用说明 创建一个`.d.ts`后缀的声明文件,例如:`xxx.d.ts`。 然后在该文件中,按声明语法进行全局的声名,就可以在项目中直接使用了。 有时候引入的是第三方库或平台API,类和方...
来源: Laya2.0_文档 发布时间: 20210715
...mponent.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisabl...
来源: Laya3.0_api 发布时间: 20231115
...r Defined in laya/d3/component/Volume/BatchVolume/StaticBatchVolume.ts:163 创建一个BatchVolume实例 Returns StaticBatchVolume Properties Optional _extra _extra: IComponentExtra Inherited from Component._extra Defined in laya/components/Component.ts:36 Optional _singleton _singleton: boolean = t...
来源: Laya3.0_api 发布时间: 20231115
...帧速率将3D场景呈现给所选设备,并管理使用输入控制器创建的运动矢量。 从引擎层面上,通过计算应用于场景的透视图,以从每个用户的视角呈现场景,从而在3D中呈现场景,考虑到眼睛之间的常规距离,然后渲染场景两次,...
来源: Laya3.0_文档 发布时间: 20251010
...rrides Light.constructor Defined in laya/d3/core/light/PointLightCom.ts:19 创建一个 PointLight 实例。 Returns PointLightCom Properties Optional _extra _extra: IComponentExtra Inherited from Component._extra Defined in laya/components/Component.ts:36 Optional _singleton _singleton: boolean = t...
来源: Laya3.0_api 发布时间: 20231115
.../d3/component/Animator/Animator" Animator Class Animator Animator 类用于创建动画组件。 Hierarchy Component Animator Index Constructors constructor Properties _controller _extra _singleton cullingMode owner runInEditor scriptPath CULLINGMODE_ALWAYSANIMATE CULLINGMODE_CULLCOMPLETELY Accessor...
来源: Laya3.0_api 发布时间: 20231115
...)的setBuffer方法设置对应的uniform缓冲区。 在示例中,我们创建了一个长度为 4 * 20 的Float32Array(即colorBuffer),作为uniform vec4 colormap[20]的数据源,包含20种不同的颜色信息。 在实现过程中,我们为每个节点生成随机颜色索引(colorI...
来源: Laya3.0_文档 发布时间: 20251010
...mponent.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisabl...
来源: Laya3.0_api 发布时间: 20231115
...nt.constructor Defined in laya/d3/physics/constraints/FixedConstraint.ts:6 创建一个FixedConstraint实例 Returns FixedConstraint Properties Optional _extra _extra: IComponentExtra Inherited from Component._extra Defined in laya/components/Component.ts:36 Optional _singleton _singleton: boolean =...
来源: Laya3.0_api 发布时间: 20231115
...mponent.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisabl...
来源: Laya3.0_api 发布时间: 20231115