文档

Unity Engine

Unity Engine

FromMaterial(Material)

Creates a material definition from a Material.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static MaterialDefinition FromMaterial(Material m)

Parameters

The material to use.

Returns

Type

Description

MaterialDefinitionA new material definition object.