Class MeshUtils | Terrain Tools | 3.0.2-preview.3
docs.unity3d.com
    Show / Hide Table of Contents

    Class MeshUtils

    Inheritance
    Object
    MeshUtils
    Namespace: UnityEditor.Experimental.TerrainAPI
    Syntax
    public static class MeshUtils

    Properties

    defaultProjectionMaterial

    Declaration
    public static Material defaultProjectionMaterial { get; }
    Property Value
    Type Description
    Material

    Methods

    QuaternionFromMatrix(Matrix4x4)

    Declaration
    public static Quaternion QuaternionFromMatrix(Matrix4x4 m)
    Parameters
    Type Name Description
    Matrix4x4 m
    Returns
    Type Description
    Quaternion

    RenderTopdownProjection(Mesh, Matrix4x4, RenderTexture, Material, MeshUtils.ShaderPass)

    Declaration
    public static void RenderTopdownProjection(Mesh mesh, Matrix4x4 model, RenderTexture destination, Material mat, MeshUtils.ShaderPass pass)
    Parameters
    Type Name Description
    Mesh mesh
    Matrix4x4 model
    RenderTexture destination
    Material mat
    MeshUtils.ShaderPass pass

    TransformBounds(Matrix4x4, Bounds)

    Declaration
    public static Bounds TransformBounds(Matrix4x4 m, Bounds bounds)
    Parameters
    Type Name Description
    Matrix4x4 m
    Bounds bounds
    Returns
    Type Description
    Bounds
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023