• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,171 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0065 秒)

1111. 微信小游戏默认项目代码添加unity导出.lh文件,微信开发工具提示错误 [ 38%]

...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

1112. ShaderPass介绍(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 38%]

...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

1113. laya.d3.animation.AnimationClip_API3.0 [ 38%]

...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

1114. laya.resource.BaseTexture_API3.0 [ 38%]

...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

1115. laya.maths.Vector4_API3.0 [ 38%]

...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

1116. laya.d3.component.animator.Animator_API3.0 [ 38%]

.../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

1117. laya.maths.Quaternion_API3.0 [ 38%]

...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

1118. laya.resource.PrefabImpl_API3.0 [ 38%]

...]): 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

1119. laya.d3.math.Vector4_API3.0 [ 38%]

...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

1120. laya.net.Loader_API3.0 [ 38%]

...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