大约有 64 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0081 秒)
...Constructors constructor Properties _cacheDepth _cacheDepthTexture _extra _forward _scene _up _url clearFlag enableRender name tag useOcclusionCulling RENDERINGTYPE_DEFERREDLIGHTING RENDERINGTYPE_FORWARDRENDERING WORLDINVERTFRONT _contextScissorPortCatch Accessors active activeInHierarchy aspectRati...
来源: Laya3.0_api 发布时间: 20231115
...Constructors constructor Properties _cacheDepth _cacheDepthTexture _extra _forward _scene _up _url clearFlag enableRender name tag useOcclusionCulling RENDERINGTYPE_DEFERREDLIGHTING RENDERINGTYPE_FORWARDRENDERING WORLDINVERTFRONT _contextScissorPortCatch Accessors active activeInHierarchy aspectRati...
来源: Laya3.0_api 发布时间: 20231115
...MatScale decomposeTransRotScale decomposeYawPitchRoll equalsOtherMatrix getForward getInvertFront getTranslationVector identity invert isIdentity normalize setForward setPosition setRotation setTranslationVector transpose billboard createAffineTransformation createFromQuaternion createLookAt createO...
来源: Laya3.0_api 发布时间: 20231115
...sRotScale decomposeYawPitchRoll equalsOtherMatrix getElementByRowColumn getForward getInvertFront getTranslationVector identity invert isIdentity normalize setElementByRowColumn setForward setPosition setRotation setTranslationVector transpose billboard createAffineTransformation createFromQuaternio...
来源: Laya3.0_api 发布时间: 20231102
...s: { BASERENDER2D: { type: bool, default: true } } shaderPass:[ { pipeline:Forward, VS:baseRenderVS, FS:baseRenderPS } ] } Shader3D End GLSL Start #defineGLSL baseRenderVS #define SHADER_NAME baseRender2D #include "Sprite2DVertex.glsl"; void main() { vec4 pos; //先计算位置,再做裁剪 getPos...
来源: Laya3.0_文档 发布时间: 20251120
...达) cameraPosition 相机位置世界空间坐标 cameraDirection 相机forward方向 cameraUp 相机Up方向 cameraNear 相机近平面大小 cameraFar 相机远平面大小 5.3 数学类 属性类型 属性释义 add / minus / multiply / divide 四则运算 sin / cos / tan 三角函数 clamp 钳...
来源: Laya3.0_文档 发布时间: 20251010
...获取向右方向。 getUp(up: Vector3): void:获取向上方向。 getForward(forward: Vector3):获取向前方向。 5. 局部空间与世界空间 局部空间,又称为物体空间,是相对于物体自身的坐标系。在局部空间中,物体自己的位置被视为原点(0,0...
来源: Laya3.0_文档 发布时间: 20251010
...lse }, } shaderPass:[ { pipeline:Forward, VS:LitVS, FS:LitFS } ] } Shader3D End GLSL Start #defineGLSL LitVS #define SHADER_NAME slicePBR #include "Math.glsl"; #include "Scene.glsl...
来源: Laya_社区 发布时间: 20250428
...x4}, u_OutLineWidth : {type: float, default:0.0} } shaderPass:[ { pipeline:Forward, VS:OutLineVS, FS:OutLineFS } { pipeline:Forward, VS:OutLine1VS, FS:OutLine1FS } ] } Shader3D End Shader3D Block设置了Shader的type和name以及对instancing、探针的支持情况,对shader中需要的uniform...
来源: Laya3.0_文档 发布时间: 20251010
... { type: bool, default: false, private: false } }, shaderPass:[ { pipeline:Forward, VS:textureVS, FS:texturePS } ] } Shader3D End 这个Shader只有一个shaderPass,顶点着色器的内容为textureVS,片段着色器的内容为texturePS,渲染模式为前向渲染。 实现具体的顶点着...
来源: Laya3.0_文档 发布时间: 20251010