大约有 1,163 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0052 秒)
Laya3.0_api(314) Laya_社区(299) Laya2.0_api(226) laya_api(174) Laya2.0_文档(113) Laya3.0_文档(34) Laya2.0_示例(3)
...nd/CommandBuffer" CommandBuffer Class CommandBuffer CommandBuffer 类用于创建命令流。 Hierarchy CommandBuffer Index Constructors constructor Accessors casterShadow context name Methods _apply _applyOne addCustomCMD blitScreenQuad blitScreenQuadByMaterial blitScreenTriangle clearRenderTarget ...
来源: Laya3.0_api 发布时间: 20231115
...: Array<any>): Node Defined in laya/resource/HierarchyResource.ts:24 创建实例 Parameters Optional options: Record<string, any> Optional errors: Array<any> Returns Node destroy destroy(): void Inherited from Resource.destroy Defined in laya/resource/Resource.ts:235 销毁资源,...
来源: Laya3.0_api 发布时间: 20231115
...omplete)); } /*加载3D资源完成回调*/ private on3DComplete():void{ //创建3D角色 //实例化角色 this.role = Laya.loader.getRes("res/LayaScene_girl/girl.lh"); this.scene.addChild(this.role); //角色位置 this.role.transform.position = new Laya.Vector3(0,1,2); } } new LayaAir3D(); 但...
来源: Laya_社区 发布时间: 20180307
...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