Class SerializedPropertyExtension
Extensions for SerializedProperty
Inherited Members
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
public static class SerializedPropertyExtension
Methods
Name | Description |
---|---|
GetEnumName<T>(SerializedProperty) | Helper to get an enum name from a SerializedProperty |
GetEnumValue<T>(SerializedProperty) | Helper to get an enum value from a SerializedProperty. This handle case where index do not correspond to enum value. |
GetInline<T>(SerializedProperty) | Get the value of a SerializedProperty. This function will be inlined by the compiler. Caution: The case of Enum is not handled here. |
IsTargetAlive(SerializedProperty) | Checks if the property target is alive |
SetEnumValue<T>(SerializedProperty, T) | Helper to set an enum value to a SerializedProperty |
SetInline<T>(SerializedProperty, T) | Set the value of a SerializedProperty. This function will be inlined by the compiler. Caution: The case of Enum is not handled here. |