大约有 257 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0032 秒)
Laya_社区(87) Laya3.0_api(79) laya_api(30) Laya2.0_api(29) Laya3.0_文档(15) Laya2.0_文档(13) Laya_示例(4)
...cumentationAll Packages | All Classes | Index | Frames No Frames HalfFloatUtilsMethods Packagelaya.d3.mathClasspublic class HalfFloatUtilsInheritanceHalfFloatUtils Object HalfFloatUtils 类用于创建HalfFloat工具。 Public Methods MethodDefined By convertToNumber(float16bits:int):Num...
来源: Laya2.0_api 发布时间: 20190513
...ix4x4, maxScale:Number):voidTerrainLeaf calcLODErrors(terrainHeightData:Float32Array, heighDataWidth:int, heightDataHeight:int):voidTerrainLeaf calcOriginalBoudingBoxAndSphere():voidTerrainLeaf calcSkirtVertextBuffer(offsetChunkX:int, offsetChunkZ:int, beginX:int, beginZ:int, girdSize:int, ...
来源: Laya2.0_api 发布时间: 20190513
... colorIntensity : Number 获取颜色强度。 Sky envDiffuseSHBlue : Float32Array[write-only] Sky envDiffuseSHGreen : Float32Array[write-only] Sky envDiffuseSHRed : Float32Array[write-only] Sky environmentDiffuse : BaseTexture 获取环境漫反射贴图。 Sky environmentSpecular :...
来源: laya_api 发布时间: 20170929
...ectionProbe:true, uniformMap:{ u_AlphaTestValue: { type: Float, default: 0.5, range: [0.0, 1.0] }, u_TilingOffset: { type: Vector4, default: [1, 1, 0, 0] }, u_AlbedoColor: { type: Color, default: [1, 1, 1, 1] }, u_AlbedoColorScale: { type: Fl...
来源: Laya_社区 发布时间: 20250428
在Vector的设计中,Float32Array会比直接用变量更快么? 我看到Vector234的数学库中,描述矢量都是用的Float32Array,而不是直接写一个xyz。public var elements:* = new Float32Array(2); 这样做能够得到更高的运行效率么,不太懂为什么要这么...
来源: Laya_社区 发布时间: 20180126
...emplateBase 类实例。 ParticleTemplateBase addParticleArray(position:Float32Array, velocity:Float32Array):void 添加一个粒子 ParticleTemplateBaseProperty Detailsettingspropertypublic var settings:ParticleSetting 粒子配置数据 textureproperty protected var texture:Texture 粒子贴...
来源: laya_api 发布时间: 20170929
...emplateBase 类实例。 ParticleTemplateBase addParticleArray(position:Float32Array, velocity:Float32Array):void 添加一个粒子 ParticleTemplateBaseProperty Detailsettingspropertypublic var settings:ParticleSetting 粒子配置数据 textureproperty protected var texture:Texture 粒子贴...
来源: Laya2.0_api 发布时间: 20190513
... varying vec3 v_PositionWorld; uniform vec3 u_CameraPosition; uniform float u_FogStart; uniform float u_FogRange; #ifdef ADDTIVEFOG #else uniform vec3 u_FogColor; #endif #endif void main() { #ifdef RENDERMODE_MESH gl_FragColor=v_MeshColor; #else gl_FragColor=vec4(1.0); ...
来源: Laya_社区 发布时间: 20190802
...(attributeLocation: InstanceLocation): Vector4[] | Vector3[] | Vector2[] | Float32Array Defined in laya/d3/core/render/command/MaterialInstancePropertyBlock.ts:145 获得属性数据 Parameters attributeLocation: InstanceLocation 属性shader位置 Returns Vector4[] | Vector3[] | Vector2[] | Float32...
来源: Laya3.0_api 发布时间: 20231115
...x * a_Position; }`; var ps:string = ` #ifdef HIGHPRECISION precision highp float; #else precision mediump float; #endif #include "Lighting.glsl"; uniform sampler2D u_MainTex; uniform sampler2D u_NoiseTex; uniform vec3 u_CameraPos; uniform vec3 u_AmbientColor; uniform DirectionLight u_DirectionL...
来源: Laya_社区 发布时间: 20190923