ColorPicker.ExtractColorFromMaterial(MeshRenderer) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extracts a color from a MeshRenderer and applies it to the color picker
public:
void ExtractColorFromMaterial(UnityEngine::MeshRenderer ^ meshRenderer);
public void ExtractColorFromMaterial (UnityEngine.MeshRenderer meshRenderer);
member this.ExtractColorFromMaterial : UnityEngine.MeshRenderer -> unit
Public Sub ExtractColorFromMaterial (meshRenderer As MeshRenderer)
Parameters
- meshRenderer
- UnityEngine.MeshRenderer