Class ShaderConverter
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()
Namespace: Bayat.Json.Converters
Assembly: Bayat.Json.Runtime.dll
Syntax
public class ShaderConverter : UnityObjectConverter
Methods
| Improve this Doc View SourceCanConvert(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 SourceCreate(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
Type | Name | Description |
---|---|---|
JsonReader | reader | |
JsonSerializerReader | internalReader | |
JsonObjectContract | objectContract | |
System.String | id | |
System.String | unityGuid | |
System.Type | objectType | |
System.Boolean | exit |
Returns
Type | Description |
---|---|
System.Object |
Overrides
| Improve this Doc View SourcePopulateMember(String, JsonContract, JsonReader, Type, Object, JsonSerializerReader)
Declaration
public override object PopulateMember(string memberName, JsonContract contract, JsonReader reader, Type objectType, object targetObject, JsonSerializerReader internalReader)
Parameters
Type | Name | Description |
---|---|---|
System.String | memberName | |
JsonContract | contract | |
JsonReader | reader | |
System.Type | objectType | |
System.Object | targetObject | |
JsonSerializerReader | internalReader |
Returns
Type | Description |
---|---|
System.Object |
Overrides
| Improve this Doc View SourceWriteProperties(JsonObjectContract, JsonWriter, Object, Type, JsonSerializerWriter)
Declaration
public override void WriteProperties(JsonObjectContract contract, JsonWriter writer, object value, Type objectType, JsonSerializerWriter internalWriter)
Parameters
Type | Name | Description |
---|---|---|
JsonObjectContract | contract | |
JsonWriter | writer | |
System.Object | value | |
System.Type | objectType | |
JsonSerializerWriter | internalWriter |