docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Matrix 3x3 节点

    描述

    在着色器中定义一个常量矩阵 3x3 值。

    端口

    名称 方向 类型 绑定 描述
    Out 输出 Matrix 3 无 输出值

    控件

    名称 类型 选项 描述
    Matrix 3x3 设置输出值

    生成的代码示例

    以下示例代码表示此节点的一种可能结果。

    float3x3 _Matrix3x3 = float3x3(1, 0, 0, 0, 1, 0, 0, 0, 1);
    
    
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)