大约有 2,402 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0106 秒)
Laya_社区(1823) Laya3.0_api(153) laya_api(104) Laya2.0_api(96) Laya2.0_文档(77) Laya_示例(52) Laya3.0_文档(49) Laya2.0_示例(48)
... 报告这个问题,然后模拟器无法继续调试。模型是 BlinnPhoneMaterial,换成 UnlitMaterial后 此问题消失 ———— 但是真的想用 BlinnPhoneMaterial 啊! laya.d3.js:1 Uncaught TypeError: Failed to execute 'shaderSource' on 'WebGL2RenderingContext': parameter 1 is ...
来源: Laya_社区 发布时间: 20191024
...shader例子? private initShader(): void { var attributeMap = { 'a_Position': Laya.VertexElementUsage.POSITION0, 'a_Normal': Laya.VertexElementUsage.NORMAL0 }; var uniformMap = { 'u_MvpMatrix': [Laya.Sprite3D.MVPMATRIX, Laya.Shader3D.PERIOD_SPRITE], 'u_WorldMat': [Laya.Sprite3D.WORLDMATRIX, Laya.S...
来源: Laya_社区 发布时间: 20180904
...r to provide users with the secure and curated experience that they expect on the App Store, we have always specified that apps must be self-contained bundles. This means that the core features and functionality of the app must be contained within the binary of the software, rather than made possibl...
来源: Laya_社区 发布时间: 20190909
...找了这个包含 u_AmbientColor 定义的 glsl文件,globalIllumination.glsl, 引入这个文件也没办法解决。 实在想不明白,有没有大佬知道这个 u_AmbientColor 具体的正确用法,官方的文档也没有详细介绍这些内容,有点头大,希望有人能解答...
来源: Laya_社区 发布时间: 20230727
# 模型的功能介绍 ###### *version :2.0.2beta Update:2019-4-26* 3D模型在有时候会由多个子模型对象构成,例如场景模型.ls,基本都是由多个物体模型与材质构成,外层是Sprite3D容器,内部才是真正的模型MeshSprite3D或SkinnedMeshSprite3D。并且还...
来源: Laya2.0_文档 发布时间: 20210714
# 模型的功能介绍 ###### *version :2.0.2beta Update:2019-4-26* 3D模型在有时候会由多个子模型对象构成,例如场景模型.ls,基本都是由多个物体模型与材质构成,外层是Sprite3D容器,内部才是真正的模型MeshSprite3D或SkinnedMeshSprite3D。并且还...
来源: Laya2.0_文档 发布时间: 20210715
API DocumentationAll Packages | All Classes | Index | Frames No Frames BoxColliderProperties | Methods | Events Packagelaya.d3.component.physicsClasspublic class BoxColliderInheritanceBoxCollider Collider Component3D EventDispatcher Object BoxCollider 类用于创建盒子碰撞器。 Publ...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames SphereColliderProperties | Methods | Events Packagelaya.d3.component.physicsClasspublic class SphereColliderInheritanceSphereCollider Collider Component3D EventDispatcher Object SphereCollider 类用于创建球碰撞...
来源: laya_api 发布时间: 20170929
...具:.laya/publish.js 中 // 压缩js gulp.task("compressJs", ["compressJson"], function () { if (config.compressJs) { return gulp.src(config.compressJsFilter, { base: releaseDir }) .pipe(sourcemaps.init({loadMaps:true})) .pipe(uglify({ mangle: { keep_fnames:true } })) .pipe(sourcemaps.write(releas...
来源: Laya_社区 发布时间: 20200720
sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 试了一下好像不行,无论是Laya.Tween.to(lamp.transform, {localScale:Vector3.zero}, 500); 还是Laya.Tween.to(lamp.transform.localScale, {x:1, y:1, z:1}, 500);都没有反应,是不是我调用的方式不对呢...
来源: Laya_社区 发布时间: 20170630