Class PropertyFetcherExtensions
Inheritance
System.Object
PropertyFetcherExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEditor.Experimental.Rendering
Syntax
public static class PropertyFetcherExtensions
Methods
Find<TSource, TValue>(SerializedObject, Expression<Func<TSource, TValue>>)
Declaration
public static SerializedProperty Find<TSource, TValue>(this SerializedObject obj, Expression<Func<TSource, TValue>> expr)
Parameters
Type | Name | Description |
---|---|---|
SerializedObject | obj | |
Expression<Func<TSource, TValue>> | expr |
Returns
Type | Description |
---|---|
SerializedProperty |
Type Parameters
Name | Description |
---|---|
TSource | |
TValue |
Find<TSource, TValue>(SerializedProperty, Expression<Func<TSource, TValue>>)
Declaration
public static SerializedProperty Find<TSource, TValue>(this SerializedProperty obj, Expression<Func<TSource, TValue>> expr)
Parameters
Type | Name | Description |
---|---|---|
SerializedProperty | obj | |
Expression<Func<TSource, TValue>> | expr |
Returns
Type | Description |
---|---|
SerializedProperty |
Type Parameters
Name | Description |
---|---|
TSource | |
TValue |