gdext.annotations
Members list
Type members
Classlikes
Dropdown of the animations of the referenced AnimationPlayer/AnimationMixer comp.
Dropdown of the animations of the referenced AnimationPlayer/AnimationMixer comp.
Attributes
- Supertypes
-
trait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Dropdown of the parameters/... paths of the referenced AnimationTree comp.
Dropdown of the parameters/... paths of the referenced AnimationTree comp.
Attributes
- Supertypes
-
trait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Dropdown of the state names of the referenced AnimationTree comp's root state machine (the names AnimationNodeStateMachinePlayback.travel accepts).
Dropdown of the state names of the referenced AnimationTree comp's root state machine (the names AnimationNodeStateMachinePlayback.travel accepts).
Attributes
- Supertypes
-
trait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Dropdown of the sub-node names inside one state's AnimationNodeBlendTree (e.g. a OneShot node to fire via parameters/<state>/<node>/request). state selects the state exactly as in exportAnimationStateProperty.
Dropdown of the sub-node names inside one state's AnimationNodeBlendTree (e.g. a OneShot node to fire via parameters/<state>/<node>/request). state selects the state exactly as in exportAnimationStateProperty.
Attributes
- Supertypes
-
trait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Dropdown of the parameter names under one state of the referenced AnimationTree comp — the <param> in parameters/<state>/<param>. state names a sibling String field (typically an exportAnimationStateName one) whose CURRENT value selects the state, so the options follow it.
Dropdown of the parameter names under one state of the referenced AnimationTree comp — the <param> in parameters/<state>/<param>. state names a sibling String field (typically an exportAnimationStateName one) whose CURRENT value selects the state, so the options follow it.
Attributes
- Supertypes
-
trait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Dropdown of the bones of the referenced Skeleton3D comp.
Dropdown of the bones of the referenced Skeleton3D comp.
Attributes
- Supertypes
-
trait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Starts an inspector category (@export_category) at the annotated property.
Starts an inspector category (@export_category) at the annotated property.
Attributes
- Supertypes
-
trait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Starts an inspector group (gdext / GDScript @export_group) at the annotated property; following exported properties stay in the group until the next section marker. prefix, if given, is stripped from member display names.
Starts an inspector group (gdext / GDScript @export_group) at the annotated property; following exported properties stay in the group until the next section marker. prefix, if given, is stripped from member display names.
Attributes
- Supertypes
-
trait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Dropdown of the animation names of the referenced SpriteFrames comp.
Dropdown of the animation names of the referenced SpriteFrames comp.
Attributes
- Supertypes
-
trait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Starts an inspector subgroup (@export_subgroup) at the annotated property.
Starts an inspector subgroup (@export_subgroup) at the annotated property.
Attributes
- Supertypes
-
trait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Marks a method as callable from Godot/GDScript (gdext #[func]).
Marks a method as callable from Godot/GDScript (gdext #[func]).
Attributes
- Supertypes
-
trait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Marks a var as an editor-exposed property (gdext #[export]). The macro registers it using a get_<name>/set_<name> accessor pair derived from the field. (Named gdexport because export is a Scala keyword.)
Marks a var as an editor-exposed property (gdext #[export]). The macro registers it using a get_<name>/set_<name> accessor pair derived from the field. (Named gdexport because export is a Scala keyword.)
An optional ExportHint customises the inspector widget, mirroring GDScript's @export_range / @export_file / @export_multiline / … :
@gdexport(ExportHint.range(0, 100)) var hp: Int = 50
Attributes
- Supertypes
-
trait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Declares a (currently no-argument) signal on the class (gdext #[signal]). Apply to a def <name>(): Unit member; only the name is used.
Declares a (currently no-argument) signal on the class (gdext #[signal]). Apply to a def <name>(): Unit member; only the name is used.
Attributes
- Supertypes
-
trait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Value members
Concrete methods
Compile-time field-name reference for the annotation arguments above: @exportAnimationStateName(nameOf(animationTree)) means "animationTree" but follows the field through renames. Only usable on CLASS-BODY fields — an annotation argument on a constructor param is typed outside the class scope and cannot see sibling params, so ctor-param dropdowns must keep string arguments. Only meaningful inside these annotations (the registration macro reads the referenced field's name from the tree); calling it at runtime throws.
Compile-time field-name reference for the annotation arguments above: @exportAnimationStateName(nameOf(animationTree)) means "animationTree" but follows the field through renames. Only usable on CLASS-BODY fields — an annotation argument on a constructor param is typed outside the class scope and cannot see sibling params, so ctor-param dropdowns must keep string arguments. Only meaningful inside these annotations (the registration macro reads the referenced field's name from the tree); calling it at runtime throws.