Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Applies the edited components of a representative value without replacing unrelated mixed components.

API: engine
Project: Inno.Editor.Shaders.ImGui

public static Inno.Rendering.Assets.MaterialValue Inno.Editor.Shaders.ImGui.ShaderPropertyInspector.ApplyEdit(Inno.Rendering.ShaderPropertyType type, Inno.Rendering.Assets.MaterialValue before, Inno.Rendering.Assets.MaterialValue edited, Inno.Rendering.Assets.MaterialValue target)

Parameter type: Common exact Shader property type.

Parameter before: Representative value before the control gesture sample.

Parameter edited: Representative value after this sample.

Parameter target: Another selected Material’s current effective value.

A detached value preserving the target’s untouched channels, texture or sampler.