Class MaterialConverter
Inheritance
System.Object
MaterialConverter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Bayat.Json.Runtime.dll
Syntax
public class MaterialConverter : UnityObjectConverter
Fields
|
Improve this Doc
View Source
MaterialPropertiesName
Declaration
public const string MaterialPropertiesName = "$materialProperties"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
MaterialPropertyNamePrefix
Declaration
public const string MaterialPropertyNamePrefix = "$materialProperty_"
Field Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
CanConvert(Type)
Declaration
public override bool CanConvert(Type objectType)
Parameters
Type |
Name |
Description |
System.Type |
objectType |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
Create(JsonReader, JsonSerializerReader, JsonObjectContract, String, String, Type, out Boolean)
Declaration
public override object Create(JsonReader reader, JsonSerializerReader internalReader, JsonObjectContract objectContract, string id, string unityGuid, Type objectType, out bool exit)
Parameters
Returns
Type |
Description |
System.Object |
|
Overrides
|
Improve this Doc
View Source
PopulateMember(String, JsonContract, JsonReader, Type, Object, JsonSerializerReader)
Declaration
public override object PopulateMember(string memberName, JsonContract contract, JsonReader reader, Type objectType, object targetObject, JsonSerializerReader internalReader)
Parameters
Returns
Type |
Description |
System.Object |
|
Overrides
|
Improve this Doc
View Source
WriteProperties(JsonObjectContract, JsonWriter, Object, Type, JsonSerializerWriter)
Declaration
public override void WriteProperties(JsonObjectContract contract, JsonWriter writer, object value, Type objectType, JsonSerializerWriter internalWriter)
Parameters
Overrides