Class MeshRendererConversion | Project Tiny Rendering | 0.24.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class MeshRendererConversion

    Inheritance
    Object
    MeshRendererConversion
    Namespace: Unity.TinyConversion
    Syntax
    public class MeshRendererConversion : GameObjectConversionSystem

    Methods

    ConvertSubmesh(GameObjectConversionSystem, UnityEngine.MeshRenderer, UnityEngine.Mesh, Entity, Int32, Entity)

    Declaration
    public static Entity ConvertSubmesh(GameObjectConversionSystem gsys, UnityEngine.MeshRenderer uMeshRenderer, UnityEngine.Mesh uMesh, Entity meshEntity, int subMeshIndex, Entity materialEntity)
    Parameters
    Type Name Description
    GameObjectConversionSystem gsys
    UnityEngine.MeshRenderer uMeshRenderer
    UnityEngine.Mesh uMesh
    Entity meshEntity
    Int32 subMeshIndex
    Entity materialEntity
    Returns
    Type Description
    Entity

    FindTargetMaterialEntity(GameObjectConversionSystem, Material[], Int32)

    Declaration
    public static Entity FindTargetMaterialEntity(GameObjectConversionSystem gsys, Material[] sharedMaterials, int materialIndex)
    Parameters
    Type Name Description
    GameObjectConversionSystem gsys
    Material[] sharedMaterials
    Int32 materialIndex
    Returns
    Type Description
    Entity

    OnUpdate()

    Declaration
    protected override void OnUpdate()

    ShouldRunConversionSystem()

    Declaration
    public override bool ShouldRunConversionSystem()
    Returns
    Type Description
    Boolean
    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