NavigationPolygon class

Inheritance
Available extensions

Properties

changed Signal0
latefinalinherited
hashCode int
The hash code for this object.
no setterinherited
nativePointerAddress int
Since Pointer.address isn's tagged 'vm:entry-point', supply an entry point that can get the raw pointer address for this object
no setterinherited
nativePtr → GDExtensionObjectPtr
no setterinherited
propertyListChanged Signal0
latefinalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scriptChanged Signal0
latefinalinherited
setupLocalToSceneRequested Signal0
latefinalinherited
typeInfo ExtensionTypeInfo<NavigationPolygon>
no setteroverride

Methods

addOutline(PackedVector2Array outline) → void
addOutlineAtIndex(PackedVector2Array outline, int index) → void
addPolygon(PackedInt32Array polygon) → void
addUserSignal(String signal, {Array? arguments}) → void
inherited
as<T>() → T?

Available on GodotObject, provided by the GodotObjectCast extension

attachSignal(SignalCallable signal) → void
inherited
call(String method, {List<Variant> vargs = const []}) Variant
inherited
callDeferred(String method, {List<Variant> vargs = const []}) Variant
inherited
callv(String method, Array argArray) Variant
inherited
cancelFree() → void
inherited
canTranslateMessages() bool
inherited
clear() → void
clearOutlines() → void
clearPolygons() → void
connect(String signal, Callable callable, {int flags = 0}) GDError
inherited
detachSignal(SignalCallable signal) → void
inherited
disconnect(String signal, Callable callable) → void
inherited
duplicate({bool subresources = false}) Resource?
inherited
emitChanged() → void
inherited
emitSignal(String signal, {List<Variant> vargs = const []}) GDError
inherited
get(String property) Variant
inherited
getAgentRadius() double
getBakingRect() Rect2
getBakingRectOffset() Vector2
getBorderSize() double
getCellSize() double
getClass() String
inherited
getIncomingConnections() → TypedArray<Dictionary>
inherited
getIndexed(NodePath propertyPath) Variant
inherited
getInstanceId() int
inherited
getLocalScene() Node?
inherited
getMeta(String name, {Variant? defaultval}) Variant
inherited
getMetaList() → TypedArray<StringName>
inherited
getMethodArgumentCount(String method) int
inherited
getMethodList() → TypedArray<Dictionary>
inherited
getName() String
inherited
getNavigationMesh() NavigationMesh?
getOutline(int idx) PackedVector2Array
getOutlineCount() int
getParsedCollisionMask() int
getParsedCollisionMaskValue(int layerNumber) bool
getParsedGeometryType() NavigationPolygonParsedGeometryType
getPath() String
inherited
getPolygon(int idx) PackedInt32Array
getPolygonCount() int
getPropertyList() → TypedArray<Dictionary>
inherited
getReferenceCount() int
inherited
getRid() RID
inherited
getSceneUniqueId() String
inherited
getScript() Variant
inherited
getSignalConnectionList(String signal) → TypedArray<Dictionary>
inherited
getSignalList() → TypedArray<Dictionary>
inherited
getSourceGeometryGroupName() String
getSourceGeometryMode() NavigationPolygonSourceGeometryMode
getVertices() PackedVector2Array
hasMeta(String name) bool
inherited
hasMethod(String method) bool
inherited
hasSignal(String signal) bool
inherited
hasUserSignal(String signal) bool
inherited
initRef() bool
inherited
isBlockingSignals() bool
inherited
isClass(String klass) bool
inherited
isConnected(String signal, Callable callable) bool
inherited
isLocalToScene() bool
inherited
isQueuedForDeletion() bool
inherited
makePolygonsFromOutlines() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notification(int what, {bool reversed = false}) → void
inherited
notifyPropertyListChanged() → void
inherited
propertyCanRevert(String property) bool
inherited
propertyGetRevert(String property) Variant
inherited
reference() bool
inherited
removeMeta(String name) → void
inherited
removeOutline(int idx) → void
removeUserSignal(String signal) → void
inherited
set(String property, Variant value) → void
inherited
setAgentRadius(double agentRadius) → void
setBakingRect(Rect2 rect) → void
setBakingRectOffset(Vector2 rectOffset) → void
setBlockSignals(bool enable) → void
inherited
setBorderSize(double borderSize) → void
setCellSize(double cellSize) → void
setDeferred(String property, Variant value) → void
inherited
setIndexed(NodePath propertyPath, Variant value) → void
inherited
setLocalToScene(bool enable) → void
inherited
setMessageTranslation(bool enable) → void
inherited
setMeta(String name, Variant value) → void
inherited
setName(String name) → void
inherited
setOutline(int idx, PackedVector2Array outline) → void
setParsedCollisionMask(int mask) → void
setParsedCollisionMaskValue(int layerNumber, bool value) → void
setParsedGeometryType(NavigationPolygonParsedGeometryType geometryType) → void
setPath(String path) → void
inherited
setSceneUniqueId(String id) → void
inherited
setScript(Variant script) → void
inherited
setSourceGeometryGroupName(String groupName) → void
setSourceGeometryMode(NavigationPolygonSourceGeometryMode geometryMode) → void
setupLocalToScene() → void
inherited
setVertices(PackedVector2Array vertices) → void
takeOverPath(String path) → void
inherited
toString() String
A string representation of this object.
inherited
tr(String message, {String context = ''}) String
inherited
trN(String message, String pluralMessage, int n, {String context = ''}) String
inherited
unreference() bool
inherited
vSetupLocalToScene() → void
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

sTypeInfo ExtensionTypeInfo<NavigationPolygon>
no setter

Constants

nativeTypeName → const String