Class MaterialProperty
Inheritance
MaterialProperty
Assembly: UnityEditor.dll
Syntax
public sealed class MaterialProperty
Properties
|
Improve this Doc
View Source
applyPropertyCallback
Declaration
public MaterialProperty.ApplyPropertyCallback applyPropertyCallback { get; set; }
Property Value
|
Improve this Doc
View Source
colorValue
Declaration
public Color colorValue { get; set; }
Property Value
|
Improve this Doc
View Source
displayName
Declaration
public string displayName { get; }
Property Value
|
Improve this Doc
View Source
flags
Declaration
public MaterialProperty.PropFlags flags { get; }
Property Value
|
Improve this Doc
View Source
floatValue
Declaration
public float floatValue { get; set; }
Property Value
|
Improve this Doc
View Source
hasMixedValue
Declaration
public bool hasMixedValue { get; }
Property Value
|
Improve this Doc
View Source
name
Declaration
public string name { get; }
Property Value
|
Improve this Doc
View Source
rangeLimits
Declaration
public Vector2 rangeLimits { get; }
Property Value
|
Improve this Doc
View Source
targets
Declaration
public Object[] targets { get; }
Property Value
|
Improve this Doc
View Source
textureDimension
Declaration
public TextureDimension textureDimension { get; }
Property Value
|
Improve this Doc
View Source
textureScaleAndOffset
Declaration
public Vector4 textureScaleAndOffset { get; set; }
Property Value
|
Improve this Doc
View Source
textureValue
Declaration
public Texture textureValue { get; set; }
Property Value
|
Improve this Doc
View Source
type
Declaration
public MaterialProperty.PropType type { get; }
Property Value
|
Improve this Doc
View Source
vectorValue
Declaration
public Vector4 vectorValue { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
ReadFromMaterialPropertyBlock(MaterialPropertyBlock)
Declaration
public void ReadFromMaterialPropertyBlock(MaterialPropertyBlock block)
Parameters
|
Improve this Doc
View Source
WriteToMaterialPropertyBlock(MaterialPropertyBlock, Int32)
Declaration
public void WriteToMaterialPropertyBlock(MaterialPropertyBlock materialblock, int changedPropertyMask)
Parameters
Extension Methods