Class StringKeyword
A serialized string that drives one shader_feature keyword picked from a popup, backed by
the same PropertyDrawerData value-registry used by [StringPopup] fields.
Subclass and override RetrieverKey to name the value-list registry key -
identity is code, not serialized data.
[Serializable]
public abstract class StringKeyword : IShaderFeatureKeyword
- Inheritance
-
StringKeyword
- Implements
- Inherited Members
Properties
ActiveKeywords
The shader_feature keywords currently active, given this field's current value.
public IEnumerable<string> ActiveKeywords { get; }
Property Value
RetrieverKey
The PropertyDrawerData value-list registry key for this popup.
public abstract string RetrieverKey { get; }
Property Value
Value
The current string value.
public string Value { get; set; }
Property Value
Operators
implicit operator string(StringKeyword)
public static implicit operator string(StringKeyword stringKeyword)
Parameters
stringKeywordStringKeyword