大约有 1,150 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0048 秒)
Laya3.0_api(314) Laya_社区(291) Laya2.0_api(226) laya_api(174) Laya2.0_文档(113) Laya3.0_文档(29) Laya2.0_示例(3)
...hader var customShader = Laya.Shader3D.add("MultiplePassOutlineShader"); //创建一个subShader var subShader = new Laya.SubShader(attributeMap, uniformMap); customShader.addSubShader(subShader); //添加一个Pass var pass1 = subShader.addShaderPass(OutlineVS, OutlineFS); //设置渲染状态,...
来源: Laya2.0_文档 发布时间: 20210715
...es Resource.__constructor Defined in laya/d3/animation/AnimationClip.ts:87 创建一个 AnimationClip 实例。 Returns AnimationClip Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Resource.ts:97 destroyedImmediately destroyedImmediately: boolean Inherited from R...
来源: Laya3.0_api 发布时间: 20231115
...URL Defined in laya/resource/Resource.ts:198 返回资源是否从指定url创建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off De...
来源: Laya3.0_api 发布时间: 20231115
...d Menu Globals "laya/maths/Vector4" Vector4 Class Vector4 Vector4 类用于创建四维向量。 Hierarchy Vector4 Implements IClone Index Constructors constructor Properties w x y z ONE UnitW UnitX UnitY UnitZ ZERO Methods clone cloneTo equal forNativeElement fromArray length lengthSquared setValue...
来源: 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
...ls "laya/maths/Quaternion" Quaternion Class Quaternion Quaternion 类用于创建四元数。 Hierarchy Quaternion Implements IClone Index Constructors constructor Properties w x y z DEFAULT NAN Methods clone cloneTo equals forNativeElement fromArray getYawPitchRoll identity invert length lengthSqua...
来源: Laya3.0_api 发布时间: 20231115
...]): Node Overrides Prefab.create Defined in laya/resource/PrefabImpl.ts:43 创建一个 Parameters Optional options: Record<string, any> Optional errors: any[] Returns Node destroy destroy(): void Inherited from Resource.destroy Defined in laya/resource/Resource.ts:235 销毁资源,销毁后...
来源: Laya3.0_api 发布时间: 20231115
...Menu Globals "laya/d3/math/Vector4" Vector4 Class Vector4 Vector4 类用于创建四维向量。 Hierarchy Vector4 Implements IClone Index Constructors constructor Properties w x y z ONE UnitW UnitX UnitY UnitZ ZERO Methods clone cloneTo forNativeElement fromArray length lengthSquared setValue toArr...
来源: Laya3.0_api 发布时间: 20231102
...ructors constructor new Loader(): Loader Defined in laya/net/Loader.ts:176 创建一个新的 Loader 实例。 注意:请使用Laya.loader加载资源,这是一个单例,不要手动实例化此类,否则会导致不可预料的问题。 Returns Loader Properties maxLoader maxLoader: number ...
来源: Laya3.0_api 发布时间: 20231115
...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