public TextureProperty(BaseMaterialGUI parent, string propertyName, string constantPropertyName, string guiText, string toolTip, bool useConstantAsTint, bool isMandatory = true, bool isNormalMap = false, Func <object, bool> isVisible = null) : base(parent, propertyName, guiText, toolTip, isMandatory, isVisible) { m_IsNormalMap = isNormalMap; m_ConstantPropertyName = constantPropertyName; m_Show = new Property(parent, propertyName + "Show", "", isMandatory); if (useConstantAsTint == false) { m_ConstantProperty = new Property(parent, constantPropertyName, guiText, toolTip, isMandatory); } m_TextureProperty = new TextureOneLineProperty(parent, propertyName, useConstantAsTint ? constantPropertyName : string.Empty, guiText, toolTip, isMandatory); m_UvSetProperty = new ComboProperty(parent, propertyName + "UV", "UV Mapping", Enum.GetNames(typeof(UVMapping)), false); m_LocalOrWorldProperty = new ComboProperty(parent, propertyName + "UVLocal", "Local or world", Enum.GetNames(typeof(PlanarSpace)), false); m_NormalSpaceProperty = new ComboProperty(parent, propertyName + "ObjSpace", "Normal space", Enum.GetNames(typeof(NormalSpace)), false); m_ChannelProperty = new ComboProperty(parent, propertyName + "Channel", "Channel", Enum.GetNames(typeof(Channel)), false); m_RemapProperty = new Property(parent, constantPropertyName + "Remap", "Remapping", "Defines the range to remap/scale the values in texture", false); m_InvertRemapProperty = new Property(parent, constantPropertyName + "RemapInverted", "Invert Remapping", "Whether the mapping values are inverted.", false); }
public Property(BaseMaterialGUI parent, string propertyName, string guiText, string toolTip, bool isMandatory = true, Func <object, bool> isVisible = null) : base(parent, isVisible) { m_GuiContent = new GUIContent(guiText, toolTip); PropertyName = propertyName; PropertyText = guiText; IsMandatory = isMandatory; }
public GroupProperty(BaseMaterialGUI parent, string groupName, string groupTitle, BaseProperty[] childProperties, Func <object, bool> isVisible = null) : base(parent, isVisible) { m_Show = new Property(parent, groupName + "Show", "", false); m_Title = groupTitle; m_ChildProperties = childProperties; }
public Property(BaseMaterialGUI parent, string propertyName, string guiText, string toolTip, bool isMandatory = true) : base(parent) { m_GuiContent = new GUIContent(guiText, toolTip); PropertyName = propertyName; PropertyText = guiText; IsMandatory = isMandatory; }
public Property(BaseMaterialGUI parent, string propertyName, string guiText, bool isMandatory = true) : this(parent, propertyName, guiText, string.Empty, isMandatory) { }
public TextureProperty(BaseMaterialGUI parent, string propertyName, string constantPropertyName, string guiText, bool useConstantAsTint, bool isMandatory = true, bool isNormalMap = false, Func <object, bool> isVisible = null) : this(parent, propertyName, constantPropertyName, guiText, string.Empty, useConstantAsTint, isMandatory, isNormalMap, isVisible) { }
public GroupProperty(BaseMaterialGUI parent, string groupName, BaseProperty[] childProperties, Func <object, bool> isVisible = null) : this(parent, groupName, string.Empty, childProperties, isVisible) { }
public TextureOneLineProperty(BaseMaterialGUI parent, string propertyName, string extraPropertyName, string guiText, string toolTip, bool isMandatory = true, Func <object, bool> isVisible = null) : base(parent, propertyName, guiText, toolTip, isMandatory, isVisible) { ExtraPropertyName = extraPropertyName; }
public DiffusionProfileProperty(BaseMaterialGUI parent, string propertyName, string guiText, string toolTip, bool isMandatory = true, Func <object, bool> isVisible = null) : base(parent, propertyName, guiText, toolTip, isMandatory, isVisible) { }
public ComboProperty(BaseMaterialGUI parent, string propertyName, string guiText, string toolTip, string[] options, int[] values, bool isMandatory = true, Func <object, bool> isVisible = null) : base(parent, propertyName, guiText, toolTip, isMandatory, isVisible) { m_Options = options; m_Values = values; }
protected BaseProperty(BaseMaterialGUI parent, Func <object, bool> isVisible = null) { Parent = parent; IsVisible = isVisible; }
public TextureProperty(BaseMaterialGUI parent, string propertyName, string constantPropertyName, string guiText, bool useConstantAsTint, bool isMandatory = true, bool isNormalMap = false) : this(parent, propertyName, constantPropertyName, guiText, string.Empty, useConstantAsTint, isMandatory, isNormalMap) { }
public Property(BaseMaterialGUI parent, string propertyName, string guiText, bool isMandatory = true, Func <object, bool> isVisible = null) : this(parent, propertyName, guiText, string.Empty, isMandatory, isVisible) { }
public TextureOneLineProperty(BaseMaterialGUI parent, string propertyName, string extraPropertyName, string guiText, string toolTip, bool isMandatory = true) : base(parent, propertyName, guiText, toolTip, isMandatory) { ExtraPropertyName = extraPropertyName; }
public TextureOneLineProperty(BaseMaterialGUI parent, string propertyName, string guiText, bool isMandatory = true) : base(parent, propertyName, guiText, isMandatory) { }
public DiffusionProfileProperty(BaseMaterialGUI parent, string propertyName, string guiText, string toolTip, bool isMandatory = true) : base(parent, propertyName, guiText, toolTip, isMandatory) { }
public ComboProperty(BaseMaterialGUI parent, string propertyName, string guiText, string toolTip, string[] options, int[] values, bool isMandatory = true) : base(parent, propertyName, guiText, toolTip, isMandatory) { m_Options = options; m_Values = values; }
public ComboProperty(BaseMaterialGUI parent, string propertyName, string guiText, string[] options, bool isMandatory = true) : base(parent, propertyName, guiText, isMandatory) { m_Options = options; }