Class MeshUtils | Terrain Tools | 3.0.2-preview.3
docs.unity.cn
    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 © 2020 Unity Technologies
    Generated by DocFX
    on 10 November 2020