C# Class UnityEditor.MaterialProperty

显示文件 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Private Properties

Property Type Description
ApplyProperty void
ApplyProperty void
IsTextureOffsetAndScaleChangedMask bool

Public Methods

Method Description
ReadFromMaterialPropertyBlock ( MaterialPropertyBlock block ) : void
WriteToMaterialPropertyBlock ( MaterialPropertyBlock materialblock, int changedPropertyMask ) : void

Private Methods

Method Description
ApplyProperty ( object newValue ) : void
ApplyProperty ( object previousValue, int changedPropertyMask ) : void
IsTextureOffsetAndScaleChangedMask ( int changedMask ) : bool

Method Details

ReadFromMaterialPropertyBlock() public method

public ReadFromMaterialPropertyBlock ( MaterialPropertyBlock block ) : void
block UnityEngine.MaterialPropertyBlock
return void

WriteToMaterialPropertyBlock() public method

public WriteToMaterialPropertyBlock ( MaterialPropertyBlock materialblock, int changedPropertyMask ) : void
materialblock UnityEngine.MaterialPropertyBlock
changedPropertyMask int
return void