OptionalAttribute
()
|
Signature
Oculus.Interaction.OptionalAttribute.OptionalAttribute() |
OptionalAttribute
(
flags
)
|
Signature
Oculus.Interaction.OptionalAttribute.OptionalAttribute(Flag flags) Parameters flags: Flag |
Flags
: Flag
[Get] |
Signature
Flag Oculus.Interaction.OptionalAttribute.Flags |
| Member | Value | Description |
|---|---|---|
None | 0 |
Presents the Optional tag and moves it into the Optional Section.
|
AutoGenerated | 1 << 0 |
Indicates that if the reference is missing, a new object will be created and linked to it during runtime.
|
DontHide | 1 << 1 |
Indicates that even though the reference is Optional, it is important for the component to work as expected.
|
Obsolete | 1 << 2 |
Indicates that the field is obsolete and should be avoided.
|