Property specifiers
Specifiers that shape a prop (UPROPERTY).
Common examples
prop public float Damage EditAnywhere BlueprintReadWrite category="Combat" default=10.0f clamp=[0.0f, 1000.0f] units="hp"
prop public bool bEnabled EditAnywhere BlueprintReadWrite category="Combat" default=true
prop public int32 MaxCount EditAnywhere BlueprintReadWrite category="Combat" default=5
prop private float FrameCounter
Editing
| Specifier | Effect |
|---|---|
EditAnywhere | editable in Details and per-instance |
EditDefaultsOnly | only in the CDO/template |
EditInstanceOnly | only on placed instances |
VisibleAnywhere | visible but not editable |
VisibleDefaultsOnly | visible, defaults only |
Blueprint
| Specifier | Effect |
|---|---|
BlueprintReadWrite | readable & writable by Blueprint |
BlueprintReadOnly | readable only |
BlueprintAssignable | (delegates) bindable in Blueprint |
BlueprintCallable | callable from Blueprint (on func) |
Data / behavior
| Specifier | Effect |
|---|---|
Transient | not serialized |
Config | read from config files |
Replicated | replicated (see Networking) |
ReplicatedUsing=OnRep_X | replication callback |
Meta-style qualifiers (as logical tokens)
| Token | Effect |
|---|---|
category="Name" | Details category |
default=value | C++ initializer (= value) |
clamp=[min, max] | editor slider/value clamp |
units="unit" | unit annotation (hp, seconds, ...) |
display_name="Name" | friendly display name |
meta(...) | raw meta= UHT metadata |
Access modifiers
public / protected / private control the C++ access for the member.
Generated parallel
Each prop public ... EditAnywhere BlueprintReadWrite category="X" default=V produces:
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "X")
Type Member = V;
Next: Function specifiers.