Table of Contents

Class StringKeyword

Namespace
Gamelogic.Fx
Assembly
Gamelogic.Fx.dll

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

IEnumerable<string>

RetrieverKey

The PropertyDrawerData value-list registry key for this popup.

public abstract string RetrieverKey { get; }

Property Value

string

Value

The current string value.

public string Value { get; set; }

Property Value

string

Operators

implicit operator string(StringKeyword)

public static implicit operator string(StringKeyword stringKeyword)

Parameters

stringKeyword StringKeyword

Returns

string