Logo
  • Overview
  • Getting Started
  • Class Reference
  • Godot Class Reference
    • All classes
    • Globals
    • Nodes
    • Resources
      • Resource
      • AnimatedTexture
      • Animation
      • AnimationLibrary
      • AnimationNode
      • AnimationNodeAdd2
      • AnimationNodeAdd3
      • AnimationNodeAnimation
      • AnimationNodeBlend2
      • AnimationNodeBlend3
      • AnimationNodeBlendSpace1D
      • AnimationNodeBlendSpace2D
      • AnimationNodeBlendTree
      • AnimationNodeOneShot
      • AnimationNodeOutput
      • AnimationNodeStateMachine
      • AnimationNodeStateMachinePlayback
      • AnimationNodeStateMachineTransition
      • AnimationNodeSub2
      • AnimationNodeSync
      • AnimationNodeTimeScale
      • AnimationNodeTimeSeek
      • AnimationNodeTransition
      • AnimationRootNode
      • ArrayMesh
      • ArrayOccluder3D
      • AtlasTexture
      • AudioBusLayout
      • AudioEffect
      • AudioEffectAmplify
      • AudioEffectBandLimitFilter
      • AudioEffectBandPassFilter
      • AudioEffectCapture
      • AudioEffectChorus
      • AudioEffectCompressor
      • AudioEffectDelay
      • AudioEffectDistortion
      • AudioEffectEQ
      • AudioEffectEQ10
      • AudioEffectEQ21
      • AudioEffectEQ6
      • AudioEffectFilter
      • AudioEffectHardLimiter
      • AudioEffectHighPassFilter
      • AudioEffectHighShelfFilter
      • AudioEffectLimiter
      • AudioEffectLowPassFilter
      • AudioEffectLowShelfFilter
      • AudioEffectNotchFilter
      • AudioEffectPanner
      • AudioEffectPhaser
      • AudioEffectPitchShift
      • AudioEffectRecord
      • AudioEffectReverb
      • AudioEffectSpectrumAnalyzer
      • AudioEffectStereoEnhance
      • AudioStream
      • AudioStreamGenerator
      • AudioStreamInteractive
      • AudioStreamMicrophone
      • AudioStreamMP3
      • AudioStreamOggVorbis
      • AudioStreamPlaylist
      • AudioStreamPolyphonic
      • AudioStreamRandomizer
      • AudioStreamSynchronized
      • AudioStreamWAV
      • BaseMaterial3D
      • BitMap
      • BoneMap
      • BoxMesh
      • BoxOccluder3D
      • BoxShape3D
      • ButtonGroup
      • CameraAttributes
      • CameraAttributesPhysical
      • CameraAttributesPractical
      • CameraTexture
      • CanvasItemMaterial
      • CanvasTexture
      • CapsuleMesh
      • CapsuleShape2D
      • CapsuleShape3D
      • CircleShape2D
      • CodeHighlighter
      • Compositor
      • CompositorEffect
      • CompressedCubemap
      • CompressedCubemapArray
      • CompressedTexture2D
      • CompressedTexture2DArray
      • CompressedTexture3D
      • CompressedTextureLayered
      • ConcavePolygonShape2D
      • ConcavePolygonShape3D
      • ConvexPolygonShape2D
      • ConvexPolygonShape3D
      • CryptoKey
      • Cubemap
      • CubemapArray
      • Curve
      • Curve2D
      • Curve3D
      • CurveTexture
      • CurveXYZTexture
      • CylinderMesh
      • CylinderShape3D
      • EditorNode3DGizmoPlugin
      • EditorSettings
      • EditorSyntaxHighlighter
      • Environment
      • FastNoiseLite
      • FBXDocument
      • FBXState
      • FogMaterial
      • Font
      • FontFile
      • FontVariation
      • GDExtension
      • GDScript
      • GLTFAccessor
      • GLTFAnimation
      • GLTFBufferView
      • GLTFCamera
      • GLTFDocument
      • GLTFDocumentExtension
      • GLTFDocumentExtensionConvertImporterMesh
      • GLTFLight
      • GLTFMesh
      • GLTFNode
      • GLTFPhysicsBody
      • GLTFPhysicsShape
      • GLTFSkeleton
      • GLTFSkin
      • GLTFSpecGloss
      • GLTFState
      • GLTFTexture
      • GLTFTextureSampler
      • Gradient
      • GradientTexture1D
      • GradientTexture2D
      • HeightMapShape3D
      • Image
      • ImageTexture
      • ImageTexture3D
      • ImageTextureLayered
      • ImmediateMesh
      • ImporterMesh
      • InputEvent
      • InputEventAction
      • InputEventFromWindow
      • InputEventGesture
      • InputEventJoypadButton
      • InputEventJoypadMotion
      • InputEventKey
      • InputEventMagnifyGesture
      • InputEventMIDI
      • InputEventMouse
      • InputEventMouseButton
      • InputEventMouseMotion
      • InputEventPanGesture
      • InputEventScreenDrag
      • InputEventScreenTouch
      • InputEventShortcut
      • InputEventWithModifiers
      • JSON
      • LabelSettings
      • LightmapGIData
      • Material
      • Mesh
      • MeshLibrary
      • MeshTexture
      • MissingResource
      • MultiMesh
      • NavigationMesh
      • NavigationMeshSourceGeometryData2D
      • NavigationMeshSourceGeometryData3D
      • NavigationPolygon
        • Properties
        • Methods
        • Enumerations
        • Property Descriptions
        • Method Descriptions
      • Noise
      • NoiseTexture2D
      • NoiseTexture3D
      • Occluder3D
      • OccluderPolygon2D
      • OggPacketSequence
      • OpenXRAction
      • OpenXRActionMap
      • OpenXRActionSet
      • OpenXRInteractionProfile
      • OpenXRIPBinding
      • OptimizedTranslation
      • ORMMaterial3D
      • PackedDataContainer
      • PackedScene
      • PanoramaSkyMaterial
      • ParticleProcessMaterial
      • PhysicalSkyMaterial
      • PhysicsMaterial
      • PlaceholderCubemap
      • PlaceholderCubemapArray
      • PlaceholderMaterial
      • PlaceholderMesh
      • PlaceholderTexture2D
      • PlaceholderTexture2DArray
      • PlaceholderTexture3D
      • PlaceholderTextureLayered
      • PlaneMesh
      • PointMesh
      • PolygonOccluder3D
      • PolygonPathFinder
      • PortableCompressedTexture2D
      • PrimitiveMesh
      • PrismMesh
      • ProceduralSkyMaterial
      • QuadMesh
      • QuadOccluder3D
      • RDShaderFile
      • RDShaderSPIRV
      • RectangleShape2D
      • RibbonTrailMesh
      • RichTextEffect
      • SceneReplicationConfig
      • Script
      • ScriptExtension
      • SegmentShape2D
      • SeparationRayShape2D
      • SeparationRayShape3D
      • Shader
      • ShaderInclude
      • ShaderMaterial
      • Shape2D
      • Shape3D
      • Shortcut
      • SkeletonModification2D
      • SkeletonModification2DCCDIK
      • SkeletonModification2DFABRIK
      • SkeletonModification2DJiggle
      • SkeletonModification2DLookAt
      • SkeletonModification2DPhysicalBones
      • SkeletonModification2DStackHolder
      • SkeletonModification2DTwoBoneIK
      • SkeletonModificationStack2D
      • SkeletonProfile
      • SkeletonProfileHumanoid
      • Skin
      • Sky
      • SphereMesh
      • SphereOccluder3D
      • SphereShape3D
      • SpriteFrames
      • StandardMaterial3D
      • StyleBox
      • StyleBoxEmpty
      • StyleBoxFlat
      • StyleBoxLine
      • StyleBoxTexture
      • SyntaxHighlighter
      • SystemFont
      • TextMesh
      • Texture
      • Texture2D
      • Texture2DArray
      • Texture2DArrayRD
      • Texture2DRD
      • Texture3D
      • Texture3DRD
      • TextureCubemapArrayRD
      • TextureCubemapRD
      • TextureLayered
      • TextureLayeredRD
      • Theme
      • TileMapPattern
      • TileSet
      • TileSetAtlasSource
      • TileSetScenesCollectionSource
      • TileSetSource
      • TorusMesh
      • Translation
      • TubeTrailMesh
      • VideoStream
      • VideoStreamPlayback
      • VideoStreamTheora
      • ViewportTexture
      • VisualShader
      • VisualShaderNode
      • VisualShaderNodeBillboard
      • VisualShaderNodeBooleanConstant
      • VisualShaderNodeBooleanParameter
      • VisualShaderNodeClamp
      • VisualShaderNodeColorConstant
      • VisualShaderNodeColorFunc
      • VisualShaderNodeColorOp
      • VisualShaderNodeColorParameter
      • VisualShaderNodeComment
      • VisualShaderNodeCompare
      • VisualShaderNodeConstant
      • VisualShaderNodeCubemap
      • VisualShaderNodeCubemapParameter
      • VisualShaderNodeCurveTexture
      • VisualShaderNodeCurveXYZTexture
      • VisualShaderNodeCustom
      • VisualShaderNodeDerivativeFunc
      • VisualShaderNodeDeterminant
      • VisualShaderNodeDistanceFade
      • VisualShaderNodeDotProduct
      • VisualShaderNodeExpression
      • VisualShaderNodeFaceForward
      • VisualShaderNodeFloatConstant
      • VisualShaderNodeFloatFunc
      • VisualShaderNodeFloatOp
      • VisualShaderNodeFloatParameter
      • VisualShaderNodeFrame
      • VisualShaderNodeFresnel
      • VisualShaderNodeGlobalExpression
      • VisualShaderNodeGroupBase
      • VisualShaderNodeIf
      • VisualShaderNodeInput
      • VisualShaderNodeIntConstant
      • VisualShaderNodeIntFunc
      • VisualShaderNodeIntOp
      • VisualShaderNodeIntParameter
      • VisualShaderNodeIs
      • VisualShaderNodeLinearSceneDepth
      • VisualShaderNodeMix
      • VisualShaderNodeMultiplyAdd
      • VisualShaderNodeOuterProduct
      • VisualShaderNodeOutput
      • VisualShaderNodeParameter
      • VisualShaderNodeParameterRef
      • VisualShaderNodeParticleAccelerator
      • VisualShaderNodeParticleBoxEmitter
      • VisualShaderNodeParticleConeVelocity
      • VisualShaderNodeParticleEmit
      • VisualShaderNodeParticleEmitter
      • VisualShaderNodeParticleMeshEmitter
      • VisualShaderNodeParticleMultiplyByAxisAngle
      • VisualShaderNodeParticleOutput
      • VisualShaderNodeParticleRandomness
      • VisualShaderNodeParticleRingEmitter
      • VisualShaderNodeParticleSphereEmitter
      • VisualShaderNodeProximityFade
      • VisualShaderNodeRandomRange
      • VisualShaderNodeRemap
      • VisualShaderNodeReroute
      • VisualShaderNodeResizableBase
      • VisualShaderNodeRotationByAxis
      • VisualShaderNodeSample3D
      • VisualShaderNodeScreenNormalWorldSpace
      • VisualShaderNodeScreenUVToSDF
      • VisualShaderNodeSDFRaymarch
      • VisualShaderNodeSDFToScreenUV
      • VisualShaderNodeSmoothStep
      • VisualShaderNodeStep
      • VisualShaderNodeSwitch
      • VisualShaderNodeTexture
      • VisualShaderNodeTexture2DArray
      • VisualShaderNodeTexture2DArrayParameter
      • VisualShaderNodeTexture2DParameter
      • VisualShaderNodeTexture3D
      • VisualShaderNodeTexture3DParameter
      • VisualShaderNodeTextureParameter
      • VisualShaderNodeTextureParameterTriplanar
      • VisualShaderNodeTextureSDF
      • VisualShaderNodeTextureSDFNormal
      • VisualShaderNodeTransformCompose
      • VisualShaderNodeTransformConstant
      • VisualShaderNodeTransformDecompose
      • VisualShaderNodeTransformFunc
      • VisualShaderNodeTransformOp
      • VisualShaderNodeTransformParameter
      • VisualShaderNodeTransformVecMult
      • VisualShaderNodeUIntConstant
      • VisualShaderNodeUIntFunc
      • VisualShaderNodeUIntOp
      • VisualShaderNodeUIntParameter
      • VisualShaderNodeUVFunc
      • VisualShaderNodeUVPolarCoord
      • VisualShaderNodeVarying
      • VisualShaderNodeVaryingGetter
      • VisualShaderNodeVaryingSetter
      • VisualShaderNodeVec2Constant
      • VisualShaderNodeVec2Parameter
      • VisualShaderNodeVec3Constant
      • VisualShaderNodeVec3Parameter
      • VisualShaderNodeVec4Constant
      • VisualShaderNodeVec4Parameter
      • VisualShaderNodeVectorBase
      • VisualShaderNodeVectorCompose
      • VisualShaderNodeVectorDecompose
      • VisualShaderNodeVectorDistance
      • VisualShaderNodeVectorFunc
      • VisualShaderNodeVectorLen
      • VisualShaderNodeVectorOp
      • VisualShaderNodeVectorRefract
      • VisualShaderNodeWorldPositionFromDepth
      • VoxelGIData
      • World2D
      • World3D
      • WorldBoundaryShape2D
      • WorldBoundaryShape3D
      • X509Certificate
    • Other objects
    • Editor-only
    • Variant types
  • Contact
Jam Launch
  • Godot Class Reference
  • All classes
  • NavigationPolygon
  • View page source

NavigationPolygon

Inherits: Resource < RefCounted < Object

There is currently no description for this class. Please help us by contributing one!

Properties

float

agent_radius

10.0

Rect2

baking_rect

Rect2(0, 0, 0, 0)

Vector2

baking_rect_offset

Vector2(0, 0)

float

border_size

0.0

float

cell_size

1.0

int

parsed_collision_mask

4294967295

ParsedGeometryType

parsed_geometry_type

2

StringName

source_geometry_group_name

&"navigation_polygon_source_geometry_group"

SourceGeometryMode

source_geometry_mode

0

Methods

void

add_outline ( PackedVector2Array outline )

void

add_outline_at_index ( PackedVector2Array outline, int index )

void

add_polygon ( PackedInt32Array polygon )

void

clear ( )

void

clear_outlines ( )

void

clear_polygons ( )

NavigationMesh

get_navigation_mesh ( )

PackedVector2Array

get_outline ( int idx ) const

int

get_outline_count ( ) const

bool

get_parsed_collision_mask_value ( int layer_number ) const

PackedInt32Array

get_polygon ( int idx )

int

get_polygon_count ( ) const

PackedVector2Array

get_vertices ( ) const

void

make_polygons_from_outlines ( )

void

remove_outline ( int idx )

void

set_outline ( int idx, PackedVector2Array outline )

void

set_parsed_collision_mask_value ( int layer_number, bool value )

void

set_vertices ( PackedVector2Array vertices )


Enumerations

enum ParsedGeometryType:

ParsedGeometryType PARSED_GEOMETRY_MESH_INSTANCES = 0

There is currently no description for this enum. Please help us by contributing one!

ParsedGeometryType PARSED_GEOMETRY_STATIC_COLLIDERS = 1

There is currently no description for this enum. Please help us by contributing one!

ParsedGeometryType PARSED_GEOMETRY_BOTH = 2

There is currently no description for this enum. Please help us by contributing one!

ParsedGeometryType PARSED_GEOMETRY_MAX = 3

There is currently no description for this enum. Please help us by contributing one!


enum SourceGeometryMode:

SourceGeometryMode SOURCE_GEOMETRY_ROOT_NODE_CHILDREN = 0

There is currently no description for this enum. Please help us by contributing one!

SourceGeometryMode SOURCE_GEOMETRY_GROUPS_WITH_CHILDREN = 1

There is currently no description for this enum. Please help us by contributing one!

SourceGeometryMode SOURCE_GEOMETRY_GROUPS_EXPLICIT = 2

There is currently no description for this enum. Please help us by contributing one!

SourceGeometryMode SOURCE_GEOMETRY_MAX = 3

There is currently no description for this enum. Please help us by contributing one!


Property Descriptions

float agent_radius = 10.0

  • void set_agent_radius ( float value )

  • float get_agent_radius ( )

There is currently no description for this property. Please help us by contributing one!


Rect2 baking_rect = Rect2(0, 0, 0, 0)

  • void set_baking_rect ( Rect2 value )

  • Rect2 get_baking_rect ( )

There is currently no description for this property. Please help us by contributing one!


Vector2 baking_rect_offset = Vector2(0, 0)

  • void set_baking_rect_offset ( Vector2 value )

  • Vector2 get_baking_rect_offset ( )

There is currently no description for this property. Please help us by contributing one!


float border_size = 0.0

  • void set_border_size ( float value )

  • float get_border_size ( )

There is currently no description for this property. Please help us by contributing one!


float cell_size = 1.0

  • void set_cell_size ( float value )

  • float get_cell_size ( )

There is currently no description for this property. Please help us by contributing one!


int parsed_collision_mask = 4294967295

  • void set_parsed_collision_mask ( int value )

  • int get_parsed_collision_mask ( )

There is currently no description for this property. Please help us by contributing one!


ParsedGeometryType parsed_geometry_type = 2

  • void set_parsed_geometry_type ( ParsedGeometryType value )

  • ParsedGeometryType get_parsed_geometry_type ( )

There is currently no description for this property. Please help us by contributing one!


StringName source_geometry_group_name = &"navigation_polygon_source_geometry_group"

  • void set_source_geometry_group_name ( StringName value )

  • StringName get_source_geometry_group_name ( )

There is currently no description for this property. Please help us by contributing one!


SourceGeometryMode source_geometry_mode = 0

  • void set_source_geometry_mode ( SourceGeometryMode value )

  • SourceGeometryMode get_source_geometry_mode ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

void add_outline ( PackedVector2Array outline )

There is currently no description for this method. Please help us by contributing one!


void add_outline_at_index ( PackedVector2Array outline, int index )

There is currently no description for this method. Please help us by contributing one!


void add_polygon ( PackedInt32Array polygon )

There is currently no description for this method. Please help us by contributing one!


void clear ( )

There is currently no description for this method. Please help us by contributing one!


void clear_outlines ( )

There is currently no description for this method. Please help us by contributing one!


void clear_polygons ( )

There is currently no description for this method. Please help us by contributing one!


NavigationMesh get_navigation_mesh ( )

There is currently no description for this method. Please help us by contributing one!


PackedVector2Array get_outline ( int idx ) const

There is currently no description for this method. Please help us by contributing one!


int get_outline_count ( ) const

There is currently no description for this method. Please help us by contributing one!


bool get_parsed_collision_mask_value ( int layer_number ) const

There is currently no description for this method. Please help us by contributing one!


PackedInt32Array get_polygon ( int idx )

There is currently no description for this method. Please help us by contributing one!


int get_polygon_count ( ) const

There is currently no description for this method. Please help us by contributing one!


PackedVector2Array get_vertices ( ) const

There is currently no description for this method. Please help us by contributing one!


void make_polygons_from_outlines ( )

There is currently no description for this method. Please help us by contributing one!


void remove_outline ( int idx )

There is currently no description for this method. Please help us by contributing one!


void set_outline ( int idx, PackedVector2Array outline )

There is currently no description for this method. Please help us by contributing one!


void set_parsed_collision_mask_value ( int layer_number, bool value )

There is currently no description for this method. Please help us by contributing one!


void set_vertices ( PackedVector2Array vertices )

There is currently no description for this method. Please help us by contributing one!

Previous Next

© Copyright 2024, The Jam Launch Syndicate.

Built with Sphinx using a theme provided by Read the Docs.