• Introduction
  • Editor Scripting Reference
    • Events
    • GetFileExtensions
    • GetFilePattern
  • Programming Reference
    • Audio
      • AudioFilter
        • LoadAudioFilter
      • Sound
        • GetHandle
        • GetLength
        • LoadSound
        • Play
      • Speaker
        • CreateSpeaker
        • GetHandle
        • GetPitch
        • GetState
        • GetTime
        • GetVolume
        • Pause
        • Play
        • SetFilter
        • SetLooping
        • SetPitch
        • SetTime
        • SetVolume
        • Stop
      • SetHrtf
    • Component
      • Collide
      • Connect
      • Copy
      • Load
      • Save
      • Start
      • Update
    • Entity
      • Brush
        • AddFace
        • AddVertex
        • Build
        • CreateBoxBrush
        • CreateBrush
        • IntersectsBrush
        • IntersectsPoint
        • SetVertexPosition
        • Slice
      • Camera
        • AddPostEffect
        • ClearPostEffects
        • CreateCamera
        • Pick
        • Project
        • Render
        • SetClearMode
        • SetDepthPrepass
        • SetFov
        • SetRealtime
        • SetRefraction
        • SetRenderTarget
        • SetTessellation
        • SetZoom
        • UnProject
      • Light
        • CreateBoxLight
        • CreateDirectionalLight
        • CreatePointLight
        • CreateSpotLight
        • GetConeAngles
        • GetFalloff
        • GetRange
        • GetShadowMapSize
        • SetConeAngles
        • SetFalloff
        • SetRange
        • SetShadowMapSize
      • Model
        • AddLod
        • AddMesh
        • Animate
        • Clear
        • CreateBox
        • CreateCone
        • CreateCubeSphere
        • CreateCylinder
        • CreateModel
        • CreatePlane
        • CreateSphere
        • LoadModel
        • Save
        • SetLodDistance
        • SetSkeleton
        • UpdateNormals
      • Pivot
        • CreatePivot
      • Probe
        • CreateProbe
        • SetFadeDistance
      • Sprite
        • CreateSprite
        • LoadSprite
      • Terrain
        • CreateTerrain
        • GetElevation
        • GetHeight
        • GetMaterials
        • GetMaterialWeight
        • GetNormal
        • GetSlope
        • GetTileHidden
        • LoadHeightmap
        • SetElevation
        • SetHeight
        • SetMaterial
        • SetTileHidden
      • AddComponent
      • AddForce
      • AddPointForce
      • AddTag
      • AddTorque
      • AlignToVector
      • Attach
      • ClearTags
      • Copy
      • FindChild
      • GetAirborne
      • GetAngularVelocity
      • GetBounds
      • GetCollider
      • GetCollisionType
      • GetColor
      • GetComponent
      • GetCrouched
      • GetDistance
      • GetHidden
      • GetMass
      • GetParent
      • GetPhysicsMode
      • GetPickMode
      • GetPosition
      • GetRotation
      • GetQuaternion
      • GetScale
      • GetUuid
      • GetVelocity
      • GetWorld
      • Instantiate
      • Listen
      • Move
      • Point
      • RecordCollisions
      • RemoveTag
      • SetAngularVelocity
      • SetCollider
      • SetCollisionType
      • SetColor
      • SetDamping
      • SetElasticity
      • SetFriction
      • SetHidden
      • SetInput
      • SetMass
      • SetParent
      • SetPhysicsMode
      • SetPickMode
      • SetPosition
      • SetRenderLayers
      • SetRotation
      • SetScale
      • SetVelocity
      • Staticize
      • Sync
      • Translate
      • Turn
      • UpdateBounds
    • File System
      • Asset
        • GetPackage
        • Reload
        • Save
      • FileSystemWatcher
        • CreateFileSystemWatcher
      • Package
        • AddFile
        • CreatePackage
        • Close
        • DeleteFile
        • ExtractFile
        • FileSize
        • FileTime
        • FileType
        • Flush
        • LoadDir
        • LoadPackage
        • ReadFile
        • SetPassword
      • Stream
        • BufferStream
          • CreateBufferStream
        • Align
        • Close
        • Eof
        • Flush
        • GetPackage
        • GetPosition
        • GetSize
        • Read
        • ReadByte
        • ReadDouble
        • ReadFloat
        • ReadInt
        • ReadLine
        • ReadWLine
        • ReadShort
        • ReadString
        • ReadWString
        • Seek
        • Write
        • WriteByte
        • WriteDouble
        • WriteFloat
        • WriteInt
        • WriteLine
        • WriteShort
        • WriteString
        • WriteWLine
        • WriteWString
      • AppDir
      • AppPath
      • CasedPath
      • ChangeDir
      • CreateFile
      • CurrentDir
      • DeleteDir
      • DeleteFile
      • DownloadFile
      • ExtractDir
      • ExtractExt
      • FileHidden
      • FileSize
      • FileTime
      • FileType
      • GetPath
      • HideFile
      • LoadDir
      • LoadTable
      • OpenDir
      • OpenFile
      • ReadFile
      • RealPath
      • RenameFile
      • RunFile
      • SaveTable
      • ShowFile
      • StripAll
      • StripDir
      • StripExt
      • WriteFile
    • GamePad
      • ButtonDown
      • ButtonHit
      • GetAxisPosition
      • GetConnected
      • GetGamePads
      • Flush
      • Rumble
    • Graphics
      • Bone
        • GetPosition
        • GetRotation
        • GetScale
        • SetPosition
        • SetRotation
        • SetScale
        • Turn
      • Face
        • AddIndice
        • GetMaterial
        • GetTextureMappingPlane
        • GetTextureMappingRotation
        • GetTextureMappingScale
        • GetTextureMappingTranslation
        • SetMaterial
        • SetTextureMappingPlane
        • SetTextureMappingRotation
        • SetTextureMappingScale
        • SetTextureMappingTranslation
      • Font
        • GetHeight
        • GetTextWidth
        • LoadFont
      • Framebuffer
        • Capture
        • GetSize
        • CreateFramebuffer
      • Lod
      • Material
        • CreateMaterial
        • GetColor
        • GetMetalness
        • GetRoughness
        • GetShaderFamily
        • GetTexture
        • GetTransparent
        • LoadMaterial
        • SetColor
        • SetDisplacement
        • SetMetalness
        • SetRoughness
        • SetShaderFamily
        • SetTessellation
        • SetTexture
        • SetTransparent
      • Mesh
        • AddPrimitive
        • AddVertex
        • Copy
        • CountPrimitives
        • CountVertices
        • CreateMesh
        • GetRenderLayers
        • GetVertexColor
        • GetVertexPosition
        • GetVertexNormal
        • GetVertexTexCoords
        • Modify
        • Recenter
        • Rotate
        • Scale
        • SetMaterial
        • SetRenderLayers
        • SetSkinned
        • SetVertexColor
        • SetVertexPosition
        • SetVertexNormal
        • SetVertexTexCoords
        • Transform
        • Translate
        • UpdateBounds
        • UpdateTangents
      • PostEffect
        • LoadPostEffect
      • Scene
        • CreateScene
        • LoadScene
        • Reload
        • Save
      • ShaderFamily
        • LoadShaderFamily
      • Skeleton
        • FindBone
      • Texture
        • BuildMipmaps
        • CreateTexture
        • LoadTexture
        • SetPixels
        • SetSubPixels
      • TextureBuffer
        • CreateTextureBuffer
        • CountColorAttachments
        • GetColorAttachment
        • GetDepthAttachment
        • GetSize
        • SetColorAttachment
        • SetDepthAttachment
      • Vertex
      • AsyncRender
    • GUI
      • Display
        • ClientArea
        • GetDisplays
        • GetPosition
        • GetScale
        • GetSize
      • Event
        • EmitEvent
        • FlushEvents
        • ListenEvent
        • PeekEvent
        • WaitEvent
      • Icon
        • LoadIcon
        • Rasterize
      • Interface
        • CreateInterface
        • LoadColorScheme
        • ProcessEvent
        • SetRenderLayers
        • SetScale
        • SetSize
      • Pixmap
        • Blit
        • Convert
        • CopyRect
        • CreatePixmap
        • Extract
        • Fill
        • Invalidate
        • LoadPixmap
        • ReadPixel
        • Resize
        • Sample
        • WritePixel
      • Timer
        • CreateTimer
      • Widget
        • AddBlock
        • AddItem
        • AddNode
        • ClearItems
        • ClientSize
        • CreateButton
        • CreateComboBox
        • CreateLabel
        • CreateMenu
        • CreateListBox
        • CreatePanel
        • CreateProgressBar
        • CreateSlider
        • CreateTabber
        • CreateTextField
        • CreateTextArea
        • CreateTreeView
        • Custom Widgets
        • Draw
        • DoubleClick
        • GainFocus
        • GetItemText
        • GetHidden
        • GetInterface
        • GetParent
        • GetPosition
        • GetSelectedItem
        • GetSelectedNode
        • GetSize
        • GetState
        • GetText
        • GetValue
        • KeyChar
        • KeyDown
        • KeyUp
        • LoseFocus
        • MouseDown
        • MouseEnter
        • MouseLeave
        • MouseMove
        • MouseUp
        • MouseWheel
        • Paint
        • RemoveItem
        • SelectItem
        • SelectNode
        • SetColor
        • SetFontBold
        • SetFontScale
        • SetHidden
        • SetIcon
        • SetItemState
        • SetItemText
        • SetLayout
        • SetParent
        • SetPixmap
        • SetProgress
        • SetRange
        • SetShape
        • SetState
        • SetText
        • SetTexture
        • SetValue
        • TripleClick
      • WidgetBlock
        • SetIcon
        • SetPixmap
        • SetText
      • WidgetItem
      • Window
        • Activate
        • ActiveWindow
        • ClientSize
        • Closed
        • CreateWindow
        • FlushKeys
        • FlushMouse
        • GetHandle
        • GetHidden
        • GetMousePosition
        • GetPosition
        • GetSize
        • KeyDown
        • KeyHit
        • MouseDown
        • MouseHit
        • Maximize
        • Maximized
        • Minimize
        • Minimized
        • Restore
        • SetCursor
        • SetHidden
        • SetMinSize
        • SetMousePosition
        • SetShape
        • TransformCoord
    • Math
      • Aabb
        • Update
      • dAabb
        • Update
      • dMat4
      • dPlane
      • dQuat
      • dVec2
      • dVec3
      • dVec4
      • iVec2
      • iVec3
      • iVec4
      • Mat4
        • Determinant
        • GetQuaternion
        • GetRotation
        • GetScale
        • GetTranslation
        • Inverse
        • Normalize
        • Transpose
      • Plane
        • DistanceToPoint
        • IntersectsLine
      • Quat
        • Inverse
        • Normalize
        • Slerp
        • ToEuler
      • Vec2
        • Length
        • Normalize
      • Vec3
        • DistanceToPoint
        • Dot
        • Hsl
        • Inverse
        • Length
        • Normalize
        • Cross
        • Reflect
        • Rgb
      • Vec4
      • Abs
      • ACos
      • Alpha
      • ASin
      • ATan
      • Blue
      • Ceil
      • Clamp
      • Cos
      • Dec
      • Degrees
      • DeltaAngle
      • Floor
      • Green
      • Hex
      • Max
      • Min
      • Mix
      • MixAngle
      • Mod
      • MoveTowards
      • Radians
      • Random
      • Red
      • Rgba
      • Round
      • Seed
      • Sin
      • Tan
    • Memory
      • Buffer
        • Clear
        • Copy
        • CreateBuffer
        • CreateStaticBuffer
        • Data
        • GetSize
        • LoadBuffer
        • PeekByte
        • PeekDouble
        • PeekInt
        • PeekFloat
        • PeekShort
        • PeekString
        • PeekWString
        • PokeByte
        • PokeDouble
        • PokeInt
        • PokeFloat
        • PokeShort
        • PokeString
        • PokeWString
        • Resize
        • Save
      • StreamBuffer
        • CreateStreamBuffer
    • Multithreading
      • Mutex
        • CreateMutex
        • Lock
        • Unlock
      • Semaphore
        • CreateSemaphore
        • Signal
        • Wait
      • Thread
        • CreateThread
        • GetResult
        • GetState
        • MaxThreads
        • Start
        • Wait
    • Networking
      • Client
        • CreateClient
        • Disconnect
        • Send
        • Update
      • Message
      • Peer
      • Server
        • Broadcast
        • CreateServer
        • Disconnect
        • Send
        • Update
    • Object
      • As
      • GetField
      • Self
      • SetField
    • PathFinding
      • NavAgent
        • CreateNavAgent
        • Navigate
        • SetMaxAcceleration
        • SetMaxSpeed
        • SetPosition
        • SetRotation
        • Stop
      • NavMesh
        • Build
        • CreateNavMesh
        • PlotPath
        • RandomPoint
        • SetPosition
        • SetRotation
    • Physics
      • Collider
        • CreateBoxCollider
        • CreateCompoundCollider
        • CreateConeCollider
        • CreateCylinderCollider
        • CreateConvexHullCollider
        • CreateMeshCollider
        • CreateSphereCollider
        • LoadCollider
      • Collision
      • Joint
        • CreateBallAndSocketJoint
        • CreateHingeJoint
        • CreateKinematicJoint
        • CreatePlaneJoint
        • CreateSliderJoint
        • GetLimits
        • GetOffset
        • SetFriction
        • SetLimits
        • SetMaxForce
        • SetMaxTorque
        • SetPose
        • SetSpring
      • PickInfo
    • Plugin
      • LoadPlugin
    • Process
      • Close
      • CreateProcess
      • GetStatus
      • Wait
    • Strings
      • String
        • Find
        • GetSize
        • Left
        • Lower
        • Mid
        • Replace
        • Right
        • Split
        • StartsWith
        • ToFloat
        • ToInt
        • Trim
        • Upper
        • Uuid
        • Xor
      • WString
        • Find
        • Left
        • GetSize
        • Lower
        • Mid
        • Replace
        • Right
        • Split
        • StartsWith
        • ToFloat
        • ToInt
        • ToString
        • ToUtf8String
        • Trim
        • Upper
        • Xor
    • Scripting
      • CallFunction
      • CallMethod
      • ExecuteString
      • GetGlobal
      • GetLuaState
      • PollDebugger
      • RunScript
      • SetGlobal
    • System
      • Assert
      • Command
      • Confirm
      • FetchUrl
      • Input
      • Millisecs
      • Notify
      • Proceed
      • Print
      • RequestDir
      • RequestFile
      • RuntimeError
      • Sleep
    • World
      • Performance Analytics
        • AnimationStats
        • PhysicsStats
        • RenderStats
      • ClearCollisionResponses
      • CreateWorld
      • GetAmbientLight
      • GetCollisionResponse
      • GetEntitiesInArea
      • GetTaggedEntities
      • Pick
      • RecordStats
      • Render
      • Save
      • SetAmbientLight
      • SetCollisionResponse
      • SetEnvironmentMap
      • SetGravity
      • SetIblIntensity
      • Update