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

API: scripting
Project: Inno.Editor.Shaders.ImGui
Scope: Editor

public static InnoEngine.Rendering.MaterialValue InnoEditor.Shaders.ShaderPropertyInspector.ApplyEdit(InnoEngine.Rendering.ShaderPropertyType type, InnoEngine.Rendering.MaterialValue before, InnoEngine.Rendering.MaterialValue edited, InnoEngine.Rendering.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.