×
思维导图备注
Godot v3.5 Documentation
首页
白天
夜间
小程序
阅读
书签
我的书签
添加书签
移除书签
HTML5
Donate
来源:Godot
浏览
283
扫码
分享
2022-09-08 11:03:59
HTML5
HTML5
HTML5 shell class reference
Custom HTML page for Web export
当前内容版权归
Godot
或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问
Godot
.
上一篇:
下一篇:
版本
Godot v4.2 Documentation
Godot 游戏引擎 v4.2 中文文档
Godot v4.1 Documentation
Godot v4.0 Documentation
Godot v3.5 Documentation
Godot 游戏引擎 v3.5 中文文档
Godot v3.4 Documentation
Godot 游戏引擎 v3.4 中文文档
Godot v3.3 Documentation
Godot 游戏引擎 v3.3 中文文档
Godot v3.2 Documentation
Godot 游戏引擎 v3.2 中文文档
Godot v3.1 Documentation
About
Introduction
Frequently asked questions
Troubleshooting
List of features
Documentation changelog
Godot release policy
Complying with licenses
Getting started
Introduction
Introduction to Godot
Overview of Godot’s key concepts
First look at Godot’s editor
Learning new features
Godot’s design philosophy
Step by step
Nodes and Scenes
Creating instances
Scripting languages
Creating your first script
Listening to player input
Using signals
Your first 2D game
Setting up the project
Creating the player scene
Coding the player
Creating the enemy
The main game scene
Heads up display
Finishing up
Your first 3D game
Setting up the game area
Player scene and input actions
Moving the player with code
Designing the mob scene
Spawning monsters
Jumping and squashing monsters
Killing the player
Score and replay
Character animation
Going further
Tutorials
2D
Canvas layers
Viewport and canvas transforms
Using TileMaps
Particle systems (2D)
2D movement overview
2D lights and shadows
2D meshes
Custom drawing in 2D
2D Sprite animation
3D
Introduction to 3D
Using 3D transforms
3D rendering limitations
Spatial Material
3D lights and shadows
Reflection probes
Using GIProbe
Baked lightmaps
Environment and post-processing
High dynamic range lighting
Using GridMaps
Using MultiMeshInstance
Prototyping levels with CSG
Procedural geometry
Using the ArrayMesh
Using the MeshDataTool
Using the SurfaceTool
Using ImmediateGeometry
Occluder Nodes
Rooms and Portals
Introduction to Rooms and Portals
First steps with Rooms and Portals
Using objects in Rooms and Portals
Advanced Room and Portal usage
Editing Rooms and Portals
Rooms and Portals example
3D text
Animation
Introduction to the animation features
Cutout animation
2D skeletons
Using AnimationTree
Playing videos
Assets pipeline
Import process
Importing images
Importing audio samples
Importing translations
Importing 3D scenes
Exporting 3D scenes
Blender ESCN exporter
Materials
Physics properties
Lights
Mesh
Skeleton
Animation
Audio
Audio buses
Audio streams
Sync the gameplay with audio and music
Recording with microphone
Best practices
Introduction
Applying object-oriented principles in Godot
Scene organization
When to use scenes versus scripts
Autoloads versus regular nodes
When and how to avoid using nodes for everything
Godot interfaces
Godot notifications
Data preferences
Logic preferences
Project organization
Version Control Systems
Editor manual
Command line tutorial
Using an external text editor
Default editor shortcuts
Using the Web editor
Managing editor features
Export
Exporting
Exporting projects
Exporting packs, patches, and mods
Feature tags
Exporting for Linux
Exporting for macOS
Running Godot apps on macOS
Exporting for Windows
Changing application icon for Windows
Exporting for Universal Windows Platform
Exporting for iOS
Exporting for Android
Custom builds for Android
Exporting for the Web
Exporting for dedicated servers
One-click deploy
Internationalization
Internationalizing games
Localization using gettext
Locales
Inputs
Using InputEvent
Input examples
Mouse and input coordinates
Customizing the mouse cursor
Handling quit requests
Controllers, gamepads, and joysticks
Input and Output (I/O)
Background loading
File paths in Godot projects
Saving games
Binary serialization API
Math
Vector math
Advanced vector math
Matrices and transforms
Interpolation
Beziers, curves and paths
Random number generation
Navigation
Real Time Navigation (3D)
Networking
High-level multiplayer
Making HTTP requests
HTTP client class
SSL certificates
WebSocket
WebRTC
Optimization
General optimization tips
Optimization using Servers
CPU optimization
GPU optimization
Optimization using MultiMeshes
Optimization using batching
Optimizing 3D performance
Animating thousands of objects
Animating thousands of fish with MultiMeshInstance
Controlling thousands of fish with Particles
Thread-safe APIs
Using multiple threads
Physics
Physics introduction
Using RigidBody
Using Area2D
Using KinematicBody2D
Ray-casting
Ragdoll system
Kinematic character (2D)
Using SoftBody
Collision shapes (3D)
Physics Interpolation
Quick start guide
Introduction
Using physics interpolation
Advanced physics interpolation
Platform-specific
Android plugins
Creating Android plugins
Android in-app purchases
iOS plugins
Creating iOS plugins
Plugins for iOS
HTML5
HTML5 shell class reference
Custom HTML page for Web export
Console support in Godot
Mobile rendering limitations
Plugins
Editor plugins
Installing plugins
Making plugins
Making main screen plugins
Import plugins
Spatial gizmo plugins
Inspector plugins
Visual Shader plugins
Running code in the editor
Rendering
Using Viewports
Multiple resolutions
Fixing jitter and stutter
Differences between GLES2 and GLES3
Scripting
GDScript
GDScript basics
GDScript: An introduction to dynamic languages
GDScript exports
GDScript style guide
Static typing in GDScript
GDScript warning system
GDScript format strings
VisualScript
What is Visual Scripting
Getting started with Visual Scripting
Nodes and terminology
Custom VisualScript nodes
C#
C# basics
C# features
C# API differences to GDScript
C# style guide
GDNative
What is GDNative?
GDNative C example
GDNative C++ example
Debug
Overview of debugging tools
Debugger panel
Idle and Physics Processing
Groups
Nodes and scene instances
Overridable functions
Cross-language scripting
Creating script templates
Evaluating expressions
Change scenes manually
Instancing with signals
Pausing games and process mode
File system
Resources
Singletons (AutoLoad)
Using SceneTree
Scene Unique Nodes
Shaders
Introduction to shaders
Shading reference
Shading language
Spatial shaders
CanvasItem shaders
Particle shaders
Your first shader
Your first 2D shader
Your first 3D shader
Your second 3D shader
Shader materials
Using VisualShaders
Screen-reading shaders
Converting GLSL to Godot shaders
Shaders style guide
Advanced post-processing
Using a Viewport as a texture
Custom post-processing
Making trees
User Interface (UI)
Size and anchors
Using Containers
Custom GUI controls
Keyboard/Controller Navigation and Focus
Control node gallery
Introduction to GUI skinning
Using the theme editor
Theme type variations
BBCode in RichTextLabel
XR (AR/VR)
AR/VR primer
OpenXR plugin
Enabling the OpenXR plugin
Switching runtimes
Passthrough
Deploying on Quest
Hand tracking
Oculus mobile plugin (deprecated)
Developing for Oculus Quest
OpenVR plugin
VR starter tutorial
VR starter tutorial part 1
VR starter tutorial part 2
Development
Compiling
Getting the source
Introduction to the buildsystem
Compiling for Windows
Compiling for X11 (Linux, *BSD)
Compiling for macOS
Compiling for Android
Compiling for iOS
Cross-compiling for iOS on Linux
Compiling for Universal Windows Platform
Compiling for the Web
Compiling with Mono
Optimizing a build for size
Compiling with script encryption key
Engine development
Configuring an IDE
Android Studio
CLion
Code::Blocks
KDevelop
Qt Creator
Visual Studio
Visual Studio Code
Xcode
Introduction to Godot development
Common engine methods and macros
Core types
Variant class
Object class
Inheritance class tree
Custom modules in C++
Binding to external libraries
Custom Godot servers
Custom resource format loaders
Custom AudioStreams
Debugging on macOS
Using C++ profilers
Editor development
Introduction to editor development
Editor icons
Editor style guide
Godot file formats
GDScript grammar
TSCN file format
Community
Contributing
Ways to contribute
Best practices for engine contributors
Pull request workflow
Testing pull requests
Bisecting regressions
Bug triage guidelines
Code style guidelines
C++ usage guidelines
Content guidelines
Docs writing guidelines
Documentation guidelines
Contributing to the documentation
Building the manual with Sphinx
Contributing to the class reference
Class reference writing guidelines
Editor and docs localization
Asset Library
About the Asset Library
Using the Asset Library
Submitting to the Asset Library
Community channels
Tutorials and resources
Godot API
@GDScript
@GlobalScope
AABB
AcceptDialog
AESContext
AnimatedSprite
AnimatedSprite3D
AnimatedTexture
Animation
AnimationNode
AnimationNodeAdd2
AnimationNodeAdd3
AnimationNodeAnimation
AnimationNodeBlend2
AnimationNodeBlend3
AnimationNodeBlendSpace1D
AnimationNodeBlendSpace2D
AnimationNodeBlendTree
AnimationNodeOneShot
AnimationNodeOutput
AnimationNodeStateMachine
AnimationNodeStateMachinePlayback
AnimationNodeStateMachineTransition
AnimationNodeTimeScale
AnimationNodeTimeSeek
AnimationNodeTransition
AnimationPlayer
AnimationRootNode
AnimationTrackEditPlugin
AnimationTree
AnimationTreePlayer
Area
Area2D
Array
ArrayMesh
ARVRAnchor
ARVRCamera
ARVRController
ARVRInterface
ARVRInterfaceGDNative
ARVROrigin
ARVRPositionalTracker
ARVRServer
AspectRatioContainer
AStar
AStar2D
AtlasTexture
AudioBusLayout
AudioEffect
AudioEffectAmplify
AudioEffectBandLimitFilter
AudioEffectBandPassFilter
AudioEffectCapture
AudioEffectChorus
AudioEffectCompressor
AudioEffectDelay
AudioEffectDistortion
AudioEffectEQ
AudioEffectEQ10
AudioEffectEQ21
AudioEffectEQ6
AudioEffectFilter
AudioEffectHighPassFilter
AudioEffectHighShelfFilter
AudioEffectInstance
AudioEffectLimiter
AudioEffectLowPassFilter
AudioEffectLowShelfFilter
AudioEffectNotchFilter
AudioEffectPanner
AudioEffectPhaser
AudioEffectPitchShift
AudioEffectRecord
AudioEffectReverb
AudioEffectSpectrumAnalyzer
AudioEffectSpectrumAnalyzerInstance
AudioEffectStereoEnhance
AudioServer
AudioStream
AudioStreamGenerator
AudioStreamGeneratorPlayback
AudioStreamMicrophone
AudioStreamMP3
AudioStreamOGGVorbis
AudioStreamPlayback
AudioStreamPlaybackResampled
AudioStreamPlayer
AudioStreamPlayer2D
AudioStreamPlayer3D
AudioStreamRandomPitch
AudioStreamSample
BackBufferCopy
BakedLightmap
BakedLightmapData
BaseButton
Basis
BitMap
BitmapFont
Bone2D
BoneAttachment
bool
BoxContainer
BoxShape
Button
ButtonGroup
CallbackTweener
Camera
Camera2D
CameraFeed
CameraServer
CameraTexture
CanvasItem
CanvasItemMaterial
CanvasLayer
CanvasModulate
CapsuleMesh
CapsuleShape
CapsuleShape2D
CenterContainer
CharFXTransform
CheckBox
CheckButton
CircleShape2D
ClassDB
ClippedCamera
CollisionObject
CollisionObject2D
CollisionPolygon
CollisionPolygon2D
CollisionShape
CollisionShape2D
Color
ColorPicker
ColorPickerButton
ColorRect
ConcavePolygonShape
ConcavePolygonShape2D
ConeTwistJoint
ConfigFile
ConfirmationDialog
Container
Control
ConvexPolygonShape
ConvexPolygonShape2D
CPUParticles
CPUParticles2D
Crypto
CryptoKey
CSGBox
CSGCombiner
CSGCylinder
CSGMesh
CSGPolygon
CSGPrimitive
CSGShape
CSGSphere
CSGTorus
CSharpScript
CubeMap
CubeMesh
CullInstance
Curve
Curve2D
Curve3D
CurveTexture
CylinderMesh
CylinderShape
DampedSpringJoint2D
Dictionary
DirectionalLight
Directory
DTLSServer
DynamicFont
DynamicFontData
EditorExportPlugin
EditorFeatureProfile
EditorFileDialog
EditorFileSystem
EditorFileSystemDirectory
EditorImportPlugin
EditorInspector
EditorInspectorPlugin
EditorInterface
EditorPlugin
EditorProperty
EditorResourceConversionPlugin
EditorResourcePicker
EditorResourcePreview
EditorResourcePreviewGenerator
EditorSceneImporter
EditorSceneImporterFBX
EditorSceneImporterGLTF
EditorScenePostImport
EditorScript
EditorScriptPicker
EditorSelection
EditorSettings
EditorSpatialGizmo
EditorSpatialGizmoPlugin
EditorSpinSlider
EditorVCSInterface
EncodedObjectAsID
Engine
Environment
Expression
ExternalTexture
File
FileDialog
FileSystemDock
float
FlowContainer
Font
FuncRef
GDNative
GDNativeLibrary
GDScript
GDScriptFunctionState
Generic6DOFJoint
Geometry
GeometryInstance
GIProbe
GIProbeData
GLTFAccessor
GLTFAnimation
GLTFBufferView
GLTFCamera
GLTFDocument
GLTFLight
GLTFMesh
GLTFNode
GLTFSkeleton
GLTFSkin
GLTFSpecGloss
GLTFState
GLTFTexture
GodotSharp
Gradient
GradientTexture
GradientTexture2D
GraphEdit
GraphNode
GridContainer
GridMap
GrooveJoint2D
HashingContext
HBoxContainer
HeightMapShape
HFlowContainer
HingeJoint
HMACContext
HScrollBar
HSeparator
HSlider
HSplitContainer
HTTPClient
HTTPRequest
Image
ImageTexture
ImmediateGeometry
Input
InputEvent
InputEventAction
InputEventGesture
InputEventJoypadButton
InputEventJoypadMotion
InputEventKey
InputEventMagnifyGesture
InputEventMIDI
InputEventMouse
InputEventMouseButton
InputEventMouseMotion
InputEventPanGesture
InputEventScreenDrag
InputEventScreenTouch
InputEventWithModifiers
InputMap
InstancePlaceholder
int
InterpolatedCamera
IntervalTweener
IP
ItemList
JavaClass
JavaClassWrapper
JavaScript
JavaScriptObject
JNISingleton
Joint
Joint2D
JSON
JSONParseResult
JSONRPC
KinematicBody
KinematicBody2D
KinematicCollision
KinematicCollision2D
Label
Label3D
LargeTexture
Light
Light2D
LightOccluder2D
Line2D
LineEdit
LineShape2D
LinkButton
Listener
Listener2D
MainLoop
MarginContainer
Marshalls
Material
MenuButton
Mesh
MeshDataTool
MeshInstance
MeshInstance2D
MeshLibrary
MeshTexture
MethodTweener
MobileVRInterface
MultiMesh
MultiMeshInstance
MultiMeshInstance2D
MultiplayerAPI
MultiplayerPeerGDNative
Mutex
NativeScript
Navigation
Navigation2D
Navigation2DServer
NavigationAgent
NavigationAgent2D
NavigationMesh
NavigationMeshGenerator
NavigationMeshInstance
NavigationObstacle
NavigationObstacle2D
NavigationPolygon
NavigationPolygonInstance
NavigationServer
NetworkedMultiplayerCustom
NetworkedMultiplayerENet
NetworkedMultiplayerPeer
NinePatchRect
Node
Node2D
NodePath
NoiseTexture
Object
Occluder
OccluderPolygon2D
OccluderShape
OccluderShapePolygon
OccluderShapeSphere
OmniLight
OpenSimplexNoise
OptionButton
OS
PackedDataContainer
PackedDataContainerRef
PackedScene
PackedSceneGLTF
PacketPeer
PacketPeerDTLS
PacketPeerGDNative
PacketPeerStream
PacketPeerUDP
Panel
PanelContainer
PanoramaSky
ParallaxBackground
ParallaxLayer
Particles
Particles2D
ParticlesMaterial
Path
Path2D
PathFollow
PathFollow2D
PCKPacker
Performance
PHashTranslation
PhysicalBone
Physics2DDirectBodyState
Physics2DDirectSpaceState
Physics2DServer
Physics2DShapeQueryParameters
Physics2DTestMotionResult
PhysicsBody
PhysicsBody2D
PhysicsDirectBodyState
PhysicsDirectSpaceState
PhysicsMaterial
PhysicsServer
PhysicsShapeQueryParameters
PhysicsTestMotionResult
PinJoint
PinJoint2D
Plane
PlaneMesh
PlaneShape
PluginScript
PointMesh
Polygon2D
PolygonPathFinder
PoolByteArray
PoolColorArray
PoolIntArray
PoolRealArray
PoolStringArray
PoolVector2Array
PoolVector3Array
Popup
PopupDialog
PopupMenu
PopupPanel
Portal
Position2D
Position3D
PrimitiveMesh
PrismMesh
ProceduralSky
ProgressBar
ProjectSettings
PropertyTweener
ProximityGroup
ProxyTexture
QuadMesh
Quat
RandomNumberGenerator
Range
RayCast
RayCast2D
RayShape
RayShape2D
Rect2
RectangleShape2D
Reference
ReferenceRect
ReflectionProbe
RegEx
RegExMatch
RemoteTransform
RemoteTransform2D
Resource
ResourceFormatLoader
ResourceFormatSaver
ResourceImporter
ResourceInteractiveLoader
ResourceLoader
ResourcePreloader
ResourceSaver
RichTextEffect
RichTextLabel
RID
RigidBody
RigidBody2D
Room
RoomGroup
RoomManager
RootMotionView
SceneState
SceneTree
SceneTreeTimer
SceneTreeTween
Script
ScriptCreateDialog
ScriptEditor
ScrollBar
ScrollContainer
SegmentShape2D
Semaphore
Separator
Shader
ShaderMaterial
Shape
Shape2D
ShortCut
Skeleton
Skeleton2D
SkeletonIK
Skin
SkinReference
Sky
Slider
SliderJoint
SoftBody
Spatial
SpatialGizmo
SpatialMaterial
SpatialVelocityTracker
SphereMesh
SphereShape
SpinBox
SplitContainer
SpotLight
SpringArm
Sprite
Sprite3D
SpriteBase3D
SpriteFrames
StaticBody
StaticBody2D
StreamPeer
StreamPeerBuffer
StreamPeerGDNative
StreamPeerSSL
StreamPeerTCP
StreamTexture
String
StyleBox
StyleBoxEmpty
StyleBoxFlat
StyleBoxLine
StyleBoxTexture
SurfaceTool
TabContainer
Tabs
TCP_Server
TextEdit
TextFile
TextMesh
Texture
Texture3D
TextureArray
TextureButton
TextureLayered
TextureProgress
TextureRect
Theme
Thread
TileMap
TileSet
Time
Timer
ToolButton
TouchScreenButton
Transform
Transform2D
Translation
TranslationServer
Tree
TreeItem
TriangleMesh
Tween
Tweener
UDPServer
UndoRedo
UPNP
UPNPDevice
Variant
VBoxContainer
Vector2
Vector3
VehicleBody
VehicleWheel
VFlowContainer
VideoPlayer
VideoStream
VideoStreamGDNative
VideoStreamTheora
VideoStreamWebm
Viewport
ViewportContainer
ViewportTexture
VisibilityEnabler
VisibilityEnabler2D
VisibilityNotifier
VisibilityNotifier2D
VisualInstance
VisualScript
VisualScriptBasicTypeConstant
VisualScriptBuiltinFunc
VisualScriptClassConstant
VisualScriptComment
VisualScriptComposeArray
VisualScriptCondition
VisualScriptConstant
VisualScriptConstructor
VisualScriptCustomNode
VisualScriptDeconstruct
VisualScriptEditor
VisualScriptEmitSignal
VisualScriptEngineSingleton
VisualScriptExpression
VisualScriptFunction
VisualScriptFunctionCall
VisualScriptFunctionState
VisualScriptGlobalConstant
VisualScriptIndexGet
VisualScriptIndexSet
VisualScriptInputAction
VisualScriptIterator
VisualScriptLists
VisualScriptLocalVar
VisualScriptLocalVarSet
VisualScriptMathConstant
VisualScriptNode
VisualScriptOperator
VisualScriptPreload
VisualScriptPropertyGet
VisualScriptPropertySet
VisualScriptResourcePath
VisualScriptReturn
VisualScriptSceneNode
VisualScriptSceneTree
VisualScriptSelect
VisualScriptSelf
VisualScriptSequence
VisualScriptSubCall
VisualScriptSwitch
VisualScriptTypeCast
VisualScriptVariableGet
VisualScriptVariableSet
VisualScriptWhile
VisualScriptYield
VisualScriptYieldSignal
VisualServer
VisualShader
VisualShaderNode
VisualShaderNodeBooleanConstant
VisualShaderNodeBooleanUniform
VisualShaderNodeColorConstant
VisualShaderNodeColorFunc
VisualShaderNodeColorOp
VisualShaderNodeColorUniform
VisualShaderNodeCompare
VisualShaderNodeCubeMap
VisualShaderNodeCubeMapUniform
VisualShaderNodeCustom
VisualShaderNodeDeterminant
VisualShaderNodeDotProduct
VisualShaderNodeExpression
VisualShaderNodeFaceForward
VisualShaderNodeFresnel
VisualShaderNodeGlobalExpression
VisualShaderNodeGroupBase
VisualShaderNodeIf
VisualShaderNodeInput
VisualShaderNodeIs
VisualShaderNodeOuterProduct
VisualShaderNodeOutput
VisualShaderNodeScalarClamp
VisualShaderNodeScalarConstant
VisualShaderNodeScalarDerivativeFunc
VisualShaderNodeScalarFunc
VisualShaderNodeScalarInterp
VisualShaderNodeScalarOp
VisualShaderNodeScalarSmoothStep
VisualShaderNodeScalarSwitch
VisualShaderNodeScalarUniform
VisualShaderNodeSwitch
VisualShaderNodeTexture
VisualShaderNodeTextureUniform
VisualShaderNodeTextureUniformTriplanar
VisualShaderNodeTransformCompose
VisualShaderNodeTransformConstant
VisualShaderNodeTransformDecompose
VisualShaderNodeTransformFunc
VisualShaderNodeTransformMult
VisualShaderNodeTransformUniform
VisualShaderNodeTransformVecMult
VisualShaderNodeUniform
VisualShaderNodeUniformRef
VisualShaderNodeVec3Constant
VisualShaderNodeVec3Uniform
VisualShaderNodeVectorClamp
VisualShaderNodeVectorCompose
VisualShaderNodeVectorDecompose
VisualShaderNodeVectorDerivativeFunc
VisualShaderNodeVectorDistance
VisualShaderNodeVectorFunc
VisualShaderNodeVectorInterp
VisualShaderNodeVectorLen
VisualShaderNodeVectorOp
VisualShaderNodeVectorRefract
VisualShaderNodeVectorScalarMix
VisualShaderNodeVectorScalarSmoothStep
VisualShaderNodeVectorScalarStep
VisualShaderNodeVectorSmoothStep
VScrollBar
VSeparator
VSlider
VSplitContainer
WeakRef
WebRTCDataChannel
WebRTCDataChannelGDNative
WebRTCMultiplayer
WebRTCPeerConnection
WebRTCPeerConnectionGDNative
WebSocketClient
WebSocketMultiplayerPeer
WebSocketPeer
WebSocketServer
WebXRInterface
WindowDialog
World
World2D
WorldEnvironment
X509Certificate
XMLParser
YSort
暂无相关搜索结果!
本文档使用
BookStack
构建
×
分享,让知识传承更久远
×
文章二维码
手机扫一扫,轻松掌上读
×
文档下载
普通下载
下载码下载(免登录无限下载)
你与大神的距离,只差一个APP
请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
PDF
文档
EPUB
文档
MOBI
文档
温馨提示
每天每在网站阅读学习一分钟时长可下载一本电子书,每天连续签到可增加阅读时长
下载码方式下载:免费、免登录、无限制。
免费获取下载码
下载码
文档格式
PDF
EPUB
MOBI
码上下载
×
微信小程序阅读
您与他人的薪资差距,只差一个随时随地学习的小程序
×
书签列表
×
阅读记录
阅读进度:
0.00%
(
0/0
)
重置阅读进度