set { m_MaterialProperty . vectorValue = value ; }
}
public Property ( BaseMaterialGUI parent , string propertyName , string guiText , bool isMandatory = true )
: this ( parent , propertyName , guiText , string . Empty , isMandatory )
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 Property ( BaseMaterialGUI parent , string propertyName , string guiText , string toolTip , bool isMandatory = true )
: base ( parent )
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 ;
private readonly string [ ] m_Options ;
private readonly int [ ] m_Values = null ;
public ComboProperty ( BaseMaterialGUI parent , string propertyName , string guiText , string [ ] options , bool isMandatory = true )
: base ( parent , propertyName , guiText , isMandatory )
public ComboProperty ( BaseMaterialGUI parent , string propertyName , string guiText , string [ ] options , bool isMandatory = true , Func < object , bool > isVisible = null )
: base ( parent , propertyName , guiText , isMandatory , isVisible )
public ComboProperty ( BaseMaterialGUI parent , string propertyName , string guiText , string toolTip , string [ ] options , bool isMandatory = true )
: base ( parent , propertyName , guiText , toolTip , isMandatory )
public ComboProperty ( BaseMaterialGUI parent , string propertyName , string guiText , string toolTip , string [ ] options , bool isMandatory = true , Func < object , bool > isVisible = null )
: base ( parent , propertyName , guiText , toolTip , isMandatory , isVisible )
public ComboProperty ( BaseMaterialGUI parent , string propertyName , string guiText , string [ ] options , int [ ] values , bool isMandatory = true )
: base ( parent , propertyName , guiText , isMandatory )
public ComboProperty ( BaseMaterialGUI parent , string propertyName , string guiText , string [ ] options , int [ ] values , bool isMandatory = true , Func < object , bool > isVisible = null )
: base ( parent , propertyName , guiText , isMandatory , isVisible )
public ComboProperty ( BaseMaterialGUI parent , string propertyName , string guiText , string toolTip , string [ ] options , int [ ] values , 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 , Func < object , bool > isVisible = null )
: base ( parent , propertyName , guiText , toolTip , isMandatory , isVisible )
{
m_Options = options ;
m_Values = values ;
public class DiffusionProfileProperty : Property
{
public DiffusionProfileProperty ( BaseMaterialGUI parent , string propertyName , string guiText , string toolTip , bool isMandatory = true )
: base ( parent , propertyName , guiText , toolTip , isMandatory )
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 )
{
}
private MaterialProperty m_ExtraProperty ;
public TextureOneLineProperty ( BaseMaterialGUI parent , string propertyName , string guiText , bool isMandatory = true )
: base ( parent , propertyName , guiText , isMandatory )
public TextureOneLineProperty ( BaseMaterialGUI parent , string propertyName , string guiText , bool isMandatory = true , Func < object , bool > isVisible = null )
: base ( parent , propertyName , guiText , isMandatory , isVisible )
public TextureOneLineProperty ( BaseMaterialGUI parent , string propertyName , string guiText , string toolTip , bool isMandatory = true )
: base ( parent , propertyName , guiText , toolTip , isMandatory )
public TextureOneLineProperty ( BaseMaterialGUI parent , string propertyName , string guiText , string toolTip , bool isMandatory = true , Func < object , bool > isVisible = null )
: base ( parent , propertyName , guiText , toolTip , isMandatory , isVisible )
public TextureOneLineProperty ( BaseMaterialGUI parent , string propertyName , string extraPropertyName , string guiText , string toolTip , bool isMandatory = true )
: base ( parent , propertyName , guiText , toolTip , isMandatory )
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 bool m_IsNormalMap ;
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 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 TextureProperty ( BaseMaterialGUI parent , string propertyName , string constantPropertyName , string guiText , string toolTip , bool useConstantAsTint , bool isMandatory = true , bool isNormalMap = false )
: base ( parent , propertyName , guiText , toolTip , isMandatory )
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 ;