Documentation
¶
Index ¶
- Variables
- func AutoRegister(constructor ...ClassConstructor)
- func Clamp(value, min, max gdnative.Real) gdnative.Real
- func EnableDebug()
- func GoTypeToVariant(value reflect.Value) gdnative.Variant
- func VariantToGoType(variant gdnative.Variant) reflect.Value
- func VariantTypeToConstant(t reflect.Type) gdnative.VariantType
- type ARVRAnchor
- func (o *ARVRAnchor) BaseClass() string
- func (o *ARVRAnchor) GetAnchorId() gdnative.Int
- func (o *ARVRAnchor) GetAnchorName() gdnative.String
- func (o *ARVRAnchor) GetIsActive() gdnative.Bool
- func (o *ARVRAnchor) GetPlane() gdnative.Plane
- func (o *ARVRAnchor) GetSize() gdnative.Vector3
- func (o *ARVRAnchor) SetAnchorId(anchorId gdnative.Int)
- type ARVRAnchorImplementer
- type ARVRCamera
- type ARVRCameraImplementer
- type ARVRController
- func (o *ARVRController) BaseClass() string
- func (o *ARVRController) GetControllerId() gdnative.Int
- func (o *ARVRController) GetControllerName() gdnative.String
- func (o *ARVRController) GetHand() ARVRPositionalTrackerTrackerHand
- func (o *ARVRController) GetIsActive() gdnative.Bool
- func (o *ARVRController) GetJoystickAxis(axis gdnative.Int) gdnative.Real
- func (o *ARVRController) GetJoystickId() gdnative.Int
- func (o *ARVRController) GetRumble() gdnative.Real
- func (o *ARVRController) IsButtonPressed(button gdnative.Int) gdnative.Int
- func (o *ARVRController) SetControllerId(controllerId gdnative.Int)
- func (o *ARVRController) SetRumble(rumble gdnative.Real)
- type ARVRControllerImplementer
- type ARVRInterface
- func (o *ARVRInterface) BaseClass() string
- func (o *ARVRInterface) GetAnchorDetectionIsEnabled() gdnative.Bool
- func (o *ARVRInterface) GetCapabilities() gdnative.Int
- func (o *ARVRInterface) GetName() gdnative.String
- func (o *ARVRInterface) GetRenderTargetsize() gdnative.Vector2
- func (o *ARVRInterface) GetTrackingStatus() ARVRInterfaceTracking_status
- func (o *ARVRInterface) Initialize() gdnative.Bool
- func (o *ARVRInterface) IsInitialized() gdnative.Bool
- func (o *ARVRInterface) IsPrimary() gdnative.Bool
- func (o *ARVRInterface) IsStereo() gdnative.Bool
- func (o *ARVRInterface) SetAnchorDetectionIsEnabled(enable gdnative.Bool)
- func (o *ARVRInterface) SetIsInitialized(initialized gdnative.Bool)
- func (o *ARVRInterface) SetIsPrimary(enable gdnative.Bool)
- func (o *ARVRInterface) Uninitialize()
- type ARVRInterfaceCapabilities
- type ARVRInterfaceEyes
- type ARVRInterfaceGDNative
- type ARVRInterfaceGDNativeImplementer
- type ARVRInterfaceImplementer
- type ARVRInterfaceTracking_status
- type ARVROrigin
- type ARVROriginImplementer
- type ARVRPositionalTracker
- func (o *ARVRPositionalTracker) BaseClass() string
- func (o *ARVRPositionalTracker) GetHand() ARVRPositionalTrackerTrackerHand
- func (o *ARVRPositionalTracker) GetJoyId() gdnative.Int
- func (o *ARVRPositionalTracker) GetName() gdnative.String
- func (o *ARVRPositionalTracker) GetOrientation() gdnative.Basis
- func (o *ARVRPositionalTracker) GetPosition() gdnative.Vector3
- func (o *ARVRPositionalTracker) GetRumble() gdnative.Real
- func (o *ARVRPositionalTracker) GetTracksOrientation() gdnative.Bool
- func (o *ARVRPositionalTracker) GetTracksPosition() gdnative.Bool
- func (o *ARVRPositionalTracker) GetTransform(adjustByReferenceFrame gdnative.Bool) gdnative.Transform
- func (o *ARVRPositionalTracker) GetType() ARVRServerTrackerType
- func (o *ARVRPositionalTracker) SetRumble(rumble gdnative.Real)
- func (o *ARVRPositionalTracker) X_SetJoyId(joyId gdnative.Int)
- func (o *ARVRPositionalTracker) X_SetName(name gdnative.String)
- func (o *ARVRPositionalTracker) X_SetOrientation(orientation gdnative.Basis)
- func (o *ARVRPositionalTracker) X_SetRwPosition(rwPosition gdnative.Vector3)
- func (o *ARVRPositionalTracker) X_SetType(aType gdnative.Int)
- type ARVRPositionalTrackerImplementer
- type ARVRPositionalTrackerTrackerHand
- type ARVRServerImplementer
- type ARVRServerRotationMode
- type ARVRServerTrackerType
- type AStar
- func (o *AStar) AddPoint(id gdnative.Int, position gdnative.Vector3, weightScale gdnative.Real)
- func (o *AStar) ArePointsConnected(id gdnative.Int, toId gdnative.Int) gdnative.Bool
- func (o *AStar) BaseClass() string
- func (o *AStar) Clear()
- func (o *AStar) ConnectPoints(id gdnative.Int, toId gdnative.Int, bidirectional gdnative.Bool)
- func (o *AStar) DisconnectPoints(id gdnative.Int, toId gdnative.Int)
- func (o *AStar) GetAvailablePointId() gdnative.Int
- func (o *AStar) GetClosestPoint(toPosition gdnative.Vector3) gdnative.Int
- func (o *AStar) GetClosestPositionInSegment(toPosition gdnative.Vector3) gdnative.Vector3
- func (o *AStar) GetIdPath(fromId gdnative.Int, toId gdnative.Int) gdnative.PoolIntArray
- func (o *AStar) GetPointConnections(id gdnative.Int) gdnative.PoolIntArray
- func (o *AStar) GetPointPath(fromId gdnative.Int, toId gdnative.Int) gdnative.PoolVector3Array
- func (o *AStar) GetPointPosition(id gdnative.Int) gdnative.Vector3
- func (o *AStar) GetPointWeightScale(id gdnative.Int) gdnative.Real
- func (o *AStar) GetPoints() gdnative.Array
- func (o *AStar) HasPoint(id gdnative.Int) gdnative.Bool
- func (o *AStar) RemovePoint(id gdnative.Int)
- func (o *AStar) SetPointPosition(id gdnative.Int, position gdnative.Vector3)
- func (o *AStar) SetPointWeightScale(id gdnative.Int, weightScale gdnative.Real)
- func (o *AStar) X_ComputeCost(fromId gdnative.Int, toId gdnative.Int) gdnative.Real
- func (o *AStar) X_EstimateCost(fromId gdnative.Int, toId gdnative.Int) gdnative.Real
- type AStarImplementer
- type AcceptDialog
- func (o *AcceptDialog) AddButton(text gdnative.String, right gdnative.Bool, action gdnative.String) ButtonImplementer
- func (o *AcceptDialog) AddCancel(name gdnative.String) ButtonImplementer
- func (o *AcceptDialog) BaseClass() string
- func (o *AcceptDialog) GetHideOnOk() gdnative.Bool
- func (o *AcceptDialog) GetLabel() LabelImplementer
- func (o *AcceptDialog) GetOk() ButtonImplementer
- func (o *AcceptDialog) GetText() gdnative.String
- func (o *AcceptDialog) RegisterTextEnter(lineEdit ObjectImplementer)
- func (o *AcceptDialog) SetHideOnOk(enabled gdnative.Bool)
- func (o *AcceptDialog) SetText(text gdnative.String)
- func (o *AcceptDialog) X_BuiltinTextEntered(arg0 gdnative.String)
- func (o *AcceptDialog) X_CustomAction(arg0 gdnative.String)
- func (o *AcceptDialog) X_Ok()
- type AcceptDialogImplementer
- type AnimatedSprite
- func (o *AnimatedSprite) BaseClass() string
- func (o *AnimatedSprite) GetAnimation() gdnative.String
- func (o *AnimatedSprite) GetFrame() gdnative.Int
- func (o *AnimatedSprite) GetOffset() gdnative.Vector2
- func (o *AnimatedSprite) GetSpriteFrames() SpriteFramesImplementer
- func (o *AnimatedSprite) IsCentered() gdnative.Bool
- func (o *AnimatedSprite) IsFlippedH() gdnative.Bool
- func (o *AnimatedSprite) IsFlippedV() gdnative.Bool
- func (o *AnimatedSprite) IsPlaying() gdnative.Bool
- func (o *AnimatedSprite) Play(anim gdnative.String)
- func (o *AnimatedSprite) SetAnimation(animation gdnative.String)
- func (o *AnimatedSprite) SetCentered(centered gdnative.Bool)
- func (o *AnimatedSprite) SetFlipH(flipH gdnative.Bool)
- func (o *AnimatedSprite) SetFlipV(flipV gdnative.Bool)
- func (o *AnimatedSprite) SetFrame(frame gdnative.Int)
- func (o *AnimatedSprite) SetOffset(offset gdnative.Vector2)
- func (o *AnimatedSprite) SetSpriteFrames(spriteFrames SpriteFramesImplementer)
- func (o *AnimatedSprite) Stop()
- func (o *AnimatedSprite) X_IsPlaying() gdnative.Bool
- func (o *AnimatedSprite) X_ResChanged()
- func (o *AnimatedSprite) X_SetPlaying(playing gdnative.Bool)
- type AnimatedSprite3D
- func (o *AnimatedSprite3D) BaseClass() string
- func (o *AnimatedSprite3D) GetAnimation() gdnative.String
- func (o *AnimatedSprite3D) GetFrame() gdnative.Int
- func (o *AnimatedSprite3D) GetSpriteFrames() SpriteFramesImplementer
- func (o *AnimatedSprite3D) IsPlaying() gdnative.Bool
- func (o *AnimatedSprite3D) Play(anim gdnative.String)
- func (o *AnimatedSprite3D) SetAnimation(animation gdnative.String)
- func (o *AnimatedSprite3D) SetFrame(frame gdnative.Int)
- func (o *AnimatedSprite3D) SetSpriteFrames(spriteFrames SpriteFramesImplementer)
- func (o *AnimatedSprite3D) Stop()
- func (o *AnimatedSprite3D) X_IsPlaying() gdnative.Bool
- func (o *AnimatedSprite3D) X_ResChanged()
- func (o *AnimatedSprite3D) X_SetPlaying(playing gdnative.Bool)
- type AnimatedSprite3DImplementer
- type AnimatedSpriteImplementer
- type Animation
- func (o *Animation) AddTrack(aType gdnative.Int, atPosition gdnative.Int) gdnative.Int
- func (o *Animation) BaseClass() string
- func (o *Animation) Clear()
- func (o *Animation) CopyTrack(track gdnative.Int, toAnimation AnimationImplementer)
- func (o *Animation) FindTrack(path gdnative.NodePath) gdnative.Int
- func (o *Animation) GetLength() gdnative.Real
- func (o *Animation) GetStep() gdnative.Real
- func (o *Animation) GetTrackCount() gdnative.Int
- func (o *Animation) HasLoop() gdnative.Bool
- func (o *Animation) MethodTrackGetKeyIndices(idx gdnative.Int, timeSec gdnative.Real, delta gdnative.Real) gdnative.PoolIntArray
- func (o *Animation) MethodTrackGetName(idx gdnative.Int, keyIdx gdnative.Int) gdnative.String
- func (o *Animation) MethodTrackGetParams(idx gdnative.Int, keyIdx gdnative.Int) gdnative.Array
- func (o *Animation) RemoveTrack(idx gdnative.Int)
- func (o *Animation) SetLength(timeSec gdnative.Real)
- func (o *Animation) SetLoop(enabled gdnative.Bool)
- func (o *Animation) SetStep(sizeSec gdnative.Real)
- func (o *Animation) TrackFindKey(idx gdnative.Int, time gdnative.Real, exact gdnative.Bool) gdnative.Int
- func (o *Animation) TrackGetInterpolationLoopWrap(idx gdnative.Int) gdnative.Bool
- func (o *Animation) TrackGetInterpolationType(idx gdnative.Int) AnimationInterpolationType
- func (o *Animation) TrackGetKeyCount(idx gdnative.Int) gdnative.Int
- func (o *Animation) TrackGetKeyTime(idx gdnative.Int, keyIdx gdnative.Int) gdnative.Real
- func (o *Animation) TrackGetKeyTransition(idx gdnative.Int, keyIdx gdnative.Int) gdnative.Real
- func (o *Animation) TrackGetKeyValue(idx gdnative.Int, keyIdx gdnative.Int) gdnative.Variant
- func (o *Animation) TrackGetPath(idx gdnative.Int) gdnative.NodePath
- func (o *Animation) TrackGetType(idx gdnative.Int) AnimationTrackType
- func (o *Animation) TrackInsertKey(idx gdnative.Int, time gdnative.Real, key gdnative.Variant, ...)
- func (o *Animation) TrackIsEnabled(idx gdnative.Int) gdnative.Bool
- func (o *Animation) TrackIsImported(idx gdnative.Int) gdnative.Bool
- func (o *Animation) TrackMoveDown(idx gdnative.Int)
- func (o *Animation) TrackMoveUp(idx gdnative.Int)
- func (o *Animation) TrackRemoveKey(idx gdnative.Int, keyIdx gdnative.Int)
- func (o *Animation) TrackRemoveKeyAtPosition(idx gdnative.Int, position gdnative.Real)
- func (o *Animation) TrackSetEnabled(idx gdnative.Int, enabled gdnative.Bool)
- func (o *Animation) TrackSetImported(idx gdnative.Int, imported gdnative.Bool)
- func (o *Animation) TrackSetInterpolationLoopWrap(idx gdnative.Int, interpolation gdnative.Bool)
- func (o *Animation) TrackSetInterpolationType(idx gdnative.Int, interpolation gdnative.Int)
- func (o *Animation) TrackSetKeyTransition(idx gdnative.Int, keyIdx gdnative.Int, transition gdnative.Real)
- func (o *Animation) TrackSetKeyValue(idx gdnative.Int, key gdnative.Int, value gdnative.Variant)
- func (o *Animation) TrackSetPath(idx gdnative.Int, path gdnative.NodePath)
- func (o *Animation) TransformTrackInsertKey(idx gdnative.Int, time gdnative.Real, location gdnative.Vector3, ...) gdnative.Int
- func (o *Animation) TransformTrackInterpolate(idx gdnative.Int, timeSec gdnative.Real) gdnative.Array
- func (o *Animation) ValueTrackGetKeyIndices(idx gdnative.Int, timeSec gdnative.Real, delta gdnative.Real) gdnative.PoolIntArray
- func (o *Animation) ValueTrackGetUpdateMode(idx gdnative.Int) AnimationUpdateMode
- func (o *Animation) ValueTrackSetUpdateMode(idx gdnative.Int, mode gdnative.Int)
- type AnimationImplementer
- type AnimationInterpolationType
- type AnimationPlayer
- func (o *AnimationPlayer) AddAnimation(name gdnative.String, animation AnimationImplementer) gdnative.Error
- func (o *AnimationPlayer) Advance(delta gdnative.Real)
- func (o *AnimationPlayer) AnimationGetNext(animFrom gdnative.String) gdnative.String
- func (o *AnimationPlayer) AnimationSetNext(animFrom gdnative.String, animTo gdnative.String)
- func (o *AnimationPlayer) BaseClass() string
- func (o *AnimationPlayer) ClearCaches()
- func (o *AnimationPlayer) ClearQueue()
- func (o *AnimationPlayer) FindAnimation(animation AnimationImplementer) gdnative.String
- func (o *AnimationPlayer) GetAnimation(name gdnative.String) AnimationImplementer
- func (o *AnimationPlayer) GetAnimationList() gdnative.PoolStringArray
- func (o *AnimationPlayer) GetAnimationProcessMode() AnimationPlayerAnimationProcessMode
- func (o *AnimationPlayer) GetAssignedAnimation() gdnative.String
- func (o *AnimationPlayer) GetAutoplay() gdnative.String
- func (o *AnimationPlayer) GetBlendTime(animFrom gdnative.String, animTo gdnative.String) gdnative.Real
- func (o *AnimationPlayer) GetCurrentAnimation() gdnative.String
- func (o *AnimationPlayer) GetCurrentAnimationLength() gdnative.Real
- func (o *AnimationPlayer) GetCurrentAnimationPosition() gdnative.Real
- func (o *AnimationPlayer) GetDefaultBlendTime() gdnative.Real
- func (o *AnimationPlayer) GetRoot() gdnative.NodePath
- func (o *AnimationPlayer) GetSpeedScale() gdnative.Real
- func (o *AnimationPlayer) HasAnimation(name gdnative.String) gdnative.Bool
- func (o *AnimationPlayer) IsActive() gdnative.Bool
- func (o *AnimationPlayer) IsPlaying() gdnative.Bool
- func (o *AnimationPlayer) Play(name gdnative.String, customBlend gdnative.Real, customSpeed gdnative.Real, ...)
- func (o *AnimationPlayer) PlayBackwards(name gdnative.String, customBlend gdnative.Real)
- func (o *AnimationPlayer) Queue(name gdnative.String)
- func (o *AnimationPlayer) RemoveAnimation(name gdnative.String)
- func (o *AnimationPlayer) RenameAnimation(name gdnative.String, newname gdnative.String)
- func (o *AnimationPlayer) Seek(seconds gdnative.Real, update gdnative.Bool)
- func (o *AnimationPlayer) SetActive(active gdnative.Bool)
- func (o *AnimationPlayer) SetAnimationProcessMode(mode gdnative.Int)
- func (o *AnimationPlayer) SetAssignedAnimation(anim gdnative.String)
- func (o *AnimationPlayer) SetAutoplay(name gdnative.String)
- func (o *AnimationPlayer) SetBlendTime(animFrom gdnative.String, animTo gdnative.String, sec gdnative.Real)
- func (o *AnimationPlayer) SetCurrentAnimation(anim gdnative.String)
- func (o *AnimationPlayer) SetDefaultBlendTime(sec gdnative.Real)
- func (o *AnimationPlayer) SetRoot(path gdnative.NodePath)
- func (o *AnimationPlayer) SetSpeedScale(speed gdnative.Real)
- func (o *AnimationPlayer) Stop(reset gdnative.Bool)
- func (o *AnimationPlayer) X_AnimationChanged()
- func (o *AnimationPlayer) X_NodeRemoved(arg0 ObjectImplementer)
- type AnimationPlayerAnimationProcessMode
- type AnimationPlayerImplementer
- type AnimationTrackType
- type AnimationTreePlayer
- func (o *AnimationTreePlayer) AddNode(aType gdnative.Int, id gdnative.String)
- func (o *AnimationTreePlayer) Advance(delta gdnative.Real)
- func (o *AnimationTreePlayer) AnimationNodeGetAnimation(id gdnative.String) AnimationImplementer
- func (o *AnimationTreePlayer) AnimationNodeGetMasterAnimation(id gdnative.String) gdnative.String
- func (o *AnimationTreePlayer) AnimationNodeSetAnimation(id gdnative.String, animation AnimationImplementer)
- func (o *AnimationTreePlayer) AnimationNodeSetFilterPath(id gdnative.String, path gdnative.NodePath, enable gdnative.Bool)
- func (o *AnimationTreePlayer) AnimationNodeSetMasterAnimation(id gdnative.String, source gdnative.String)
- func (o *AnimationTreePlayer) AreNodesConnected(id gdnative.String, dstId gdnative.String, dstInputIdx gdnative.Int) gdnative.Bool
- func (o *AnimationTreePlayer) BaseClass() string
- func (o *AnimationTreePlayer) Blend2NodeGetAmount(id gdnative.String) gdnative.Real
- func (o *AnimationTreePlayer) Blend2NodeSetAmount(id gdnative.String, blend gdnative.Real)
- func (o *AnimationTreePlayer) Blend2NodeSetFilterPath(id gdnative.String, path gdnative.NodePath, enable gdnative.Bool)
- func (o *AnimationTreePlayer) Blend3NodeGetAmount(id gdnative.String) gdnative.Real
- func (o *AnimationTreePlayer) Blend3NodeSetAmount(id gdnative.String, blend gdnative.Real)
- func (o *AnimationTreePlayer) Blend4NodeGetAmount(id gdnative.String) gdnative.Vector2
- func (o *AnimationTreePlayer) Blend4NodeSetAmount(id gdnative.String, blend gdnative.Vector2)
- func (o *AnimationTreePlayer) ConnectNodes(id gdnative.String, dstId gdnative.String, dstInputIdx gdnative.Int) gdnative.Error
- func (o *AnimationTreePlayer) DisconnectNodes(id gdnative.String, dstInputIdx gdnative.Int)
- func (o *AnimationTreePlayer) GetAnimationProcessMode() AnimationTreePlayerAnimationProcessMode
- func (o *AnimationTreePlayer) GetBasePath() gdnative.NodePath
- func (o *AnimationTreePlayer) GetMasterPlayer() gdnative.NodePath
- func (o *AnimationTreePlayer) GetNodeList() gdnative.PoolStringArray
- func (o *AnimationTreePlayer) IsActive() gdnative.Bool
- func (o *AnimationTreePlayer) MixNodeGetAmount(id gdnative.String) gdnative.Real
- func (o *AnimationTreePlayer) MixNodeSetAmount(id gdnative.String, ratio gdnative.Real)
- func (o *AnimationTreePlayer) NodeExists(node gdnative.String) gdnative.Bool
- func (o *AnimationTreePlayer) NodeGetInputCount(id gdnative.String) gdnative.Int
- func (o *AnimationTreePlayer) NodeGetInputSource(id gdnative.String, idx gdnative.Int) gdnative.String
- func (o *AnimationTreePlayer) NodeGetPosition(id gdnative.String) gdnative.Vector2
- func (o *AnimationTreePlayer) NodeGetType(id gdnative.String) AnimationTreePlayerNodeType
- func (o *AnimationTreePlayer) NodeRename(node gdnative.String, newName gdnative.String) gdnative.Error
- func (o *AnimationTreePlayer) NodeSetPosition(id gdnative.String, screenPosition gdnative.Vector2)
- func (o *AnimationTreePlayer) OneshotNodeGetAutorestartDelay(id gdnative.String) gdnative.Real
- func (o *AnimationTreePlayer) OneshotNodeGetAutorestartRandomDelay(id gdnative.String) gdnative.Real
- func (o *AnimationTreePlayer) OneshotNodeGetFadeinTime(id gdnative.String) gdnative.Real
- func (o *AnimationTreePlayer) OneshotNodeGetFadeoutTime(id gdnative.String) gdnative.Real
- func (o *AnimationTreePlayer) OneshotNodeHasAutorestart(id gdnative.String) gdnative.Bool
- func (o *AnimationTreePlayer) OneshotNodeIsActive(id gdnative.String) gdnative.Bool
- func (o *AnimationTreePlayer) OneshotNodeSetAutorestart(id gdnative.String, enable gdnative.Bool)
- func (o *AnimationTreePlayer) OneshotNodeSetAutorestartDelay(id gdnative.String, delaySec gdnative.Real)
- func (o *AnimationTreePlayer) OneshotNodeSetAutorestartRandomDelay(id gdnative.String, randSec gdnative.Real)
- func (o *AnimationTreePlayer) OneshotNodeSetFadeinTime(id gdnative.String, timeSec gdnative.Real)
- func (o *AnimationTreePlayer) OneshotNodeSetFadeoutTime(id gdnative.String, timeSec gdnative.Real)
- func (o *AnimationTreePlayer) OneshotNodeSetFilterPath(id gdnative.String, path gdnative.NodePath, enable gdnative.Bool)
- func (o *AnimationTreePlayer) OneshotNodeStart(id gdnative.String)
- func (o *AnimationTreePlayer) OneshotNodeStop(id gdnative.String)
- func (o *AnimationTreePlayer) RecomputeCaches()
- func (o *AnimationTreePlayer) RemoveNode(id gdnative.String)
- func (o *AnimationTreePlayer) Reset()
- func (o *AnimationTreePlayer) SetActive(enabled gdnative.Bool)
- func (o *AnimationTreePlayer) SetAnimationProcessMode(mode gdnative.Int)
- func (o *AnimationTreePlayer) SetBasePath(path gdnative.NodePath)
- func (o *AnimationTreePlayer) SetMasterPlayer(nodepath gdnative.NodePath)
- func (o *AnimationTreePlayer) TimescaleNodeGetScale(id gdnative.String) gdnative.Real
- func (o *AnimationTreePlayer) TimescaleNodeSetScale(id gdnative.String, scale gdnative.Real)
- func (o *AnimationTreePlayer) TimeseekNodeSeek(id gdnative.String, seconds gdnative.Real)
- func (o *AnimationTreePlayer) TransitionNodeDeleteInput(id gdnative.String, inputIdx gdnative.Int)
- func (o *AnimationTreePlayer) TransitionNodeGetCurrent(id gdnative.String) gdnative.Int
- func (o *AnimationTreePlayer) TransitionNodeGetInputCount(id gdnative.String) gdnative.Int
- func (o *AnimationTreePlayer) TransitionNodeGetXfadeTime(id gdnative.String) gdnative.Real
- func (o *AnimationTreePlayer) TransitionNodeHasInputAutoAdvance(id gdnative.String, inputIdx gdnative.Int) gdnative.Bool
- func (o *AnimationTreePlayer) TransitionNodeSetCurrent(id gdnative.String, inputIdx gdnative.Int)
- func (o *AnimationTreePlayer) TransitionNodeSetInputAutoAdvance(id gdnative.String, inputIdx gdnative.Int, enable gdnative.Bool)
- func (o *AnimationTreePlayer) TransitionNodeSetInputCount(id gdnative.String, count gdnative.Int)
- func (o *AnimationTreePlayer) TransitionNodeSetXfadeTime(id gdnative.String, timeSec gdnative.Real)
- type AnimationTreePlayerAnimationProcessMode
- type AnimationTreePlayerImplementer
- type AnimationTreePlayerNodeType
- type AnimationUpdateMode
- type Area
- func (o *Area) BaseClass() string
- func (o *Area) GetAngularDamp() gdnative.Real
- func (o *Area) GetAudioBus() gdnative.String
- func (o *Area) GetCollisionLayer() gdnative.Int
- func (o *Area) GetCollisionLayerBit(bit gdnative.Int) gdnative.Bool
- func (o *Area) GetCollisionMask() gdnative.Int
- func (o *Area) GetCollisionMaskBit(bit gdnative.Int) gdnative.Bool
- func (o *Area) GetGravity() gdnative.Real
- func (o *Area) GetGravityDistanceScale() gdnative.Real
- func (o *Area) GetGravityVector() gdnative.Vector3
- func (o *Area) GetLinearDamp() gdnative.Real
- func (o *Area) GetOverlappingAreas() gdnative.Array
- func (o *Area) GetOverlappingBodies() gdnative.Array
- func (o *Area) GetPriority() gdnative.Real
- func (o *Area) GetReverbAmount() gdnative.Real
- func (o *Area) GetReverbBus() gdnative.String
- func (o *Area) GetReverbUniformity() gdnative.Real
- func (o *Area) GetSpaceOverrideMode() AreaSpaceOverride
- func (o *Area) IsGravityAPoint() gdnative.Bool
- func (o *Area) IsMonitorable() gdnative.Bool
- func (o *Area) IsMonitoring() gdnative.Bool
- func (o *Area) IsOverridingAudioBus() gdnative.Bool
- func (o *Area) IsUsingReverbBus() gdnative.Bool
- func (o *Area) OverlapsArea(area ObjectImplementer) gdnative.Bool
- func (o *Area) OverlapsBody(body ObjectImplementer) gdnative.Bool
- func (o *Area) SetAngularDamp(angularDamp gdnative.Real)
- func (o *Area) SetAudioBus(name gdnative.String)
- func (o *Area) SetAudioBusOverride(enable gdnative.Bool)
- func (o *Area) SetCollisionLayer(collisionLayer gdnative.Int)
- func (o *Area) SetCollisionLayerBit(bit gdnative.Int, value gdnative.Bool)
- func (o *Area) SetCollisionMask(collisionMask gdnative.Int)
- func (o *Area) SetCollisionMaskBit(bit gdnative.Int, value gdnative.Bool)
- func (o *Area) SetGravity(gravity gdnative.Real)
- func (o *Area) SetGravityDistanceScale(distanceScale gdnative.Real)
- func (o *Area) SetGravityIsPoint(enable gdnative.Bool)
- func (o *Area) SetGravityVector(vector gdnative.Vector3)
- func (o *Area) SetLinearDamp(linearDamp gdnative.Real)
- func (o *Area) SetMonitorable(enable gdnative.Bool)
- func (o *Area) SetMonitoring(enable gdnative.Bool)
- func (o *Area) SetPriority(priority gdnative.Real)
- func (o *Area) SetReverbAmount(amount gdnative.Real)
- func (o *Area) SetReverbBus(name gdnative.String)
- func (o *Area) SetReverbUniformity(amount gdnative.Real)
- func (o *Area) SetSpaceOverrideMode(enable gdnative.Int)
- func (o *Area) SetUseReverbBus(enable gdnative.Bool)
- func (o *Area) X_AreaEnterTree(id gdnative.Int)
- func (o *Area) X_AreaExitTree(id gdnative.Int)
- func (o *Area) X_AreaInout(arg0 gdnative.Int, arg1 gdnative.Rid, arg2 gdnative.Int, arg3 gdnative.Int, ...)
- func (o *Area) X_BodyEnterTree(id gdnative.Int)
- func (o *Area) X_BodyExitTree(id gdnative.Int)
- func (o *Area) X_BodyInout(arg0 gdnative.Int, arg1 gdnative.Rid, arg2 gdnative.Int, arg3 gdnative.Int, ...)
- type Area2D
- func (o *Area2D) BaseClass() string
- func (o *Area2D) GetAngularDamp() gdnative.Real
- func (o *Area2D) GetAudioBusName() gdnative.String
- func (o *Area2D) GetCollisionLayer() gdnative.Int
- func (o *Area2D) GetCollisionLayerBit(bit gdnative.Int) gdnative.Bool
- func (o *Area2D) GetCollisionMask() gdnative.Int
- func (o *Area2D) GetCollisionMaskBit(bit gdnative.Int) gdnative.Bool
- func (o *Area2D) GetGravity() gdnative.Real
- func (o *Area2D) GetGravityDistanceScale() gdnative.Real
- func (o *Area2D) GetGravityVector() gdnative.Vector2
- func (o *Area2D) GetLinearDamp() gdnative.Real
- func (o *Area2D) GetOverlappingAreas() gdnative.Array
- func (o *Area2D) GetOverlappingBodies() gdnative.Array
- func (o *Area2D) GetPriority() gdnative.Real
- func (o *Area2D) GetSpaceOverrideMode() Area2DSpaceOverride
- func (o *Area2D) IsGravityAPoint() gdnative.Bool
- func (o *Area2D) IsMonitorable() gdnative.Bool
- func (o *Area2D) IsMonitoring() gdnative.Bool
- func (o *Area2D) IsOverridingAudioBus() gdnative.Bool
- func (o *Area2D) OverlapsArea(area ObjectImplementer) gdnative.Bool
- func (o *Area2D) OverlapsBody(body ObjectImplementer) gdnative.Bool
- func (o *Area2D) SetAngularDamp(angularDamp gdnative.Real)
- func (o *Area2D) SetAudioBusName(name gdnative.String)
- func (o *Area2D) SetAudioBusOverride(enable gdnative.Bool)
- func (o *Area2D) SetCollisionLayer(collisionLayer gdnative.Int)
- func (o *Area2D) SetCollisionLayerBit(bit gdnative.Int, value gdnative.Bool)
- func (o *Area2D) SetCollisionMask(collisionMask gdnative.Int)
- func (o *Area2D) SetCollisionMaskBit(bit gdnative.Int, value gdnative.Bool)
- func (o *Area2D) SetGravity(gravity gdnative.Real)
- func (o *Area2D) SetGravityDistanceScale(distanceScale gdnative.Real)
- func (o *Area2D) SetGravityIsPoint(enable gdnative.Bool)
- func (o *Area2D) SetGravityVector(vector gdnative.Vector2)
- func (o *Area2D) SetLinearDamp(linearDamp gdnative.Real)
- func (o *Area2D) SetMonitorable(enable gdnative.Bool)
- func (o *Area2D) SetMonitoring(enable gdnative.Bool)
- func (o *Area2D) SetPriority(priority gdnative.Real)
- func (o *Area2D) SetSpaceOverrideMode(spaceOverrideMode gdnative.Int)
- func (o *Area2D) X_AreaEnterTree(id gdnative.Int)
- func (o *Area2D) X_AreaExitTree(id gdnative.Int)
- func (o *Area2D) X_AreaInout(arg0 gdnative.Int, arg1 gdnative.Rid, arg2 gdnative.Int, arg3 gdnative.Int, ...)
- func (o *Area2D) X_BodyEnterTree(id gdnative.Int)
- func (o *Area2D) X_BodyExitTree(id gdnative.Int)
- func (o *Area2D) X_BodyInout(arg0 gdnative.Int, arg1 gdnative.Rid, arg2 gdnative.Int, arg3 gdnative.Int, ...)
- type Area2DImplementer
- type Area2DSpaceOverride
- type AreaImplementer
- type AreaSpaceOverride
- type ArrayMesh
- func (o *ArrayMesh) AddBlendShape(name gdnative.String)
- func (o *ArrayMesh) AddSurfaceFromArrays(primitive gdnative.Int, arrays gdnative.Array, blendShapes gdnative.Array, ...)
- func (o *ArrayMesh) BaseClass() string
- func (o *ArrayMesh) CenterGeometry()
- func (o *ArrayMesh) ClearBlendShapes()
- func (o *ArrayMesh) GetBlendShapeCount() gdnative.Int
- func (o *ArrayMesh) GetBlendShapeMode() MeshBlendShapeMode
- func (o *ArrayMesh) GetBlendShapeName(index gdnative.Int) gdnative.String
- func (o *ArrayMesh) GetCustomAabb() gdnative.Aabb
- func (o *ArrayMesh) GetSurfaceCount() gdnative.Int
- func (o *ArrayMesh) LightmapUnwrap(arg0 gdnative.Transform, arg1 gdnative.Real) gdnative.Error
- func (o *ArrayMesh) RegenNormalmaps()
- func (o *ArrayMesh) SetBlendShapeMode(mode gdnative.Int)
- func (o *ArrayMesh) SetCustomAabb(aabb gdnative.Aabb)
- func (o *ArrayMesh) SurfaceGetArrayIndexLen(surfIdx gdnative.Int) gdnative.Int
- func (o *ArrayMesh) SurfaceGetArrayLen(surfIdx gdnative.Int) gdnative.Int
- func (o *ArrayMesh) SurfaceGetArrays(surfIdx gdnative.Int) gdnative.Array
- func (o *ArrayMesh) SurfaceGetBlendShapeArrays(surfIdx gdnative.Int) gdnative.Array
- func (o *ArrayMesh) SurfaceGetFormat(surfIdx gdnative.Int) gdnative.Int
- func (o *ArrayMesh) SurfaceGetMaterial(surfIdx gdnative.Int) MaterialImplementer
- func (o *ArrayMesh) SurfaceGetName(surfIdx gdnative.Int) gdnative.String
- func (o *ArrayMesh) SurfaceGetPrimitiveType(surfIdx gdnative.Int) MeshPrimitiveType
- func (o *ArrayMesh) SurfaceRemove(surfIdx gdnative.Int)
- func (o *ArrayMesh) SurfaceSetMaterial(surfIdx gdnative.Int, material MaterialImplementer)
- func (o *ArrayMesh) SurfaceSetName(surfIdx gdnative.Int, name gdnative.String)
- func (o *ArrayMesh) SurfaceUpdateRegion(surfIdx gdnative.Int, offset gdnative.Int, data gdnative.PoolByteArray)
- type ArrayMeshArrayFormat
- type ArrayMeshArrayType
- type ArrayMeshImplementer
- type AtlasTexture
- func (o *AtlasTexture) BaseClass() string
- func (o *AtlasTexture) GetAtlas() TextureImplementer
- func (o *AtlasTexture) GetMargin() gdnative.Rect2
- func (o *AtlasTexture) GetRegion() gdnative.Rect2
- func (o *AtlasTexture) HasFilterClip() gdnative.Bool
- func (o *AtlasTexture) SetAtlas(atlas TextureImplementer)
- func (o *AtlasTexture) SetFilterClip(enable gdnative.Bool)
- func (o *AtlasTexture) SetMargin(margin gdnative.Rect2)
- func (o *AtlasTexture) SetRegion(region gdnative.Rect2)
- type AtlasTextureImplementer
- type AudioBusLayout
- type AudioBusLayoutImplementer
- type AudioEffect
- type AudioEffectAmplify
- type AudioEffectAmplifyImplementer
- type AudioEffectBandLimitFilter
- type AudioEffectBandLimitFilterImplementer
- type AudioEffectBandPassFilter
- type AudioEffectBandPassFilterImplementer
- type AudioEffectChorus
- func (o *AudioEffectChorus) BaseClass() string
- func (o *AudioEffectChorus) GetDry() gdnative.Real
- func (o *AudioEffectChorus) GetVoiceCount() gdnative.Int
- func (o *AudioEffectChorus) GetVoiceCutoffHz(voiceIdx gdnative.Int) gdnative.Real
- func (o *AudioEffectChorus) GetVoiceDelayMs(voiceIdx gdnative.Int) gdnative.Real
- func (o *AudioEffectChorus) GetVoiceDepthMs(voiceIdx gdnative.Int) gdnative.Real
- func (o *AudioEffectChorus) GetVoiceLevelDb(voiceIdx gdnative.Int) gdnative.Real
- func (o *AudioEffectChorus) GetVoicePan(voiceIdx gdnative.Int) gdnative.Real
- func (o *AudioEffectChorus) GetVoiceRateHz(voiceIdx gdnative.Int) gdnative.Real
- func (o *AudioEffectChorus) GetWet() gdnative.Real
- func (o *AudioEffectChorus) SetDry(amount gdnative.Real)
- func (o *AudioEffectChorus) SetVoiceCount(voices gdnative.Int)
- func (o *AudioEffectChorus) SetVoiceCutoffHz(voiceIdx gdnative.Int, cutoffHz gdnative.Real)
- func (o *AudioEffectChorus) SetVoiceDelayMs(voiceIdx gdnative.Int, delayMs gdnative.Real)
- func (o *AudioEffectChorus) SetVoiceDepthMs(voiceIdx gdnative.Int, depthMs gdnative.Real)
- func (o *AudioEffectChorus) SetVoiceLevelDb(voiceIdx gdnative.Int, levelDb gdnative.Real)
- func (o *AudioEffectChorus) SetVoicePan(voiceIdx gdnative.Int, pan gdnative.Real)
- func (o *AudioEffectChorus) SetVoiceRateHz(voiceIdx gdnative.Int, rateHz gdnative.Real)
- func (o *AudioEffectChorus) SetWet(amount gdnative.Real)
- type AudioEffectChorusImplementer
- type AudioEffectCompressor
- func (o *AudioEffectCompressor) BaseClass() string
- func (o *AudioEffectCompressor) GetAttackUs() gdnative.Real
- func (o *AudioEffectCompressor) GetGain() gdnative.Real
- func (o *AudioEffectCompressor) GetMix() gdnative.Real
- func (o *AudioEffectCompressor) GetRatio() gdnative.Real
- func (o *AudioEffectCompressor) GetReleaseMs() gdnative.Real
- func (o *AudioEffectCompressor) GetSidechain() gdnative.String
- func (o *AudioEffectCompressor) GetThreshold() gdnative.Real
- func (o *AudioEffectCompressor) SetAttackUs(attackUs gdnative.Real)
- func (o *AudioEffectCompressor) SetGain(gain gdnative.Real)
- func (o *AudioEffectCompressor) SetMix(mix gdnative.Real)
- func (o *AudioEffectCompressor) SetRatio(ratio gdnative.Real)
- func (o *AudioEffectCompressor) SetReleaseMs(releaseMs gdnative.Real)
- func (o *AudioEffectCompressor) SetSidechain(sidechain gdnative.String)
- func (o *AudioEffectCompressor) SetThreshold(threshold gdnative.Real)
- type AudioEffectCompressorImplementer
- type AudioEffectDelay
- func (o *AudioEffectDelay) BaseClass() string
- func (o *AudioEffectDelay) GetDry() gdnative.Real
- func (o *AudioEffectDelay) GetFeedbackDelayMs() gdnative.Real
- func (o *AudioEffectDelay) GetFeedbackLevelDb() gdnative.Real
- func (o *AudioEffectDelay) GetFeedbackLowpass() gdnative.Real
- func (o *AudioEffectDelay) GetTap1DelayMs() gdnative.Real
- func (o *AudioEffectDelay) GetTap1LevelDb() gdnative.Real
- func (o *AudioEffectDelay) GetTap1Pan() gdnative.Real
- func (o *AudioEffectDelay) GetTap2DelayMs() gdnative.Real
- func (o *AudioEffectDelay) GetTap2LevelDb() gdnative.Real
- func (o *AudioEffectDelay) GetTap2Pan() gdnative.Real
- func (o *AudioEffectDelay) IsFeedbackActive() gdnative.Bool
- func (o *AudioEffectDelay) IsTap1Active() gdnative.Bool
- func (o *AudioEffectDelay) IsTap2Active() gdnative.Bool
- func (o *AudioEffectDelay) SetDry(amount gdnative.Real)
- func (o *AudioEffectDelay) SetFeedbackActive(amount gdnative.Bool)
- func (o *AudioEffectDelay) SetFeedbackDelayMs(amount gdnative.Real)
- func (o *AudioEffectDelay) SetFeedbackLevelDb(amount gdnative.Real)
- func (o *AudioEffectDelay) SetFeedbackLowpass(amount gdnative.Real)
- func (o *AudioEffectDelay) SetTap1Active(amount gdnative.Bool)
- func (o *AudioEffectDelay) SetTap1DelayMs(amount gdnative.Real)
- func (o *AudioEffectDelay) SetTap1LevelDb(amount gdnative.Real)
- func (o *AudioEffectDelay) SetTap1Pan(amount gdnative.Real)
- func (o *AudioEffectDelay) SetTap2Active(amount gdnative.Bool)
- func (o *AudioEffectDelay) SetTap2DelayMs(amount gdnative.Real)
- func (o *AudioEffectDelay) SetTap2LevelDb(amount gdnative.Real)
- func (o *AudioEffectDelay) SetTap2Pan(amount gdnative.Real)
- type AudioEffectDelayImplementer
- type AudioEffectDistortion
- func (o *AudioEffectDistortion) BaseClass() string
- func (o *AudioEffectDistortion) GetDrive() gdnative.Real
- func (o *AudioEffectDistortion) GetKeepHfHz() gdnative.Real
- func (o *AudioEffectDistortion) GetMode() AudioEffectDistortionMode
- func (o *AudioEffectDistortion) GetPostGain() gdnative.Real
- func (o *AudioEffectDistortion) GetPreGain() gdnative.Real
- func (o *AudioEffectDistortion) SetDrive(drive gdnative.Real)
- func (o *AudioEffectDistortion) SetKeepHfHz(keepHfHz gdnative.Real)
- func (o *AudioEffectDistortion) SetMode(mode gdnative.Int)
- func (o *AudioEffectDistortion) SetPostGain(postGain gdnative.Real)
- func (o *AudioEffectDistortion) SetPreGain(preGain gdnative.Real)
- type AudioEffectDistortionImplementer
- type AudioEffectDistortionMode
- type AudioEffectEQ
- type AudioEffectEQ10
- type AudioEffectEQ10Implementer
- type AudioEffectEQ21
- type AudioEffectEQ21Implementer
- type AudioEffectEQ6
- type AudioEffectEQ6Implementer
- type AudioEffectEQImplementer
- type AudioEffectFilter
- func (o *AudioEffectFilter) BaseClass() string
- func (o *AudioEffectFilter) GetCutoff() gdnative.Real
- func (o *AudioEffectFilter) GetDb() AudioEffectFilterFilterDB
- func (o *AudioEffectFilter) GetGain() gdnative.Real
- func (o *AudioEffectFilter) GetResonance() gdnative.Real
- func (o *AudioEffectFilter) SetCutoff(freq gdnative.Real)
- func (o *AudioEffectFilter) SetDb(amount gdnative.Int)
- func (o *AudioEffectFilter) SetGain(amount gdnative.Real)
- func (o *AudioEffectFilter) SetResonance(amount gdnative.Real)
- type AudioEffectFilterFilterDB
- type AudioEffectFilterImplementer
- type AudioEffectHighPassFilter
- type AudioEffectHighPassFilterImplementer
- type AudioEffectHighShelfFilter
- type AudioEffectHighShelfFilterImplementer
- type AudioEffectImplementer
- type AudioEffectLimiter
- func (o *AudioEffectLimiter) BaseClass() string
- func (o *AudioEffectLimiter) GetCeilingDb() gdnative.Real
- func (o *AudioEffectLimiter) GetSoftClipDb() gdnative.Real
- func (o *AudioEffectLimiter) GetSoftClipRatio() gdnative.Real
- func (o *AudioEffectLimiter) GetThresholdDb() gdnative.Real
- func (o *AudioEffectLimiter) SetCeilingDb(ceiling gdnative.Real)
- func (o *AudioEffectLimiter) SetSoftClipDb(softClip gdnative.Real)
- func (o *AudioEffectLimiter) SetSoftClipRatio(softClip gdnative.Real)
- func (o *AudioEffectLimiter) SetThresholdDb(threshold gdnative.Real)
- type AudioEffectLimiterImplementer
- type AudioEffectLowPassFilter
- type AudioEffectLowPassFilterImplementer
- type AudioEffectLowShelfFilter
- type AudioEffectLowShelfFilterImplementer
- type AudioEffectNotchFilter
- type AudioEffectNotchFilterImplementer
- type AudioEffectPanner
- type AudioEffectPannerImplementer
- type AudioEffectPhaser
- func (o *AudioEffectPhaser) BaseClass() string
- func (o *AudioEffectPhaser) GetDepth() gdnative.Real
- func (o *AudioEffectPhaser) GetFeedback() gdnative.Real
- func (o *AudioEffectPhaser) GetRangeMaxHz() gdnative.Real
- func (o *AudioEffectPhaser) GetRangeMinHz() gdnative.Real
- func (o *AudioEffectPhaser) GetRateHz() gdnative.Real
- func (o *AudioEffectPhaser) SetDepth(depth gdnative.Real)
- func (o *AudioEffectPhaser) SetFeedback(fbk gdnative.Real)
- func (o *AudioEffectPhaser) SetRangeMaxHz(hz gdnative.Real)
- func (o *AudioEffectPhaser) SetRangeMinHz(hz gdnative.Real)
- func (o *AudioEffectPhaser) SetRateHz(hz gdnative.Real)
- type AudioEffectPhaserImplementer
- type AudioEffectPitchShift
- type AudioEffectPitchShiftImplementer
- type AudioEffectReverb
- func (o *AudioEffectReverb) BaseClass() string
- func (o *AudioEffectReverb) GetDamping() gdnative.Real
- func (o *AudioEffectReverb) GetDry() gdnative.Real
- func (o *AudioEffectReverb) GetHpf() gdnative.Real
- func (o *AudioEffectReverb) GetPredelayFeedback() gdnative.Real
- func (o *AudioEffectReverb) GetPredelayMsec() gdnative.Real
- func (o *AudioEffectReverb) GetRoomSize() gdnative.Real
- func (o *AudioEffectReverb) GetSpread() gdnative.Real
- func (o *AudioEffectReverb) GetWet() gdnative.Real
- func (o *AudioEffectReverb) SetDamping(amount gdnative.Real)
- func (o *AudioEffectReverb) SetDry(amount gdnative.Real)
- func (o *AudioEffectReverb) SetHpf(amount gdnative.Real)
- func (o *AudioEffectReverb) SetPredelayFeedback(feedback gdnative.Real)
- func (o *AudioEffectReverb) SetPredelayMsec(msec gdnative.Real)
- func (o *AudioEffectReverb) SetRoomSize(size gdnative.Real)
- func (o *AudioEffectReverb) SetSpread(amount gdnative.Real)
- func (o *AudioEffectReverb) SetWet(amount gdnative.Real)
- type AudioEffectReverbImplementer
- type AudioEffectStereoEnhance
- func (o *AudioEffectStereoEnhance) BaseClass() string
- func (o *AudioEffectStereoEnhance) GetPanPullout() gdnative.Real
- func (o *AudioEffectStereoEnhance) GetSurround() gdnative.Real
- func (o *AudioEffectStereoEnhance) GetTimePullout() gdnative.Real
- func (o *AudioEffectStereoEnhance) SetPanPullout(amount gdnative.Real)
- func (o *AudioEffectStereoEnhance) SetSurround(amount gdnative.Real)
- func (o *AudioEffectStereoEnhance) SetTimePullout(amount gdnative.Real)
- type AudioEffectStereoEnhanceImplementer
- type AudioServerImplementer
- type AudioServerSpeakerMode
- type AudioStream
- type AudioStreamImplementer
- type AudioStreamOGGVorbis
- func (o *AudioStreamOGGVorbis) BaseClass() string
- func (o *AudioStreamOGGVorbis) GetLoopOffset() gdnative.Real
- func (o *AudioStreamOGGVorbis) HasLoop() gdnative.Bool
- func (o *AudioStreamOGGVorbis) SetLoop(enable gdnative.Bool)
- func (o *AudioStreamOGGVorbis) SetLoopOffset(seconds gdnative.Real)
- func (o *AudioStreamOGGVorbis) X_GetData() gdnative.PoolByteArray
- func (o *AudioStreamOGGVorbis) X_SetData(data gdnative.PoolByteArray)
- type AudioStreamOGGVorbisImplementer
- type AudioStreamPlayback
- type AudioStreamPlaybackImplementer
- type AudioStreamPlayer
- func (o *AudioStreamPlayer) BaseClass() string
- func (o *AudioStreamPlayer) GetBus() gdnative.String
- func (o *AudioStreamPlayer) GetMixTarget() AudioStreamPlayerMixTarget
- func (o *AudioStreamPlayer) GetPlaybackPosition() gdnative.Real
- func (o *AudioStreamPlayer) GetStream() AudioStreamImplementer
- func (o *AudioStreamPlayer) GetVolumeDb() gdnative.Real
- func (o *AudioStreamPlayer) IsAutoplayEnabled() gdnative.Bool
- func (o *AudioStreamPlayer) IsPlaying() gdnative.Bool
- func (o *AudioStreamPlayer) Play(fromPosition gdnative.Real)
- func (o *AudioStreamPlayer) Seek(toPosition gdnative.Real)
- func (o *AudioStreamPlayer) SetAutoplay(enable gdnative.Bool)
- func (o *AudioStreamPlayer) SetBus(bus gdnative.String)
- func (o *AudioStreamPlayer) SetMixTarget(mixTarget gdnative.Int)
- func (o *AudioStreamPlayer) SetStream(stream AudioStreamImplementer)
- func (o *AudioStreamPlayer) SetVolumeDb(volumeDb gdnative.Real)
- func (o *AudioStreamPlayer) Stop()
- func (o *AudioStreamPlayer) X_BusLayoutChanged()
- func (o *AudioStreamPlayer) X_IsActive() gdnative.Bool
- func (o *AudioStreamPlayer) X_SetPlaying(enable gdnative.Bool)
- type AudioStreamPlayer2D
- func (o *AudioStreamPlayer2D) BaseClass() string
- func (o *AudioStreamPlayer2D) GetAreaMask() gdnative.Int
- func (o *AudioStreamPlayer2D) GetAttenuation() gdnative.Real
- func (o *AudioStreamPlayer2D) GetBus() gdnative.String
- func (o *AudioStreamPlayer2D) GetMaxDistance() gdnative.Real
- func (o *AudioStreamPlayer2D) GetPlaybackPosition() gdnative.Real
- func (o *AudioStreamPlayer2D) GetStream() AudioStreamImplementer
- func (o *AudioStreamPlayer2D) GetVolumeDb() gdnative.Real
- func (o *AudioStreamPlayer2D) IsAutoplayEnabled() gdnative.Bool
- func (o *AudioStreamPlayer2D) IsPlaying() gdnative.Bool
- func (o *AudioStreamPlayer2D) Play(fromPosition gdnative.Real)
- func (o *AudioStreamPlayer2D) Seek(toPosition gdnative.Real)
- func (o *AudioStreamPlayer2D) SetAreaMask(mask gdnative.Int)
- func (o *AudioStreamPlayer2D) SetAttenuation(curve gdnative.Real)
- func (o *AudioStreamPlayer2D) SetAutoplay(enable gdnative.Bool)
- func (o *AudioStreamPlayer2D) SetBus(bus gdnative.String)
- func (o *AudioStreamPlayer2D) SetMaxDistance(pixels gdnative.Real)
- func (o *AudioStreamPlayer2D) SetStream(stream AudioStreamImplementer)
- func (o *AudioStreamPlayer2D) SetVolumeDb(volumeDb gdnative.Real)
- func (o *AudioStreamPlayer2D) Stop()
- func (o *AudioStreamPlayer2D) X_BusLayoutChanged()
- func (o *AudioStreamPlayer2D) X_IsActive() gdnative.Bool
- func (o *AudioStreamPlayer2D) X_SetPlaying(enable gdnative.Bool)
- type AudioStreamPlayer2DImplementer
- type AudioStreamPlayer3D
- func (o *AudioStreamPlayer3D) BaseClass() string
- func (o *AudioStreamPlayer3D) GetAreaMask() gdnative.Int
- func (o *AudioStreamPlayer3D) GetAttenuationFilterCutoffHz() gdnative.Real
- func (o *AudioStreamPlayer3D) GetAttenuationFilterDb() gdnative.Real
- func (o *AudioStreamPlayer3D) GetAttenuationModel() AudioStreamPlayer3DAttenuationModel
- func (o *AudioStreamPlayer3D) GetBus() gdnative.String
- func (o *AudioStreamPlayer3D) GetDopplerTracking() AudioStreamPlayer3DDopplerTracking
- func (o *AudioStreamPlayer3D) GetEmissionAngle() gdnative.Real
- func (o *AudioStreamPlayer3D) GetEmissionAngleFilterAttenuationDb() gdnative.Real
- func (o *AudioStreamPlayer3D) GetMaxDb() gdnative.Real
- func (o *AudioStreamPlayer3D) GetMaxDistance() gdnative.Real
- func (o *AudioStreamPlayer3D) GetOutOfRangeMode() AudioStreamPlayer3DOutOfRangeMode
- func (o *AudioStreamPlayer3D) GetPlaybackPosition() gdnative.Real
- func (o *AudioStreamPlayer3D) GetStream() AudioStreamImplementer
- func (o *AudioStreamPlayer3D) GetUnitDb() gdnative.Real
- func (o *AudioStreamPlayer3D) GetUnitSize() gdnative.Real
- func (o *AudioStreamPlayer3D) IsAutoplayEnabled() gdnative.Bool
- func (o *AudioStreamPlayer3D) IsEmissionAngleEnabled() gdnative.Bool
- func (o *AudioStreamPlayer3D) IsPlaying() gdnative.Bool
- func (o *AudioStreamPlayer3D) Play(fromPosition gdnative.Real)
- func (o *AudioStreamPlayer3D) Seek(toPosition gdnative.Real)
- func (o *AudioStreamPlayer3D) SetAreaMask(mask gdnative.Int)
- func (o *AudioStreamPlayer3D) SetAttenuationFilterCutoffHz(degrees gdnative.Real)
- func (o *AudioStreamPlayer3D) SetAttenuationFilterDb(db gdnative.Real)
- func (o *AudioStreamPlayer3D) SetAttenuationModel(model gdnative.Int)
- func (o *AudioStreamPlayer3D) SetAutoplay(enable gdnative.Bool)
- func (o *AudioStreamPlayer3D) SetBus(bus gdnative.String)
- func (o *AudioStreamPlayer3D) SetDopplerTracking(mode gdnative.Int)
- func (o *AudioStreamPlayer3D) SetEmissionAngle(degrees gdnative.Real)
- func (o *AudioStreamPlayer3D) SetEmissionAngleEnabled(enabled gdnative.Bool)
- func (o *AudioStreamPlayer3D) SetEmissionAngleFilterAttenuationDb(db gdnative.Real)
- func (o *AudioStreamPlayer3D) SetMaxDb(maxDb gdnative.Real)
- func (o *AudioStreamPlayer3D) SetMaxDistance(metres gdnative.Real)
- func (o *AudioStreamPlayer3D) SetOutOfRangeMode(mode gdnative.Int)
- func (o *AudioStreamPlayer3D) SetStream(stream AudioStreamImplementer)
- func (o *AudioStreamPlayer3D) SetUnitDb(unitDb gdnative.Real)
- func (o *AudioStreamPlayer3D) SetUnitSize(unitSize gdnative.Real)
- func (o *AudioStreamPlayer3D) Stop()
- func (o *AudioStreamPlayer3D) X_BusLayoutChanged()
- func (o *AudioStreamPlayer3D) X_IsActive() gdnative.Bool
- func (o *AudioStreamPlayer3D) X_SetPlaying(enable gdnative.Bool)
- type AudioStreamPlayer3DAttenuationModel
- type AudioStreamPlayer3DDopplerTracking
- type AudioStreamPlayer3DImplementer
- type AudioStreamPlayer3DOutOfRangeMode
- type AudioStreamPlayerImplementer
- type AudioStreamPlayerMixTarget
- type AudioStreamRandomPitch
- func (o *AudioStreamRandomPitch) BaseClass() string
- func (o *AudioStreamRandomPitch) GetAudioStream() AudioStreamImplementer
- func (o *AudioStreamRandomPitch) GetRandomPitch() gdnative.Real
- func (o *AudioStreamRandomPitch) SetAudioStream(stream AudioStreamImplementer)
- func (o *AudioStreamRandomPitch) SetRandomPitch(scale gdnative.Real)
- type AudioStreamRandomPitchImplementer
- type AudioStreamSample
- func (o *AudioStreamSample) BaseClass() string
- func (o *AudioStreamSample) GetFormat() AudioStreamSampleFormat
- func (o *AudioStreamSample) GetLoopBegin() gdnative.Int
- func (o *AudioStreamSample) GetLoopEnd() gdnative.Int
- func (o *AudioStreamSample) GetLoopMode() AudioStreamSampleLoopMode
- func (o *AudioStreamSample) GetMixRate() gdnative.Int
- func (o *AudioStreamSample) IsStereo() gdnative.Bool
- func (o *AudioStreamSample) SetFormat(format gdnative.Int)
- func (o *AudioStreamSample) SetLoopBegin(loopBegin gdnative.Int)
- func (o *AudioStreamSample) SetLoopEnd(loopEnd gdnative.Int)
- func (o *AudioStreamSample) SetLoopMode(loopMode gdnative.Int)
- func (o *AudioStreamSample) SetMixRate(mixRate gdnative.Int)
- func (o *AudioStreamSample) SetStereo(stereo gdnative.Bool)
- func (o *AudioStreamSample) X_GetData() gdnative.PoolByteArray
- func (o *AudioStreamSample) X_SetData(data gdnative.PoolByteArray)
- type AudioStreamSampleFormat
- type AudioStreamSampleImplementer
- type AudioStreamSampleLoopMode
- type BackBufferCopy
- type BackBufferCopyCopyMode
- type BackBufferCopyImplementer
- type BakedLightmap
- func (o *BakedLightmap) Bake(fromNode ObjectImplementer, createVisualDebug gdnative.Bool) BakedLightmapBakeError
- func (o *BakedLightmap) BaseClass() string
- func (o *BakedLightmap) DebugBake()
- func (o *BakedLightmap) GetBakeCellSize() gdnative.Real
- func (o *BakedLightmap) GetBakeMode() BakedLightmapBakeMode
- func (o *BakedLightmap) GetBakeQuality() BakedLightmapBakeQuality
- func (o *BakedLightmap) GetCaptureCellSize() gdnative.Real
- func (o *BakedLightmap) GetEnergy() gdnative.Real
- func (o *BakedLightmap) GetExtents() gdnative.Vector3
- func (o *BakedLightmap) GetImagePath() gdnative.String
- func (o *BakedLightmap) GetLightData() BakedLightmapDataImplementer
- func (o *BakedLightmap) GetPropagation() gdnative.Real
- func (o *BakedLightmap) IsHdr() gdnative.Bool
- func (o *BakedLightmap) SetBakeCellSize(bakeCellSize gdnative.Real)
- func (o *BakedLightmap) SetBakeMode(bakeMode gdnative.Int)
- func (o *BakedLightmap) SetBakeQuality(bakeQuality gdnative.Int)
- func (o *BakedLightmap) SetCaptureCellSize(captureCellSize gdnative.Real)
- func (o *BakedLightmap) SetEnergy(energy gdnative.Real)
- func (o *BakedLightmap) SetExtents(extents gdnative.Vector3)
- func (o *BakedLightmap) SetHdr(hdr gdnative.Bool)
- func (o *BakedLightmap) SetImagePath(imagePath gdnative.String)
- func (o *BakedLightmap) SetLightData(data BakedLightmapDataImplementer)
- func (o *BakedLightmap) SetPropagation(propagation gdnative.Real)
- type BakedLightmapBakeError
- type BakedLightmapBakeMode
- type BakedLightmapBakeQuality
- type BakedLightmapData
- func (o *BakedLightmapData) AddUser(path gdnative.NodePath, lightmap TextureImplementer, instance gdnative.Int)
- func (o *BakedLightmapData) BaseClass() string
- func (o *BakedLightmapData) ClearUsers()
- func (o *BakedLightmapData) GetBounds() gdnative.Aabb
- func (o *BakedLightmapData) GetCellSpaceTransform() gdnative.Transform
- func (o *BakedLightmapData) GetCellSubdiv() gdnative.Int
- func (o *BakedLightmapData) GetEnergy() gdnative.Real
- func (o *BakedLightmapData) GetOctree() gdnative.PoolByteArray
- func (o *BakedLightmapData) GetUserCount() gdnative.Int
- func (o *BakedLightmapData) GetUserLightmap(userIdx gdnative.Int) TextureImplementer
- func (o *BakedLightmapData) GetUserPath(userIdx gdnative.Int) gdnative.NodePath
- func (o *BakedLightmapData) SetBounds(bounds gdnative.Aabb)
- func (o *BakedLightmapData) SetCellSpaceTransform(xform gdnative.Transform)
- func (o *BakedLightmapData) SetCellSubdiv(cellSubdiv gdnative.Int)
- func (o *BakedLightmapData) SetEnergy(energy gdnative.Real)
- func (o *BakedLightmapData) SetOctree(octree gdnative.PoolByteArray)
- func (o *BakedLightmapData) X_GetUserData() gdnative.Array
- func (o *BakedLightmapData) X_SetUserData(data gdnative.Array)
- type BakedLightmapDataImplementer
- type BakedLightmapImplementer
- type BaseButton
- func (o *BaseButton) BaseClass() string
- func (o *BaseButton) GetActionMode() BaseButtonActionMode
- func (o *BaseButton) GetButtonGroup() ButtonGroupImplementer
- func (o *BaseButton) GetDrawMode() BaseButtonDrawMode
- func (o *BaseButton) GetEnabledFocusMode() ControlFocusMode
- func (o *BaseButton) GetShortcut() ShortCutImplementer
- func (o *BaseButton) IsDisabled() gdnative.Bool
- func (o *BaseButton) IsHovered() gdnative.Bool
- func (o *BaseButton) IsPressed() gdnative.Bool
- func (o *BaseButton) IsToggleMode() gdnative.Bool
- func (o *BaseButton) SetActionMode(mode gdnative.Int)
- func (o *BaseButton) SetButtonGroup(buttonGroup ButtonGroupImplementer)
- func (o *BaseButton) SetDisabled(disabled gdnative.Bool)
- func (o *BaseButton) SetEnabledFocusMode(mode gdnative.Int)
- func (o *BaseButton) SetPressed(pressed gdnative.Bool)
- func (o *BaseButton) SetShortcut(shortcut ShortCutImplementer)
- func (o *BaseButton) SetToggleMode(enabled gdnative.Bool)
- func (o *BaseButton) X_GuiInput(arg0 InputEventImplementer)
- func (o *BaseButton) X_Pressed()
- func (o *BaseButton) X_Toggled(buttonPressed gdnative.Bool)
- func (o *BaseButton) X_UnhandledInput(arg0 InputEventImplementer)
- type BaseButtonActionMode
- type BaseButtonDrawMode
- type BaseButtonImplementer
- type BitMap
- func (o *BitMap) BaseClass() string
- func (o *BitMap) Create(size gdnative.Vector2)
- func (o *BitMap) CreateFromImageAlpha(image ImageImplementer)
- func (o *BitMap) GetBit(position gdnative.Vector2) gdnative.Bool
- func (o *BitMap) GetSize() gdnative.Vector2
- func (o *BitMap) GetTrueBitCount() gdnative.Int
- func (o *BitMap) SetBit(position gdnative.Vector2, bit gdnative.Bool)
- func (o *BitMap) SetBitRect(pRect gdnative.Rect2, bit gdnative.Bool)
- func (o *BitMap) X_GetData() gdnative.Dictionary
- func (o *BitMap) X_SetData(arg0 gdnative.Dictionary)
- type BitMapImplementer
- type BitmapFont
- func (o *BitmapFont) AddChar(character gdnative.Int, texture gdnative.Int, rect gdnative.Rect2, ...)
- func (o *BitmapFont) AddKerningPair(charA gdnative.Int, charB gdnative.Int, kerning gdnative.Int)
- func (o *BitmapFont) AddTexture(texture TextureImplementer)
- func (o *BitmapFont) BaseClass() string
- func (o *BitmapFont) Clear()
- func (o *BitmapFont) CreateFromFnt(path gdnative.String) gdnative.Error
- func (o *BitmapFont) GetCharSize(char gdnative.Int, next gdnative.Int) gdnative.Vector2
- func (o *BitmapFont) GetFallback() BitmapFontImplementer
- func (o *BitmapFont) GetKerningPair(charA gdnative.Int, charB gdnative.Int) gdnative.Int
- func (o *BitmapFont) GetTexture(idx gdnative.Int) TextureImplementer
- func (o *BitmapFont) GetTextureCount() gdnative.Int
- func (o *BitmapFont) SetAscent(px gdnative.Real)
- func (o *BitmapFont) SetDistanceFieldHint(enable gdnative.Bool)
- func (o *BitmapFont) SetFallback(fallback BitmapFontImplementer)
- func (o *BitmapFont) SetHeight(px gdnative.Real)
- func (o *BitmapFont) X_GetChars() gdnative.PoolIntArray
- func (o *BitmapFont) X_GetKernings() gdnative.PoolIntArray
- func (o *BitmapFont) X_GetTextures() gdnative.Array
- func (o *BitmapFont) X_SetChars(arg0 gdnative.PoolIntArray)
- func (o *BitmapFont) X_SetKernings(arg0 gdnative.PoolIntArray)
- func (o *BitmapFont) X_SetTextures(arg0 gdnative.Array)
- type BitmapFontImplementer
- type BoneAttachment
- type BoneAttachmentImplementer
- type BoxContainer
- type BoxContainerAlignMode
- type BoxContainerImplementer
- type BoxShape
- type BoxShapeImplementer
- type BulletPhysicsDirectBodyState
- type BulletPhysicsDirectBodyStateImplementer
- type BulletPhysicsServer
- func (o *BulletPhysicsServer) AreaAddShape(area gdnative.Rid, shape gdnative.Rid, transform gdnative.Transform)
- func (o *BulletPhysicsServer) AreaAttachObjectInstanceId(area gdnative.Rid, id gdnative.Int)
- func (o *BulletPhysicsServer) AreaClearShapes(area gdnative.Rid)
- func (o *BulletPhysicsServer) AreaCreate() gdnative.Rid
- func (o *BulletPhysicsServer) AreaGetObjectInstanceId(area gdnative.Rid) gdnative.Int
- func (o *BulletPhysicsServer) AreaGetParam(area gdnative.Rid, param gdnative.Int) gdnative.Variant
- func (o *BulletPhysicsServer) AreaGetShape(area gdnative.Rid, shapeIdx gdnative.Int) gdnative.Rid
- func (o *BulletPhysicsServer) AreaGetShapeCount(area gdnative.Rid) gdnative.Int
- func (o *BulletPhysicsServer) AreaGetShapeTransform(area gdnative.Rid, shapeIdx gdnative.Int) gdnative.Transform
- func (o *BulletPhysicsServer) AreaGetSpace(area gdnative.Rid) gdnative.Rid
- func (o *BulletPhysicsServer) AreaGetSpaceOverrideMode(area gdnative.Rid) PhysicsServerAreaSpaceOverrideMode
- func (o *BulletPhysicsServer) AreaGetTransform(area gdnative.Rid) gdnative.Transform
- func (o *BulletPhysicsServer) AreaIsRayPickable(area gdnative.Rid) gdnative.Bool
- func (o *BulletPhysicsServer) AreaRemoveShape(area gdnative.Rid, shapeIdx gdnative.Int)
- func (o *BulletPhysicsServer) AreaSetCollisionLayer(area gdnative.Rid, layer gdnative.Int)
- func (o *BulletPhysicsServer) AreaSetCollisionMask(area gdnative.Rid, mask gdnative.Int)
- func (o *BulletPhysicsServer) AreaSetMonitorCallback(area gdnative.Rid, receiver ObjectImplementer, method gdnative.String)
- func (o *BulletPhysicsServer) AreaSetParam(area gdnative.Rid, param gdnative.Int, value gdnative.Variant)
- func (o *BulletPhysicsServer) AreaSetRayPickable(area gdnative.Rid, enable gdnative.Bool)
- func (o *BulletPhysicsServer) AreaSetShape(area gdnative.Rid, shapeIdx gdnative.Int, shape gdnative.Rid)
- func (o *BulletPhysicsServer) AreaSetShapeTransform(area gdnative.Rid, shapeIdx gdnative.Int, transform gdnative.Transform)
- func (o *BulletPhysicsServer) AreaSetSpace(area gdnative.Rid, space gdnative.Rid)
- func (o *BulletPhysicsServer) AreaSetSpaceOverrideMode(area gdnative.Rid, mode gdnative.Int)
- func (o *BulletPhysicsServer) AreaSetTransform(area gdnative.Rid, transform gdnative.Transform)
- func (o *BulletPhysicsServer) BaseClass() string
- func (o *BulletPhysicsServer) BodyAddCollisionException(body gdnative.Rid, exceptedBody gdnative.Rid)
- func (o *BulletPhysicsServer) BodyAddShape(body gdnative.Rid, shape gdnative.Rid, transform gdnative.Transform)
- func (o *BulletPhysicsServer) BodyApplyImpulse(body gdnative.Rid, position gdnative.Vector3, impulse gdnative.Vector3)
- func (o *BulletPhysicsServer) BodyApplyTorqueImpulse(body gdnative.Rid, impulse gdnative.Vector3)
- func (o *BulletPhysicsServer) BodyAttachObjectInstanceId(body gdnative.Rid, id gdnative.Int)
- func (o *BulletPhysicsServer) BodyClearShapes(body gdnative.Rid)
- func (o *BulletPhysicsServer) BodyCreate(mode gdnative.Int, initSleeping gdnative.Bool) gdnative.Rid
- func (o *BulletPhysicsServer) BodyGetCollisionLayer(body gdnative.Rid) gdnative.Int
- func (o *BulletPhysicsServer) BodyGetCollisionMask(body gdnative.Rid) gdnative.Int
- func (o *BulletPhysicsServer) BodyGetDirectState(body gdnative.Rid) PhysicsDirectBodyStateImplementer
- func (o *BulletPhysicsServer) BodyGetKinematicSafeMargin(body gdnative.Rid) gdnative.Real
- func (o *BulletPhysicsServer) BodyGetMaxContactsReported(body gdnative.Rid) gdnative.Int
- func (o *BulletPhysicsServer) BodyGetMode(body gdnative.Rid) PhysicsServerBodyMode
- func (o *BulletPhysicsServer) BodyGetObjectInstanceId(body gdnative.Rid) gdnative.Int
- func (o *BulletPhysicsServer) BodyGetParam(body gdnative.Rid, param gdnative.Int) gdnative.Real
- func (o *BulletPhysicsServer) BodyGetShape(body gdnative.Rid, shapeIdx gdnative.Int) gdnative.Rid
- func (o *BulletPhysicsServer) BodyGetShapeCount(body gdnative.Rid) gdnative.Int
- func (o *BulletPhysicsServer) BodyGetShapeTransform(body gdnative.Rid, shapeIdx gdnative.Int) gdnative.Transform
- func (o *BulletPhysicsServer) BodyGetSpace(body gdnative.Rid) gdnative.Rid
- func (o *BulletPhysicsServer) BodyGetState(body gdnative.Rid, state gdnative.Int) gdnative.Variant
- func (o *BulletPhysicsServer) BodyIsAxisLocked(body gdnative.Rid, axis gdnative.Int) gdnative.Bool
- func (o *BulletPhysicsServer) BodyIsContinuousCollisionDetectionEnabled(body gdnative.Rid) gdnative.Bool
- func (o *BulletPhysicsServer) BodyIsOmittingForceIntegration(body gdnative.Rid) gdnative.Bool
- func (o *BulletPhysicsServer) BodyIsRayPickable(body gdnative.Rid) gdnative.Bool
- func (o *BulletPhysicsServer) BodyRemoveCollisionException(body gdnative.Rid, exceptedBody gdnative.Rid)
- func (o *BulletPhysicsServer) BodyRemoveShape(body gdnative.Rid, shapeIdx gdnative.Int)
- func (o *BulletPhysicsServer) BodySetAxisLock(body gdnative.Rid, axis gdnative.Int, lock gdnative.Bool)
- func (o *BulletPhysicsServer) BodySetAxisVelocity(body gdnative.Rid, axisVelocity gdnative.Vector3)
- func (o *BulletPhysicsServer) BodySetCollisionLayer(body gdnative.Rid, layer gdnative.Int)
- func (o *BulletPhysicsServer) BodySetCollisionMask(body gdnative.Rid, mask gdnative.Int)
- func (o *BulletPhysicsServer) BodySetEnableContinuousCollisionDetection(body gdnative.Rid, enable gdnative.Bool)
- func (o *BulletPhysicsServer) BodySetForceIntegrationCallback(body gdnative.Rid, receiver ObjectImplementer, method gdnative.String, ...)
- func (o *BulletPhysicsServer) BodySetKinematicSafeMargin(body gdnative.Rid, margin gdnative.Real)
- func (o *BulletPhysicsServer) BodySetMaxContactsReported(body gdnative.Rid, amount gdnative.Int)
- func (o *BulletPhysicsServer) BodySetMode(body gdnative.Rid, mode gdnative.Int)
- func (o *BulletPhysicsServer) BodySetOmitForceIntegration(body gdnative.Rid, enable gdnative.Bool)
- func (o *BulletPhysicsServer) BodySetParam(body gdnative.Rid, param gdnative.Int, value gdnative.Real)
- func (o *BulletPhysicsServer) BodySetRayPickable(body gdnative.Rid, enable gdnative.Bool)
- func (o *BulletPhysicsServer) BodySetShape(body gdnative.Rid, shapeIdx gdnative.Int, shape gdnative.Rid)
- func (o *BulletPhysicsServer) BodySetShapeTransform(body gdnative.Rid, shapeIdx gdnative.Int, transform gdnative.Transform)
- func (o *BulletPhysicsServer) BodySetSpace(body gdnative.Rid, space gdnative.Rid)
- func (o *BulletPhysicsServer) BodySetState(body gdnative.Rid, state gdnative.Int, value gdnative.Variant)
- func (o *BulletPhysicsServer) ConeTwistJointGetParam(joint gdnative.Rid, param gdnative.Int) gdnative.Real
- func (o *BulletPhysicsServer) ConeTwistJointSetParam(joint gdnative.Rid, param gdnative.Int, value gdnative.Real)
- func (o *BulletPhysicsServer) FreeRid(rid gdnative.Rid)
- func (o *BulletPhysicsServer) Generic6DofJointGetFlag(joint gdnative.Rid, axis gdnative.Int, flag gdnative.Int) gdnative.Bool
- func (o *BulletPhysicsServer) Generic6DofJointGetParam(joint gdnative.Rid, axis gdnative.Int, param gdnative.Int) gdnative.Real
- func (o *BulletPhysicsServer) Generic6DofJointSetFlag(joint gdnative.Rid, axis gdnative.Int, flag gdnative.Int, enable gdnative.Bool)
- func (o *BulletPhysicsServer) Generic6DofJointSetParam(joint gdnative.Rid, axis gdnative.Int, param gdnative.Int, value gdnative.Real)
- func (o *BulletPhysicsServer) GetProcessInfo(processInfo gdnative.Int) gdnative.Int
- func (o *BulletPhysicsServer) HingeJointGetFlag(joint gdnative.Rid, flag gdnative.Int) gdnative.Bool
- func (o *BulletPhysicsServer) HingeJointGetParam(joint gdnative.Rid, param gdnative.Int) gdnative.Real
- func (o *BulletPhysicsServer) HingeJointSetFlag(joint gdnative.Rid, flag gdnative.Int, enabled gdnative.Bool)
- func (o *BulletPhysicsServer) HingeJointSetParam(joint gdnative.Rid, param gdnative.Int, value gdnative.Real)
- func (o *BulletPhysicsServer) JointCreateConeTwist(bodyA gdnative.Rid, localRefA gdnative.Transform, bodyB gdnative.Rid, ...) gdnative.Rid
- func (o *BulletPhysicsServer) JointCreateGeneric6Dof(bodyA gdnative.Rid, localRefA gdnative.Transform, bodyB gdnative.Rid, ...) gdnative.Rid
- func (o *BulletPhysicsServer) JointCreateHinge(bodyA gdnative.Rid, hingeA gdnative.Transform, bodyB gdnative.Rid, ...) gdnative.Rid
- func (o *BulletPhysicsServer) JointCreatePin(bodyA gdnative.Rid, localA gdnative.Vector3, bodyB gdnative.Rid, ...) gdnative.Rid
- func (o *BulletPhysicsServer) JointCreateSlider(bodyA gdnative.Rid, localRefA gdnative.Transform, bodyB gdnative.Rid, ...) gdnative.Rid
- func (o *BulletPhysicsServer) JointGetSolverPriority(joint gdnative.Rid) gdnative.Int
- func (o *BulletPhysicsServer) JointGetType(joint gdnative.Rid) PhysicsServerJointType
- func (o *BulletPhysicsServer) JointSetSolverPriority(joint gdnative.Rid, priority gdnative.Int)
- func (o *BulletPhysicsServer) PinJointGetLocalA(joint gdnative.Rid) gdnative.Vector3
- func (o *BulletPhysicsServer) PinJointGetLocalB(joint gdnative.Rid) gdnative.Vector3
- func (o *BulletPhysicsServer) PinJointGetParam(joint gdnative.Rid, param gdnative.Int) gdnative.Real
- func (o *BulletPhysicsServer) PinJointSetLocalA(joint gdnative.Rid, localA gdnative.Vector3)
- func (o *BulletPhysicsServer) PinJointSetLocalB(joint gdnative.Rid, localB gdnative.Vector3)
- func (o *BulletPhysicsServer) PinJointSetParam(joint gdnative.Rid, param gdnative.Int, value gdnative.Real)
- func (o *BulletPhysicsServer) SetActive(active gdnative.Bool)
- func (o *BulletPhysicsServer) ShapeCreate(aType gdnative.Int) gdnative.Rid
- func (o *BulletPhysicsServer) ShapeGetData(shape gdnative.Rid) gdnative.Variant
- func (o *BulletPhysicsServer) ShapeGetType(shape gdnative.Rid) PhysicsServerShapeType
- func (o *BulletPhysicsServer) ShapeSetData(shape gdnative.Rid, data gdnative.Variant)
- func (o *BulletPhysicsServer) SliderJointGetParam(joint gdnative.Rid, param gdnative.Int) gdnative.Real
- func (o *BulletPhysicsServer) SliderJointSetParam(joint gdnative.Rid, param gdnative.Int, value gdnative.Real)
- func (o *BulletPhysicsServer) SpaceCreate() gdnative.Rid
- func (o *BulletPhysicsServer) SpaceGetDirectState(space gdnative.Rid) PhysicsDirectSpaceStateImplementer
- func (o *BulletPhysicsServer) SpaceGetParam(space gdnative.Rid, param gdnative.Int) gdnative.Real
- func (o *BulletPhysicsServer) SpaceIsActive(space gdnative.Rid) gdnative.Bool
- func (o *BulletPhysicsServer) SpaceSetActive(space gdnative.Rid, active gdnative.Bool)
- func (o *BulletPhysicsServer) SpaceSetParam(space gdnative.Rid, param gdnative.Int, value gdnative.Real)
- type BulletPhysicsServerImplementer
- type Button
- func (o *Button) BaseClass() string
- func (o *Button) GetButtonIcon() TextureImplementer
- func (o *Button) GetClipText() gdnative.Bool
- func (o *Button) GetText() gdnative.String
- func (o *Button) GetTextAlign() ButtonTextAlign
- func (o *Button) IsFlat() gdnative.Bool
- func (o *Button) SetButtonIcon(texture TextureImplementer)
- func (o *Button) SetClipText(enabled gdnative.Bool)
- func (o *Button) SetFlat(enabled gdnative.Bool)
- func (o *Button) SetText(text gdnative.String)
- func (o *Button) SetTextAlign(align gdnative.Int)
- type ButtonGroup
- type ButtonGroupImplementer
- type ButtonImplementer
- type ButtonTextAlign
- type Camera
- func (o *Camera) BaseClass() string
- func (o *Camera) ClearCurrent()
- func (o *Camera) GetCameraTransform() gdnative.Transform
- func (o *Camera) GetCullMask() gdnative.Int
- func (o *Camera) GetDopplerTracking() CameraDopplerTracking
- func (o *Camera) GetEnvironment() EnvironmentImplementer
- func (o *Camera) GetFov() gdnative.Real
- func (o *Camera) GetHOffset() gdnative.Real
- func (o *Camera) GetKeepAspectMode() CameraKeepAspect
- func (o *Camera) GetProjection() CameraProjection
- func (o *Camera) GetSize() gdnative.Real
- func (o *Camera) GetVOffset() gdnative.Real
- func (o *Camera) GetZfar() gdnative.Real
- func (o *Camera) GetZnear() gdnative.Real
- func (o *Camera) IsCurrent() gdnative.Bool
- func (o *Camera) IsPositionBehind(worldPoint gdnative.Vector3) gdnative.Bool
- func (o *Camera) MakeCurrent()
- func (o *Camera) ProjectLocalRayNormal(screenPoint gdnative.Vector2) gdnative.Vector3
- func (o *Camera) ProjectPosition(screenPoint gdnative.Vector2) gdnative.Vector3
- func (o *Camera) ProjectRayNormal(screenPoint gdnative.Vector2) gdnative.Vector3
- func (o *Camera) ProjectRayOrigin(screenPoint gdnative.Vector2) gdnative.Vector3
- func (o *Camera) SetCullMask(mask gdnative.Int)
- func (o *Camera) SetCurrent(arg0 gdnative.Bool)
- func (o *Camera) SetDopplerTracking(mode gdnative.Int)
- func (o *Camera) SetEnvironment(env EnvironmentImplementer)
- func (o *Camera) SetFov(arg0 gdnative.Real)
- func (o *Camera) SetHOffset(ofs gdnative.Real)
- func (o *Camera) SetKeepAspectMode(mode gdnative.Int)
- func (o *Camera) SetOrthogonal(size gdnative.Real, zNear gdnative.Real, zFar gdnative.Real)
- func (o *Camera) SetPerspective(fov gdnative.Real, zNear gdnative.Real, zFar gdnative.Real)
- func (o *Camera) SetProjection(arg0 gdnative.Int)
- func (o *Camera) SetSize(arg0 gdnative.Real)
- func (o *Camera) SetVOffset(ofs gdnative.Real)
- func (o *Camera) SetZfar(arg0 gdnative.Real)
- func (o *Camera) SetZnear(arg0 gdnative.Real)
- func (o *Camera) UnprojectPosition(worldPoint gdnative.Vector3) gdnative.Vector2
- type Camera2D
- func (o *Camera2D) Align()
- func (o *Camera2D) BaseClass() string
- func (o *Camera2D) ClearCurrent()
- func (o *Camera2D) ForceUpdateScroll()
- func (o *Camera2D) GetAnchorMode() Camera2DAnchorMode
- func (o *Camera2D) GetCameraPosition() gdnative.Vector2
- func (o *Camera2D) GetCameraScreenCenter() gdnative.Vector2
- func (o *Camera2D) GetCustomViewport() NodeImplementer
- func (o *Camera2D) GetDragMargin(margin gdnative.Int) gdnative.Real
- func (o *Camera2D) GetFollowSmoothing() gdnative.Real
- func (o *Camera2D) GetHOffset() gdnative.Real
- func (o *Camera2D) GetLimit(margin gdnative.Int) gdnative.Int
- func (o *Camera2D) GetOffset() gdnative.Vector2
- func (o *Camera2D) GetVOffset() gdnative.Real
- func (o *Camera2D) GetZoom() gdnative.Vector2
- func (o *Camera2D) IsCurrent() gdnative.Bool
- func (o *Camera2D) IsFollowSmoothingEnabled() gdnative.Bool
- func (o *Camera2D) IsHDragEnabled() gdnative.Bool
- func (o *Camera2D) IsLimitDrawingEnabled() gdnative.Bool
- func (o *Camera2D) IsLimitSmoothingEnabled() gdnative.Bool
- func (o *Camera2D) IsMarginDrawingEnabled() gdnative.Bool
- func (o *Camera2D) IsRotating() gdnative.Bool
- func (o *Camera2D) IsScreenDrawingEnabled() gdnative.Bool
- func (o *Camera2D) IsVDragEnabled() gdnative.Bool
- func (o *Camera2D) MakeCurrent()
- func (o *Camera2D) ResetSmoothing()
- func (o *Camera2D) SetAnchorMode(anchorMode gdnative.Int)
- func (o *Camera2D) SetCustomViewport(viewport ObjectImplementer)
- func (o *Camera2D) SetDragMargin(margin gdnative.Int, dragMargin gdnative.Real)
- func (o *Camera2D) SetEnableFollowSmoothing(followSmoothing gdnative.Bool)
- func (o *Camera2D) SetFollowSmoothing(followSmoothing gdnative.Real)
- func (o *Camera2D) SetHDragEnabled(enabled gdnative.Bool)
- func (o *Camera2D) SetHOffset(ofs gdnative.Real)
- func (o *Camera2D) SetLimit(margin gdnative.Int, limit gdnative.Int)
- func (o *Camera2D) SetLimitDrawingEnabled(limitDrawingEnabled gdnative.Bool)
- func (o *Camera2D) SetLimitSmoothingEnabled(limitSmoothingEnabled gdnative.Bool)
- func (o *Camera2D) SetMarginDrawingEnabled(marginDrawingEnabled gdnative.Bool)
- func (o *Camera2D) SetOffset(offset gdnative.Vector2)
- func (o *Camera2D) SetRotating(rotating gdnative.Bool)
- func (o *Camera2D) SetScreenDrawingEnabled(screenDrawingEnabled gdnative.Bool)
- func (o *Camera2D) SetVDragEnabled(enabled gdnative.Bool)
- func (o *Camera2D) SetVOffset(ofs gdnative.Real)
- func (o *Camera2D) SetZoom(zoom gdnative.Vector2)
- func (o *Camera2D) X_MakeCurrent(arg0 ObjectImplementer)
- func (o *Camera2D) X_SetCurrent(current gdnative.Bool)
- func (o *Camera2D) X_SetOldSmoothing(followSmoothing gdnative.Real)
- func (o *Camera2D) X_UpdateScroll()
- type Camera2DAnchorMode
- type Camera2DImplementer
- type CameraDopplerTracking
- type CameraImplementer
- type CameraKeepAspect
- type CameraProjection
- type CanvasItem
- func (o *CanvasItem) BaseClass() string
- func (o *CanvasItem) DrawChar(font FontImplementer, position gdnative.Vector2, char gdnative.String, ...) gdnative.Real
- func (o *CanvasItem) DrawCircle(position gdnative.Vector2, radius gdnative.Real, color gdnative.Color)
- func (o *CanvasItem) DrawColoredPolygon(points gdnative.PoolVector2Array, color gdnative.Color, ...)
- func (o *CanvasItem) DrawLine(from gdnative.Vector2, to gdnative.Vector2, color gdnative.Color, ...)
- func (o *CanvasItem) DrawMultiline(points gdnative.PoolVector2Array, color gdnative.Color, width gdnative.Real, ...)
- func (o *CanvasItem) DrawMultilineColors(points gdnative.PoolVector2Array, colors gdnative.PoolColorArray, ...)
- func (o *CanvasItem) DrawPolygon(points gdnative.PoolVector2Array, colors gdnative.PoolColorArray, ...)
- func (o *CanvasItem) DrawPolyline(points gdnative.PoolVector2Array, color gdnative.Color, width gdnative.Real, ...)
- func (o *CanvasItem) DrawPolylineColors(points gdnative.PoolVector2Array, colors gdnative.PoolColorArray, ...)
- func (o *CanvasItem) DrawPrimitive(points gdnative.PoolVector2Array, colors gdnative.PoolColorArray, ...)
- func (o *CanvasItem) DrawRect(rect gdnative.Rect2, color gdnative.Color, filled gdnative.Bool)
- func (o *CanvasItem) DrawSetTransform(position gdnative.Vector2, rotation gdnative.Real, scale gdnative.Vector2)
- func (o *CanvasItem) DrawSetTransformMatrix(xform gdnative.Transform2D)
- func (o *CanvasItem) DrawString(font FontImplementer, position gdnative.Vector2, text gdnative.String, ...)
- func (o *CanvasItem) DrawStyleBox(styleBox StyleBoxImplementer, rect gdnative.Rect2)
- func (o *CanvasItem) DrawTexture(texture TextureImplementer, position gdnative.Vector2, modulate gdnative.Color, ...)
- func (o *CanvasItem) DrawTextureRect(texture TextureImplementer, rect gdnative.Rect2, tile gdnative.Bool, ...)
- func (o *CanvasItem) DrawTextureRectRegion(texture TextureImplementer, rect gdnative.Rect2, srcRect gdnative.Rect2, ...)
- func (o *CanvasItem) GetCanvas() gdnative.Rid
- func (o *CanvasItem) GetCanvasItem() gdnative.Rid
- func (o *CanvasItem) GetCanvasTransform() gdnative.Transform2D
- func (o *CanvasItem) GetGlobalMousePosition() gdnative.Vector2
- func (o *CanvasItem) GetGlobalTransform() gdnative.Transform2D
- func (o *CanvasItem) GetGlobalTransformWithCanvas() gdnative.Transform2D
- func (o *CanvasItem) GetLightMask() gdnative.Int
- func (o *CanvasItem) GetLocalMousePosition() gdnative.Vector2
- func (o *CanvasItem) GetMaterial() MaterialImplementer
- func (o *CanvasItem) GetModulate() gdnative.Color
- func (o *CanvasItem) GetSelfModulate() gdnative.Color
- func (o *CanvasItem) GetTransform() gdnative.Transform2D
- func (o *CanvasItem) GetUseParentMaterial() gdnative.Bool
- func (o *CanvasItem) GetViewportRect() gdnative.Rect2
- func (o *CanvasItem) GetViewportTransform() gdnative.Transform2D
- func (o *CanvasItem) GetWorld2D() World2DImplementer
- func (o *CanvasItem) Hide()
- func (o *CanvasItem) IsDrawBehindParentEnabled() gdnative.Bool
- func (o *CanvasItem) IsLocalTransformNotificationEnabled() gdnative.Bool
- func (o *CanvasItem) IsSetAsToplevel() gdnative.Bool
- func (o *CanvasItem) IsTransformNotificationEnabled() gdnative.Bool
- func (o *CanvasItem) IsVisible() gdnative.Bool
- func (o *CanvasItem) IsVisibleInTree() gdnative.Bool
- func (o *CanvasItem) MakeCanvasPositionLocal(screenPoint gdnative.Vector2) gdnative.Vector2
- func (o *CanvasItem) MakeInputLocal(event InputEventImplementer) InputEventImplementer
- func (o *CanvasItem) SetAsToplevel(enable gdnative.Bool)
- func (o *CanvasItem) SetDrawBehindParent(enable gdnative.Bool)
- func (o *CanvasItem) SetLightMask(lightMask gdnative.Int)
- func (o *CanvasItem) SetMaterial(material MaterialImplementer)
- func (o *CanvasItem) SetModulate(modulate gdnative.Color)
- func (o *CanvasItem) SetNotifyLocalTransform(enable gdnative.Bool)
- func (o *CanvasItem) SetNotifyTransform(enable gdnative.Bool)
- func (o *CanvasItem) SetSelfModulate(selfModulate gdnative.Color)
- func (o *CanvasItem) SetUseParentMaterial(enable gdnative.Bool)
- func (o *CanvasItem) SetVisible(visible gdnative.Bool)
- func (o *CanvasItem) Show()
- func (o *CanvasItem) Update()
- func (o *CanvasItem) X_Draw()
- func (o *CanvasItem) X_EditGetItemAndChildrenRect() gdnative.Rect2
- func (o *CanvasItem) X_EditGetPivot() gdnative.Vector2
- func (o *CanvasItem) X_EditGetPosition() gdnative.Vector2
- func (o *CanvasItem) X_EditGetRect() gdnative.Rect2
- func (o *CanvasItem) X_EditGetRotation() gdnative.Real
- func (o *CanvasItem) X_EditGetState() gdnative.Dictionary
- func (o *CanvasItem) X_EditSetPivot(pivot gdnative.Vector2)
- func (o *CanvasItem) X_EditSetPosition(position gdnative.Vector2)
- func (o *CanvasItem) X_EditSetRect(rect gdnative.Rect2)
- func (o *CanvasItem) X_EditSetRotation(degrees gdnative.Real)
- func (o *CanvasItem) X_EditSetState(state gdnative.Dictionary)
- func (o *CanvasItem) X_EditUsePivot() gdnative.Bool
- func (o *CanvasItem) X_EditUsePosition() gdnative.Bool
- func (o *CanvasItem) X_EditUseRect() gdnative.Bool
- func (o *CanvasItem) X_EditUseRotation() gdnative.Bool
- func (o *CanvasItem) X_IsOnTop() gdnative.Bool
- func (o *CanvasItem) X_SetOnTop(onTop gdnative.Bool)
- func (o *CanvasItem) X_ToplevelRaiseSelf()
- func (o *CanvasItem) X_UpdateCallback()
- type CanvasItemBlendMode
- type CanvasItemImplementer
- type CanvasItemMaterial
- func (o *CanvasItemMaterial) BaseClass() string
- func (o *CanvasItemMaterial) GetBlendMode() CanvasItemMaterialBlendMode
- func (o *CanvasItemMaterial) GetLightMode() CanvasItemMaterialLightMode
- func (o *CanvasItemMaterial) SetBlendMode(blendMode gdnative.Int)
- func (o *CanvasItemMaterial) SetLightMode(lightMode gdnative.Int)
- type CanvasItemMaterialBlendMode
- type CanvasItemMaterialImplementer
- type CanvasItemMaterialLightMode
- type CanvasLayer
- func (o *CanvasLayer) BaseClass() string
- func (o *CanvasLayer) GetCustomViewport() NodeImplementer
- func (o *CanvasLayer) GetLayer() gdnative.Int
- func (o *CanvasLayer) GetOffset() gdnative.Vector2
- func (o *CanvasLayer) GetRotation() gdnative.Real
- func (o *CanvasLayer) GetRotationDegrees() gdnative.Real
- func (o *CanvasLayer) GetScale() gdnative.Vector2
- func (o *CanvasLayer) GetTransform() gdnative.Transform2D
- func (o *CanvasLayer) GetWorld2D() World2DImplementer
- func (o *CanvasLayer) SetCustomViewport(viewport ObjectImplementer)
- func (o *CanvasLayer) SetLayer(layer gdnative.Int)
- func (o *CanvasLayer) SetOffset(offset gdnative.Vector2)
- func (o *CanvasLayer) SetRotation(radians gdnative.Real)
- func (o *CanvasLayer) SetRotationDegrees(degrees gdnative.Real)
- func (o *CanvasLayer) SetScale(scale gdnative.Vector2)
- func (o *CanvasLayer) SetTransform(transform gdnative.Transform2D)
- type CanvasLayerImplementer
- type CanvasModulate
- type CanvasModulateImplementer
- type CapsuleMesh
- func (o *CapsuleMesh) BaseClass() string
- func (o *CapsuleMesh) GetMidHeight() gdnative.Real
- func (o *CapsuleMesh) GetRadialSegments() gdnative.Int
- func (o *CapsuleMesh) GetRadius() gdnative.Real
- func (o *CapsuleMesh) GetRings() gdnative.Int
- func (o *CapsuleMesh) SetMidHeight(midHeight gdnative.Real)
- func (o *CapsuleMesh) SetRadialSegments(segments gdnative.Int)
- func (o *CapsuleMesh) SetRadius(radius gdnative.Real)
- func (o *CapsuleMesh) SetRings(rings gdnative.Int)
- type CapsuleMeshImplementer
- type CapsuleShape
- type CapsuleShape2D
- type CapsuleShape2DImplementer
- type CapsuleShapeImplementer
- type CenterContainer
- type CenterContainerImplementer
- type CheckBox
- type CheckBoxImplementer
- type CheckButton
- type CheckButtonImplementer
- type CircleShape2D
- type CircleShape2DImplementer
- type Class
- type ClassConstructor
- type ClassDBImplementer
- type CollisionObject
- func (o *CollisionObject) BaseClass() string
- func (o *CollisionObject) CreateShapeOwner(owner ObjectImplementer) gdnative.Int
- func (o *CollisionObject) GetCaptureInputOnDrag() gdnative.Bool
- func (o *CollisionObject) GetRid() gdnative.Rid
- func (o *CollisionObject) GetShapeOwners() gdnative.Array
- func (o *CollisionObject) IsRayPickable() gdnative.Bool
- func (o *CollisionObject) IsShapeOwnerDisabled(ownerId gdnative.Int) gdnative.Bool
- func (o *CollisionObject) RemoveShapeOwner(ownerId gdnative.Int)
- func (o *CollisionObject) SetCaptureInputOnDrag(enable gdnative.Bool)
- func (o *CollisionObject) SetRayPickable(rayPickable gdnative.Bool)
- func (o *CollisionObject) ShapeFindOwner(shapeIndex gdnative.Int) gdnative.Int
- func (o *CollisionObject) ShapeOwnerAddShape(ownerId gdnative.Int, shape ShapeImplementer)
- func (o *CollisionObject) ShapeOwnerClearShapes(ownerId gdnative.Int)
- func (o *CollisionObject) ShapeOwnerGetOwner(ownerId gdnative.Int) ObjectImplementer
- func (o *CollisionObject) ShapeOwnerGetShape(ownerId gdnative.Int, shapeId gdnative.Int) ShapeImplementer
- func (o *CollisionObject) ShapeOwnerGetShapeCount(ownerId gdnative.Int) gdnative.Int
- func (o *CollisionObject) ShapeOwnerGetShapeIndex(ownerId gdnative.Int, shapeId gdnative.Int) gdnative.Int
- func (o *CollisionObject) ShapeOwnerGetTransform(ownerId gdnative.Int) gdnative.Transform
- func (o *CollisionObject) ShapeOwnerRemoveShape(ownerId gdnative.Int, shapeId gdnative.Int)
- func (o *CollisionObject) ShapeOwnerSetDisabled(ownerId gdnative.Int, disabled gdnative.Bool)
- func (o *CollisionObject) ShapeOwnerSetTransform(ownerId gdnative.Int, transform gdnative.Transform)
- func (o *CollisionObject) X_InputEvent(camera ObjectImplementer, event InputEventImplementer, ...)
- type CollisionObject2D
- func (o *CollisionObject2D) BaseClass() string
- func (o *CollisionObject2D) CreateShapeOwner(owner ObjectImplementer) gdnative.Int
- func (o *CollisionObject2D) GetRid() gdnative.Rid
- func (o *CollisionObject2D) GetShapeOwners() gdnative.Array
- func (o *CollisionObject2D) IsPickable() gdnative.Bool
- func (o *CollisionObject2D) IsShapeOwnerDisabled(ownerId gdnative.Int) gdnative.Bool
- func (o *CollisionObject2D) IsShapeOwnerOneWayCollisionEnabled(ownerId gdnative.Int) gdnative.Bool
- func (o *CollisionObject2D) RemoveShapeOwner(ownerId gdnative.Int)
- func (o *CollisionObject2D) SetPickable(enabled gdnative.Bool)
- func (o *CollisionObject2D) ShapeFindOwner(shapeIndex gdnative.Int) gdnative.Int
- func (o *CollisionObject2D) ShapeOwnerAddShape(ownerId gdnative.Int, shape Shape2DImplementer)
- func (o *CollisionObject2D) ShapeOwnerClearShapes(ownerId gdnative.Int)
- func (o *CollisionObject2D) ShapeOwnerGetOwner(ownerId gdnative.Int) ObjectImplementer
- func (o *CollisionObject2D) ShapeOwnerGetShape(ownerId gdnative.Int, shapeId gdnative.Int) Shape2DImplementer
- func (o *CollisionObject2D) ShapeOwnerGetShapeCount(ownerId gdnative.Int) gdnative.Int
- func (o *CollisionObject2D) ShapeOwnerGetShapeIndex(ownerId gdnative.Int, shapeId gdnative.Int) gdnative.Int
- func (o *CollisionObject2D) ShapeOwnerGetTransform(ownerId gdnative.Int) gdnative.Transform2D
- func (o *CollisionObject2D) ShapeOwnerRemoveShape(ownerId gdnative.Int, shapeId gdnative.Int)
- func (o *CollisionObject2D) ShapeOwnerSetDisabled(ownerId gdnative.Int, disabled gdnative.Bool)
- func (o *CollisionObject2D) ShapeOwnerSetOneWayCollision(ownerId gdnative.Int, enable gdnative.Bool)
- func (o *CollisionObject2D) ShapeOwnerSetTransform(ownerId gdnative.Int, transform gdnative.Transform2D)
- func (o *CollisionObject2D) X_InputEvent(viewport ObjectImplementer, event InputEventImplementer, shapeIdx gdnative.Int)
- type CollisionObject2DImplementer
- type CollisionObjectImplementer
- type CollisionPolygon
- func (o *CollisionPolygon) BaseClass() string
- func (o *CollisionPolygon) GetDepth() gdnative.Real
- func (o *CollisionPolygon) GetPolygon() gdnative.PoolVector2Array
- func (o *CollisionPolygon) IsDisabled() gdnative.Bool
- func (o *CollisionPolygon) SetDepth(depth gdnative.Real)
- func (o *CollisionPolygon) SetDisabled(disabled gdnative.Bool)
- func (o *CollisionPolygon) SetPolygon(polygon gdnative.PoolVector2Array)
- type CollisionPolygon2D
- func (o *CollisionPolygon2D) BaseClass() string
- func (o *CollisionPolygon2D) GetBuildMode() CollisionPolygon2DBuildMode
- func (o *CollisionPolygon2D) GetPolygon() gdnative.PoolVector2Array
- func (o *CollisionPolygon2D) IsDisabled() gdnative.Bool
- func (o *CollisionPolygon2D) IsOneWayCollisionEnabled() gdnative.Bool
- func (o *CollisionPolygon2D) SetBuildMode(buildMode gdnative.Int)
- func (o *CollisionPolygon2D) SetDisabled(disabled gdnative.Bool)
- func (o *CollisionPolygon2D) SetOneWayCollision(enabled gdnative.Bool)
- func (o *CollisionPolygon2D) SetPolygon(polygon gdnative.PoolVector2Array)
- type CollisionPolygon2DBuildMode
- type CollisionPolygon2DImplementer
- type CollisionPolygonImplementer
- type CollisionShape
- func (o *CollisionShape) BaseClass() string
- func (o *CollisionShape) GetShape() ShapeImplementer
- func (o *CollisionShape) IsDisabled() gdnative.Bool
- func (o *CollisionShape) MakeConvexFromBrothers()
- func (o *CollisionShape) ResourceChanged(resource ResourceImplementer)
- func (o *CollisionShape) SetDisabled(enable gdnative.Bool)
- func (o *CollisionShape) SetShape(shape ShapeImplementer)
- type CollisionShape2D
- func (o *CollisionShape2D) BaseClass() string
- func (o *CollisionShape2D) GetShape() Shape2DImplementer
- func (o *CollisionShape2D) IsDisabled() gdnative.Bool
- func (o *CollisionShape2D) IsOneWayCollisionEnabled() gdnative.Bool
- func (o *CollisionShape2D) SetDisabled(disabled gdnative.Bool)
- func (o *CollisionShape2D) SetOneWayCollision(enabled gdnative.Bool)
- func (o *CollisionShape2D) SetShape(shape Shape2DImplementer)
- func (o *CollisionShape2D) X_ShapeChanged()
- type CollisionShape2DImplementer
- type CollisionShapeImplementer
- type ColorPicker
- func (o *ColorPicker) AddPreset(color gdnative.Color)
- func (o *ColorPicker) BaseClass() string
- func (o *ColorPicker) GetPickColor() gdnative.Color
- func (o *ColorPicker) IsEditingAlpha() gdnative.Bool
- func (o *ColorPicker) IsRawMode() gdnative.Bool
- func (o *ColorPicker) SetEditAlpha(show gdnative.Bool)
- func (o *ColorPicker) SetPickColor(color gdnative.Color)
- func (o *ColorPicker) SetRawMode(mode gdnative.Bool)
- func (o *ColorPicker) X_AddPresetPressed()
- func (o *ColorPicker) X_HsvDraw(arg0 gdnative.Int, arg1 ObjectImplementer)
- func (o *ColorPicker) X_HtmlEntered(arg0 gdnative.String)
- func (o *ColorPicker) X_PresetInput(arg0 InputEventImplementer)
- func (o *ColorPicker) X_SampleDraw()
- func (o *ColorPicker) X_ScreenInput(arg0 InputEventImplementer)
- func (o *ColorPicker) X_ScreenPickPressed()
- func (o *ColorPicker) X_TextTypeToggled()
- func (o *ColorPicker) X_UpdatePresets()
- func (o *ColorPicker) X_UvInput(arg0 InputEventImplementer)
- func (o *ColorPicker) X_ValueChanged(arg0 gdnative.Real)
- func (o *ColorPicker) X_WInput(arg0 InputEventImplementer)
- type ColorPickerButton
- func (o *ColorPickerButton) BaseClass() string
- func (o *ColorPickerButton) GetPickColor() gdnative.Color
- func (o *ColorPickerButton) GetPicker() ColorPickerImplementer
- func (o *ColorPickerButton) GetPopup() PopupPanelImplementer
- func (o *ColorPickerButton) IsEditingAlpha() gdnative.Bool
- func (o *ColorPickerButton) SetEditAlpha(show gdnative.Bool)
- func (o *ColorPickerButton) SetPickColor(color gdnative.Color)
- func (o *ColorPickerButton) X_ColorChanged(arg0 gdnative.Color)
- type ColorPickerButtonImplementer
- type ColorPickerImplementer
- type ColorRect
- type ColorRectImplementer
- type ConcavePolygonShape
- type ConcavePolygonShape2D
- type ConcavePolygonShape2DImplementer
- type ConcavePolygonShapeImplementer
- type ConeTwistJoint
- func (o *ConeTwistJoint) BaseClass() string
- func (o *ConeTwistJoint) GetParam(param gdnative.Int) gdnative.Real
- func (o *ConeTwistJoint) SetParam(param gdnative.Int, value gdnative.Real)
- func (o *ConeTwistJoint) X_GetSwingSpan() gdnative.Real
- func (o *ConeTwistJoint) X_GetTwistSpan() gdnative.Real
- func (o *ConeTwistJoint) X_SetSwingSpan(swingSpan gdnative.Real)
- func (o *ConeTwistJoint) X_SetTwistSpan(twistSpan gdnative.Real)
- type ConeTwistJointImplementer
- type ConeTwistJointParam
- type ConfigFile
- func (o *ConfigFile) BaseClass() string
- func (o *ConfigFile) EraseSection(section gdnative.String)
- func (o *ConfigFile) GetSectionKeys(section gdnative.String) gdnative.PoolStringArray
- func (o *ConfigFile) GetSections() gdnative.PoolStringArray
- func (o *ConfigFile) GetValue(section gdnative.String, key gdnative.String, aDefault gdnative.Variant) gdnative.Variant
- func (o *ConfigFile) HasSection(section gdnative.String) gdnative.Bool
- func (o *ConfigFile) HasSectionKey(section gdnative.String, key gdnative.String) gdnative.Bool
- func (o *ConfigFile) Load(path gdnative.String) gdnative.Error
- func (o *ConfigFile) Save(path gdnative.String) gdnative.Error
- func (o *ConfigFile) SetValue(section gdnative.String, key gdnative.String, value gdnative.Variant)
- type ConfigFileImplementer
- type ConfirmationDialog
- type ConfirmationDialogImplementer
- type Container
- type ContainerImplementer
- type Control
- func (o *Control) AcceptEvent()
- func (o *Control) AddColorOverride(name gdnative.String, color gdnative.Color)
- func (o *Control) AddConstantOverride(name gdnative.String, constant gdnative.Int)
- func (o *Control) AddFontOverride(name gdnative.String, font FontImplementer)
- func (o *Control) AddIconOverride(name gdnative.String, texture TextureImplementer)
- func (o *Control) AddShaderOverride(name gdnative.String, shader ShaderImplementer)
- func (o *Control) AddStyleboxOverride(name gdnative.String, stylebox StyleBoxImplementer)
- func (o *Control) BaseClass() string
- func (o *Control) CanDropData(position gdnative.Vector2, data gdnative.Variant) gdnative.Bool
- func (o *Control) DropData(position gdnative.Vector2, data gdnative.Variant)
- func (o *Control) ForceDrag(data gdnative.Variant, preview ObjectImplementer)
- func (o *Control) GetAnchor(margin gdnative.Int) gdnative.Real
- func (o *Control) GetBegin() gdnative.Vector2
- func (o *Control) GetColor(name gdnative.String, aType gdnative.String) gdnative.Color
- func (o *Control) GetCombinedMinimumSize() gdnative.Vector2
- func (o *Control) GetConstant(name gdnative.String, aType gdnative.String) gdnative.Int
- func (o *Control) GetCursorShape(position gdnative.Vector2) ControlCursorShape
- func (o *Control) GetCustomMinimumSize() gdnative.Vector2
- func (o *Control) GetDefaultCursorShape() ControlCursorShape
- func (o *Control) GetDragData(position gdnative.Vector2) ObjectImplementer
- func (o *Control) GetEnd() gdnative.Vector2
- func (o *Control) GetFocusMode() ControlFocusMode
- func (o *Control) GetFocusNeighbour(margin gdnative.Int) gdnative.NodePath
- func (o *Control) GetFocusNext() gdnative.NodePath
- func (o *Control) GetFocusOwner() ControlImplementer
- func (o *Control) GetFocusPrevious() gdnative.NodePath
- func (o *Control) GetFont(name gdnative.String, aType gdnative.String) FontImplementer
- func (o *Control) GetGlobalPosition() gdnative.Vector2
- func (o *Control) GetGlobalRect() gdnative.Rect2
- func (o *Control) GetHGrowDirection() ControlGrowDirection
- func (o *Control) GetHSizeFlags() gdnative.Int
- func (o *Control) GetIcon(name gdnative.String, aType gdnative.String) TextureImplementer
- func (o *Control) GetMargin(margin gdnative.Int) gdnative.Real
- func (o *Control) GetMinimumSize() gdnative.Vector2
- func (o *Control) GetMouseFilter() ControlMouseFilter
- func (o *Control) GetParentAreaSize() gdnative.Vector2
- func (o *Control) GetParentControl() ControlImplementer
- func (o *Control) GetPivotOffset() gdnative.Vector2
- func (o *Control) GetPosition() gdnative.Vector2
- func (o *Control) GetRect() gdnative.Rect2
- func (o *Control) GetRotation() gdnative.Real
- func (o *Control) GetRotationDegrees() gdnative.Real
- func (o *Control) GetScale() gdnative.Vector2
- func (o *Control) GetSize() gdnative.Vector2
- func (o *Control) GetStretchRatio() gdnative.Real
- func (o *Control) GetStylebox(name gdnative.String, aType gdnative.String) StyleBoxImplementer
- func (o *Control) GetTheme() ThemeImplementer
- func (o *Control) GetTooltip(atPosition gdnative.Vector2) gdnative.String
- func (o *Control) GetVGrowDirection() ControlGrowDirection
- func (o *Control) GetVSizeFlags() gdnative.Int
- func (o *Control) GrabClickFocus()
- func (o *Control) GrabFocus()
- func (o *Control) HasColor(name gdnative.String, aType gdnative.String) gdnative.Bool
- func (o *Control) HasColorOverride(name gdnative.String) gdnative.Bool
- func (o *Control) HasConstant(name gdnative.String, aType gdnative.String) gdnative.Bool
- func (o *Control) HasConstantOverride(name gdnative.String) gdnative.Bool
- func (o *Control) HasFocus() gdnative.Bool
- func (o *Control) HasFont(name gdnative.String, aType gdnative.String) gdnative.Bool
- func (o *Control) HasFontOverride(name gdnative.String) gdnative.Bool
- func (o *Control) HasIcon(name gdnative.String, aType gdnative.String) gdnative.Bool
- func (o *Control) HasIconOverride(name gdnative.String) gdnative.Bool
- func (o *Control) HasPoint(point gdnative.Vector2) gdnative.Bool
- func (o *Control) HasShaderOverride(name gdnative.String) gdnative.Bool
- func (o *Control) HasStylebox(name gdnative.String, aType gdnative.String) gdnative.Bool
- func (o *Control) HasStyleboxOverride(name gdnative.String) gdnative.Bool
- func (o *Control) IsClippingContents() gdnative.Bool
- func (o *Control) MinimumSizeChanged()
- func (o *Control) ReleaseFocus()
- func (o *Control) SetAnchor(margin gdnative.Int, anchor gdnative.Real, keepMargin gdnative.Bool, ...)
- func (o *Control) SetAnchorAndMargin(margin gdnative.Int, anchor gdnative.Real, offset gdnative.Real, ...)
- func (o *Control) SetAnchorsAndMarginsPreset(preset gdnative.Int, resizeMode gdnative.Int, margin gdnative.Int)
- func (o *Control) SetAnchorsPreset(preset gdnative.Int, keepMargin gdnative.Bool)
- func (o *Control) SetBegin(position gdnative.Vector2)
- func (o *Control) SetClipContents(enable gdnative.Bool)
- func (o *Control) SetCustomMinimumSize(size gdnative.Vector2)
- func (o *Control) SetDefaultCursorShape(shape gdnative.Int)
- func (o *Control) SetDragForwarding(target ObjectImplementer)
- func (o *Control) SetDragPreview(control ObjectImplementer)
- func (o *Control) SetEnd(position gdnative.Vector2)
- func (o *Control) SetFocusMode(mode gdnative.Int)
- func (o *Control) SetFocusNeighbour(margin gdnative.Int, neighbour gdnative.NodePath)
- func (o *Control) SetFocusNext(next gdnative.NodePath)
- func (o *Control) SetFocusPrevious(previous gdnative.NodePath)
- func (o *Control) SetGlobalPosition(position gdnative.Vector2)
- func (o *Control) SetHGrowDirection(direction gdnative.Int)
- func (o *Control) SetHSizeFlags(flags gdnative.Int)
- func (o *Control) SetMargin(margin gdnative.Int, offset gdnative.Real)
- func (o *Control) SetMarginsPreset(preset gdnative.Int, resizeMode gdnative.Int, margin gdnative.Int)
- func (o *Control) SetMouseFilter(filter gdnative.Int)
- func (o *Control) SetPivotOffset(pivotOffset gdnative.Vector2)
- func (o *Control) SetPosition(position gdnative.Vector2)
- func (o *Control) SetRotation(radians gdnative.Real)
- func (o *Control) SetRotationDegrees(degrees gdnative.Real)
- func (o *Control) SetScale(scale gdnative.Vector2)
- func (o *Control) SetSize(size gdnative.Vector2)
- func (o *Control) SetStretchRatio(ratio gdnative.Real)
- func (o *Control) SetTheme(theme ThemeImplementer)
- func (o *Control) SetTooltip(tooltip gdnative.String)
- func (o *Control) SetVGrowDirection(direction gdnative.Int)
- func (o *Control) SetVSizeFlags(flags gdnative.Int)
- func (o *Control) ShowModal(exclusive gdnative.Bool)
- func (o *Control) WarpMouse(toPosition gdnative.Vector2)
- func (o *Control) X_FontChanged()
- func (o *Control) X_GetMinimumSize() gdnative.Vector2
- func (o *Control) X_GetTooltip() gdnative.String
- func (o *Control) X_GuiInput(event InputEventImplementer)
- func (o *Control) X_SetAnchor(margin gdnative.Int, anchor gdnative.Real)
- func (o *Control) X_SizeChanged()
- func (o *Control) X_ThemeChanged()
- func (o *Control) X_UpdateMinimumSize()
- type ControlAnchor
- type ControlCursorShape
- type ControlFocusMode
- type ControlGrowDirection
- type ControlImplementer
- type ControlLayoutPreset
- type ControlLayoutPresetMode
- type ControlMouseFilter
- type ControlSizeFlags
- type ConvexPolygonShape
- type ConvexPolygonShape2D
- type ConvexPolygonShape2DImplementer
- type ConvexPolygonShapeImplementer
- type CubeMap
- func (o *CubeMap) BaseClass() string
- func (o *CubeMap) GetFlags() gdnative.Int
- func (o *CubeMap) GetHeight() gdnative.Int
- func (o *CubeMap) GetLossyStorageQuality() gdnative.Real
- func (o *CubeMap) GetSide(side gdnative.Int) ImageImplementer
- func (o *CubeMap) GetStorage() CubeMapStorage
- func (o *CubeMap) GetWidth() gdnative.Int
- func (o *CubeMap) SetFlags(flags gdnative.Int)
- func (o *CubeMap) SetLossyStorageQuality(quality gdnative.Real)
- func (o *CubeMap) SetSide(side gdnative.Int, image ImageImplementer)
- func (o *CubeMap) SetStorage(mode gdnative.Int)
- type CubeMapFlags
- type CubeMapImplementer
- type CubeMapSide
- type CubeMapStorage
- type CubeMesh
- func (o *CubeMesh) BaseClass() string
- func (o *CubeMesh) GetSize() gdnative.Vector3
- func (o *CubeMesh) GetSubdivideDepth() gdnative.Int
- func (o *CubeMesh) GetSubdivideHeight() gdnative.Int
- func (o *CubeMesh) GetSubdivideWidth() gdnative.Int
- func (o *CubeMesh) SetSize(size gdnative.Vector3)
- func (o *CubeMesh) SetSubdivideDepth(divisions gdnative.Int)
- func (o *CubeMesh) SetSubdivideHeight(divisions gdnative.Int)
- func (o *CubeMesh) SetSubdivideWidth(subdivide gdnative.Int)
- type CubeMeshImplementer
- type Curve
- func (o *Curve) AddPoint(position gdnative.Vector2, leftTangent gdnative.Real, ...) gdnative.Int
- func (o *Curve) Bake()
- func (o *Curve) BaseClass() string
- func (o *Curve) CleanDupes()
- func (o *Curve) ClearPoints()
- func (o *Curve) GetBakeResolution() gdnative.Int
- func (o *Curve) GetMaxValue() gdnative.Real
- func (o *Curve) GetMinValue() gdnative.Real
- func (o *Curve) GetPointLeftMode(index gdnative.Int) CurveTangentMode
- func (o *Curve) GetPointLeftTangent(index gdnative.Int) gdnative.Real
- func (o *Curve) GetPointPosition(index gdnative.Int) gdnative.Vector2
- func (o *Curve) GetPointRightMode(index gdnative.Int) CurveTangentMode
- func (o *Curve) GetPointRightTangent(index gdnative.Int) gdnative.Real
- func (o *Curve) Interpolate(offset gdnative.Real) gdnative.Real
- func (o *Curve) InterpolateBaked(offset gdnative.Real) gdnative.Real
- func (o *Curve) RemovePoint(index gdnative.Int)
- func (o *Curve) SetBakeResolution(resolution gdnative.Int)
- func (o *Curve) SetMaxValue(max gdnative.Real)
- func (o *Curve) SetMinValue(min gdnative.Real)
- func (o *Curve) SetPointLeftMode(index gdnative.Int, mode gdnative.Int)
- func (o *Curve) SetPointLeftTangent(index gdnative.Int, tangent gdnative.Real)
- func (o *Curve) SetPointOffset(index gdnative.Int, offset gdnative.Real) gdnative.Int
- func (o *Curve) SetPointRightMode(index gdnative.Int, mode gdnative.Int)
- func (o *Curve) SetPointRightTangent(index gdnative.Int, tangent gdnative.Real)
- func (o *Curve) SetPointValue(index gdnative.Int, y gdnative.Real)
- func (o *Curve) X_GetData() gdnative.Array
- func (o *Curve) X_SetData(data gdnative.Array)
- type Curve2D
- func (o *Curve2D) AddPoint(position gdnative.Vector2, in gdnative.Vector2, out gdnative.Vector2, ...)
- func (o *Curve2D) BaseClass() string
- func (o *Curve2D) ClearPoints()
- func (o *Curve2D) GetBakeInterval() gdnative.Real
- func (o *Curve2D) GetBakedLength() gdnative.Real
- func (o *Curve2D) GetBakedPoints() gdnative.PoolVector2Array
- func (o *Curve2D) GetPointCount() gdnative.Int
- func (o *Curve2D) GetPointIn(idx gdnative.Int) gdnative.Vector2
- func (o *Curve2D) GetPointOut(idx gdnative.Int) gdnative.Vector2
- func (o *Curve2D) GetPointPosition(idx gdnative.Int) gdnative.Vector2
- func (o *Curve2D) Interpolate(idx gdnative.Int, t gdnative.Real) gdnative.Vector2
- func (o *Curve2D) InterpolateBaked(offset gdnative.Real, cubic gdnative.Bool) gdnative.Vector2
- func (o *Curve2D) Interpolatef(fofs gdnative.Real) gdnative.Vector2
- func (o *Curve2D) RemovePoint(idx gdnative.Int)
- func (o *Curve2D) SetBakeInterval(distance gdnative.Real)
- func (o *Curve2D) SetPointIn(idx gdnative.Int, position gdnative.Vector2)
- func (o *Curve2D) SetPointOut(idx gdnative.Int, position gdnative.Vector2)
- func (o *Curve2D) SetPointPosition(idx gdnative.Int, position gdnative.Vector2)
- func (o *Curve2D) Tessellate(maxStages gdnative.Int, toleranceDegrees gdnative.Real) gdnative.PoolVector2Array
- func (o *Curve2D) X_GetData() gdnative.Dictionary
- func (o *Curve2D) X_SetData(arg0 gdnative.Dictionary)
- type Curve2DImplementer
- type Curve3D
- func (o *Curve3D) AddPoint(position gdnative.Vector3, in gdnative.Vector3, out gdnative.Vector3, ...)
- func (o *Curve3D) BaseClass() string
- func (o *Curve3D) ClearPoints()
- func (o *Curve3D) GetBakeInterval() gdnative.Real
- func (o *Curve3D) GetBakedLength() gdnative.Real
- func (o *Curve3D) GetBakedPoints() gdnative.PoolVector3Array
- func (o *Curve3D) GetBakedTilts() gdnative.PoolRealArray
- func (o *Curve3D) GetPointCount() gdnative.Int
- func (o *Curve3D) GetPointIn(idx gdnative.Int) gdnative.Vector3
- func (o *Curve3D) GetPointOut(idx gdnative.Int) gdnative.Vector3
- func (o *Curve3D) GetPointPosition(idx gdnative.Int) gdnative.Vector3
- func (o *Curve3D) GetPointTilt(idx gdnative.Int) gdnative.Real
- func (o *Curve3D) Interpolate(idx gdnative.Int, t gdnative.Real) gdnative.Vector3
- func (o *Curve3D) InterpolateBaked(offset gdnative.Real, cubic gdnative.Bool) gdnative.Vector3
- func (o *Curve3D) Interpolatef(fofs gdnative.Real) gdnative.Vector3
- func (o *Curve3D) RemovePoint(idx gdnative.Int)
- func (o *Curve3D) SetBakeInterval(distance gdnative.Real)
- func (o *Curve3D) SetPointIn(idx gdnative.Int, position gdnative.Vector3)
- func (o *Curve3D) SetPointOut(idx gdnative.Int, position gdnative.Vector3)
- func (o *Curve3D) SetPointPosition(idx gdnative.Int, position gdnative.Vector3)
- func (o *Curve3D) SetPointTilt(idx gdnative.Int, tilt gdnative.Real)
- func (o *Curve3D) Tessellate(maxStages gdnative.Int, toleranceDegrees gdnative.Real) gdnative.PoolVector3Array
- func (o *Curve3D) X_GetData() gdnative.Dictionary
- func (o *Curve3D) X_SetData(arg0 gdnative.Dictionary)
- type Curve3DImplementer
- type CurveImplementer
- type CurveTangentMode
- type CurveTexture
- type CurveTextureImplementer
- type CylinderMesh
- func (o *CylinderMesh) BaseClass() string
- func (o *CylinderMesh) GetBottomRadius() gdnative.Real
- func (o *CylinderMesh) GetHeight() gdnative.Real
- func (o *CylinderMesh) GetRadialSegments() gdnative.Int
- func (o *CylinderMesh) GetRings() gdnative.Int
- func (o *CylinderMesh) GetTopRadius() gdnative.Real
- func (o *CylinderMesh) SetBottomRadius(radius gdnative.Real)
- func (o *CylinderMesh) SetHeight(height gdnative.Real)
- func (o *CylinderMesh) SetRadialSegments(segments gdnative.Int)
- func (o *CylinderMesh) SetRings(rings gdnative.Int)
- func (o *CylinderMesh) SetTopRadius(radius gdnative.Real)
- type CylinderMeshImplementer
- type DampedSpringJoint2D
- func (o *DampedSpringJoint2D) BaseClass() string
- func (o *DampedSpringJoint2D) GetDamping() gdnative.Real
- func (o *DampedSpringJoint2D) GetLength() gdnative.Real
- func (o *DampedSpringJoint2D) GetRestLength() gdnative.Real
- func (o *DampedSpringJoint2D) GetStiffness() gdnative.Real
- func (o *DampedSpringJoint2D) SetDamping(damping gdnative.Real)
- func (o *DampedSpringJoint2D) SetLength(length gdnative.Real)
- func (o *DampedSpringJoint2D) SetRestLength(restLength gdnative.Real)
- func (o *DampedSpringJoint2D) SetStiffness(stiffness gdnative.Real)
- type DampedSpringJoint2DImplementer
- type DirectionalLight
- func (o *DirectionalLight) BaseClass() string
- func (o *DirectionalLight) GetShadowDepthRange() DirectionalLightShadowDepthRange
- func (o *DirectionalLight) GetShadowMode() DirectionalLightShadowMode
- func (o *DirectionalLight) IsBlendSplitsEnabled() gdnative.Bool
- func (o *DirectionalLight) SetBlendSplits(enabled gdnative.Bool)
- func (o *DirectionalLight) SetShadowDepthRange(mode gdnative.Int)
- func (o *DirectionalLight) SetShadowMode(mode gdnative.Int)
- type DirectionalLightImplementer
- type DirectionalLightShadowDepthRange
- type DirectionalLightShadowMode
- type Directory
- func (o *Directory) BaseClass() string
- func (o *Directory) ChangeDir(todir gdnative.String) gdnative.Error
- func (o *Directory) Copy(from gdnative.String, to gdnative.String) gdnative.Error
- func (o *Directory) CurrentIsDir() gdnative.Bool
- func (o *Directory) DirExists(path gdnative.String) gdnative.Bool
- func (o *Directory) FileExists(path gdnative.String) gdnative.Bool
- func (o *Directory) GetCurrentDir() gdnative.String
- func (o *Directory) GetCurrentDrive() gdnative.Int
- func (o *Directory) GetDrive(idx gdnative.Int) gdnative.String
- func (o *Directory) GetDriveCount() gdnative.Int
- func (o *Directory) GetNext() gdnative.String
- func (o *Directory) GetSpaceLeft() gdnative.Int
- func (o *Directory) ListDirBegin(skipNavigational gdnative.Bool, skipHidden gdnative.Bool) gdnative.Error
- func (o *Directory) ListDirEnd()
- func (o *Directory) MakeDir(path gdnative.String) gdnative.Error
- func (o *Directory) MakeDirRecursive(path gdnative.String) gdnative.Error
- func (o *Directory) Open(path gdnative.String) gdnative.Error
- func (o *Directory) Remove(path gdnative.String) gdnative.Error
- func (o *Directory) Rename(from gdnative.String, to gdnative.String) gdnative.Error
- type DirectoryImplementer
- type DynamicFont
- func (o *DynamicFont) AddFallback(data DynamicFontDataImplementer)
- func (o *DynamicFont) BaseClass() string
- func (o *DynamicFont) GetFallback(idx gdnative.Int) DynamicFontDataImplementer
- func (o *DynamicFont) GetFallbackCount() gdnative.Int
- func (o *DynamicFont) GetFontData() DynamicFontDataImplementer
- func (o *DynamicFont) GetSize() gdnative.Int
- func (o *DynamicFont) GetSpacing(aType gdnative.Int) gdnative.Int
- func (o *DynamicFont) GetUseFilter() gdnative.Bool
- func (o *DynamicFont) GetUseMipmaps() gdnative.Bool
- func (o *DynamicFont) RemoveFallback(idx gdnative.Int)
- func (o *DynamicFont) SetFallback(idx gdnative.Int, data DynamicFontDataImplementer)
- func (o *DynamicFont) SetFontData(data DynamicFontDataImplementer)
- func (o *DynamicFont) SetSize(data gdnative.Int)
- func (o *DynamicFont) SetSpacing(aType gdnative.Int, value gdnative.Int)
- func (o *DynamicFont) SetUseFilter(enable gdnative.Bool)
- func (o *DynamicFont) SetUseMipmaps(enable gdnative.Bool)
- type DynamicFontData
- type DynamicFontDataImplementer
- type DynamicFontImplementer
- type DynamicFontSpacingType
- type EditorExportPlugin
- func (o *EditorExportPlugin) AddFile(path gdnative.String, file gdnative.PoolByteArray, remap gdnative.Bool)
- func (o *EditorExportPlugin) AddIosBundleFile(path gdnative.String)
- func (o *EditorExportPlugin) AddIosCppCode(code gdnative.String)
- func (o *EditorExportPlugin) AddIosFramework(path gdnative.String)
- func (o *EditorExportPlugin) AddIosLinkerFlags(flags gdnative.String)
- func (o *EditorExportPlugin) AddIosPlistContent(plistContent gdnative.String)
- func (o *EditorExportPlugin) AddSharedObject(path gdnative.String, tags gdnative.PoolStringArray)
- func (o *EditorExportPlugin) BaseClass() string
- func (o *EditorExportPlugin) Skip()
- func (o *EditorExportPlugin) X_ExportBegin(features gdnative.PoolStringArray, isDebug gdnative.Bool, path gdnative.String, ...)
- func (o *EditorExportPlugin) X_ExportFile(path gdnative.String, aType gdnative.String, features gdnative.PoolStringArray)
- type EditorExportPluginImplementer
- type EditorFileDialog
- func (o *EditorFileDialog) AddFilter(filter gdnative.String)
- func (o *EditorFileDialog) BaseClass() string
- func (o *EditorFileDialog) ClearFilters()
- func (o *EditorFileDialog) GetAccess() EditorFileDialogAccess
- func (o *EditorFileDialog) GetCurrentDir() gdnative.String
- func (o *EditorFileDialog) GetCurrentFile() gdnative.String
- func (o *EditorFileDialog) GetCurrentPath() gdnative.String
- func (o *EditorFileDialog) GetDisplayMode() EditorFileDialogDisplayMode
- func (o *EditorFileDialog) GetMode() EditorFileDialogMode
- func (o *EditorFileDialog) GetVbox() VBoxContainerImplementer
- func (o *EditorFileDialog) Invalidate()
- func (o *EditorFileDialog) IsOverwriteWarningDisabled() gdnative.Bool
- func (o *EditorFileDialog) IsShowingHiddenFiles() gdnative.Bool
- func (o *EditorFileDialog) SetAccess(access gdnative.Int)
- func (o *EditorFileDialog) SetCurrentDir(dir gdnative.String)
- func (o *EditorFileDialog) SetCurrentFile(file gdnative.String)
- func (o *EditorFileDialog) SetCurrentPath(path gdnative.String)
- func (o *EditorFileDialog) SetDisableOverwriteWarning(disable gdnative.Bool)
- func (o *EditorFileDialog) SetDisplayMode(mode gdnative.Int)
- func (o *EditorFileDialog) SetMode(mode gdnative.Int)
- func (o *EditorFileDialog) SetShowHiddenFiles(show gdnative.Bool)
- func (o *EditorFileDialog) X_ActionPressed()
- func (o *EditorFileDialog) X_CancelPressed()
- func (o *EditorFileDialog) X_DirEntered(arg0 gdnative.String)
- func (o *EditorFileDialog) X_FavoriteMoveDown()
- func (o *EditorFileDialog) X_FavoriteMoveUp()
- func (o *EditorFileDialog) X_FavoriteSelected(arg0 gdnative.Int)
- func (o *EditorFileDialog) X_FavoriteToggled(arg0 gdnative.Bool)
- func (o *EditorFileDialog) X_FileEntered(arg0 gdnative.String)
- func (o *EditorFileDialog) X_FilterSelected(arg0 gdnative.Int)
- func (o *EditorFileDialog) X_GoBack()
- func (o *EditorFileDialog) X_GoForward()
- func (o *EditorFileDialog) X_GoUp()
- func (o *EditorFileDialog) X_ItemDbSelected(arg0 gdnative.Int)
- func (o *EditorFileDialog) X_ItemListItemRmbSelected(arg0 gdnative.Int, arg1 gdnative.Vector2)
- func (o *EditorFileDialog) X_ItemListRmbClicked(arg0 gdnative.Vector2)
- func (o *EditorFileDialog) X_ItemMenuIdPressed(arg0 gdnative.Int)
- func (o *EditorFileDialog) X_ItemSelected(arg0 gdnative.Int)
- func (o *EditorFileDialog) X_ItemsClearSelection()
- func (o *EditorFileDialog) X_MakeDir()
- func (o *EditorFileDialog) X_MakeDirConfirm()
- func (o *EditorFileDialog) X_MultiSelected(arg0 gdnative.Int, arg1 gdnative.Bool)
- func (o *EditorFileDialog) X_RecentSelected(arg0 gdnative.Int)
- func (o *EditorFileDialog) X_SaveConfirmPressed()
- func (o *EditorFileDialog) X_SelectDrive(arg0 gdnative.Int)
- func (o *EditorFileDialog) X_ThumbnailDone(arg0 gdnative.String, arg1 TextureImplementer, arg2 gdnative.Variant)
- func (o *EditorFileDialog) X_ThumbnailResult(arg0 gdnative.String, arg1 TextureImplementer, arg2 gdnative.Variant)
- func (o *EditorFileDialog) X_UnhandledInput(arg0 InputEventImplementer)
- func (o *EditorFileDialog) X_UpdateDir()
- func (o *EditorFileDialog) X_UpdateFileList()
- type EditorFileDialogAccess
- type EditorFileDialogDisplayMode
- type EditorFileDialogImplementer
- type EditorFileDialogMode
- type EditorFileSystem
- func (o *EditorFileSystem) BaseClass() string
- func (o *EditorFileSystem) GetFileType(path gdnative.String) gdnative.String
- func (o *EditorFileSystem) GetFilesystem() EditorFileSystemDirectoryImplementer
- func (o *EditorFileSystem) GetFilesystemPath(path gdnative.String) EditorFileSystemDirectoryImplementer
- func (o *EditorFileSystem) GetScanningProgress() gdnative.Real
- func (o *EditorFileSystem) IsScanning() gdnative.Bool
- func (o *EditorFileSystem) Scan()
- func (o *EditorFileSystem) ScanSources()
- func (o *EditorFileSystem) UpdateFile(path gdnative.String)
- type EditorFileSystemDirectory
- func (o *EditorFileSystemDirectory) BaseClass() string
- func (o *EditorFileSystemDirectory) FindDirIndex(name gdnative.String) gdnative.Int
- func (o *EditorFileSystemDirectory) FindFileIndex(name gdnative.String) gdnative.Int
- func (o *EditorFileSystemDirectory) GetFile(idx gdnative.Int) gdnative.String
- func (o *EditorFileSystemDirectory) GetFileCount() gdnative.Int
- func (o *EditorFileSystemDirectory) GetFileImportIsValid(idx gdnative.Int) gdnative.Bool
- func (o *EditorFileSystemDirectory) GetFilePath(idx gdnative.Int) gdnative.String
- func (o *EditorFileSystemDirectory) GetFileType(idx gdnative.Int) gdnative.String
- func (o *EditorFileSystemDirectory) GetName() gdnative.String
- func (o *EditorFileSystemDirectory) GetParent() EditorFileSystemDirectoryImplementer
- func (o *EditorFileSystemDirectory) GetPath() gdnative.String
- func (o *EditorFileSystemDirectory) GetSubdir(idx gdnative.Int) EditorFileSystemDirectoryImplementer
- func (o *EditorFileSystemDirectory) GetSubdirCount() gdnative.Int
- type EditorFileSystemDirectoryImplementer
- type EditorFileSystemImplementer
- type EditorImportPlugin
- func (o *EditorImportPlugin) BaseClass() string
- func (o *EditorImportPlugin) GetImportOptions(preset gdnative.Int) gdnative.Array
- func (o *EditorImportPlugin) GetImportOrder() gdnative.Int
- func (o *EditorImportPlugin) GetImporterName() gdnative.String
- func (o *EditorImportPlugin) GetOptionVisibility(option gdnative.String, options gdnative.Dictionary) gdnative.Bool
- func (o *EditorImportPlugin) GetPresetCount() gdnative.Int
- func (o *EditorImportPlugin) GetPresetName(preset gdnative.Int) gdnative.String
- func (o *EditorImportPlugin) GetPriority() gdnative.Real
- func (o *EditorImportPlugin) GetRecognizedExtensions() gdnative.Array
- func (o *EditorImportPlugin) GetResourceType() gdnative.String
- func (o *EditorImportPlugin) GetSaveExtension() gdnative.String
- func (o *EditorImportPlugin) GetVisibleName() gdnative.String
- func (o *EditorImportPlugin) Import(sourceFile gdnative.String, savePath gdnative.String, ...) gdnative.Int
- type EditorImportPluginImplementer
- type EditorInterface
- func (o *EditorInterface) BaseClass() string
- func (o *EditorInterface) EditResource(resource ResourceImplementer)
- func (o *EditorInterface) GetBaseControl() ControlImplementer
- func (o *EditorInterface) GetEditedSceneRoot() NodeImplementer
- func (o *EditorInterface) GetEditorSettings() EditorSettingsImplementer
- func (o *EditorInterface) GetEditorViewport() ControlImplementer
- func (o *EditorInterface) GetOpenScenes() gdnative.Array
- func (o *EditorInterface) GetResourceFilesystem() EditorFileSystemImplementer
- func (o *EditorInterface) GetResourcePreviewer() EditorResourcePreviewImplementer
- func (o *EditorInterface) GetScriptEditor() ScriptEditorImplementer
- func (o *EditorInterface) GetSelectedPath() gdnative.String
- func (o *EditorInterface) GetSelection() EditorSelectionImplementer
- func (o *EditorInterface) InspectObject(object ObjectImplementer, forProperty gdnative.String)
- func (o *EditorInterface) IsPluginEnabled(plugin gdnative.String) gdnative.Bool
- func (o *EditorInterface) MakeMeshPreviews(meshes gdnative.Array, previewSize gdnative.Int) gdnative.Array
- func (o *EditorInterface) OpenSceneFromPath(sceneFilepath gdnative.String)
- func (o *EditorInterface) ReloadSceneFromPath(sceneFilepath gdnative.String)
- func (o *EditorInterface) SaveScene() gdnative.Error
- func (o *EditorInterface) SaveSceneAs(path gdnative.String, withPreview gdnative.Bool)
- func (o *EditorInterface) SelectFile(pFile gdnative.String)
- func (o *EditorInterface) SetPluginEnabled(plugin gdnative.String, enabled gdnative.Bool)
- type EditorInterfaceImplementer
- type EditorPlugin
- func (o *EditorPlugin) AddControlToBottomPanel(control ObjectImplementer, title gdnative.String) ToolButtonImplementer
- func (o *EditorPlugin) AddControlToContainer(container gdnative.Int, control ObjectImplementer)
- func (o *EditorPlugin) AddControlToDock(slot gdnative.Int, control ObjectImplementer)
- func (o *EditorPlugin) AddCustomType(aType gdnative.String, base gdnative.String, script ScriptImplementer, ...)
- func (o *EditorPlugin) AddExportPlugin(exporter EditorExportPluginImplementer)
- func (o *EditorPlugin) AddImportPlugin(importer EditorImportPluginImplementer)
- func (o *EditorPlugin) AddSceneImportPlugin(sceneImporter EditorSceneImporterImplementer)
- func (o *EditorPlugin) AddToolSubmenuItem(name gdnative.String, submenu ObjectImplementer)
- func (o *EditorPlugin) ApplyChanges()
- func (o *EditorPlugin) BaseClass() string
- func (o *EditorPlugin) Clear()
- func (o *EditorPlugin) CreateSpatialGizmo(forSpatial SpatialImplementer) EditorSpatialGizmoImplementer
- func (o *EditorPlugin) Edit(object ObjectImplementer)
- func (o *EditorPlugin) ForwardCanvasGuiInput(event InputEventImplementer) gdnative.Bool
- func (o *EditorPlugin) ForwardDrawOverViewport(overlay ControlImplementer)
- func (o *EditorPlugin) ForwardForceDrawOverViewport(overlay ControlImplementer)
- func (o *EditorPlugin) ForwardSpatialGuiInput(camera CameraImplementer, event InputEventImplementer) gdnative.Bool
- func (o *EditorPlugin) GetBreakpoints() gdnative.PoolStringArray
- func (o *EditorPlugin) GetEditorInterface() EditorInterfaceImplementer
- func (o *EditorPlugin) GetPluginIcon() ObjectImplementer
- func (o *EditorPlugin) GetPluginName() gdnative.String
- func (o *EditorPlugin) GetState() gdnative.Dictionary
- func (o *EditorPlugin) GetUndoRedo() UndoRedoImplementer
- func (o *EditorPlugin) GetWindowLayout(layout ConfigFileImplementer)
- func (o *EditorPlugin) Handles(object ObjectImplementer) gdnative.Bool
- func (o *EditorPlugin) HasMainScreen() gdnative.Bool
- func (o *EditorPlugin) HideBottomPanel()
- func (o *EditorPlugin) MakeBottomPanelItemVisible(item ObjectImplementer)
- func (o *EditorPlugin) MakeVisible(visible gdnative.Bool)
- func (o *EditorPlugin) QueueSaveLayout()
- func (o *EditorPlugin) RemoveControlFromBottomPanel(control ObjectImplementer)
- func (o *EditorPlugin) RemoveControlFromContainer(container gdnative.Int, control ObjectImplementer)
- func (o *EditorPlugin) RemoveControlFromDocks(control ObjectImplementer)
- func (o *EditorPlugin) RemoveCustomType(aType gdnative.String)
- func (o *EditorPlugin) RemoveExportPlugin(exporter EditorExportPluginImplementer)
- func (o *EditorPlugin) RemoveImportPlugin(importer EditorImportPluginImplementer)
- func (o *EditorPlugin) RemoveSceneImportPlugin(sceneImporter EditorSceneImporterImplementer)
- func (o *EditorPlugin) SaveExternalData()
- func (o *EditorPlugin) SetForceDrawOverForwardingEnabled()
- func (o *EditorPlugin) SetInputEventForwardingAlwaysEnabled()
- func (o *EditorPlugin) SetState(state gdnative.Dictionary)
- func (o *EditorPlugin) SetWindowLayout(layout ConfigFileImplementer)
- func (o *EditorPlugin) UpdateOverlays() gdnative.Int
- type EditorPluginCustomControlContainer
- type EditorPluginDockSlot
- type EditorPluginImplementer
- type EditorResourceConversionPlugin
- type EditorResourceConversionPluginImplementer
- type EditorResourcePreview
- func (o *EditorResourcePreview) AddPreviewGenerator(generator EditorResourcePreviewGeneratorImplementer)
- func (o *EditorResourcePreview) BaseClass() string
- func (o *EditorResourcePreview) CheckForInvalidation(path gdnative.String)
- func (o *EditorResourcePreview) QueueEditedResourcePreview(resource ResourceImplementer, receiver ObjectImplementer, ...)
- func (o *EditorResourcePreview) QueueResourcePreview(path gdnative.String, receiver ObjectImplementer, receiverFunc gdnative.String, ...)
- func (o *EditorResourcePreview) RemovePreviewGenerator(generator EditorResourcePreviewGeneratorImplementer)
- func (o *EditorResourcePreview) X_PreviewReady(arg0 gdnative.String, arg1 TextureImplementer, arg2 gdnative.Int, ...)
- type EditorResourcePreviewGenerator
- func (o *EditorResourcePreviewGenerator) BaseClass() string
- func (o *EditorResourcePreviewGenerator) Generate(from ResourceImplementer) TextureImplementer
- func (o *EditorResourcePreviewGenerator) GenerateFromPath(path gdnative.String) TextureImplementer
- func (o *EditorResourcePreviewGenerator) Handles(aType gdnative.String) gdnative.Bool
- type EditorResourcePreviewGeneratorImplementer
- type EditorResourcePreviewImplementer
- type EditorSceneImporter
- func (o *EditorSceneImporter) BaseClass() string
- func (o *EditorSceneImporter) ImportAnimationFromOtherImporter(path gdnative.String, flags gdnative.Int, bakeFps gdnative.Int) AnimationImplementer
- func (o *EditorSceneImporter) ImportSceneFromOtherImporter(path gdnative.String, flags gdnative.Int, bakeFps gdnative.Int) NodeImplementer
- func (o *EditorSceneImporter) X_GetExtensions() gdnative.Array
- func (o *EditorSceneImporter) X_GetImportFlags() gdnative.Int
- func (o *EditorSceneImporter) X_ImportAnimation(path gdnative.String, flags gdnative.Int, bakeFps gdnative.Int) AnimationImplementer
- func (o *EditorSceneImporter) X_ImportScene(path gdnative.String, flags gdnative.Int, bakeFps gdnative.Int) NodeImplementer
- type EditorSceneImporterImplementer
- type EditorScenePostImport
- type EditorScenePostImportImplementer
- type EditorScript
- type EditorScriptImplementer
- type EditorSelection
- func (o *EditorSelection) AddNode(node ObjectImplementer)
- func (o *EditorSelection) BaseClass() string
- func (o *EditorSelection) Clear()
- func (o *EditorSelection) GetSelectedNodes() gdnative.Array
- func (o *EditorSelection) GetTransformableSelectedNodes() gdnative.Array
- func (o *EditorSelection) RemoveNode(node ObjectImplementer)
- func (o *EditorSelection) X_EmitChange()
- func (o *EditorSelection) X_NodeRemoved(arg0 ObjectImplementer)
- type EditorSelectionImplementer
- type EditorSettings
- func (o *EditorSettings) AddPropertyInfo(info gdnative.Dictionary)
- func (o *EditorSettings) BaseClass() string
- func (o *EditorSettings) Erase(property gdnative.String)
- func (o *EditorSettings) GetFavoriteDirs() gdnative.PoolStringArray
- func (o *EditorSettings) GetProjectSettingsDir() gdnative.String
- func (o *EditorSettings) GetRecentDirs() gdnative.PoolStringArray
- func (o *EditorSettings) GetSetting(name gdnative.String) gdnative.Variant
- func (o *EditorSettings) GetSettingsDir() gdnative.String
- func (o *EditorSettings) HasSetting(name gdnative.String) gdnative.Bool
- func (o *EditorSettings) PropertyCanRevert(name gdnative.String) gdnative.Bool
- func (o *EditorSettings) PropertyGetRevert(name gdnative.String) gdnative.Variant
- func (o *EditorSettings) SetFavoriteDirs(dirs gdnative.PoolStringArray)
- func (o *EditorSettings) SetInitialValue(name gdnative.String, value gdnative.Variant, updateCurrent gdnative.Bool)
- func (o *EditorSettings) SetRecentDirs(dirs gdnative.PoolStringArray)
- func (o *EditorSettings) SetSetting(name gdnative.String, value gdnative.Variant)
- type EditorSettingsImplementer
- type EditorSpatialGizmo
- func (o *EditorSpatialGizmo) AddCollisionSegments(segments gdnative.PoolVector3Array)
- func (o *EditorSpatialGizmo) AddCollisionTriangles(triangles TriangleMeshImplementer, bounds gdnative.Aabb)
- func (o *EditorSpatialGizmo) AddHandles(handles gdnative.PoolVector3Array, billboard gdnative.Bool, ...)
- func (o *EditorSpatialGizmo) AddLines(lines gdnative.PoolVector3Array, material MaterialImplementer, ...)
- func (o *EditorSpatialGizmo) AddMesh(mesh ArrayMeshImplementer, billboard gdnative.Bool, skeleton gdnative.Rid)
- func (o *EditorSpatialGizmo) AddUnscaledBillboard(material MaterialImplementer, defaultScale gdnative.Real)
- func (o *EditorSpatialGizmo) BaseClass() string
- func (o *EditorSpatialGizmo) Clear()
- func (o *EditorSpatialGizmo) CommitHandle(index gdnative.Int, restore gdnative.Variant, cancel gdnative.Bool)
- func (o *EditorSpatialGizmo) GetHandleName(index gdnative.Int) gdnative.String
- func (o *EditorSpatialGizmo) GetHandleValue(index gdnative.Int) gdnative.Variant
- func (o *EditorSpatialGizmo) Redraw()
- func (o *EditorSpatialGizmo) SetHandle(index gdnative.Int, camera CameraImplementer, point gdnative.Vector2)
- func (o *EditorSpatialGizmo) SetSpatialNode(node ObjectImplementer)
- type EditorSpatialGizmoImplementer
- type EncodedObjectAsID
- type EncodedObjectAsIDImplementer
- type EngineImplementer
- type Environment
- func (o *Environment) BaseClass() string
- func (o *Environment) GetAdjustmentBrightness() gdnative.Real
- func (o *Environment) GetAdjustmentColorCorrection() TextureImplementer
- func (o *Environment) GetAdjustmentContrast() gdnative.Real
- func (o *Environment) GetAdjustmentSaturation() gdnative.Real
- func (o *Environment) GetAmbientLightColor() gdnative.Color
- func (o *Environment) GetAmbientLightEnergy() gdnative.Real
- func (o *Environment) GetAmbientLightSkyContribution() gdnative.Real
- func (o *Environment) GetBackground() EnvironmentBGMode
- func (o *Environment) GetBgColor() gdnative.Color
- func (o *Environment) GetBgEnergy() gdnative.Real
- func (o *Environment) GetCanvasMaxLayer() gdnative.Int
- func (o *Environment) GetDofBlurFarAmount() gdnative.Real
- func (o *Environment) GetDofBlurFarDistance() gdnative.Real
- func (o *Environment) GetDofBlurFarQuality() EnvironmentDOFBlurQuality
- func (o *Environment) GetDofBlurFarTransition() gdnative.Real
- func (o *Environment) GetDofBlurNearAmount() gdnative.Real
- func (o *Environment) GetDofBlurNearDistance() gdnative.Real
- func (o *Environment) GetDofBlurNearQuality() EnvironmentDOFBlurQuality
- func (o *Environment) GetDofBlurNearTransition() gdnative.Real
- func (o *Environment) GetFogColor() gdnative.Color
- func (o *Environment) GetFogDepthBegin() gdnative.Real
- func (o *Environment) GetFogDepthCurve() gdnative.Real
- func (o *Environment) GetFogHeightCurve() gdnative.Real
- func (o *Environment) GetFogHeightMax() gdnative.Real
- func (o *Environment) GetFogHeightMin() gdnative.Real
- func (o *Environment) GetFogSunAmount() gdnative.Real
- func (o *Environment) GetFogSunColor() gdnative.Color
- func (o *Environment) GetFogTransmitCurve() gdnative.Real
- func (o *Environment) GetGlowBlendMode() EnvironmentGlowBlendMode
- func (o *Environment) GetGlowBloom() gdnative.Real
- func (o *Environment) GetGlowHdrBleedScale() gdnative.Real
- func (o *Environment) GetGlowHdrBleedThreshold() gdnative.Real
- func (o *Environment) GetGlowIntensity() gdnative.Real
- func (o *Environment) GetGlowStrength() gdnative.Real
- func (o *Environment) GetSky() SkyImplementer
- func (o *Environment) GetSkyCustomFov() gdnative.Real
- func (o *Environment) GetSsaoBias() gdnative.Real
- func (o *Environment) GetSsaoBlur() EnvironmentSSAOBlur
- func (o *Environment) GetSsaoColor() gdnative.Color
- func (o *Environment) GetSsaoDirectLightAffect() gdnative.Real
- func (o *Environment) GetSsaoEdgeSharpness() gdnative.Real
- func (o *Environment) GetSsaoIntensity() gdnative.Real
- func (o *Environment) GetSsaoIntensity2() gdnative.Real
- func (o *Environment) GetSsaoQuality() EnvironmentSSAOQuality
- func (o *Environment) GetSsaoRadius() gdnative.Real
- func (o *Environment) GetSsaoRadius2() gdnative.Real
- func (o *Environment) GetSsrDepthTolerance() gdnative.Real
- func (o *Environment) GetSsrFadeIn() gdnative.Real
- func (o *Environment) GetSsrFadeOut() gdnative.Real
- func (o *Environment) GetSsrMaxSteps() gdnative.Int
- func (o *Environment) GetTonemapAutoExposure() gdnative.Bool
- func (o *Environment) GetTonemapAutoExposureGrey() gdnative.Real
- func (o *Environment) GetTonemapAutoExposureMax() gdnative.Real
- func (o *Environment) GetTonemapAutoExposureMin() gdnative.Real
- func (o *Environment) GetTonemapAutoExposureSpeed() gdnative.Real
- func (o *Environment) GetTonemapExposure() gdnative.Real
- func (o *Environment) GetTonemapWhite() gdnative.Real
- func (o *Environment) GetTonemapper() EnvironmentToneMapper
- func (o *Environment) IsAdjustmentEnabled() gdnative.Bool
- func (o *Environment) IsDofBlurFarEnabled() gdnative.Bool
- func (o *Environment) IsDofBlurNearEnabled() gdnative.Bool
- func (o *Environment) IsFogDepthEnabled() gdnative.Bool
- func (o *Environment) IsFogEnabled() gdnative.Bool
- func (o *Environment) IsFogHeightEnabled() gdnative.Bool
- func (o *Environment) IsFogTransmitEnabled() gdnative.Bool
- func (o *Environment) IsGlowBicubicUpscaleEnabled() gdnative.Bool
- func (o *Environment) IsGlowEnabled() gdnative.Bool
- func (o *Environment) IsGlowLevelEnabled(idx gdnative.Int) gdnative.Bool
- func (o *Environment) IsSsaoEnabled() gdnative.Bool
- func (o *Environment) IsSsrEnabled() gdnative.Bool
- func (o *Environment) IsSsrRough() gdnative.Bool
- func (o *Environment) SetAdjustmentBrightness(brightness gdnative.Real)
- func (o *Environment) SetAdjustmentColorCorrection(colorCorrection TextureImplementer)
- func (o *Environment) SetAdjustmentContrast(contrast gdnative.Real)
- func (o *Environment) SetAdjustmentEnable(enabled gdnative.Bool)
- func (o *Environment) SetAdjustmentSaturation(saturation gdnative.Real)
- func (o *Environment) SetAmbientLightColor(color gdnative.Color)
- func (o *Environment) SetAmbientLightEnergy(energy gdnative.Real)
- func (o *Environment) SetAmbientLightSkyContribution(energy gdnative.Real)
- func (o *Environment) SetBackground(mode gdnative.Int)
- func (o *Environment) SetBgColor(color gdnative.Color)
- func (o *Environment) SetBgEnergy(energy gdnative.Real)
- func (o *Environment) SetCanvasMaxLayer(layer gdnative.Int)
- func (o *Environment) SetDofBlurFarAmount(intensity gdnative.Real)
- func (o *Environment) SetDofBlurFarDistance(intensity gdnative.Real)
- func (o *Environment) SetDofBlurFarEnabled(enabled gdnative.Bool)
- func (o *Environment) SetDofBlurFarQuality(intensity gdnative.Int)
- func (o *Environment) SetDofBlurFarTransition(intensity gdnative.Real)
- func (o *Environment) SetDofBlurNearAmount(intensity gdnative.Real)
- func (o *Environment) SetDofBlurNearDistance(intensity gdnative.Real)
- func (o *Environment) SetDofBlurNearEnabled(enabled gdnative.Bool)
- func (o *Environment) SetDofBlurNearQuality(level gdnative.Int)
- func (o *Environment) SetDofBlurNearTransition(intensity gdnative.Real)
- func (o *Environment) SetFogColor(color gdnative.Color)
- func (o *Environment) SetFogDepthBegin(distance gdnative.Real)
- func (o *Environment) SetFogDepthCurve(curve gdnative.Real)
- func (o *Environment) SetFogDepthEnabled(enabled gdnative.Bool)
- func (o *Environment) SetFogEnabled(enabled gdnative.Bool)
- func (o *Environment) SetFogHeightCurve(curve gdnative.Real)
- func (o *Environment) SetFogHeightEnabled(enabled gdnative.Bool)
- func (o *Environment) SetFogHeightMax(height gdnative.Real)
- func (o *Environment) SetFogHeightMin(height gdnative.Real)
- func (o *Environment) SetFogSunAmount(amount gdnative.Real)
- func (o *Environment) SetFogSunColor(color gdnative.Color)
- func (o *Environment) SetFogTransmitCurve(curve gdnative.Real)
- func (o *Environment) SetFogTransmitEnabled(enabled gdnative.Bool)
- func (o *Environment) SetGlowBicubicUpscale(enabled gdnative.Bool)
- func (o *Environment) SetGlowBlendMode(mode gdnative.Int)
- func (o *Environment) SetGlowBloom(amount gdnative.Real)
- func (o *Environment) SetGlowEnabled(enabled gdnative.Bool)
- func (o *Environment) SetGlowHdrBleedScale(scale gdnative.Real)
- func (o *Environment) SetGlowHdrBleedThreshold(threshold gdnative.Real)
- func (o *Environment) SetGlowIntensity(intensity gdnative.Real)
- func (o *Environment) SetGlowLevel(idx gdnative.Int, enabled gdnative.Bool)
- func (o *Environment) SetGlowStrength(strength gdnative.Real)
- func (o *Environment) SetSky(sky SkyImplementer)
- func (o *Environment) SetSkyCustomFov(scale gdnative.Real)
- func (o *Environment) SetSsaoBias(bias gdnative.Real)
- func (o *Environment) SetSsaoBlur(mode gdnative.Int)
- func (o *Environment) SetSsaoColor(color gdnative.Color)
- func (o *Environment) SetSsaoDirectLightAffect(amount gdnative.Real)
- func (o *Environment) SetSsaoEdgeSharpness(edgeSharpness gdnative.Real)
- func (o *Environment) SetSsaoEnabled(enabled gdnative.Bool)
- func (o *Environment) SetSsaoIntensity(intensity gdnative.Real)
- func (o *Environment) SetSsaoIntensity2(intensity gdnative.Real)
- func (o *Environment) SetSsaoQuality(quality gdnative.Int)
- func (o *Environment) SetSsaoRadius(radius gdnative.Real)
- func (o *Environment) SetSsaoRadius2(radius gdnative.Real)
- func (o *Environment) SetSsrDepthTolerance(depthTolerance gdnative.Real)
- func (o *Environment) SetSsrEnabled(enabled gdnative.Bool)
- func (o *Environment) SetSsrFadeIn(fadeIn gdnative.Real)
- func (o *Environment) SetSsrFadeOut(fadeOut gdnative.Real)
- func (o *Environment) SetSsrMaxSteps(maxSteps gdnative.Int)
- func (o *Environment) SetSsrRough(rough gdnative.Bool)
- func (o *Environment) SetTonemapAutoExposure(autoExposure gdnative.Bool)
- func (o *Environment) SetTonemapAutoExposureGrey(exposureGrey gdnative.Real)
- func (o *Environment) SetTonemapAutoExposureMax(exposureMax gdnative.Real)
- func (o *Environment) SetTonemapAutoExposureMin(exposureMin gdnative.Real)
- func (o *Environment) SetTonemapAutoExposureSpeed(exposureSpeed gdnative.Real)
- func (o *Environment) SetTonemapExposure(exposure gdnative.Real)
- func (o *Environment) SetTonemapWhite(white gdnative.Real)
- func (o *Environment) SetTonemapper(mode gdnative.Int)
- type EnvironmentBGMode
- type EnvironmentDOFBlurQuality
- type EnvironmentGlowBlendMode
- type EnvironmentImplementer
- type EnvironmentSSAOBlur
- type EnvironmentSSAOQuality
- type EnvironmentToneMapper
- type File
- func (o *File) BaseClass() string
- func (o *File) Close()
- func (o *File) EofReached() gdnative.Bool
- func (o *File) FileExists(path gdnative.String) gdnative.Bool
- func (o *File) Get16() gdnative.Int
- func (o *File) Get32() gdnative.Int
- func (o *File) Get64() gdnative.Int
- func (o *File) Get8() gdnative.Int
- func (o *File) GetAsText() gdnative.String
- func (o *File) GetBuffer(len gdnative.Int) gdnative.PoolByteArray
- func (o *File) GetCsvLine(delim gdnative.String) gdnative.PoolStringArray
- func (o *File) GetDouble() gdnative.Real
- func (o *File) GetEndianSwap() gdnative.Bool
- func (o *File) GetError() gdnative.Error
- func (o *File) GetFloat() gdnative.Real
- func (o *File) GetLen() gdnative.Int
- func (o *File) GetLine() gdnative.String
- func (o *File) GetMd5(path gdnative.String) gdnative.String
- func (o *File) GetModifiedTime(file gdnative.String) gdnative.Int
- func (o *File) GetPascalString() gdnative.String
- func (o *File) GetPosition() gdnative.Int
- func (o *File) GetReal() gdnative.Real
- func (o *File) GetSha256(path gdnative.String) gdnative.String
- func (o *File) GetVar() gdnative.Variant
- func (o *File) IsOpen() gdnative.Bool
- func (o *File) Open(path gdnative.String, flags gdnative.Int) gdnative.Error
- func (o *File) OpenCompressed(path gdnative.String, modeFlags gdnative.Int, compressionMode gdnative.Int) gdnative.Error
- func (o *File) OpenEncrypted(path gdnative.String, modeFlags gdnative.Int, key gdnative.PoolByteArray) gdnative.Error
- func (o *File) OpenEncryptedWithPass(path gdnative.String, modeFlags gdnative.Int, pass gdnative.String) gdnative.Error
- func (o *File) Seek(position gdnative.Int)
- func (o *File) SeekEnd(position gdnative.Int)
- func (o *File) SetEndianSwap(enable gdnative.Bool)
- func (o *File) Store16(value gdnative.Int)
- func (o *File) Store32(value gdnative.Int)
- func (o *File) Store64(value gdnative.Int)
- func (o *File) Store8(value gdnative.Int)
- func (o *File) StoreBuffer(buffer gdnative.PoolByteArray)
- func (o *File) StoreDouble(value gdnative.Real)
- func (o *File) StoreFloat(value gdnative.Real)
- func (o *File) StoreLine(line gdnative.String)
- func (o *File) StorePascalString(string gdnative.String)
- func (o *File) StoreReal(value gdnative.Real)
- func (o *File) StoreString(string gdnative.String)
- func (o *File) StoreVar(value gdnative.Variant)
- type FileDialog
- func (o *FileDialog) AddFilter(filter gdnative.String)
- func (o *FileDialog) BaseClass() string
- func (o *FileDialog) ClearFilters()
- func (o *FileDialog) DeselectItems()
- func (o *FileDialog) GetAccess() FileDialogAccess
- func (o *FileDialog) GetCurrentDir() gdnative.String
- func (o *FileDialog) GetCurrentFile() gdnative.String
- func (o *FileDialog) GetCurrentPath() gdnative.String
- func (o *FileDialog) GetFilters() gdnative.PoolStringArray
- func (o *FileDialog) GetMode() FileDialogMode
- func (o *FileDialog) GetVbox() VBoxContainerImplementer
- func (o *FileDialog) Invalidate()
- func (o *FileDialog) IsModeOverridingTitle() gdnative.Bool
- func (o *FileDialog) IsShowingHiddenFiles() gdnative.Bool
- func (o *FileDialog) SetAccess(access gdnative.Int)
- func (o *FileDialog) SetCurrentDir(dir gdnative.String)
- func (o *FileDialog) SetCurrentFile(file gdnative.String)
- func (o *FileDialog) SetCurrentPath(path gdnative.String)
- func (o *FileDialog) SetFilters(filters gdnative.PoolStringArray)
- func (o *FileDialog) SetMode(mode gdnative.Int)
- func (o *FileDialog) SetModeOverridesTitle(override gdnative.Bool)
- func (o *FileDialog) SetShowHiddenFiles(show gdnative.Bool)
- func (o *FileDialog) X_ActionPressed()
- func (o *FileDialog) X_CancelPressed()
- func (o *FileDialog) X_DirEntered(arg0 gdnative.String)
- func (o *FileDialog) X_FileEntered(arg0 gdnative.String)
- func (o *FileDialog) X_FilterSelected(arg0 gdnative.Int)
- func (o *FileDialog) X_GoUp()
- func (o *FileDialog) X_MakeDir()
- func (o *FileDialog) X_MakeDirConfirm()
- func (o *FileDialog) X_SaveConfirmPressed()
- func (o *FileDialog) X_SelectDrive(arg0 gdnative.Int)
- func (o *FileDialog) X_TreeDbSelected()
- func (o *FileDialog) X_TreeSelected()
- func (o *FileDialog) X_UnhandledInput(arg0 InputEventImplementer)
- func (o *FileDialog) X_UpdateDir()
- func (o *FileDialog) X_UpdateFileList()
- type FileDialogAccess
- type FileDialogImplementer
- type FileDialogMode
- type FileImplementer
- type Font
- func (o *Font) BaseClass() string
- func (o *Font) Draw(canvasItem gdnative.Rid, position gdnative.Vector2, string gdnative.String, ...)
- func (o *Font) DrawChar(canvasItem gdnative.Rid, position gdnative.Vector2, char gdnative.Int, ...) gdnative.Real
- func (o *Font) GetAscent() gdnative.Real
- func (o *Font) GetDescent() gdnative.Real
- func (o *Font) GetHeight() gdnative.Real
- func (o *Font) GetStringSize(string gdnative.String) gdnative.Vector2
- func (o *Font) IsDistanceFieldHint() gdnative.Bool
- func (o *Font) UpdateChanges()
- type FontImplementer
- type FuncRef
- type FuncRefImplementer
- type GDNative
- func (o *GDNative) BaseClass() string
- func (o *GDNative) CallNative(callingType gdnative.String, procedureName gdnative.String, ...) gdnative.Variant
- func (o *GDNative) GetLibrary() GDNativeLibraryImplementer
- func (o *GDNative) Initialize() gdnative.Bool
- func (o *GDNative) SetLibrary(library GDNativeLibraryImplementer)
- func (o *GDNative) Terminate() gdnative.Bool
- type GDNativeImplementer
- type GDNativeLibrary
- func (o *GDNativeLibrary) BaseClass() string
- func (o *GDNativeLibrary) GetConfigFile() ConfigFileImplementer
- func (o *GDNativeLibrary) GetCurrentDependencies() gdnative.PoolStringArray
- func (o *GDNativeLibrary) GetCurrentLibraryPath() gdnative.String
- func (o *GDNativeLibrary) GetSymbolPrefix() gdnative.String
- func (o *GDNativeLibrary) IsReloadable() gdnative.Bool
- func (o *GDNativeLibrary) IsSingleton() gdnative.Bool
- func (o *GDNativeLibrary) SetLoadOnce(loadOnce gdnative.Bool)
- func (o *GDNativeLibrary) SetReloadable(reloadable gdnative.Bool)
- func (o *GDNativeLibrary) SetSingleton(singleton gdnative.Bool)
- func (o *GDNativeLibrary) SetSymbolPrefix(symbolPrefix gdnative.String)
- func (o *GDNativeLibrary) ShouldLoadOnce() gdnative.Bool
- type GDNativeLibraryImplementer
- type GDScript
- type GDScriptFunctionState
- type GDScriptFunctionStateImplementer
- type GDScriptImplementer
- type GIProbe
- func (o *GIProbe) Bake(fromNode ObjectImplementer, createVisualDebug gdnative.Bool)
- func (o *GIProbe) BaseClass() string
- func (o *GIProbe) DebugBake()
- func (o *GIProbe) GetBias() gdnative.Real
- func (o *GIProbe) GetDynamicRange() gdnative.Int
- func (o *GIProbe) GetEnergy() gdnative.Real
- func (o *GIProbe) GetExtents() gdnative.Vector3
- func (o *GIProbe) GetNormalBias() gdnative.Real
- func (o *GIProbe) GetProbeData() GIProbeDataImplementer
- func (o *GIProbe) GetPropagation() gdnative.Real
- func (o *GIProbe) GetSubdiv() GIProbeSubdiv
- func (o *GIProbe) IsCompressed() gdnative.Bool
- func (o *GIProbe) IsInterior() gdnative.Bool
- func (o *GIProbe) SetBias(max gdnative.Real)
- func (o *GIProbe) SetCompress(enable gdnative.Bool)
- func (o *GIProbe) SetDynamicRange(max gdnative.Int)
- func (o *GIProbe) SetEnergy(max gdnative.Real)
- func (o *GIProbe) SetExtents(extents gdnative.Vector3)
- func (o *GIProbe) SetInterior(enable gdnative.Bool)
- func (o *GIProbe) SetNormalBias(max gdnative.Real)
- func (o *GIProbe) SetProbeData(data GIProbeDataImplementer)
- func (o *GIProbe) SetPropagation(max gdnative.Real)
- func (o *GIProbe) SetSubdiv(subdiv gdnative.Int)
- type GIProbeData
- func (o *GIProbeData) BaseClass() string
- func (o *GIProbeData) GetBias() gdnative.Real
- func (o *GIProbeData) GetBounds() gdnative.Aabb
- func (o *GIProbeData) GetCellSize() gdnative.Real
- func (o *GIProbeData) GetDynamicData() gdnative.PoolIntArray
- func (o *GIProbeData) GetDynamicRange() gdnative.Int
- func (o *GIProbeData) GetEnergy() gdnative.Real
- func (o *GIProbeData) GetNormalBias() gdnative.Real
- func (o *GIProbeData) GetPropagation() gdnative.Real
- func (o *GIProbeData) GetToCellXform() gdnative.Transform
- func (o *GIProbeData) IsCompressed() gdnative.Bool
- func (o *GIProbeData) IsInterior() gdnative.Bool
- func (o *GIProbeData) SetBias(bias gdnative.Real)
- func (o *GIProbeData) SetBounds(bounds gdnative.Aabb)
- func (o *GIProbeData) SetCellSize(cellSize gdnative.Real)
- func (o *GIProbeData) SetCompress(compress gdnative.Bool)
- func (o *GIProbeData) SetDynamicData(dynamicData gdnative.PoolIntArray)
- func (o *GIProbeData) SetDynamicRange(dynamicRange gdnative.Int)
- func (o *GIProbeData) SetEnergy(energy gdnative.Real)
- func (o *GIProbeData) SetInterior(interior gdnative.Bool)
- func (o *GIProbeData) SetNormalBias(bias gdnative.Real)
- func (o *GIProbeData) SetPropagation(propagation gdnative.Real)
- func (o *GIProbeData) SetToCellXform(toCellXform gdnative.Transform)
- type GIProbeDataImplementer
- type GIProbeImplementer
- type GIProbeSubdiv
- type Generic6DOFJoint
- func (o *Generic6DOFJoint) BaseClass() string
- func (o *Generic6DOFJoint) GetFlagX(flag gdnative.Int) gdnative.Bool
- func (o *Generic6DOFJoint) GetFlagY(flag gdnative.Int) gdnative.Bool
- func (o *Generic6DOFJoint) GetFlagZ(flag gdnative.Int) gdnative.Bool
- func (o *Generic6DOFJoint) GetParamX(param gdnative.Int) gdnative.Real
- func (o *Generic6DOFJoint) GetParamY(param gdnative.Int) gdnative.Real
- func (o *Generic6DOFJoint) GetParamZ(param gdnative.Int) gdnative.Real
- func (o *Generic6DOFJoint) SetFlagX(flag gdnative.Int, value gdnative.Bool)
- func (o *Generic6DOFJoint) SetFlagY(flag gdnative.Int, value gdnative.Bool)
- func (o *Generic6DOFJoint) SetFlagZ(flag gdnative.Int, value gdnative.Bool)
- func (o *Generic6DOFJoint) SetParamX(param gdnative.Int, value gdnative.Real)
- func (o *Generic6DOFJoint) SetParamY(param gdnative.Int, value gdnative.Real)
- func (o *Generic6DOFJoint) SetParamZ(param gdnative.Int, value gdnative.Real)
- func (o *Generic6DOFJoint) X_GetAngularHiLimitX() gdnative.Real
- func (o *Generic6DOFJoint) X_GetAngularHiLimitY() gdnative.Real
- func (o *Generic6DOFJoint) X_GetAngularHiLimitZ() gdnative.Real
- func (o *Generic6DOFJoint) X_GetAngularLoLimitX() gdnative.Real
- func (o *Generic6DOFJoint) X_GetAngularLoLimitY() gdnative.Real
- func (o *Generic6DOFJoint) X_GetAngularLoLimitZ() gdnative.Real
- func (o *Generic6DOFJoint) X_SetAngularHiLimitX(angle gdnative.Real)
- func (o *Generic6DOFJoint) X_SetAngularHiLimitY(angle gdnative.Real)
- func (o *Generic6DOFJoint) X_SetAngularHiLimitZ(angle gdnative.Real)
- func (o *Generic6DOFJoint) X_SetAngularLoLimitX(angle gdnative.Real)
- func (o *Generic6DOFJoint) X_SetAngularLoLimitY(angle gdnative.Real)
- func (o *Generic6DOFJoint) X_SetAngularLoLimitZ(angle gdnative.Real)
- type Generic6DOFJointFlag
- type Generic6DOFJointImplementer
- type Generic6DOFJointParam
- type GeometryImplementer
- type GeometryInstance
- func (o *GeometryInstance) BaseClass() string
- func (o *GeometryInstance) GetCastShadowsSetting() GeometryInstanceShadowCastingSetting
- func (o *GeometryInstance) GetExtraCullMargin() gdnative.Real
- func (o *GeometryInstance) GetFlag(flag gdnative.Int) gdnative.Bool
- func (o *GeometryInstance) GetLodMaxDistance() gdnative.Real
- func (o *GeometryInstance) GetLodMaxHysteresis() gdnative.Real
- func (o *GeometryInstance) GetLodMinDistance() gdnative.Real
- func (o *GeometryInstance) GetLodMinHysteresis() gdnative.Real
- func (o *GeometryInstance) GetMaterialOverride() MaterialImplementer
- func (o *GeometryInstance) SetCastShadowsSetting(shadowCastingSetting gdnative.Int)
- func (o *GeometryInstance) SetExtraCullMargin(margin gdnative.Real)
- func (o *GeometryInstance) SetFlag(flag gdnative.Int, value gdnative.Bool)
- func (o *GeometryInstance) SetLodMaxDistance(mode gdnative.Real)
- func (o *GeometryInstance) SetLodMaxHysteresis(mode gdnative.Real)
- func (o *GeometryInstance) SetLodMinDistance(mode gdnative.Real)
- func (o *GeometryInstance) SetLodMinHysteresis(mode gdnative.Real)
- func (o *GeometryInstance) SetMaterialOverride(material MaterialImplementer)
- type GeometryInstanceFlags
- type GeometryInstanceImplementer
- type GeometryInstanceShadowCastingSetting
- type Gradient
- func (o *Gradient) AddPoint(offset gdnative.Real, color gdnative.Color)
- func (o *Gradient) BaseClass() string
- func (o *Gradient) GetColor(point gdnative.Int) gdnative.Color
- func (o *Gradient) GetColors() gdnative.PoolColorArray
- func (o *Gradient) GetOffset(point gdnative.Int) gdnative.Real
- func (o *Gradient) GetOffsets() gdnative.PoolRealArray
- func (o *Gradient) GetPointCount() gdnative.Int
- func (o *Gradient) Interpolate(offset gdnative.Real) gdnative.Color
- func (o *Gradient) RemovePoint(offset gdnative.Int)
- func (o *Gradient) SetColor(point gdnative.Int, color gdnative.Color)
- func (o *Gradient) SetColors(colors gdnative.PoolColorArray)
- func (o *Gradient) SetOffset(point gdnative.Int, offset gdnative.Real)
- func (o *Gradient) SetOffsets(offsets gdnative.PoolRealArray)
- type GradientImplementer
- type GradientTexture
- type GradientTextureImplementer
- type GraphEdit
- func (o *GraphEdit) AddValidConnectionType(fromType gdnative.Int, toType gdnative.Int)
- func (o *GraphEdit) AddValidLeftDisconnectType(aType gdnative.Int)
- func (o *GraphEdit) AddValidRightDisconnectType(aType gdnative.Int)
- func (o *GraphEdit) BaseClass() string
- func (o *GraphEdit) ClearConnections()
- func (o *GraphEdit) ConnectNode(from gdnative.String, fromPort gdnative.Int, to gdnative.String, ...) gdnative.Error
- func (o *GraphEdit) DisconnectNode(from gdnative.String, fromPort gdnative.Int, to gdnative.String, ...)
- func (o *GraphEdit) GetConnectionList() gdnative.Array
- func (o *GraphEdit) GetScrollOfs() gdnative.Vector2
- func (o *GraphEdit) GetSnap() gdnative.Int
- func (o *GraphEdit) GetZoom() gdnative.Real
- func (o *GraphEdit) IsNodeConnected(from gdnative.String, fromPort gdnative.Int, to gdnative.String, ...) gdnative.Bool
- func (o *GraphEdit) IsRightDisconnectsEnabled() gdnative.Bool
- func (o *GraphEdit) IsUsingSnap() gdnative.Bool
- func (o *GraphEdit) IsValidConnectionType(fromType gdnative.Int, toType gdnative.Int) gdnative.Bool
- func (o *GraphEdit) RemoveValidConnectionType(fromType gdnative.Int, toType gdnative.Int)
- func (o *GraphEdit) RemoveValidLeftDisconnectType(aType gdnative.Int)
- func (o *GraphEdit) RemoveValidRightDisconnectType(aType gdnative.Int)
- func (o *GraphEdit) SetRightDisconnects(enable gdnative.Bool)
- func (o *GraphEdit) SetScrollOfs(ofs gdnative.Vector2)
- func (o *GraphEdit) SetSelected(node ObjectImplementer)
- func (o *GraphEdit) SetSnap(pixels gdnative.Int)
- func (o *GraphEdit) SetUseSnap(enable gdnative.Bool)
- func (o *GraphEdit) SetZoom(pZoom gdnative.Real)
- func (o *GraphEdit) X_ConnectionsLayerDraw()
- func (o *GraphEdit) X_GraphNodeMoved(arg0 ObjectImplementer)
- func (o *GraphEdit) X_GraphNodeRaised(arg0 ObjectImplementer)
- func (o *GraphEdit) X_GuiInput(arg0 InputEventImplementer)
- func (o *GraphEdit) X_ScrollMoved(arg0 gdnative.Real)
- func (o *GraphEdit) X_SnapToggled()
- func (o *GraphEdit) X_SnapValueChanged(arg0 gdnative.Real)
- func (o *GraphEdit) X_TopLayerDraw()
- func (o *GraphEdit) X_TopLayerInput(arg0 InputEventImplementer)
- func (o *GraphEdit) X_UpdateScrollOffset()
- func (o *GraphEdit) X_ZoomMinus()
- func (o *GraphEdit) X_ZoomPlus()
- func (o *GraphEdit) X_ZoomReset()
- type GraphEditImplementer
- type GraphNode
- func (o *GraphNode) BaseClass() string
- func (o *GraphNode) ClearAllSlots()
- func (o *GraphNode) ClearSlot(idx gdnative.Int)
- func (o *GraphNode) GetConnectionInputColor(idx gdnative.Int) gdnative.Color
- func (o *GraphNode) GetConnectionInputCount() gdnative.Int
- func (o *GraphNode) GetConnectionInputPosition(idx gdnative.Int) gdnative.Vector2
- func (o *GraphNode) GetConnectionInputType(idx gdnative.Int) gdnative.Int
- func (o *GraphNode) GetConnectionOutputColor(idx gdnative.Int) gdnative.Color
- func (o *GraphNode) GetConnectionOutputCount() gdnative.Int
- func (o *GraphNode) GetConnectionOutputPosition(idx gdnative.Int) gdnative.Vector2
- func (o *GraphNode) GetConnectionOutputType(idx gdnative.Int) gdnative.Int
- func (o *GraphNode) GetOffset() gdnative.Vector2
- func (o *GraphNode) GetOverlay() GraphNodeOverlay
- func (o *GraphNode) GetSlotColorLeft(idx gdnative.Int) gdnative.Color
- func (o *GraphNode) GetSlotColorRight(idx gdnative.Int) gdnative.Color
- func (o *GraphNode) GetSlotTypeLeft(idx gdnative.Int) gdnative.Int
- func (o *GraphNode) GetSlotTypeRight(idx gdnative.Int) gdnative.Int
- func (o *GraphNode) GetTitle() gdnative.String
- func (o *GraphNode) IsCloseButtonVisible() gdnative.Bool
- func (o *GraphNode) IsComment() gdnative.Bool
- func (o *GraphNode) IsResizable() gdnative.Bool
- func (o *GraphNode) IsSelected() gdnative.Bool
- func (o *GraphNode) IsSlotEnabledLeft(idx gdnative.Int) gdnative.Bool
- func (o *GraphNode) IsSlotEnabledRight(idx gdnative.Int) gdnative.Bool
- func (o *GraphNode) SetComment(comment gdnative.Bool)
- func (o *GraphNode) SetOffset(offset gdnative.Vector2)
- func (o *GraphNode) SetOverlay(overlay gdnative.Int)
- func (o *GraphNode) SetResizable(resizable gdnative.Bool)
- func (o *GraphNode) SetSelected(selected gdnative.Bool)
- func (o *GraphNode) SetShowCloseButton(show gdnative.Bool)
- func (o *GraphNode) SetSlot(idx gdnative.Int, enableLeft gdnative.Bool, typeLeft gdnative.Int, ...)
- func (o *GraphNode) SetTitle(title gdnative.String)
- func (o *GraphNode) X_GuiInput(arg0 InputEventImplementer)
- type GraphNodeImplementer
- type GraphNodeOverlay
- type GridContainer
- type GridContainerImplementer
- type GridMap
- func (o *GridMap) BaseClass() string
- func (o *GridMap) Clear()
- func (o *GridMap) ClearBakedMeshes()
- func (o *GridMap) GetBakeMeshInstance(idx gdnative.Int) gdnative.Rid
- func (o *GridMap) GetBakeMeshes() gdnative.Array
- func (o *GridMap) GetCellItem(x gdnative.Int, y gdnative.Int, z gdnative.Int) gdnative.Int
- func (o *GridMap) GetCellItemOrientation(x gdnative.Int, y gdnative.Int, z gdnative.Int) gdnative.Int
- func (o *GridMap) GetCellScale() gdnative.Real
- func (o *GridMap) GetCellSize() gdnative.Vector3
- func (o *GridMap) GetCenterX() gdnative.Bool
- func (o *GridMap) GetCenterY() gdnative.Bool
- func (o *GridMap) GetCenterZ() gdnative.Bool
- func (o *GridMap) GetCollisionLayer() gdnative.Int
- func (o *GridMap) GetCollisionLayerBit(bit gdnative.Int) gdnative.Bool
- func (o *GridMap) GetCollisionMask() gdnative.Int
- func (o *GridMap) GetCollisionMaskBit(bit gdnative.Int) gdnative.Bool
- func (o *GridMap) GetMeshes() gdnative.Array
- func (o *GridMap) GetOctantSize() gdnative.Int
- func (o *GridMap) GetTheme() MeshLibraryImplementer
- func (o *GridMap) GetUsedCells() gdnative.Array
- func (o *GridMap) MakeBakedMeshes(genLightmapUv gdnative.Bool, lightmapUvTexelSize gdnative.Real)
- func (o *GridMap) MapToWorld(x gdnative.Int, y gdnative.Int, z gdnative.Int) gdnative.Vector3
- func (o *GridMap) ResourceChanged(resource ResourceImplementer)
- func (o *GridMap) SetCellItem(x gdnative.Int, y gdnative.Int, z gdnative.Int, item gdnative.Int, ...)
- func (o *GridMap) SetCellScale(scale gdnative.Real)
- func (o *GridMap) SetCellSize(size gdnative.Vector3)
- func (o *GridMap) SetCenterX(enable gdnative.Bool)
- func (o *GridMap) SetCenterY(enable gdnative.Bool)
- func (o *GridMap) SetCenterZ(enable gdnative.Bool)
- func (o *GridMap) SetClip(enabled gdnative.Bool, clipabove gdnative.Bool, floor gdnative.Int, ...)
- func (o *GridMap) SetCollisionLayer(layer gdnative.Int)
- func (o *GridMap) SetCollisionLayerBit(bit gdnative.Int, value gdnative.Bool)
- func (o *GridMap) SetCollisionMask(mask gdnative.Int)
- func (o *GridMap) SetCollisionMaskBit(bit gdnative.Int, value gdnative.Bool)
- func (o *GridMap) SetOctantSize(size gdnative.Int)
- func (o *GridMap) SetTheme(theme MeshLibraryImplementer)
- func (o *GridMap) WorldToMap(pos gdnative.Vector3) gdnative.Vector3
- func (o *GridMap) X_UpdateOctantsCallback()
- type GridMapImplementer
- type GrooveJoint2D
- type GrooveJoint2DImplementer
- type HBoxContainer
- type HBoxContainerImplementer
- type HScrollBar
- type HScrollBarImplementer
- type HSeparator
- type HSeparatorImplementer
- type HSlider
- type HSliderImplementer
- type HSplitContainer
- type HSplitContainerImplementer
- type HTTPClient
- func (o *HTTPClient) BaseClass() string
- func (o *HTTPClient) Close()
- func (o *HTTPClient) ConnectToHost(host gdnative.String, port gdnative.Int, useSsl gdnative.Bool, ...) gdnative.Error
- func (o *HTTPClient) GetConnection() StreamPeerImplementer
- func (o *HTTPClient) GetResponseBodyLength() gdnative.Int
- func (o *HTTPClient) GetResponseCode() gdnative.Int
- func (o *HTTPClient) GetResponseHeaders() gdnative.PoolStringArray
- func (o *HTTPClient) GetResponseHeadersAsDictionary() gdnative.Dictionary
- func (o *HTTPClient) GetStatus() HTTPClientStatus
- func (o *HTTPClient) HasResponse() gdnative.Bool
- func (o *HTTPClient) IsBlockingModeEnabled() gdnative.Bool
- func (o *HTTPClient) IsResponseChunked() gdnative.Bool
- func (o *HTTPClient) Poll() gdnative.Error
- func (o *HTTPClient) QueryStringFromDict(fields gdnative.Dictionary) gdnative.String
- func (o *HTTPClient) ReadResponseBodyChunk() gdnative.PoolByteArray
- func (o *HTTPClient) Request(method gdnative.Int, url gdnative.String, headers gdnative.PoolStringArray, ...) gdnative.Error
- func (o *HTTPClient) RequestRaw(method gdnative.Int, url gdnative.String, headers gdnative.PoolStringArray, ...) gdnative.Error
- func (o *HTTPClient) SetBlockingMode(enabled gdnative.Bool)
- func (o *HTTPClient) SetConnection(connection StreamPeerImplementer)
- func (o *HTTPClient) SetReadChunkSize(bytes gdnative.Int)
- type HTTPClientImplementer
- type HTTPClientMethod
- type HTTPClientResponseCode
- type HTTPClientStatus
- type HTTPRequest
- func (o *HTTPRequest) BaseClass() string
- func (o *HTTPRequest) CancelRequest()
- func (o *HTTPRequest) GetBodySize() gdnative.Int
- func (o *HTTPRequest) GetBodySizeLimit() gdnative.Int
- func (o *HTTPRequest) GetDownloadFile() gdnative.String
- func (o *HTTPRequest) GetDownloadedBytes() gdnative.Int
- func (o *HTTPRequest) GetHttpClientStatus() HTTPClientStatus
- func (o *HTTPRequest) GetMaxRedirects() gdnative.Int
- func (o *HTTPRequest) IsUsingThreads() gdnative.Bool
- func (o *HTTPRequest) Request(url gdnative.String, customHeaders gdnative.PoolStringArray, ...) gdnative.Error
- func (o *HTTPRequest) SetBodySizeLimit(bytes gdnative.Int)
- func (o *HTTPRequest) SetDownloadFile(path gdnative.String)
- func (o *HTTPRequest) SetMaxRedirects(amount gdnative.Int)
- func (o *HTTPRequest) SetUseThreads(enable gdnative.Bool)
- func (o *HTTPRequest) X_RedirectRequest(arg0 gdnative.String)
- func (o *HTTPRequest) X_RequestDone(arg0 gdnative.Int, arg1 gdnative.Int, arg2 gdnative.PoolStringArray, ...)
- type HTTPRequestImplementer
- type HTTPRequestResult
- type HingeJoint
- func (o *HingeJoint) BaseClass() string
- func (o *HingeJoint) GetFlag(flag gdnative.Int) gdnative.Bool
- func (o *HingeJoint) GetParam(param gdnative.Int) gdnative.Real
- func (o *HingeJoint) SetFlag(flag gdnative.Int, enabled gdnative.Bool)
- func (o *HingeJoint) SetParam(param gdnative.Int, value gdnative.Real)
- func (o *HingeJoint) X_GetLowerLimit() gdnative.Real
- func (o *HingeJoint) X_GetUpperLimit() gdnative.Real
- func (o *HingeJoint) X_SetLowerLimit(lowerLimit gdnative.Real)
- func (o *HingeJoint) X_SetUpperLimit(upperLimit gdnative.Real)
- type HingeJointFlag
- type HingeJointImplementer
- type HingeJointParam
- type IPImplementer
- type IPResolverStatus
- type IPType
- type IP_Unix
- func (o *IP_Unix) BaseClass() string
- func (o *IP_Unix) ClearCache(hostname gdnative.String)
- func (o *IP_Unix) EraseResolveItem(id gdnative.Int)
- func (o *IP_Unix) GetLocalAddresses() gdnative.Array
- func (o *IP_Unix) GetResolveItemAddress(id gdnative.Int) gdnative.String
- func (o *IP_Unix) GetResolveItemStatus(id gdnative.Int) IPResolverStatus
- func (o *IP_Unix) ResolveHostname(host gdnative.String, ipType gdnative.Int) gdnative.String
- func (o *IP_Unix) ResolveHostnameQueueItem(host gdnative.String, ipType gdnative.Int) gdnative.Int
- type IP_UnixImplementer
- type Image
- func (o *Image) BaseClass() string
- func (o *Image) BlendRect(src ImageImplementer, srcRect gdnative.Rect2, dst gdnative.Vector2)
- func (o *Image) BlendRectMask(src ImageImplementer, mask ImageImplementer, srcRect gdnative.Rect2, ...)
- func (o *Image) BlitRect(src ImageImplementer, srcRect gdnative.Rect2, dst gdnative.Vector2)
- func (o *Image) BlitRectMask(src ImageImplementer, mask ImageImplementer, srcRect gdnative.Rect2, ...)
- func (o *Image) ClearMipmaps()
- func (o *Image) Compress(mode gdnative.Int, source gdnative.Int, lossyQuality gdnative.Real) gdnative.Error
- func (o *Image) Convert(format gdnative.Int)
- func (o *Image) CopyFrom(src ImageImplementer)
- func (o *Image) Create(width gdnative.Int, height gdnative.Int, useMipmaps gdnative.Bool, ...)
- func (o *Image) CreateFromData(width gdnative.Int, height gdnative.Int, useMipmaps gdnative.Bool, ...)
- func (o *Image) Crop(width gdnative.Int, height gdnative.Int)
- func (o *Image) Decompress() gdnative.Error
- func (o *Image) DetectAlpha() ImageAlphaMode
- func (o *Image) ExpandX2Hq2X()
- func (o *Image) Fill(color gdnative.Color)
- func (o *Image) FixAlphaEdges()
- func (o *Image) FlipX()
- func (o *Image) FlipY()
- func (o *Image) GenerateMipmaps() gdnative.Error
- func (o *Image) GetData() gdnative.PoolByteArray
- func (o *Image) GetFormat() ImageFormat
- func (o *Image) GetHeight() gdnative.Int
- func (o *Image) GetMipmapOffset(mipmap gdnative.Int) gdnative.Int
- func (o *Image) GetPixel(x gdnative.Int, y gdnative.Int) gdnative.Color
- func (o *Image) GetRect(rect gdnative.Rect2) ImageImplementer
- func (o *Image) GetSize() gdnative.Vector2
- func (o *Image) GetUsedRect() gdnative.Rect2
- func (o *Image) GetWidth() gdnative.Int
- func (o *Image) HasMipmaps() gdnative.Bool
- func (o *Image) IsCompressed() gdnative.Bool
- func (o *Image) IsEmpty() gdnative.Bool
- func (o *Image) IsInvisible() gdnative.Bool
- func (o *Image) Load(path gdnative.String) gdnative.Error
- func (o *Image) LoadJpgFromBuffer(buffer gdnative.PoolByteArray) gdnative.Error
- func (o *Image) LoadPngFromBuffer(buffer gdnative.PoolByteArray) gdnative.Error
- func (o *Image) Lock()
- func (o *Image) NormalmapToXy()
- func (o *Image) PremultiplyAlpha()
- func (o *Image) Resize(width gdnative.Int, height gdnative.Int, interpolation gdnative.Int)
- func (o *Image) ResizeToPo2(square gdnative.Bool)
- func (o *Image) SavePng(path gdnative.String) gdnative.Error
- func (o *Image) SetPixel(x gdnative.Int, y gdnative.Int, color gdnative.Color)
- func (o *Image) ShrinkX2()
- func (o *Image) SrgbToLinear()
- func (o *Image) Unlock()
- func (o *Image) X_GetData() gdnative.Dictionary
- func (o *Image) X_SetData(data gdnative.Dictionary)
- type ImageAlphaMode
- type ImageCompressMode
- type ImageCompressSource
- type ImageFormat
- type ImageImplementer
- type ImageInterpolation
- type ImageTexture
- func (o *ImageTexture) BaseClass() string
- func (o *ImageTexture) Create(width gdnative.Int, height gdnative.Int, format gdnative.Int, ...)
- func (o *ImageTexture) CreateFromImage(image ImageImplementer, flags gdnative.Int)
- func (o *ImageTexture) GetFormat() ImageFormat
- func (o *ImageTexture) GetLossyStorageQuality() gdnative.Real
- func (o *ImageTexture) GetStorage() ImageTextureStorage
- func (o *ImageTexture) Load(path gdnative.String)
- func (o *ImageTexture) SetData(image ImageImplementer)
- func (o *ImageTexture) SetLossyStorageQuality(quality gdnative.Real)
- func (o *ImageTexture) SetSizeOverride(size gdnative.Vector2)
- func (o *ImageTexture) SetStorage(mode gdnative.Int)
- func (o *ImageTexture) X_ReloadHook(rid gdnative.Rid)
- type ImageTextureImplementer
- type ImageTextureStorage
- type ImmediateGeometry
- func (o *ImmediateGeometry) AddSphere(lats gdnative.Int, lons gdnative.Int, radius gdnative.Real, ...)
- func (o *ImmediateGeometry) AddVertex(position gdnative.Vector3)
- func (o *ImmediateGeometry) BaseClass() string
- func (o *ImmediateGeometry) Begin(primitive gdnative.Int, texture TextureImplementer)
- func (o *ImmediateGeometry) Clear()
- func (o *ImmediateGeometry) End()
- func (o *ImmediateGeometry) SetColor(color gdnative.Color)
- func (o *ImmediateGeometry) SetNormal(normal gdnative.Vector3)
- func (o *ImmediateGeometry) SetTangent(tangent gdnative.Plane)
- func (o *ImmediateGeometry) SetUv(uv gdnative.Vector2)
- func (o *ImmediateGeometry) SetUv2(uv gdnative.Vector2)
- type ImmediateGeometryImplementer
- type InputCursorShape
- type InputDefault
- func (o *InputDefault) ActionPress(action gdnative.String)
- func (o *InputDefault) ActionRelease(action gdnative.String)
- func (o *InputDefault) AddJoyMapping(mapping gdnative.String, updateExisting gdnative.Bool)
- func (o *InputDefault) BaseClass() string
- func (o *InputDefault) GetAccelerometer() gdnative.Vector3
- func (o *InputDefault) GetConnectedJoypads() gdnative.Array
- func (o *InputDefault) GetGravity() gdnative.Vector3
- func (o *InputDefault) GetGyroscope() gdnative.Vector3
- func (o *InputDefault) GetJoyAxis(device gdnative.Int, axis gdnative.Int) gdnative.Real
- func (o *InputDefault) GetJoyAxisIndexFromString(axis gdnative.String) gdnative.Int
- func (o *InputDefault) GetJoyAxisString(axisIndex gdnative.Int) gdnative.String
- func (o *InputDefault) GetJoyButtonIndexFromString(button gdnative.String) gdnative.Int
- func (o *InputDefault) GetJoyButtonString(buttonIndex gdnative.Int) gdnative.String
- func (o *InputDefault) GetJoyGuid(device gdnative.Int) gdnative.String
- func (o *InputDefault) GetJoyName(device gdnative.Int) gdnative.String
- func (o *InputDefault) GetJoyVibrationDuration(device gdnative.Int) gdnative.Real
- func (o *InputDefault) GetJoyVibrationStrength(device gdnative.Int) gdnative.Vector2
- func (o *InputDefault) GetLastMouseSpeed() gdnative.Vector2
- func (o *InputDefault) GetMagnetometer() gdnative.Vector3
- func (o *InputDefault) GetMouseButtonMask() gdnative.Int
- func (o *InputDefault) GetMouseMode() InputMouseMode
- func (o *InputDefault) IsActionJustPressed(action gdnative.String) gdnative.Bool
- func (o *InputDefault) IsActionJustReleased(action gdnative.String) gdnative.Bool
- func (o *InputDefault) IsActionPressed(action gdnative.String) gdnative.Bool
- func (o *InputDefault) IsJoyButtonPressed(device gdnative.Int, button gdnative.Int) gdnative.Bool
- func (o *InputDefault) IsJoyKnown(device gdnative.Int) gdnative.Bool
- func (o *InputDefault) IsKeyPressed(scancode gdnative.Int) gdnative.Bool
- func (o *InputDefault) IsMouseButtonPressed(button gdnative.Int) gdnative.Bool
- func (o *InputDefault) JoyConnectionChanged(device gdnative.Int, connected gdnative.Bool, name gdnative.String, ...)
- func (o *InputDefault) ParseInputEvent(event InputEventImplementer)
- func (o *InputDefault) RemoveJoyMapping(guid gdnative.String)
- func (o *InputDefault) SetCustomMouseCursor(image ResourceImplementer, shape gdnative.Int, hotspot gdnative.Vector2)
- func (o *InputDefault) SetMouseMode(mode gdnative.Int)
- func (o *InputDefault) StartJoyVibration(device gdnative.Int, weakMagnitude gdnative.Real, ...)
- func (o *InputDefault) StopJoyVibration(device gdnative.Int)
- func (o *InputDefault) WarpMousePosition(to gdnative.Vector2)
- type InputDefaultImplementer
- type InputEvent
- func (o *InputEvent) ActionMatch(event InputEventImplementer) gdnative.Bool
- func (o *InputEvent) AsText() gdnative.String
- func (o *InputEvent) BaseClass() string
- func (o *InputEvent) GetDevice() gdnative.Int
- func (o *InputEvent) IsAction(action gdnative.String) gdnative.Bool
- func (o *InputEvent) IsActionPressed(action gdnative.String) gdnative.Bool
- func (o *InputEvent) IsActionReleased(action gdnative.String) gdnative.Bool
- func (o *InputEvent) IsActionType() gdnative.Bool
- func (o *InputEvent) IsEcho() gdnative.Bool
- func (o *InputEvent) IsPressed() gdnative.Bool
- func (o *InputEvent) SetDevice(device gdnative.Int)
- func (o *InputEvent) ShortcutMatch(event InputEventImplementer) gdnative.Bool
- func (o *InputEvent) XformedBy(xform gdnative.Transform2D, localOfs gdnative.Vector2) InputEventImplementer
- type InputEventAction
- type InputEventActionImplementer
- type InputEventGesture
- type InputEventGestureImplementer
- type InputEventImplementer
- type InputEventJoypadButton
- func (o *InputEventJoypadButton) BaseClass() string
- func (o *InputEventJoypadButton) GetButtonIndex() gdnative.Int
- func (o *InputEventJoypadButton) GetPressure() gdnative.Real
- func (o *InputEventJoypadButton) SetButtonIndex(buttonIndex gdnative.Int)
- func (o *InputEventJoypadButton) SetPressed(pressed gdnative.Bool)
- func (o *InputEventJoypadButton) SetPressure(pressure gdnative.Real)
- type InputEventJoypadButtonImplementer
- type InputEventJoypadMotion
- func (o *InputEventJoypadMotion) BaseClass() string
- func (o *InputEventJoypadMotion) GetAxis() gdnative.Int
- func (o *InputEventJoypadMotion) GetAxisValue() gdnative.Real
- func (o *InputEventJoypadMotion) SetAxis(axis gdnative.Int)
- func (o *InputEventJoypadMotion) SetAxisValue(axisValue gdnative.Real)
- type InputEventJoypadMotionImplementer
- type InputEventKey
- func (o *InputEventKey) BaseClass() string
- func (o *InputEventKey) GetScancode() gdnative.Int
- func (o *InputEventKey) GetScancodeWithModifiers() gdnative.Int
- func (o *InputEventKey) GetUnicode() gdnative.Int
- func (o *InputEventKey) SetEcho(echo gdnative.Bool)
- func (o *InputEventKey) SetPressed(pressed gdnative.Bool)
- func (o *InputEventKey) SetScancode(scancode gdnative.Int)
- func (o *InputEventKey) SetUnicode(unicode gdnative.Int)
- type InputEventKeyImplementer
- type InputEventMagnifyGesture
- type InputEventMagnifyGestureImplementer
- type InputEventMouse
- func (o *InputEventMouse) BaseClass() string
- func (o *InputEventMouse) GetButtonMask() gdnative.Int
- func (o *InputEventMouse) GetGlobalPosition() gdnative.Vector2
- func (o *InputEventMouse) GetPosition() gdnative.Vector2
- func (o *InputEventMouse) SetButtonMask(buttonMask gdnative.Int)
- func (o *InputEventMouse) SetGlobalPosition(globalPosition gdnative.Vector2)
- func (o *InputEventMouse) SetPosition(position gdnative.Vector2)
- type InputEventMouseButton
- func (o *InputEventMouseButton) BaseClass() string
- func (o *InputEventMouseButton) GetButtonIndex() gdnative.Int
- func (o *InputEventMouseButton) GetFactor() gdnative.Real
- func (o *InputEventMouseButton) IsDoubleclick() gdnative.Bool
- func (o *InputEventMouseButton) SetButtonIndex(buttonIndex gdnative.Int)
- func (o *InputEventMouseButton) SetDoubleclick(doubleclick gdnative.Bool)
- func (o *InputEventMouseButton) SetFactor(factor gdnative.Real)
- func (o *InputEventMouseButton) SetPressed(pressed gdnative.Bool)
- type InputEventMouseButtonImplementer
- type InputEventMouseImplementer
- type InputEventMouseMotion
- func (o *InputEventMouseMotion) BaseClass() string
- func (o *InputEventMouseMotion) GetRelative() gdnative.Vector2
- func (o *InputEventMouseMotion) GetSpeed() gdnative.Vector2
- func (o *InputEventMouseMotion) SetRelative(relative gdnative.Vector2)
- func (o *InputEventMouseMotion) SetSpeed(speed gdnative.Vector2)
- type InputEventMouseMotionImplementer
- type InputEventPanGesture
- type InputEventPanGestureImplementer
- type InputEventScreenDrag
- func (o *InputEventScreenDrag) BaseClass() string
- func (o *InputEventScreenDrag) GetIndex() gdnative.Int
- func (o *InputEventScreenDrag) GetPosition() gdnative.Vector2
- func (o *InputEventScreenDrag) GetRelative() gdnative.Vector2
- func (o *InputEventScreenDrag) GetSpeed() gdnative.Vector2
- func (o *InputEventScreenDrag) SetIndex(index gdnative.Int)
- func (o *InputEventScreenDrag) SetPosition(position gdnative.Vector2)
- func (o *InputEventScreenDrag) SetRelative(relative gdnative.Vector2)
- func (o *InputEventScreenDrag) SetSpeed(speed gdnative.Vector2)
- type InputEventScreenDragImplementer
- type InputEventScreenTouch
- func (o *InputEventScreenTouch) BaseClass() string
- func (o *InputEventScreenTouch) GetIndex() gdnative.Int
- func (o *InputEventScreenTouch) GetPosition() gdnative.Vector2
- func (o *InputEventScreenTouch) SetIndex(index gdnative.Int)
- func (o *InputEventScreenTouch) SetPosition(position gdnative.Vector2)
- func (o *InputEventScreenTouch) SetPressed(pressed gdnative.Bool)
- type InputEventScreenTouchImplementer
- type InputEventWithModifiers
- func (o *InputEventWithModifiers) BaseClass() string
- func (o *InputEventWithModifiers) GetAlt() gdnative.Bool
- func (o *InputEventWithModifiers) GetCommand() gdnative.Bool
- func (o *InputEventWithModifiers) GetControl() gdnative.Bool
- func (o *InputEventWithModifiers) GetMetakey() gdnative.Bool
- func (o *InputEventWithModifiers) GetShift() gdnative.Bool
- func (o *InputEventWithModifiers) SetAlt(enable gdnative.Bool)
- func (o *InputEventWithModifiers) SetCommand(enable gdnative.Bool)
- func (o *InputEventWithModifiers) SetControl(enable gdnative.Bool)
- func (o *InputEventWithModifiers) SetMetakey(enable gdnative.Bool)
- func (o *InputEventWithModifiers) SetShift(enable gdnative.Bool)
- type InputEventWithModifiersImplementer
- type InputImplementer
- type InputMapImplementer
- type InputMouseMode
- type InstancePlaceholder
- type InstancePlaceholderImplementer
- type InterpolatedCamera
- func (o *InterpolatedCamera) BaseClass() string
- func (o *InterpolatedCamera) GetSpeed() gdnative.Real
- func (o *InterpolatedCamera) GetTargetPath() gdnative.NodePath
- func (o *InterpolatedCamera) IsInterpolationEnabled() gdnative.Bool
- func (o *InterpolatedCamera) SetInterpolationEnabled(targetPath gdnative.Bool)
- func (o *InterpolatedCamera) SetSpeed(speed gdnative.Real)
- func (o *InterpolatedCamera) SetTarget(target ObjectImplementer)
- func (o *InterpolatedCamera) SetTargetPath(targetPath gdnative.NodePath)
- type InterpolatedCameraImplementer
- type ItemList
- func (o *ItemList) AddIconItem(icon TextureImplementer, selectable gdnative.Bool)
- func (o *ItemList) AddItem(text gdnative.String, icon TextureImplementer, selectable gdnative.Bool)
- func (o *ItemList) BaseClass() string
- func (o *ItemList) Clear()
- func (o *ItemList) EnsureCurrentIsVisible()
- func (o *ItemList) GetAllowReselect() gdnative.Bool
- func (o *ItemList) GetAllowRmbSelect() gdnative.Bool
- func (o *ItemList) GetFixedColumnWidth() gdnative.Int
- func (o *ItemList) GetFixedIconSize() gdnative.Vector2
- func (o *ItemList) GetIconMode() ItemListIconMode
- func (o *ItemList) GetIconScale() gdnative.Real
- func (o *ItemList) GetItemAtPosition(position gdnative.Vector2, exact gdnative.Bool) gdnative.Int
- func (o *ItemList) GetItemCount() gdnative.Int
- func (o *ItemList) GetItemCustomBgColor(idx gdnative.Int) gdnative.Color
- func (o *ItemList) GetItemIcon(idx gdnative.Int) TextureImplementer
- func (o *ItemList) GetItemIconRegion(idx gdnative.Int) gdnative.Rect2
- func (o *ItemList) GetItemMetadata(idx gdnative.Int) gdnative.Variant
- func (o *ItemList) GetItemText(idx gdnative.Int) gdnative.String
- func (o *ItemList) GetItemTooltip(idx gdnative.Int) gdnative.String
- func (o *ItemList) GetMaxColumns() gdnative.Int
- func (o *ItemList) GetMaxTextLines() gdnative.Int
- func (o *ItemList) GetSelectMode() ItemListSelectMode
- func (o *ItemList) GetSelectedItems() gdnative.PoolIntArray
- func (o *ItemList) GetVScroll() VScrollBarImplementer
- func (o *ItemList) HasAutoHeight() gdnative.Bool
- func (o *ItemList) IsItemDisabled(idx gdnative.Int) gdnative.Bool
- func (o *ItemList) IsItemSelectable(idx gdnative.Int) gdnative.Bool
- func (o *ItemList) IsItemTooltipEnabled(idx gdnative.Int) gdnative.Bool
- func (o *ItemList) IsSameColumnWidth() gdnative.Bool
- func (o *ItemList) IsSelected(idx gdnative.Int) gdnative.Bool
- func (o *ItemList) RemoveItem(idx gdnative.Int)
- func (o *ItemList) Select(idx gdnative.Int, single gdnative.Bool)
- func (o *ItemList) SetAllowReselect(allow gdnative.Bool)
- func (o *ItemList) SetAllowRmbSelect(allow gdnative.Bool)
- func (o *ItemList) SetAutoHeight(enable gdnative.Bool)
- func (o *ItemList) SetFixedColumnWidth(width gdnative.Int)
- func (o *ItemList) SetFixedIconSize(size gdnative.Vector2)
- func (o *ItemList) SetIconMode(mode gdnative.Int)
- func (o *ItemList) SetIconScale(scale gdnative.Real)
- func (o *ItemList) SetItemCustomBgColor(idx gdnative.Int, customBgColor gdnative.Color)
- func (o *ItemList) SetItemDisabled(idx gdnative.Int, disabled gdnative.Bool)
- func (o *ItemList) SetItemIcon(idx gdnative.Int, icon TextureImplementer)
- func (o *ItemList) SetItemIconRegion(idx gdnative.Int, rect gdnative.Rect2)
- func (o *ItemList) SetItemMetadata(idx gdnative.Int, metadata gdnative.Variant)
- func (o *ItemList) SetItemSelectable(idx gdnative.Int, selectable gdnative.Bool)
- func (o *ItemList) SetItemText(idx gdnative.Int, text gdnative.String)
- func (o *ItemList) SetItemTooltip(idx gdnative.Int, tooltip gdnative.String)
- func (o *ItemList) SetItemTooltipEnabled(idx gdnative.Int, enable gdnative.Bool)
- func (o *ItemList) SetMaxColumns(amount gdnative.Int)
- func (o *ItemList) SetMaxTextLines(lines gdnative.Int)
- func (o *ItemList) SetSameColumnWidth(enable gdnative.Bool)
- func (o *ItemList) SetSelectMode(mode gdnative.Int)
- func (o *ItemList) SortItemsByText()
- func (o *ItemList) Unselect(idx gdnative.Int)
- func (o *ItemList) X_GetItems() gdnative.Array
- func (o *ItemList) X_GuiInput(arg0 InputEventImplementer)
- func (o *ItemList) X_ScrollChanged(arg0 gdnative.Real)
- func (o *ItemList) X_SetItems(arg0 gdnative.Array)
- type ItemListIconMode
- type ItemListImplementer
- type ItemListSelectMode
- type JSONImplementer
- type JSONParseResult
- func (o *JSONParseResult) BaseClass() string
- func (o *JSONParseResult) GetError() gdnative.Error
- func (o *JSONParseResult) GetErrorLine() gdnative.Int
- func (o *JSONParseResult) GetErrorString() gdnative.String
- func (o *JSONParseResult) GetResult() gdnative.Variant
- func (o *JSONParseResult) SetError(error gdnative.Int)
- func (o *JSONParseResult) SetErrorLine(errorLine gdnative.Int)
- func (o *JSONParseResult) SetErrorString(errorString gdnative.String)
- func (o *JSONParseResult) SetResult(result gdnative.Variant)
- type JSONParseResultImplementer
- type JavaScriptImplementer
- type Joint
- func (o *Joint) BaseClass() string
- func (o *Joint) GetExcludeNodesFromCollision() gdnative.Bool
- func (o *Joint) GetNodeA() gdnative.NodePath
- func (o *Joint) GetNodeB() gdnative.NodePath
- func (o *Joint) GetSolverPriority() gdnative.Int
- func (o *Joint) SetExcludeNodesFromCollision(enable gdnative.Bool)
- func (o *Joint) SetNodeA(node gdnative.NodePath)
- func (o *Joint) SetNodeB(node gdnative.NodePath)
- func (o *Joint) SetSolverPriority(priority gdnative.Int)
- type Joint2D
- func (o *Joint2D) BaseClass() string
- func (o *Joint2D) GetBias() gdnative.Real
- func (o *Joint2D) GetExcludeNodesFromCollision() gdnative.Bool
- func (o *Joint2D) GetNodeA() gdnative.NodePath
- func (o *Joint2D) GetNodeB() gdnative.NodePath
- func (o *Joint2D) SetBias(bias gdnative.Real)
- func (o *Joint2D) SetExcludeNodesFromCollision(enable gdnative.Bool)
- func (o *Joint2D) SetNodeA(node gdnative.NodePath)
- func (o *Joint2D) SetNodeB(node gdnative.NodePath)
- type Joint2DImplementer
- type JointImplementer
- type KinematicBody
- func (o *KinematicBody) BaseClass() string
- func (o *KinematicBody) GetAxisLock(axis gdnative.Int) gdnative.Bool
- func (o *KinematicBody) GetFloorVelocity() gdnative.Vector3
- func (o *KinematicBody) GetSafeMargin() gdnative.Real
- func (o *KinematicBody) GetSlideCollision(slideIdx gdnative.Int) KinematicCollisionImplementer
- func (o *KinematicBody) GetSlideCount() gdnative.Int
- func (o *KinematicBody) IsOnCeiling() gdnative.Bool
- func (o *KinematicBody) IsOnFloor() gdnative.Bool
- func (o *KinematicBody) IsOnWall() gdnative.Bool
- func (o *KinematicBody) MoveAndCollide(relVec gdnative.Vector3) KinematicCollisionImplementer
- func (o *KinematicBody) MoveAndSlide(linearVelocity gdnative.Vector3, floorNormal gdnative.Vector3, ...) gdnative.Vector3
- func (o *KinematicBody) SetAxisLock(axis gdnative.Int, lock gdnative.Bool)
- func (o *KinematicBody) SetSafeMargin(pixels gdnative.Real)
- func (o *KinematicBody) TestMove(from gdnative.Transform, relVec gdnative.Vector3) gdnative.Bool
- type KinematicBody2D
- func (o *KinematicBody2D) BaseClass() string
- func (o *KinematicBody2D) GetFloorVelocity() gdnative.Vector2
- func (o *KinematicBody2D) GetSafeMargin() gdnative.Real
- func (o *KinematicBody2D) GetSlideCollision(slideIdx gdnative.Int) KinematicCollision2DImplementer
- func (o *KinematicBody2D) GetSlideCount() gdnative.Int
- func (o *KinematicBody2D) IsOnCeiling() gdnative.Bool
- func (o *KinematicBody2D) IsOnFloor() gdnative.Bool
- func (o *KinematicBody2D) IsOnWall() gdnative.Bool
- func (o *KinematicBody2D) MoveAndCollide(relVec gdnative.Vector2) KinematicCollision2DImplementer
- func (o *KinematicBody2D) MoveAndSlide(linearVelocity gdnative.Vector2, floorNormal gdnative.Vector2, ...) gdnative.Vector2
- func (o *KinematicBody2D) SetSafeMargin(pixels gdnative.Real)
- func (o *KinematicBody2D) TestMove(from gdnative.Transform2D, relVec gdnative.Vector2) gdnative.Bool
- type KinematicBody2DImplementer
- type KinematicBodyImplementer
- type KinematicCollision
- func (o *KinematicCollision) BaseClass() string
- func (o *KinematicCollision) GetCollider() ObjectImplementer
- func (o *KinematicCollision) GetColliderId() gdnative.Int
- func (o *KinematicCollision) GetColliderMetadata() gdnative.Variant
- func (o *KinematicCollision) GetColliderShape() ObjectImplementer
- func (o *KinematicCollision) GetColliderShapeIndex() gdnative.Int
- func (o *KinematicCollision) GetColliderVelocity() gdnative.Vector3
- func (o *KinematicCollision) GetLocalShape() ObjectImplementer
- func (o *KinematicCollision) GetNormal() gdnative.Vector3
- func (o *KinematicCollision) GetPosition() gdnative.Vector3
- func (o *KinematicCollision) GetRemainder() gdnative.Vector3
- func (o *KinematicCollision) GetTravel() gdnative.Vector3
- type KinematicCollision2D
- func (o *KinematicCollision2D) BaseClass() string
- func (o *KinematicCollision2D) GetCollider() ObjectImplementer
- func (o *KinematicCollision2D) GetColliderId() gdnative.Int
- func (o *KinematicCollision2D) GetColliderMetadata() gdnative.Variant
- func (o *KinematicCollision2D) GetColliderShape() ObjectImplementer
- func (o *KinematicCollision2D) GetColliderShapeIndex() gdnative.Int
- func (o *KinematicCollision2D) GetColliderVelocity() gdnative.Vector2
- func (o *KinematicCollision2D) GetLocalShape() ObjectImplementer
- func (o *KinematicCollision2D) GetNormal() gdnative.Vector2
- func (o *KinematicCollision2D) GetPosition() gdnative.Vector2
- func (o *KinematicCollision2D) GetRemainder() gdnative.Vector2
- func (o *KinematicCollision2D) GetTravel() gdnative.Vector2
- type KinematicCollision2DImplementer
- type KinematicCollisionImplementer
- type Label
- func (o *Label) BaseClass() string
- func (o *Label) GetAlign() LabelAlign
- func (o *Label) GetLineCount() gdnative.Int
- func (o *Label) GetLineHeight() gdnative.Int
- func (o *Label) GetLinesSkipped() gdnative.Int
- func (o *Label) GetMaxLinesVisible() gdnative.Int
- func (o *Label) GetPercentVisible() gdnative.Real
- func (o *Label) GetText() gdnative.String
- func (o *Label) GetTotalCharacterCount() gdnative.Int
- func (o *Label) GetValign() LabelVAlign
- func (o *Label) GetVisibleCharacters() gdnative.Int
- func (o *Label) GetVisibleLineCount() gdnative.Int
- func (o *Label) HasAutowrap() gdnative.Bool
- func (o *Label) IsClippingText() gdnative.Bool
- func (o *Label) IsUppercase() gdnative.Bool
- func (o *Label) SetAlign(align gdnative.Int)
- func (o *Label) SetAutowrap(enable gdnative.Bool)
- func (o *Label) SetClipText(enable gdnative.Bool)
- func (o *Label) SetLinesSkipped(linesSkipped gdnative.Int)
- func (o *Label) SetMaxLinesVisible(linesVisible gdnative.Int)
- func (o *Label) SetPercentVisible(percentVisible gdnative.Real)
- func (o *Label) SetText(text gdnative.String)
- func (o *Label) SetUppercase(enable gdnative.Bool)
- func (o *Label) SetValign(valign gdnative.Int)
- func (o *Label) SetVisibleCharacters(amount gdnative.Int)
- type LabelAlign
- type LabelImplementer
- type LabelVAlign
- type LargeTexture
- func (o *LargeTexture) AddPiece(ofs gdnative.Vector2, texture TextureImplementer) gdnative.Int
- func (o *LargeTexture) BaseClass() string
- func (o *LargeTexture) Clear()
- func (o *LargeTexture) GetPieceCount() gdnative.Int
- func (o *LargeTexture) GetPieceOffset(idx gdnative.Int) gdnative.Vector2
- func (o *LargeTexture) GetPieceTexture(idx gdnative.Int) TextureImplementer
- func (o *LargeTexture) SetPieceOffset(idx gdnative.Int, ofs gdnative.Vector2)
- func (o *LargeTexture) SetPieceTexture(idx gdnative.Int, texture TextureImplementer)
- func (o *LargeTexture) SetSize(size gdnative.Vector2)
- func (o *LargeTexture) X_GetData() gdnative.Array
- func (o *LargeTexture) X_SetData(data gdnative.Array)
- type LargeTextureImplementer
- type Light
- func (o *Light) BaseClass() string
- func (o *Light) GetBakeMode() LightBakeMode
- func (o *Light) GetColor() gdnative.Color
- func (o *Light) GetCullMask() gdnative.Int
- func (o *Light) GetParam(param gdnative.Int) gdnative.Real
- func (o *Light) GetShadowColor() gdnative.Color
- func (o *Light) GetShadowReverseCullFace() gdnative.Bool
- func (o *Light) HasShadow() gdnative.Bool
- func (o *Light) IsEditorOnly() gdnative.Bool
- func (o *Light) IsNegative() gdnative.Bool
- func (o *Light) SetBakeMode(bakeMode gdnative.Int)
- func (o *Light) SetColor(color gdnative.Color)
- func (o *Light) SetCullMask(cullMask gdnative.Int)
- func (o *Light) SetEditorOnly(editorOnly gdnative.Bool)
- func (o *Light) SetNegative(enabled gdnative.Bool)
- func (o *Light) SetParam(param gdnative.Int, value gdnative.Real)
- func (o *Light) SetShadow(enabled gdnative.Bool)
- func (o *Light) SetShadowColor(shadowColor gdnative.Color)
- func (o *Light) SetShadowReverseCullFace(enable gdnative.Bool)
- type Light2D
- func (o *Light2D) BaseClass() string
- func (o *Light2D) GetColor() gdnative.Color
- func (o *Light2D) GetEnergy() gdnative.Real
- func (o *Light2D) GetHeight() gdnative.Real
- func (o *Light2D) GetItemCullMask() gdnative.Int
- func (o *Light2D) GetItemShadowCullMask() gdnative.Int
- func (o *Light2D) GetLayerRangeMax() gdnative.Int
- func (o *Light2D) GetLayerRangeMin() gdnative.Int
- func (o *Light2D) GetMode() Light2DMode
- func (o *Light2D) GetShadowBufferSize() gdnative.Int
- func (o *Light2D) GetShadowColor() gdnative.Color
- func (o *Light2D) GetShadowFilter() Light2DShadowFilter
- func (o *Light2D) GetShadowGradientLength() gdnative.Real
- func (o *Light2D) GetShadowSmooth() gdnative.Real
- func (o *Light2D) GetTexture() TextureImplementer
- func (o *Light2D) GetTextureOffset() gdnative.Vector2
- func (o *Light2D) GetTextureScale() gdnative.Real
- func (o *Light2D) GetZRangeMax() gdnative.Int
- func (o *Light2D) GetZRangeMin() gdnative.Int
- func (o *Light2D) IsEditorOnly() gdnative.Bool
- func (o *Light2D) IsEnabled() gdnative.Bool
- func (o *Light2D) IsShadowEnabled() gdnative.Bool
- func (o *Light2D) SetColor(color gdnative.Color)
- func (o *Light2D) SetEditorOnly(editorOnly gdnative.Bool)
- func (o *Light2D) SetEnabled(enabled gdnative.Bool)
- func (o *Light2D) SetEnergy(energy gdnative.Real)
- func (o *Light2D) SetHeight(height gdnative.Real)
- func (o *Light2D) SetItemCullMask(itemCullMask gdnative.Int)
- func (o *Light2D) SetItemShadowCullMask(itemShadowCullMask gdnative.Int)
- func (o *Light2D) SetLayerRangeMax(layer gdnative.Int)
- func (o *Light2D) SetLayerRangeMin(layer gdnative.Int)
- func (o *Light2D) SetMode(mode gdnative.Int)
- func (o *Light2D) SetShadowBufferSize(size gdnative.Int)
- func (o *Light2D) SetShadowColor(shadowColor gdnative.Color)
- func (o *Light2D) SetShadowEnabled(enabled gdnative.Bool)
- func (o *Light2D) SetShadowFilter(filter gdnative.Int)
- func (o *Light2D) SetShadowGradientLength(multiplier gdnative.Real)
- func (o *Light2D) SetShadowSmooth(smooth gdnative.Real)
- func (o *Light2D) SetTexture(texture TextureImplementer)
- func (o *Light2D) SetTextureOffset(textureOffset gdnative.Vector2)
- func (o *Light2D) SetTextureScale(textureScale gdnative.Real)
- func (o *Light2D) SetZRangeMax(z gdnative.Int)
- func (o *Light2D) SetZRangeMin(z gdnative.Int)
- type Light2DImplementer
- type Light2DMode
- type Light2DShadowFilter
- type LightBakeMode
- type LightImplementer
- type LightOccluder2D
- func (o *LightOccluder2D) BaseClass() string
- func (o *LightOccluder2D) GetOccluderLightMask() gdnative.Int
- func (o *LightOccluder2D) GetOccluderPolygon() OccluderPolygon2DImplementer
- func (o *LightOccluder2D) SetOccluderLightMask(mask gdnative.Int)
- func (o *LightOccluder2D) SetOccluderPolygon(polygon OccluderPolygon2DImplementer)
- func (o *LightOccluder2D) X_PolyChanged()
- type LightOccluder2DImplementer
- type LightParam
- type Line2D
- func (o *Line2D) AddPoint(position gdnative.Vector2)
- func (o *Line2D) BaseClass() string
- func (o *Line2D) GetBeginCapMode() Line2DLineCapMode
- func (o *Line2D) GetDefaultColor() gdnative.Color
- func (o *Line2D) GetEndCapMode() Line2DLineCapMode
- func (o *Line2D) GetGradient() GradientImplementer
- func (o *Line2D) GetJointMode() Line2DLineJointMode
- func (o *Line2D) GetPointCount() gdnative.Int
- func (o *Line2D) GetPointPosition(i gdnative.Int) gdnative.Vector2
- func (o *Line2D) GetPoints() gdnative.PoolVector2Array
- func (o *Line2D) GetRoundPrecision() gdnative.Int
- func (o *Line2D) GetSharpLimit() gdnative.Real
- func (o *Line2D) GetTexture() TextureImplementer
- func (o *Line2D) GetTextureMode() Line2DLineTextureMode
- func (o *Line2D) GetWidth() gdnative.Real
- func (o *Line2D) RemovePoint(i gdnative.Int)
- func (o *Line2D) SetBeginCapMode(mode gdnative.Int)
- func (o *Line2D) SetDefaultColor(color gdnative.Color)
- func (o *Line2D) SetEndCapMode(mode gdnative.Int)
- func (o *Line2D) SetGradient(color GradientImplementer)
- func (o *Line2D) SetJointMode(mode gdnative.Int)
- func (o *Line2D) SetPointPosition(i gdnative.Int, position gdnative.Vector2)
- func (o *Line2D) SetPoints(points gdnative.PoolVector2Array)
- func (o *Line2D) SetRoundPrecision(precision gdnative.Int)
- func (o *Line2D) SetSharpLimit(limit gdnative.Real)
- func (o *Line2D) SetTexture(texture TextureImplementer)
- func (o *Line2D) SetTextureMode(mode gdnative.Int)
- func (o *Line2D) SetWidth(width gdnative.Real)
- func (o *Line2D) X_GradientChanged()
- type Line2DImplementer
- type Line2DLineCapMode
- type Line2DLineJointMode
- type Line2DLineTextureMode
- type LineEdit
- func (o *LineEdit) AppendAtCursor(text gdnative.String)
- func (o *LineEdit) BaseClass() string
- func (o *LineEdit) Clear()
- func (o *LineEdit) CursorGetBlinkEnabled() gdnative.Bool
- func (o *LineEdit) CursorGetBlinkSpeed() gdnative.Real
- func (o *LineEdit) CursorSetBlinkEnabled(enabled gdnative.Bool)
- func (o *LineEdit) CursorSetBlinkSpeed(blinkSpeed gdnative.Real)
- func (o *LineEdit) Deselect()
- func (o *LineEdit) GetAlign() LineEditAlign
- func (o *LineEdit) GetCursorPosition() gdnative.Int
- func (o *LineEdit) GetExpandToTextLength() gdnative.Bool
- func (o *LineEdit) GetMaxLength() gdnative.Int
- func (o *LineEdit) GetMenu() PopupMenuImplementer
- func (o *LineEdit) GetPlaceholder() gdnative.String
- func (o *LineEdit) GetPlaceholderAlpha() gdnative.Real
- func (o *LineEdit) GetText() gdnative.String
- func (o *LineEdit) IsContextMenuEnabled() gdnative.Bool
- func (o *LineEdit) IsEditable() gdnative.Bool
- func (o *LineEdit) IsSecret() gdnative.Bool
- func (o *LineEdit) MenuOption(option gdnative.Int)
- func (o *LineEdit) Select(from gdnative.Int, to gdnative.Int)
- func (o *LineEdit) SelectAll()
- func (o *LineEdit) SetAlign(align gdnative.Int)
- func (o *LineEdit) SetContextMenuEnabled(enable gdnative.Bool)
- func (o *LineEdit) SetCursorPosition(position gdnative.Int)
- func (o *LineEdit) SetEditable(enabled gdnative.Bool)
- func (o *LineEdit) SetExpandToTextLength(enabled gdnative.Bool)
- func (o *LineEdit) SetMaxLength(chars gdnative.Int)
- func (o *LineEdit) SetPlaceholder(text gdnative.String)
- func (o *LineEdit) SetPlaceholderAlpha(alpha gdnative.Real)
- func (o *LineEdit) SetSecret(enabled gdnative.Bool)
- func (o *LineEdit) SetText(text gdnative.String)
- func (o *LineEdit) X_EditorSettingsChanged()
- func (o *LineEdit) X_GuiInput(arg0 InputEventImplementer)
- func (o *LineEdit) X_TextChanged()
- func (o *LineEdit) X_ToggleDrawCaret()
- type LineEditAlign
- type LineEditImplementer
- type LineEditMenuItems
- type LineShape2D
- type LineShape2DImplementer
- type LinkButton
- type LinkButtonImplementer
- type LinkButtonUnderlineMode
- type Listener
- type ListenerImplementer
- type MainLoop
- func (o *MainLoop) BaseClass() string
- func (o *MainLoop) Finish()
- func (o *MainLoop) Idle(delta gdnative.Real) gdnative.Bool
- func (o *MainLoop) Init()
- func (o *MainLoop) InputEventMethod(ev InputEventImplementer)
- func (o *MainLoop) InputText(text gdnative.String)
- func (o *MainLoop) Iteration(delta gdnative.Real) gdnative.Bool
- func (o *MainLoop) X_DropFiles(files gdnative.PoolStringArray, screen gdnative.Int)
- func (o *MainLoop) X_Finalize()
- func (o *MainLoop) X_Idle(delta gdnative.Real)
- func (o *MainLoop) X_Initialize()
- func (o *MainLoop) X_InputEvent(ev InputEventImplementer)
- func (o *MainLoop) X_InputText(text gdnative.String)
- func (o *MainLoop) X_Iteration(delta gdnative.Real)
- type MainLoopImplementer
- type MarginContainer
- type MarginContainerImplementer
- type MarshallsImplementer
- type Material
- type MaterialImplementer
- type MenuButton
- func (o *MenuButton) BaseClass() string
- func (o *MenuButton) GetPopup() PopupMenuImplementer
- func (o *MenuButton) SetDisableShortcuts(disabled gdnative.Bool)
- func (o *MenuButton) X_GetItems() gdnative.Array
- func (o *MenuButton) X_SetItems(arg0 gdnative.Array)
- func (o *MenuButton) X_UnhandledKeyInput(arg0 InputEventImplementer)
- type MenuButtonImplementer
- type Mesh
- func (o *Mesh) BaseClass() string
- func (o *Mesh) CreateConvexShape() ShapeImplementer
- func (o *Mesh) CreateOutline(margin gdnative.Real) MeshImplementer
- func (o *Mesh) CreateTrimeshShape() ShapeImplementer
- func (o *Mesh) GenerateTriangleMesh() TriangleMeshImplementer
- func (o *Mesh) GetFaces() gdnative.PoolVector3Array
- func (o *Mesh) GetLightmapSizeHint() gdnative.Vector2
- func (o *Mesh) SetLightmapSizeHint(size gdnative.Vector2)
- type MeshArrayFormat
- type MeshArrayType
- type MeshBlendShapeMode
- type MeshDataTool
- func (o *MeshDataTool) BaseClass() string
- func (o *MeshDataTool) Clear()
- func (o *MeshDataTool) CommitToSurface(mesh ArrayMeshImplementer) gdnative.Error
- func (o *MeshDataTool) CreateFromSurface(mesh ArrayMeshImplementer, surface gdnative.Int) gdnative.Error
- func (o *MeshDataTool) GetEdgeCount() gdnative.Int
- func (o *MeshDataTool) GetEdgeFaces(idx gdnative.Int) gdnative.PoolIntArray
- func (o *MeshDataTool) GetEdgeMeta(idx gdnative.Int) gdnative.Variant
- func (o *MeshDataTool) GetEdgeVertex(idx gdnative.Int, vertex gdnative.Int) gdnative.Int
- func (o *MeshDataTool) GetFaceCount() gdnative.Int
- func (o *MeshDataTool) GetFaceEdge(idx gdnative.Int, edge gdnative.Int) gdnative.Int
- func (o *MeshDataTool) GetFaceMeta(idx gdnative.Int) gdnative.Variant
- func (o *MeshDataTool) GetFaceNormal(idx gdnative.Int) gdnative.Vector3
- func (o *MeshDataTool) GetFaceVertex(idx gdnative.Int, vertex gdnative.Int) gdnative.Int
- func (o *MeshDataTool) GetFormat() gdnative.Int
- func (o *MeshDataTool) GetMaterial() MaterialImplementer
- func (o *MeshDataTool) GetVertex(idx gdnative.Int) gdnative.Vector3
- func (o *MeshDataTool) GetVertexBones(idx gdnative.Int) gdnative.PoolIntArray
- func (o *MeshDataTool) GetVertexColor(idx gdnative.Int) gdnative.Color
- func (o *MeshDataTool) GetVertexCount() gdnative.Int
- func (o *MeshDataTool) GetVertexEdges(idx gdnative.Int) gdnative.PoolIntArray
- func (o *MeshDataTool) GetVertexFaces(idx gdnative.Int) gdnative.PoolIntArray
- func (o *MeshDataTool) GetVertexMeta(idx gdnative.Int) gdnative.Variant
- func (o *MeshDataTool) GetVertexNormal(idx gdnative.Int) gdnative.Vector3
- func (o *MeshDataTool) GetVertexTangent(idx gdnative.Int) gdnative.Plane
- func (o *MeshDataTool) GetVertexUv(idx gdnative.Int) gdnative.Vector2
- func (o *MeshDataTool) GetVertexUv2(idx gdnative.Int) gdnative.Vector2
- func (o *MeshDataTool) GetVertexWeights(idx gdnative.Int) gdnative.PoolRealArray
- func (o *MeshDataTool) SetEdgeMeta(idx gdnative.Int, meta gdnative.Variant)
- func (o *MeshDataTool) SetFaceMeta(idx gdnative.Int, meta gdnative.Variant)
- func (o *MeshDataTool) SetMaterial(material MaterialImplementer)
- func (o *MeshDataTool) SetVertex(idx gdnative.Int, vertex gdnative.Vector3)
- func (o *MeshDataTool) SetVertexBones(idx gdnative.Int, bones gdnative.PoolIntArray)
- func (o *MeshDataTool) SetVertexColor(idx gdnative.Int, color gdnative.Color)
- func (o *MeshDataTool) SetVertexMeta(idx gdnative.Int, meta gdnative.Variant)
- func (o *MeshDataTool) SetVertexNormal(idx gdnative.Int, normal gdnative.Vector3)
- func (o *MeshDataTool) SetVertexTangent(idx gdnative.Int, tangent gdnative.Plane)
- func (o *MeshDataTool) SetVertexUv(idx gdnative.Int, uv gdnative.Vector2)
- func (o *MeshDataTool) SetVertexUv2(idx gdnative.Int, uv2 gdnative.Vector2)
- func (o *MeshDataTool) SetVertexWeights(idx gdnative.Int, weights gdnative.PoolRealArray)
- type MeshDataToolImplementer
- type MeshImplementer
- type MeshInstance
- func (o *MeshInstance) BaseClass() string
- func (o *MeshInstance) CreateConvexCollision()
- func (o *MeshInstance) CreateDebugTangents()
- func (o *MeshInstance) CreateTrimeshCollision()
- func (o *MeshInstance) GetMesh() MeshImplementer
- func (o *MeshInstance) GetSkeletonPath() gdnative.NodePath
- func (o *MeshInstance) GetSurfaceMaterial(surface gdnative.Int) MaterialImplementer
- func (o *MeshInstance) SetMesh(mesh MeshImplementer)
- func (o *MeshInstance) SetSkeletonPath(skeletonPath gdnative.NodePath)
- func (o *MeshInstance) SetSurfaceMaterial(surface gdnative.Int, material MaterialImplementer)
- func (o *MeshInstance) X_MeshChanged()
- type MeshInstanceImplementer
- type MeshLibrary
- func (o *MeshLibrary) BaseClass() string
- func (o *MeshLibrary) Clear()
- func (o *MeshLibrary) CreateItem(id gdnative.Int)
- func (o *MeshLibrary) FindItemByName(name gdnative.String) gdnative.Int
- func (o *MeshLibrary) GetItemList() gdnative.PoolIntArray
- func (o *MeshLibrary) GetItemMesh(id gdnative.Int) MeshImplementer
- func (o *MeshLibrary) GetItemName(id gdnative.Int) gdnative.String
- func (o *MeshLibrary) GetItemNavmesh(id gdnative.Int) NavigationMeshImplementer
- func (o *MeshLibrary) GetItemPreview(id gdnative.Int) TextureImplementer
- func (o *MeshLibrary) GetItemShapes(id gdnative.Int) gdnative.Array
- func (o *MeshLibrary) GetLastUnusedItemId() gdnative.Int
- func (o *MeshLibrary) RemoveItem(id gdnative.Int)
- func (o *MeshLibrary) SetItemMesh(id gdnative.Int, mesh MeshImplementer)
- func (o *MeshLibrary) SetItemName(id gdnative.Int, name gdnative.String)
- func (o *MeshLibrary) SetItemNavmesh(id gdnative.Int, navmesh NavigationMeshImplementer)
- func (o *MeshLibrary) SetItemPreview(id gdnative.Int, texture TextureImplementer)
- func (o *MeshLibrary) SetItemShapes(id gdnative.Int, shapes gdnative.Array)
- type MeshLibraryImplementer
- type MeshPrimitiveType
- type MobileVRInterface
- func (o *MobileVRInterface) BaseClass() string
- func (o *MobileVRInterface) GetDisplayToLens() gdnative.Real
- func (o *MobileVRInterface) GetDisplayWidth() gdnative.Real
- func (o *MobileVRInterface) GetIod() gdnative.Real
- func (o *MobileVRInterface) GetK1() gdnative.Real
- func (o *MobileVRInterface) GetK2() gdnative.Real
- func (o *MobileVRInterface) GetOversample() gdnative.Real
- func (o *MobileVRInterface) SetDisplayToLens(displayToLens gdnative.Real)
- func (o *MobileVRInterface) SetDisplayWidth(displayWidth gdnative.Real)
- func (o *MobileVRInterface) SetIod(iod gdnative.Real)
- func (o *MobileVRInterface) SetK1(k gdnative.Real)
- func (o *MobileVRInterface) SetK2(k gdnative.Real)
- func (o *MobileVRInterface) SetOversample(oversample gdnative.Real)
- type MobileVRInterfaceImplementer
- type MultiMesh
- func (o *MultiMesh) BaseClass() string
- func (o *MultiMesh) GetAabb() gdnative.Aabb
- func (o *MultiMesh) GetColorFormat() MultiMeshColorFormat
- func (o *MultiMesh) GetInstanceColor(instance gdnative.Int) gdnative.Color
- func (o *MultiMesh) GetInstanceCount() gdnative.Int
- func (o *MultiMesh) GetInstanceTransform(instance gdnative.Int) gdnative.Transform
- func (o *MultiMesh) GetMesh() MeshImplementer
- func (o *MultiMesh) GetTransformFormat() MultiMeshTransformFormat
- func (o *MultiMesh) SetColorFormat(format gdnative.Int)
- func (o *MultiMesh) SetInstanceColor(instance gdnative.Int, color gdnative.Color)
- func (o *MultiMesh) SetInstanceCount(count gdnative.Int)
- func (o *MultiMesh) SetInstanceTransform(instance gdnative.Int, transform gdnative.Transform)
- func (o *MultiMesh) SetMesh(mesh MeshImplementer)
- func (o *MultiMesh) SetTransformFormat(format gdnative.Int)
- func (o *MultiMesh) X_GetColorArray() gdnative.PoolColorArray
- func (o *MultiMesh) X_GetTransformArray() gdnative.PoolVector3Array
- func (o *MultiMesh) X_SetColorArray(arg0 gdnative.PoolColorArray)
- func (o *MultiMesh) X_SetTransformArray(arg0 gdnative.PoolVector3Array)
- type MultiMeshColorFormat
- type MultiMeshImplementer
- type MultiMeshInstance
- type MultiMeshInstanceImplementer
- type MultiMeshTransformFormat
- type Mutex
- type MutexImplementer
- type NativeScript
- func (o *NativeScript) BaseClass() string
- func (o *NativeScript) GetClassName() gdnative.String
- func (o *NativeScript) GetLibrary() GDNativeLibraryImplementer
- func (o *NativeScript) New() ObjectImplementer
- func (o *NativeScript) SetClassName(className gdnative.String)
- func (o *NativeScript) SetLibrary(library GDNativeLibraryImplementer)
- type NativeScriptImplementer
- type Navigation
- func (o *Navigation) BaseClass() string
- func (o *Navigation) GetClosestPoint(toPoint gdnative.Vector3) gdnative.Vector3
- func (o *Navigation) GetClosestPointNormal(toPoint gdnative.Vector3) gdnative.Vector3
- func (o *Navigation) GetClosestPointOwner(toPoint gdnative.Vector3) ObjectImplementer
- func (o *Navigation) GetClosestPointToSegment(start gdnative.Vector3, end gdnative.Vector3, useCollision gdnative.Bool) gdnative.Vector3
- func (o *Navigation) GetSimplePath(start gdnative.Vector3, end gdnative.Vector3, optimize gdnative.Bool) gdnative.PoolVector3Array
- func (o *Navigation) GetUpVector() gdnative.Vector3
- func (o *Navigation) NavmeshAdd(mesh NavigationMeshImplementer, xform gdnative.Transform, ...) gdnative.Int
- func (o *Navigation) NavmeshRemove(id gdnative.Int)
- func (o *Navigation) NavmeshSetTransform(id gdnative.Int, xform gdnative.Transform)
- func (o *Navigation) SetUpVector(up gdnative.Vector3)
- type Navigation2D
- func (o *Navigation2D) BaseClass() string
- func (o *Navigation2D) GetClosestPoint(toPoint gdnative.Vector2) gdnative.Vector2
- func (o *Navigation2D) GetClosestPointOwner(toPoint gdnative.Vector2) ObjectImplementer
- func (o *Navigation2D) GetSimplePath(start gdnative.Vector2, end gdnative.Vector2, optimize gdnative.Bool) gdnative.PoolVector2Array
- func (o *Navigation2D) NavpolyAdd(mesh NavigationPolygonImplementer, xform gdnative.Transform2D, ...) gdnative.Int
- func (o *Navigation2D) NavpolyRemove(id gdnative.Int)
- func (o *Navigation2D) NavpolySetTransform(id gdnative.Int, xform gdnative.Transform2D)
- type Navigation2DImplementer
- type NavigationImplementer
- type NavigationMesh
- func (o *NavigationMesh) AddPolygon(polygon gdnative.PoolIntArray)
- func (o *NavigationMesh) BaseClass() string
- func (o *NavigationMesh) ClearPolygons()
- func (o *NavigationMesh) CreateFromMesh(mesh MeshImplementer)
- func (o *NavigationMesh) GetAgentHeight() gdnative.Real
- func (o *NavigationMesh) GetAgentMaxClimb() gdnative.Real
- func (o *NavigationMesh) GetAgentMaxSlope() gdnative.Real
- func (o *NavigationMesh) GetAgentRadius() gdnative.Real
- func (o *NavigationMesh) GetCellHeight() gdnative.Real
- func (o *NavigationMesh) GetCellSize() gdnative.Real
- func (o *NavigationMesh) GetDetailSampleDistance() gdnative.Real
- func (o *NavigationMesh) GetDetailSampleMaxError() gdnative.Real
- func (o *NavigationMesh) GetEdgeMaxError() gdnative.Real
- func (o *NavigationMesh) GetEdgeMaxLength() gdnative.Real
- func (o *NavigationMesh) GetFilterLedgeSpans() gdnative.Bool
- func (o *NavigationMesh) GetFilterLowHangingObstacles() gdnative.Bool
- func (o *NavigationMesh) GetFilterWalkableLowHeightSpans() gdnative.Bool
- func (o *NavigationMesh) GetPolygon(idx gdnative.Int) gdnative.PoolIntArray
- func (o *NavigationMesh) GetPolygonCount() gdnative.Int
- func (o *NavigationMesh) GetRegionMergeSize() gdnative.Real
- func (o *NavigationMesh) GetRegionMinSize() gdnative.Real
- func (o *NavigationMesh) GetSamplePartitionType() gdnative.Int
- func (o *NavigationMesh) GetVertices() gdnative.PoolVector3Array
- func (o *NavigationMesh) GetVertsPerPoly() gdnative.Real
- func (o *NavigationMesh) SetAgentHeight(agentHeight gdnative.Real)
- func (o *NavigationMesh) SetAgentMaxClimb(agentMaxClimb gdnative.Real)
- func (o *NavigationMesh) SetAgentMaxSlope(agentMaxSlope gdnative.Real)
- func (o *NavigationMesh) SetAgentRadius(agentRadius gdnative.Real)
- func (o *NavigationMesh) SetCellHeight(cellHeight gdnative.Real)
- func (o *NavigationMesh) SetCellSize(cellSize gdnative.Real)
- func (o *NavigationMesh) SetDetailSampleDistance(detailSampleDist gdnative.Real)
- func (o *NavigationMesh) SetDetailSampleMaxError(detailSampleMaxError gdnative.Real)
- func (o *NavigationMesh) SetEdgeMaxError(edgeMaxError gdnative.Real)
- func (o *NavigationMesh) SetEdgeMaxLength(edgeMaxLength gdnative.Real)
- func (o *NavigationMesh) SetFilterLedgeSpans(filterLedgeSpans gdnative.Bool)
- func (o *NavigationMesh) SetFilterLowHangingObstacles(filterLowHangingObstacles gdnative.Bool)
- func (o *NavigationMesh) SetFilterWalkableLowHeightSpans(filterWalkableLowHeightSpans gdnative.Bool)
- func (o *NavigationMesh) SetRegionMergeSize(regionMergeSize gdnative.Real)
- func (o *NavigationMesh) SetRegionMinSize(regionMinSize gdnative.Real)
- func (o *NavigationMesh) SetSamplePartitionType(samplePartitionType gdnative.Int)
- func (o *NavigationMesh) SetVertices(vertices gdnative.PoolVector3Array)
- func (o *NavigationMesh) SetVertsPerPoly(vertsPerPoly gdnative.Real)
- func (o *NavigationMesh) X_GetPolygons() gdnative.Array
- func (o *NavigationMesh) X_SetPolygons(polygons gdnative.Array)
- type NavigationMeshImplementer
- type NavigationMeshInstance
- func (o *NavigationMeshInstance) BaseClass() string
- func (o *NavigationMeshInstance) GetNavigationMesh() NavigationMeshImplementer
- func (o *NavigationMeshInstance) IsEnabled() gdnative.Bool
- func (o *NavigationMeshInstance) SetEnabled(enabled gdnative.Bool)
- func (o *NavigationMeshInstance) SetNavigationMesh(navmesh NavigationMeshImplementer)
- type NavigationMeshInstanceImplementer
- type NavigationPolygon
- func (o *NavigationPolygon) AddOutline(outline gdnative.PoolVector2Array)
- func (o *NavigationPolygon) AddOutlineAtIndex(outline gdnative.PoolVector2Array, index gdnative.Int)
- func (o *NavigationPolygon) AddPolygon(polygon gdnative.PoolIntArray)
- func (o *NavigationPolygon) BaseClass() string
- func (o *NavigationPolygon) ClearOutlines()
- func (o *NavigationPolygon) ClearPolygons()
- func (o *NavigationPolygon) GetOutline(idx gdnative.Int) gdnative.PoolVector2Array
- func (o *NavigationPolygon) GetOutlineCount() gdnative.Int
- func (o *NavigationPolygon) GetPolygon(idx gdnative.Int) gdnative.PoolIntArray
- func (o *NavigationPolygon) GetPolygonCount() gdnative.Int
- func (o *NavigationPolygon) GetVertices() gdnative.PoolVector2Array
- func (o *NavigationPolygon) MakePolygonsFromOutlines()
- func (o *NavigationPolygon) RemoveOutline(idx gdnative.Int)
- func (o *NavigationPolygon) SetOutline(idx gdnative.Int, outline gdnative.PoolVector2Array)
- func (o *NavigationPolygon) SetVertices(vertices gdnative.PoolVector2Array)
- func (o *NavigationPolygon) X_GetOutlines() gdnative.Array
- func (o *NavigationPolygon) X_GetPolygons() gdnative.Array
- func (o *NavigationPolygon) X_SetOutlines(outlines gdnative.Array)
- func (o *NavigationPolygon) X_SetPolygons(polygons gdnative.Array)
- type NavigationPolygonImplementer
- type NavigationPolygonInstance
- func (o *NavigationPolygonInstance) BaseClass() string
- func (o *NavigationPolygonInstance) GetNavigationPolygon() NavigationPolygonImplementer
- func (o *NavigationPolygonInstance) IsEnabled() gdnative.Bool
- func (o *NavigationPolygonInstance) SetEnabled(enabled gdnative.Bool)
- func (o *NavigationPolygonInstance) SetNavigationPolygon(navpoly NavigationPolygonImplementer)
- func (o *NavigationPolygonInstance) X_NavpolyChanged()
- type NavigationPolygonInstanceImplementer
- type NetworkedMultiplayerENet
- func (o *NetworkedMultiplayerENet) BaseClass() string
- func (o *NetworkedMultiplayerENet) CloseConnection()
- func (o *NetworkedMultiplayerENet) CreateClient(ip gdnative.String, port gdnative.Int, inBandwidth gdnative.Int, ...) gdnative.Error
- func (o *NetworkedMultiplayerENet) CreateServer(port gdnative.Int, maxClients gdnative.Int, inBandwidth gdnative.Int, ...) gdnative.Error
- func (o *NetworkedMultiplayerENet) GetCompressionMode() NetworkedMultiplayerENetCompressionMode
- func (o *NetworkedMultiplayerENet) SetBindIp(ip gdnative.String)
- func (o *NetworkedMultiplayerENet) SetCompressionMode(mode gdnative.Int)
- type NetworkedMultiplayerENetCompressionMode
- type NetworkedMultiplayerENetImplementer
- type NetworkedMultiplayerPeer
- func (o *NetworkedMultiplayerPeer) BaseClass() string
- func (o *NetworkedMultiplayerPeer) GetConnectionStatus() NetworkedMultiplayerPeerConnectionStatus
- func (o *NetworkedMultiplayerPeer) GetPacketPeer() gdnative.Int
- func (o *NetworkedMultiplayerPeer) GetTransferMode() NetworkedMultiplayerPeerTransferMode
- func (o *NetworkedMultiplayerPeer) GetUniqueId() gdnative.Int
- func (o *NetworkedMultiplayerPeer) IsRefusingNewConnections() gdnative.Bool
- func (o *NetworkedMultiplayerPeer) Poll()
- func (o *NetworkedMultiplayerPeer) SetRefuseNewConnections(enable gdnative.Bool)
- func (o *NetworkedMultiplayerPeer) SetTargetPeer(id gdnative.Int)
- func (o *NetworkedMultiplayerPeer) SetTransferMode(mode gdnative.Int)
- type NetworkedMultiplayerPeerConnectionStatus
- type NetworkedMultiplayerPeerImplementer
- type NetworkedMultiplayerPeerTransferMode
- type NinePatchRect
- func (o *NinePatchRect) BaseClass() string
- func (o *NinePatchRect) GetHAxisStretchMode() NinePatchRectAxisStretchMode
- func (o *NinePatchRect) GetPatchMargin(margin gdnative.Int) gdnative.Int
- func (o *NinePatchRect) GetRegionRect() gdnative.Rect2
- func (o *NinePatchRect) GetTexture() TextureImplementer
- func (o *NinePatchRect) GetVAxisStretchMode() NinePatchRectAxisStretchMode
- func (o *NinePatchRect) IsDrawCenterEnabled() gdnative.Bool
- func (o *NinePatchRect) SetDrawCenter(drawCenter gdnative.Bool)
- func (o *NinePatchRect) SetHAxisStretchMode(mode gdnative.Int)
- func (o *NinePatchRect) SetPatchMargin(margin gdnative.Int, value gdnative.Int)
- func (o *NinePatchRect) SetRegionRect(rect gdnative.Rect2)
- func (o *NinePatchRect) SetTexture(texture TextureImplementer)
- func (o *NinePatchRect) SetVAxisStretchMode(mode gdnative.Int)
- type NinePatchRectAxisStretchMode
- type NinePatchRectImplementer
- type Node
- func (o *Node) AddChild(node ObjectImplementer, legibleUniqueName gdnative.Bool)
- func (o *Node) AddChildBelowNode(node ObjectImplementer, childNode ObjectImplementer, ...)
- func (o *Node) AddToGroup(group gdnative.String, persistent gdnative.Bool)
- func (o *Node) BaseClass() string
- func (o *Node) CanProcess() gdnative.Bool
- func (o *Node) Duplicate(flags gdnative.Int) NodeImplementer
- func (o *Node) FindNode(mask gdnative.String, recursive gdnative.Bool, owned gdnative.Bool) NodeImplementer
- func (o *Node) GetChild(idx gdnative.Int) NodeImplementer
- func (o *Node) GetChildCount() gdnative.Int
- func (o *Node) GetChildren() gdnative.Array
- func (o *Node) GetFilename() gdnative.String
- func (o *Node) GetGroups() gdnative.Array
- func (o *Node) GetIndex() gdnative.Int
- func (o *Node) GetName() gdnative.String
- func (o *Node) GetNetworkMaster() gdnative.Int
- func (o *Node) GetNode(path gdnative.NodePath) NodeImplementer
- func (o *Node) GetNodeAndResource(path gdnative.NodePath) gdnative.Array
- func (o *Node) GetOwner() NodeImplementer
- func (o *Node) GetParent() NodeImplementer
- func (o *Node) GetPath() gdnative.NodePath
- func (o *Node) GetPathTo(node ObjectImplementer) gdnative.NodePath
- func (o *Node) GetPauseMode() NodePauseMode
- func (o *Node) GetPhysicsProcessDeltaTime() gdnative.Real
- func (o *Node) GetPositionInParent() gdnative.Int
- func (o *Node) GetProcessDeltaTime() gdnative.Real
- func (o *Node) GetSceneInstanceLoadPlaceholder() gdnative.Bool
- func (o *Node) GetTree() SceneTreeImplementer
- func (o *Node) GetViewport() ViewportImplementer
- func (o *Node) HasNode(path gdnative.NodePath) gdnative.Bool
- func (o *Node) HasNodeAndResource(path gdnative.NodePath) gdnative.Bool
- func (o *Node) IsAParentOf(node ObjectImplementer) gdnative.Bool
- func (o *Node) IsDisplayedFolded() gdnative.Bool
- func (o *Node) IsGreaterThan(node ObjectImplementer) gdnative.Bool
- func (o *Node) IsInGroup(group gdnative.String) gdnative.Bool
- func (o *Node) IsInsideTree() gdnative.Bool
- func (o *Node) IsNetworkMaster() gdnative.Bool
- func (o *Node) IsPhysicsProcessing() gdnative.Bool
- func (o *Node) IsPhysicsProcessingInternal() gdnative.Bool
- func (o *Node) IsProcessing() gdnative.Bool
- func (o *Node) IsProcessingInput() gdnative.Bool
- func (o *Node) IsProcessingInternal() gdnative.Bool
- func (o *Node) IsProcessingUnhandledInput() gdnative.Bool
- func (o *Node) IsProcessingUnhandledKeyInput() gdnative.Bool
- func (o *Node) MoveChild(childNode ObjectImplementer, toPosition gdnative.Int)
- func (o *Node) PrintStrayNodes()
- func (o *Node) PrintTree()
- func (o *Node) PropagateCall(method gdnative.String, args gdnative.Array, parentFirst gdnative.Bool)
- func (o *Node) PropagateNotification(what gdnative.Int)
- func (o *Node) QueueFree()
- func (o *Node) Raise()
- func (o *Node) RemoveAndSkip()
- func (o *Node) RemoveChild(node ObjectImplementer)
- func (o *Node) RemoveFromGroup(group gdnative.String)
- func (o *Node) ReplaceBy(node ObjectImplementer, keepData gdnative.Bool)
- func (o *Node) RequestReady()
- func (o *Node) Rpc(method gdnative.String) gdnative.Variant
- func (o *Node) RpcConfig(method gdnative.String, mode gdnative.Int)
- func (o *Node) RpcId(peerId gdnative.Int, method gdnative.String) gdnative.Variant
- func (o *Node) RpcUnreliable(method gdnative.String) gdnative.Variant
- func (o *Node) RpcUnreliableId(peerId gdnative.Int, method gdnative.String) gdnative.Variant
- func (o *Node) Rset(property gdnative.String, value gdnative.Variant)
- func (o *Node) RsetConfig(property gdnative.String, mode gdnative.Int)
- func (o *Node) RsetId(peerId gdnative.Int, property gdnative.String, value gdnative.Variant)
- func (o *Node) RsetUnreliable(property gdnative.String, value gdnative.Variant)
- func (o *Node) RsetUnreliableId(peerId gdnative.Int, property gdnative.String, value gdnative.Variant)
- func (o *Node) SetDisplayFolded(fold gdnative.Bool)
- func (o *Node) SetFilename(filename gdnative.String)
- func (o *Node) SetName(name gdnative.String)
- func (o *Node) SetNetworkMaster(id gdnative.Int, recursive gdnative.Bool)
- func (o *Node) SetOwner(owner ObjectImplementer)
- func (o *Node) SetPauseMode(mode gdnative.Int)
- func (o *Node) SetPhysicsProcess(enable gdnative.Bool)
- func (o *Node) SetPhysicsProcessInternal(enable gdnative.Bool)
- func (o *Node) SetProcess(enable gdnative.Bool)
- func (o *Node) SetProcessInput(enable gdnative.Bool)
- func (o *Node) SetProcessInternal(enable gdnative.Bool)
- func (o *Node) SetProcessUnhandledInput(enable gdnative.Bool)
- func (o *Node) SetProcessUnhandledKeyInput(enable gdnative.Bool)
- func (o *Node) SetSceneInstanceLoadPlaceholder(loadPlaceholder gdnative.Bool)
- func (o *Node) X_EnterTree()
- func (o *Node) X_ExitTree()
- func (o *Node) X_GetImportPath() gdnative.NodePath
- func (o *Node) X_Input(event InputEventImplementer)
- func (o *Node) X_PhysicsProcess(delta gdnative.Real)
- func (o *Node) X_Process(delta gdnative.Real)
- func (o *Node) X_Ready()
- func (o *Node) X_SetImportPath(importPath gdnative.NodePath)
- func (o *Node) X_UnhandledInput(event InputEventImplementer)
- func (o *Node) X_UnhandledKeyInput(event InputEventKeyImplementer)
- type Node2D
- func (o *Node2D) ApplyScale(ratio gdnative.Vector2)
- func (o *Node2D) BaseClass() string
- func (o *Node2D) GetAngleTo(point gdnative.Vector2) gdnative.Real
- func (o *Node2D) GetGlobalPosition() gdnative.Vector2
- func (o *Node2D) GetGlobalRotation() gdnative.Real
- func (o *Node2D) GetGlobalRotationDegrees() gdnative.Real
- func (o *Node2D) GetGlobalScale() gdnative.Vector2
- func (o *Node2D) GetPosition() gdnative.Vector2
- func (o *Node2D) GetRelativeTransformToParent(parent ObjectImplementer) gdnative.Transform2D
- func (o *Node2D) GetRotation() gdnative.Real
- func (o *Node2D) GetRotationDegrees() gdnative.Real
- func (o *Node2D) GetScale() gdnative.Vector2
- func (o *Node2D) GetZIndex() gdnative.Int
- func (o *Node2D) GlobalTranslate(offset gdnative.Vector2)
- func (o *Node2D) IsZRelative() gdnative.Bool
- func (o *Node2D) LookAt(point gdnative.Vector2)
- func (o *Node2D) MoveLocalX(delta gdnative.Real, scaled gdnative.Bool)
- func (o *Node2D) MoveLocalY(delta gdnative.Real, scaled gdnative.Bool)
- func (o *Node2D) Rotate(radians gdnative.Real)
- func (o *Node2D) SetGlobalPosition(position gdnative.Vector2)
- func (o *Node2D) SetGlobalRotation(radians gdnative.Real)
- func (o *Node2D) SetGlobalRotationDegrees(degrees gdnative.Real)
- func (o *Node2D) SetGlobalScale(scale gdnative.Vector2)
- func (o *Node2D) SetGlobalTransform(xform gdnative.Transform2D)
- func (o *Node2D) SetPosition(position gdnative.Vector2)
- func (o *Node2D) SetRotation(radians gdnative.Real)
- func (o *Node2D) SetRotationDegrees(degrees gdnative.Real)
- func (o *Node2D) SetScale(scale gdnative.Vector2)
- func (o *Node2D) SetTransform(xform gdnative.Transform2D)
- func (o *Node2D) SetZAsRelative(enable gdnative.Bool)
- func (o *Node2D) SetZIndex(zIndex gdnative.Int)
- func (o *Node2D) ToGlobal(localPoint gdnative.Vector2) gdnative.Vector2
- func (o *Node2D) ToLocal(globalPoint gdnative.Vector2) gdnative.Vector2
- func (o *Node2D) Translate(offset gdnative.Vector2)
- type Node2DImplementer
- type NodeDuplicateFlags
- type NodeImplementer
- type NodePauseMode
- type NodeRPCMode
- type OSImplementer
- type Object
- func (o *Object) AddUserSignal(signal gdnative.String, arguments gdnative.Array)
- func (o *Object) BaseClass() string
- func (o *Object) Call(method gdnative.String) gdnative.Variant
- func (o *Object) CallDeferred(method gdnative.String) gdnative.Variant
- func (o *Object) Callv(method gdnative.String, argArray gdnative.Array) gdnative.Variant
- func (o *Object) CanTranslateMessages() gdnative.Bool
- func (o *Object) Connect(signal gdnative.String, target ObjectImplementer, method gdnative.String, ...) gdnative.Error
- func (o *Object) Disconnect(signal gdnative.String, target ObjectImplementer, method gdnative.String)
- func (o *Object) EmitSignal(signal gdnative.String) gdnative.Variant
- func (o *Object) Free()
- func (o *Object) Get(property gdnative.String) gdnative.Variant
- func (o *Object) GetBaseObject() gdnative.Object
- func (o *Object) GetClass() gdnative.String
- func (o *Object) GetIncomingConnections() gdnative.Array
- func (o *Object) GetIndexed(property gdnative.NodePath) gdnative.Variant
- func (o *Object) GetInstanceId() gdnative.Int
- func (o *Object) GetMeta(name gdnative.String) gdnative.Variant
- func (o *Object) GetMetaList() gdnative.PoolStringArray
- func (o *Object) GetMethodList() gdnative.Array
- func (o *Object) GetPropertyList() gdnative.Array
- func (o *Object) GetScript() ReferenceImplementer
- func (o *Object) GetSignalConnectionList(signal gdnative.String) gdnative.Array
- func (o *Object) GetSignalList() gdnative.Array
- func (o *Object) HasMeta(name gdnative.String) gdnative.Bool
- func (o *Object) HasMethod(method gdnative.String) gdnative.Bool
- func (o *Object) HasUserSignal(signal gdnative.String) gdnative.Bool
- func (o *Object) IsBlockingSignals() gdnative.Bool
- func (o *Object) IsClass(aType gdnative.String) gdnative.Bool
- func (o *Object) IsConnected(signal gdnative.String, target ObjectImplementer, method gdnative.String) gdnative.Bool
- func (o *Object) IsQueuedForDeletion() gdnative.Bool
- func (o *Object) Notification(what gdnative.Int, reversed gdnative.Bool)
- func (o *Object) PropertyListChangedNotify()
- func (o *Object) Set(property gdnative.String, value gdnative.Variant)
- func (o *Object) SetBaseObject(object gdnative.Object)
- func (o *Object) SetBlockSignals(enable gdnative.Bool)
- func (o *Object) SetIndexed(property gdnative.NodePath, value gdnative.Variant)
- func (o *Object) SetMessageTranslation(enable gdnative.Bool)
- func (o *Object) SetMeta(name gdnative.String, value gdnative.Variant)
- func (o *Object) SetScript(script ReferenceImplementer)
- func (o *Object) Tr(message gdnative.String) gdnative.String
- func (o *Object) X_Get(property gdnative.String)
- func (o *Object) X_GetPropertyList() gdnative.Array
- func (o *Object) X_Init()
- func (o *Object) X_Notification(what gdnative.Int)
- func (o *Object) X_Set(property gdnative.String, value gdnative.Variant) gdnative.Bool
- type ObjectConnectFlags
- type ObjectImplementer
- type OccluderPolygon2D
- func (o *OccluderPolygon2D) BaseClass() string
- func (o *OccluderPolygon2D) GetCullMode() OccluderPolygon2DCullMode
- func (o *OccluderPolygon2D) GetPolygon() gdnative.PoolVector2Array
- func (o *OccluderPolygon2D) IsClosed() gdnative.Bool
- func (o *OccluderPolygon2D) SetClosed(closed gdnative.Bool)
- func (o *OccluderPolygon2D) SetCullMode(cullMode gdnative.Int)
- func (o *OccluderPolygon2D) SetPolygon(polygon gdnative.PoolVector2Array)
- type OccluderPolygon2DCullMode
- type OccluderPolygon2DImplementer
- type OmniLight
- type OmniLightImplementer
- type OmniLightShadowDetail
- type OmniLightShadowMode
- type OptionButton
- func (o *OptionButton) AddIconItem(texture TextureImplementer, label gdnative.String, id gdnative.Int)
- func (o *OptionButton) AddItem(label gdnative.String, id gdnative.Int)
- func (o *OptionButton) AddSeparator()
- func (o *OptionButton) BaseClass() string
- func (o *OptionButton) Clear()
- func (o *OptionButton) GetItemCount() gdnative.Int
- func (o *OptionButton) GetItemIcon(idx gdnative.Int) TextureImplementer
- func (o *OptionButton) GetItemId(idx gdnative.Int) gdnative.Int
- func (o *OptionButton) GetItemMetadata(idx gdnative.Int) gdnative.Variant
- func (o *OptionButton) GetItemText(idx gdnative.Int) gdnative.String
- func (o *OptionButton) GetPopup() PopupMenuImplementer
- func (o *OptionButton) GetSelected() gdnative.Int
- func (o *OptionButton) GetSelectedId() gdnative.Int
- func (o *OptionButton) GetSelectedMetadata() gdnative.Variant
- func (o *OptionButton) IsItemDisabled(idx gdnative.Int) gdnative.Bool
- func (o *OptionButton) RemoveItem(idx gdnative.Int)
- func (o *OptionButton) Select(idx gdnative.Int)
- func (o *OptionButton) SetItemDisabled(idx gdnative.Int, disabled gdnative.Bool)
- func (o *OptionButton) SetItemIcon(idx gdnative.Int, texture TextureImplementer)
- func (o *OptionButton) SetItemId(idx gdnative.Int, id gdnative.Int)
- func (o *OptionButton) SetItemMetadata(idx gdnative.Int, metadata gdnative.Variant)
- func (o *OptionButton) SetItemText(idx gdnative.Int, text gdnative.String)
- func (o *OptionButton) X_GetItems() gdnative.Array
- func (o *OptionButton) X_SelectInt(arg0 gdnative.Int)
- func (o *OptionButton) X_Selected(arg0 gdnative.Int)
- func (o *OptionButton) X_SetItems(arg0 gdnative.Array)
- type OptionButtonImplementer
- type PCKPacker
- type PCKPackerImplementer
- type PHashTranslation
- type PHashTranslationImplementer
- type PackedDataContainer
- func (o *PackedDataContainer) BaseClass() string
- func (o *PackedDataContainer) Pack(value gdnative.Variant) gdnative.Error
- func (o *PackedDataContainer) Size() gdnative.Int
- func (o *PackedDataContainer) X_GetData() gdnative.PoolByteArray
- func (o *PackedDataContainer) X_IterGet(arg0 gdnative.Variant) gdnative.Variant
- func (o *PackedDataContainer) X_IterInit(arg0 gdnative.Array) gdnative.Variant
- func (o *PackedDataContainer) X_IterNext(arg0 gdnative.Array) gdnative.Variant
- func (o *PackedDataContainer) X_SetData(arg0 gdnative.PoolByteArray)
- type PackedDataContainerImplementer
- type PackedDataContainerRef
- func (o *PackedDataContainerRef) BaseClass() string
- func (o *PackedDataContainerRef) Size() gdnative.Int
- func (o *PackedDataContainerRef) X_IsDictionary() gdnative.Bool
- func (o *PackedDataContainerRef) X_IterGet(arg0 gdnative.Variant) gdnative.Variant
- func (o *PackedDataContainerRef) X_IterInit(arg0 gdnative.Array) gdnative.Variant
- func (o *PackedDataContainerRef) X_IterNext(arg0 gdnative.Array) gdnative.Variant
- type PackedDataContainerRefImplementer
- type PackedScene
- func (o *PackedScene) BaseClass() string
- func (o *PackedScene) CanInstance() gdnative.Bool
- func (o *PackedScene) GetState() SceneStateImplementer
- func (o *PackedScene) Instance(editState gdnative.Int) NodeImplementer
- func (o *PackedScene) Pack(path ObjectImplementer) gdnative.Error
- func (o *PackedScene) X_GetBundledScene() gdnative.Dictionary
- func (o *PackedScene) X_SetBundledScene(arg0 gdnative.Dictionary)
- type PackedSceneGenEditState
- type PackedSceneImplementer
- type PacketPeer
- func (o *PacketPeer) BaseClass() string
- func (o *PacketPeer) GetAvailablePacketCount() gdnative.Int
- func (o *PacketPeer) GetPacket() gdnative.PoolByteArray
- func (o *PacketPeer) GetPacketError() gdnative.Error
- func (o *PacketPeer) GetVar() gdnative.Variant
- func (o *PacketPeer) IsObjectDecodingAllowed() gdnative.Bool
- func (o *PacketPeer) PutPacket(buffer gdnative.PoolByteArray) gdnative.Error
- func (o *PacketPeer) PutVar(variable gdnative.Variant) gdnative.Error
- func (o *PacketPeer) SetAllowObjectDecoding(enable gdnative.Bool)
- type PacketPeerImplementer
- type PacketPeerStream
- func (o *PacketPeerStream) BaseClass() string
- func (o *PacketPeerStream) GetInputBufferMaxSize() gdnative.Int
- func (o *PacketPeerStream) GetOutputBufferMaxSize() gdnative.Int
- func (o *PacketPeerStream) GetStreamPeer() StreamPeerImplementer
- func (o *PacketPeerStream) SetInputBufferMaxSize(maxSizeBytes gdnative.Int)
- func (o *PacketPeerStream) SetOutputBufferMaxSize(maxSizeBytes gdnative.Int)
- func (o *PacketPeerStream) SetStreamPeer(peer StreamPeerImplementer)
- type PacketPeerStreamImplementer
- type PacketPeerUDP
- func (o *PacketPeerUDP) BaseClass() string
- func (o *PacketPeerUDP) Close()
- func (o *PacketPeerUDP) GetPacketIp() gdnative.String
- func (o *PacketPeerUDP) GetPacketPort() gdnative.Int
- func (o *PacketPeerUDP) IsListening() gdnative.Bool
- func (o *PacketPeerUDP) Listen(port gdnative.Int, bindAddress gdnative.String, recvBufSize gdnative.Int) gdnative.Error
- func (o *PacketPeerUDP) SetDestAddress(host gdnative.String, port gdnative.Int) gdnative.Error
- func (o *PacketPeerUDP) Wait() gdnative.Error
- type PacketPeerUDPImplementer
- type Panel
- type PanelContainer
- type PanelContainerImplementer
- type PanelImplementer
- type PanoramaSky
- type PanoramaSkyImplementer
- type ParallaxBackground
- func (o *ParallaxBackground) BaseClass() string
- func (o *ParallaxBackground) GetLimitBegin() gdnative.Vector2
- func (o *ParallaxBackground) GetLimitEnd() gdnative.Vector2
- func (o *ParallaxBackground) GetScrollBaseOffset() gdnative.Vector2
- func (o *ParallaxBackground) GetScrollBaseScale() gdnative.Vector2
- func (o *ParallaxBackground) GetScrollOffset() gdnative.Vector2
- func (o *ParallaxBackground) IsIgnoreCameraZoom() gdnative.Bool
- func (o *ParallaxBackground) SetIgnoreCameraZoom(ignore gdnative.Bool)
- func (o *ParallaxBackground) SetLimitBegin(ofs gdnative.Vector2)
- func (o *ParallaxBackground) SetLimitEnd(ofs gdnative.Vector2)
- func (o *ParallaxBackground) SetScrollBaseOffset(ofs gdnative.Vector2)
- func (o *ParallaxBackground) SetScrollBaseScale(scale gdnative.Vector2)
- func (o *ParallaxBackground) SetScrollOffset(ofs gdnative.Vector2)
- func (o *ParallaxBackground) X_CameraMoved(arg0 gdnative.Transform2D, arg1 gdnative.Vector2)
- type ParallaxBackgroundImplementer
- type ParallaxLayer
- func (o *ParallaxLayer) BaseClass() string
- func (o *ParallaxLayer) GetMirroring() gdnative.Vector2
- func (o *ParallaxLayer) GetMotionOffset() gdnative.Vector2
- func (o *ParallaxLayer) GetMotionScale() gdnative.Vector2
- func (o *ParallaxLayer) SetMirroring(mirror gdnative.Vector2)
- func (o *ParallaxLayer) SetMotionOffset(offset gdnative.Vector2)
- func (o *ParallaxLayer) SetMotionScale(scale gdnative.Vector2)
- type ParallaxLayerImplementer
- type Particles
- func (o *Particles) BaseClass() string
- func (o *Particles) CaptureAabb() gdnative.Aabb
- func (o *Particles) GetAmount() gdnative.Int
- func (o *Particles) GetDrawOrder() ParticlesDrawOrder
- func (o *Particles) GetDrawPassMesh(pass gdnative.Int) MeshImplementer
- func (o *Particles) GetDrawPasses() gdnative.Int
- func (o *Particles) GetExplosivenessRatio() gdnative.Real
- func (o *Particles) GetFixedFps() gdnative.Int
- func (o *Particles) GetFractionalDelta() gdnative.Bool
- func (o *Particles) GetLifetime() gdnative.Real
- func (o *Particles) GetOneShot() gdnative.Bool
- func (o *Particles) GetPreProcessTime() gdnative.Real
- func (o *Particles) GetProcessMaterial() MaterialImplementer
- func (o *Particles) GetRandomnessRatio() gdnative.Real
- func (o *Particles) GetSpeedScale() gdnative.Real
- func (o *Particles) GetUseLocalCoordinates() gdnative.Bool
- func (o *Particles) GetVisibilityAabb() gdnative.Aabb
- func (o *Particles) IsEmitting() gdnative.Bool
- func (o *Particles) Restart()
- func (o *Particles) SetAmount(amount gdnative.Int)
- func (o *Particles) SetDrawOrder(order gdnative.Int)
- func (o *Particles) SetDrawPassMesh(pass gdnative.Int, mesh MeshImplementer)
- func (o *Particles) SetDrawPasses(passes gdnative.Int)
- func (o *Particles) SetEmitting(emitting gdnative.Bool)
- func (o *Particles) SetExplosivenessRatio(ratio gdnative.Real)
- func (o *Particles) SetFixedFps(fps gdnative.Int)
- func (o *Particles) SetFractionalDelta(enable gdnative.Bool)
- func (o *Particles) SetLifetime(secs gdnative.Real)
- func (o *Particles) SetOneShot(enable gdnative.Bool)
- func (o *Particles) SetPreProcessTime(secs gdnative.Real)
- func (o *Particles) SetProcessMaterial(material MaterialImplementer)
- func (o *Particles) SetRandomnessRatio(ratio gdnative.Real)
- func (o *Particles) SetSpeedScale(scale gdnative.Real)
- func (o *Particles) SetUseLocalCoordinates(enable gdnative.Bool)
- func (o *Particles) SetVisibilityAabb(aabb gdnative.Aabb)
- type Particles2D
- func (o *Particles2D) BaseClass() string
- func (o *Particles2D) CaptureRect() gdnative.Rect2
- func (o *Particles2D) GetAmount() gdnative.Int
- func (o *Particles2D) GetDrawOrder() Particles2DDrawOrder
- func (o *Particles2D) GetExplosivenessRatio() gdnative.Real
- func (o *Particles2D) GetFixedFps() gdnative.Int
- func (o *Particles2D) GetFractionalDelta() gdnative.Bool
- func (o *Particles2D) GetHFrames() gdnative.Int
- func (o *Particles2D) GetLifetime() gdnative.Real
- func (o *Particles2D) GetNormalMap() TextureImplementer
- func (o *Particles2D) GetOneShot() gdnative.Bool
- func (o *Particles2D) GetPreProcessTime() gdnative.Real
- func (o *Particles2D) GetProcessMaterial() MaterialImplementer
- func (o *Particles2D) GetRandomnessRatio() gdnative.Real
- func (o *Particles2D) GetSpeedScale() gdnative.Real
- func (o *Particles2D) GetTexture() TextureImplementer
- func (o *Particles2D) GetUseLocalCoordinates() gdnative.Bool
- func (o *Particles2D) GetVFrames() gdnative.Int
- func (o *Particles2D) GetVisibilityRect() gdnative.Rect2
- func (o *Particles2D) IsEmitting() gdnative.Bool
- func (o *Particles2D) Restart()
- func (o *Particles2D) SetAmount(amount gdnative.Int)
- func (o *Particles2D) SetDrawOrder(order gdnative.Int)
- func (o *Particles2D) SetEmitting(emitting gdnative.Bool)
- func (o *Particles2D) SetExplosivenessRatio(ratio gdnative.Real)
- func (o *Particles2D) SetFixedFps(fps gdnative.Int)
- func (o *Particles2D) SetFractionalDelta(enable gdnative.Bool)
- func (o *Particles2D) SetHFrames(frames gdnative.Int)
- func (o *Particles2D) SetLifetime(secs gdnative.Real)
- func (o *Particles2D) SetNormalMap(texture TextureImplementer)
- func (o *Particles2D) SetOneShot(secs gdnative.Bool)
- func (o *Particles2D) SetPreProcessTime(secs gdnative.Real)
- func (o *Particles2D) SetProcessMaterial(material MaterialImplementer)
- func (o *Particles2D) SetRandomnessRatio(ratio gdnative.Real)
- func (o *Particles2D) SetSpeedScale(scale gdnative.Real)
- func (o *Particles2D) SetTexture(texture TextureImplementer)
- func (o *Particles2D) SetUseLocalCoordinates(enable gdnative.Bool)
- func (o *Particles2D) SetVFrames(frames gdnative.Int)
- func (o *Particles2D) SetVisibilityRect(aabb gdnative.Rect2)
- type Particles2DDrawOrder
- type Particles2DImplementer
- type ParticlesDrawOrder
- type ParticlesImplementer
- type ParticlesMaterial
- func (o *ParticlesMaterial) BaseClass() string
- func (o *ParticlesMaterial) GetColor() gdnative.Color
- func (o *ParticlesMaterial) GetColorRamp() TextureImplementer
- func (o *ParticlesMaterial) GetEmissionBoxExtents() gdnative.Vector3
- func (o *ParticlesMaterial) GetEmissionColorTexture() TextureImplementer
- func (o *ParticlesMaterial) GetEmissionNormalTexture() TextureImplementer
- func (o *ParticlesMaterial) GetEmissionPointCount() gdnative.Int
- func (o *ParticlesMaterial) GetEmissionPointTexture() TextureImplementer
- func (o *ParticlesMaterial) GetEmissionShape() ParticlesMaterialEmissionShape
- func (o *ParticlesMaterial) GetEmissionSphereRadius() gdnative.Real
- func (o *ParticlesMaterial) GetFlag(flag gdnative.Int) gdnative.Bool
- func (o *ParticlesMaterial) GetFlatness() gdnative.Real
- func (o *ParticlesMaterial) GetGravity() gdnative.Vector3
- func (o *ParticlesMaterial) GetParam(param gdnative.Int) gdnative.Real
- func (o *ParticlesMaterial) GetParamRandomness(param gdnative.Int) gdnative.Real
- func (o *ParticlesMaterial) GetParamTexture(param gdnative.Int) TextureImplementer
- func (o *ParticlesMaterial) GetSpread() gdnative.Real
- func (o *ParticlesMaterial) GetTrailColorModifier() GradientTextureImplementer
- func (o *ParticlesMaterial) GetTrailDivisor() gdnative.Int
- func (o *ParticlesMaterial) GetTrailSizeModifier() CurveTextureImplementer
- func (o *ParticlesMaterial) SetColor(color gdnative.Color)
- func (o *ParticlesMaterial) SetColorRamp(ramp TextureImplementer)
- func (o *ParticlesMaterial) SetEmissionBoxExtents(extents gdnative.Vector3)
- func (o *ParticlesMaterial) SetEmissionColorTexture(texture TextureImplementer)
- func (o *ParticlesMaterial) SetEmissionNormalTexture(texture TextureImplementer)
- func (o *ParticlesMaterial) SetEmissionPointCount(pointCount gdnative.Int)
- func (o *ParticlesMaterial) SetEmissionPointTexture(texture TextureImplementer)
- func (o *ParticlesMaterial) SetEmissionShape(shape gdnative.Int)
- func (o *ParticlesMaterial) SetEmissionSphereRadius(radius gdnative.Real)
- func (o *ParticlesMaterial) SetFlag(flag gdnative.Int, enable gdnative.Bool)
- func (o *ParticlesMaterial) SetFlatness(amount gdnative.Real)
- func (o *ParticlesMaterial) SetGravity(accelVec gdnative.Vector3)
- func (o *ParticlesMaterial) SetParam(param gdnative.Int, value gdnative.Real)
- func (o *ParticlesMaterial) SetParamRandomness(param gdnative.Int, randomness gdnative.Real)
- func (o *ParticlesMaterial) SetParamTexture(param gdnative.Int, texture TextureImplementer)
- func (o *ParticlesMaterial) SetSpread(degrees gdnative.Real)
- func (o *ParticlesMaterial) SetTrailColorModifier(texture GradientTextureImplementer)
- func (o *ParticlesMaterial) SetTrailDivisor(divisor gdnative.Int)
- func (o *ParticlesMaterial) SetTrailSizeModifier(texture CurveTextureImplementer)
- type ParticlesMaterialEmissionShape
- type ParticlesMaterialFlags
- type ParticlesMaterialImplementer
- type ParticlesMaterialParameter
- type Path
- type Path2D
- type Path2DImplementer
- type PathFollow
- func (o *PathFollow) BaseClass() string
- func (o *PathFollow) GetCubicInterpolation() gdnative.Bool
- func (o *PathFollow) GetHOffset() gdnative.Real
- func (o *PathFollow) GetOffset() gdnative.Real
- func (o *PathFollow) GetRotationMode() PathFollowRotationMode
- func (o *PathFollow) GetUnitOffset() gdnative.Real
- func (o *PathFollow) GetVOffset() gdnative.Real
- func (o *PathFollow) HasLoop() gdnative.Bool
- func (o *PathFollow) SetCubicInterpolation(enable gdnative.Bool)
- func (o *PathFollow) SetHOffset(hOffset gdnative.Real)
- func (o *PathFollow) SetLoop(loop gdnative.Bool)
- func (o *PathFollow) SetOffset(offset gdnative.Real)
- func (o *PathFollow) SetRotationMode(rotationMode gdnative.Int)
- func (o *PathFollow) SetUnitOffset(unitOffset gdnative.Real)
- func (o *PathFollow) SetVOffset(vOffset gdnative.Real)
- type PathFollow2D
- func (o *PathFollow2D) BaseClass() string
- func (o *PathFollow2D) GetCubicInterpolation() gdnative.Bool
- func (o *PathFollow2D) GetHOffset() gdnative.Real
- func (o *PathFollow2D) GetLookahead() gdnative.Real
- func (o *PathFollow2D) GetOffset() gdnative.Real
- func (o *PathFollow2D) GetUnitOffset() gdnative.Real
- func (o *PathFollow2D) GetVOffset() gdnative.Real
- func (o *PathFollow2D) HasLoop() gdnative.Bool
- func (o *PathFollow2D) IsRotating() gdnative.Bool
- func (o *PathFollow2D) SetCubicInterpolation(enable gdnative.Bool)
- func (o *PathFollow2D) SetHOffset(hOffset gdnative.Real)
- func (o *PathFollow2D) SetLookahead(lookahead gdnative.Real)
- func (o *PathFollow2D) SetLoop(loop gdnative.Bool)
- func (o *PathFollow2D) SetOffset(offset gdnative.Real)
- func (o *PathFollow2D) SetRotate(enable gdnative.Bool)
- func (o *PathFollow2D) SetUnitOffset(unitOffset gdnative.Real)
- func (o *PathFollow2D) SetVOffset(vOffset gdnative.Real)
- type PathFollow2DImplementer
- type PathFollowImplementer
- type PathFollowRotationMode
- type PathImplementer
- type PerformanceImplementer
- type PerformanceMonitor
- type Physics2DDirectBodyState
- func (o *Physics2DDirectBodyState) BaseClass() string
- func (o *Physics2DDirectBodyState) GetAngularVelocity() gdnative.Real
- func (o *Physics2DDirectBodyState) GetContactCollider(contactIdx gdnative.Int) gdnative.Rid
- func (o *Physics2DDirectBodyState) GetContactColliderId(contactIdx gdnative.Int) gdnative.Int
- func (o *Physics2DDirectBodyState) GetContactColliderObject(contactIdx gdnative.Int) ObjectImplementer
- func (o *Physics2DDirectBodyState) GetContactColliderPosition(contactIdx gdnative.Int) gdnative.Vector2
- func (o *Physics2DDirectBodyState) GetContactColliderShape(contactIdx gdnative.Int) gdnative.Int
- func (o *Physics2DDirectBodyState) GetContactColliderShapeMetadata(contactIdx gdnative.Int) gdnative.Variant
- func (o *Physics2DDirectBodyState) GetContactColliderVelocityAtPosition(contactIdx gdnative.Int) gdnative.Vector2
- func (o *Physics2DDirectBodyState) GetContactCount() gdnative.Int
- func (o *Physics2DDirectBodyState) GetContactLocalNormal(contactIdx gdnative.Int) gdnative.Vector2
- func (o *Physics2DDirectBodyState) GetContactLocalPosition(contactIdx gdnative.Int) gdnative.Vector2
- func (o *Physics2DDirectBodyState) GetContactLocalShape(contactIdx gdnative.Int) gdnative.Int
- func (o *Physics2DDirectBodyState) GetInverseInertia() gdnative.Real
- func (o *Physics2DDirectBodyState) GetInverseMass() gdnative.Real
- func (o *Physics2DDirectBodyState) GetLinearVelocity() gdnative.Vector2
- func (o *Physics2DDirectBodyState) GetSpaceState() Physics2DDirectSpaceStateImplementer
- func (o *Physics2DDirectBodyState) GetStep() gdnative.Real
- func (o *Physics2DDirectBodyState) GetTotalAngularDamp() gdnative.Real
- func (o *Physics2DDirectBodyState) GetTotalGravity() gdnative.Vector2
- func (o *Physics2DDirectBodyState) GetTotalLinearDamp() gdnative.Real
- func (o *Physics2DDirectBodyState) GetTransform() gdnative.Transform2D
- func (o *Physics2DDirectBodyState) IntegrateForces()
- func (o *Physics2DDirectBodyState) IsSleeping() gdnative.Bool
- func (o *Physics2DDirectBodyState) SetAngularVelocity(velocity gdnative.Real)
- func (o *Physics2DDirectBodyState) SetLinearVelocity(velocity gdnative.Vector2)
- func (o *Physics2DDirectBodyState) SetSleepState(enabled gdnative.Bool)
- func (o *Physics2DDirectBodyState) SetTransform(transform gdnative.Transform2D)
- type Physics2DDirectBodyStateImplementer
- type Physics2DDirectBodyStateSW
- type Physics2DDirectBodyStateSWImplementer
- type Physics2DDirectSpaceState
- func (o *Physics2DDirectSpaceState) BaseClass() string
- func (o *Physics2DDirectSpaceState) CastMotion(shape Physics2DShapeQueryParametersImplementer) gdnative.Array
- func (o *Physics2DDirectSpaceState) CollideShape(shape Physics2DShapeQueryParametersImplementer, maxResults gdnative.Int) gdnative.Array
- func (o *Physics2DDirectSpaceState) GetRestInfo(shape Physics2DShapeQueryParametersImplementer) gdnative.Dictionary
- func (o *Physics2DDirectSpaceState) IntersectPoint(point gdnative.Vector2, maxResults gdnative.Int, exclude gdnative.Array, ...) gdnative.Array
- func (o *Physics2DDirectSpaceState) IntersectRay(from gdnative.Vector2, to gdnative.Vector2, exclude gdnative.Array, ...) gdnative.Dictionary
- func (o *Physics2DDirectSpaceState) IntersectShape(shape Physics2DShapeQueryParametersImplementer, maxResults gdnative.Int) gdnative.Array
- type Physics2DDirectSpaceStateImplementer
- type Physics2DServerAreaBodyStatus
- type Physics2DServerAreaParameter
- type Physics2DServerAreaSpaceOverrideMode
- type Physics2DServerBodyMode
- type Physics2DServerBodyParameter
- type Physics2DServerBodyState
- type Physics2DServerCCDMode
- type Physics2DServerDampedStringParam
- type Physics2DServerImplementer
- type Physics2DServerJointParam
- type Physics2DServerJointType
- type Physics2DServerProcessInfo
- type Physics2DServerSW
- func (o *Physics2DServerSW) AreaAddShape(area gdnative.Rid, shape gdnative.Rid, transform gdnative.Transform2D)
- func (o *Physics2DServerSW) AreaAttachObjectInstanceId(area gdnative.Rid, id gdnative.Int)
- func (o *Physics2DServerSW) AreaClearShapes(area gdnative.Rid)
- func (o *Physics2DServerSW) AreaCreate() gdnative.Rid
- func (o *Physics2DServerSW) AreaGetObjectInstanceId(area gdnative.Rid) gdnative.Int
- func (o *Physics2DServerSW) AreaGetParam(area gdnative.Rid, param gdnative.Int) gdnative.Variant
- func (o *Physics2DServerSW) AreaGetShape(area gdnative.Rid, shapeIdx gdnative.Int) gdnative.Rid
- func (o *Physics2DServerSW) AreaGetShapeCount(area gdnative.Rid) gdnative.Int
- func (o *Physics2DServerSW) AreaGetShapeTransform(area gdnative.Rid, shapeIdx gdnative.Int) gdnative.Transform2D
- func (o *Physics2DServerSW) AreaGetSpace(area gdnative.Rid) gdnative.Rid
- func (o *Physics2DServerSW) AreaGetSpaceOverrideMode(area gdnative.Rid) Physics2DServerAreaSpaceOverrideMode
- func (o *Physics2DServerSW) AreaGetTransform(area gdnative.Rid) gdnative.Transform2D
- func (o *Physics2DServerSW) AreaRemoveShape(area gdnative.Rid, shapeIdx gdnative.Int)
- func (o *Physics2DServerSW) AreaSetCollisionLayer(area gdnative.Rid, layer gdnative.Int)
- func (o *Physics2DServerSW) AreaSetCollisionMask(area gdnative.Rid, mask gdnative.Int)
- func (o *Physics2DServerSW) AreaSetMonitorCallback(area gdnative.Rid, receiver ObjectImplementer, method gdnative.String)
- func (o *Physics2DServerSW) AreaSetParam(area gdnative.Rid, param gdnative.Int, value gdnative.Variant)
- func (o *Physics2DServerSW) AreaSetShape(area gdnative.Rid, shapeIdx gdnative.Int, shape gdnative.Rid)
- func (o *Physics2DServerSW) AreaSetShapeDisabled(area gdnative.Rid, shapeIdx gdnative.Int, disable gdnative.Bool)
- func (o *Physics2DServerSW) AreaSetShapeTransform(area gdnative.Rid, shapeIdx gdnative.Int, transform gdnative.Transform2D)
- func (o *Physics2DServerSW) AreaSetSpace(area gdnative.Rid, space gdnative.Rid)
- func (o *Physics2DServerSW) AreaSetSpaceOverrideMode(area gdnative.Rid, mode gdnative.Int)
- func (o *Physics2DServerSW) AreaSetTransform(area gdnative.Rid, transform gdnative.Transform2D)
- func (o *Physics2DServerSW) BaseClass() string
- func (o *Physics2DServerSW) BodyAddCollisionException(body gdnative.Rid, exceptedBody gdnative.Rid)
- func (o *Physics2DServerSW) BodyAddForce(body gdnative.Rid, offset gdnative.Vector2, force gdnative.Vector2)
- func (o *Physics2DServerSW) BodyAddShape(body gdnative.Rid, shape gdnative.Rid, transform gdnative.Transform2D)
- func (o *Physics2DServerSW) BodyApplyImpulse(body gdnative.Rid, position gdnative.Vector2, impulse gdnative.Vector2)
- func (o *Physics2DServerSW) BodyAttachObjectInstanceId(body gdnative.Rid, id gdnative.Int)
- func (o *Physics2DServerSW) BodyClearShapes(body gdnative.Rid)
- func (o *Physics2DServerSW) BodyCreate() gdnative.Rid
- func (o *Physics2DServerSW) BodyGetCollisionLayer(body gdnative.Rid) gdnative.Int
- func (o *Physics2DServerSW) BodyGetCollisionMask(body gdnative.Rid) gdnative.Int
- func (o *Physics2DServerSW) BodyGetContinuousCollisionDetectionMode(body gdnative.Rid) Physics2DServerCCDMode
- func (o *Physics2DServerSW) BodyGetDirectState(body gdnative.Rid) Physics2DDirectBodyStateImplementer
- func (o *Physics2DServerSW) BodyGetMaxContactsReported(body gdnative.Rid) gdnative.Int
- func (o *Physics2DServerSW) BodyGetMode(body gdnative.Rid) Physics2DServerBodyMode
- func (o *Physics2DServerSW) BodyGetObjectInstanceId(body gdnative.Rid) gdnative.Int
- func (o *Physics2DServerSW) BodyGetParam(body gdnative.Rid, param gdnative.Int) gdnative.Real
- func (o *Physics2DServerSW) BodyGetShape(body gdnative.Rid, shapeIdx gdnative.Int) gdnative.Rid
- func (o *Physics2DServerSW) BodyGetShapeCount(body gdnative.Rid) gdnative.Int
- func (o *Physics2DServerSW) BodyGetShapeMetadata(body gdnative.Rid, shapeIdx gdnative.Int) gdnative.Variant
- func (o *Physics2DServerSW) BodyGetShapeTransform(body gdnative.Rid, shapeIdx gdnative.Int) gdnative.Transform2D
- func (o *Physics2DServerSW) BodyGetSpace(body gdnative.Rid) gdnative.Rid
- func (o *Physics2DServerSW) BodyGetState(body gdnative.Rid, state gdnative.Int) gdnative.Variant
- func (o *Physics2DServerSW) BodyIsOmittingForceIntegration(body gdnative.Rid) gdnative.Bool
- func (o *Physics2DServerSW) BodyRemoveCollisionException(body gdnative.Rid, exceptedBody gdnative.Rid)
- func (o *Physics2DServerSW) BodyRemoveShape(body gdnative.Rid, shapeIdx gdnative.Int)
- func (o *Physics2DServerSW) BodySetAxisVelocity(body gdnative.Rid, axisVelocity gdnative.Vector2)
- func (o *Physics2DServerSW) BodySetCollisionLayer(body gdnative.Rid, layer gdnative.Int)
- func (o *Physics2DServerSW) BodySetCollisionMask(body gdnative.Rid, mask gdnative.Int)
- func (o *Physics2DServerSW) BodySetContinuousCollisionDetectionMode(body gdnative.Rid, mode gdnative.Int)
- func (o *Physics2DServerSW) BodySetForceIntegrationCallback(body gdnative.Rid, receiver ObjectImplementer, method gdnative.String, ...)
- func (o *Physics2DServerSW) BodySetMaxContactsReported(body gdnative.Rid, amount gdnative.Int)
- func (o *Physics2DServerSW) BodySetMode(body gdnative.Rid, mode gdnative.Int)
- func (o *Physics2DServerSW) BodySetOmitForceIntegration(body gdnative.Rid, enable gdnative.Bool)
- func (o *Physics2DServerSW) BodySetParam(body gdnative.Rid, param gdnative.Int, value gdnative.Real)
- func (o *Physics2DServerSW) BodySetShape(body gdnative.Rid, shapeIdx gdnative.Int, shape gdnative.Rid)
- func (o *Physics2DServerSW) BodySetShapeAsOneWayCollision(body gdnative.Rid, shapeIdx gdnative.Int, enable gdnative.Bool)
- func (o *Physics2DServerSW) BodySetShapeDisabled(body gdnative.Rid, shapeIdx gdnative.Int, disable gdnative.Bool)
- func (o *Physics2DServerSW) BodySetShapeMetadata(body gdnative.Rid, shapeIdx gdnative.Int, metadata gdnative.Variant)
- func (o *Physics2DServerSW) BodySetShapeTransform(body gdnative.Rid, shapeIdx gdnative.Int, transform gdnative.Transform2D)
- func (o *Physics2DServerSW) BodySetSpace(body gdnative.Rid, space gdnative.Rid)
- func (o *Physics2DServerSW) BodySetState(body gdnative.Rid, state gdnative.Int, value gdnative.Variant)
- func (o *Physics2DServerSW) BodyTestMotion(body gdnative.Rid, from gdnative.Transform2D, motion gdnative.Vector2, ...) gdnative.Bool
- func (o *Physics2DServerSW) CapsuleShapeCreate() gdnative.Rid
- func (o *Physics2DServerSW) CircleShapeCreate() gdnative.Rid
- func (o *Physics2DServerSW) ConcavePolygonShapeCreate() gdnative.Rid
- func (o *Physics2DServerSW) ConvexPolygonShapeCreate() gdnative.Rid
- func (o *Physics2DServerSW) DampedSpringJointCreate(anchorA gdnative.Vector2, anchorB gdnative.Vector2, bodyA gdnative.Rid, ...) gdnative.Rid
- func (o *Physics2DServerSW) DampedStringJointGetParam(joint gdnative.Rid, param gdnative.Int) gdnative.Real
- func (o *Physics2DServerSW) DampedStringJointSetParam(joint gdnative.Rid, param gdnative.Int, value gdnative.Real)
- func (o *Physics2DServerSW) FreeRid(rid gdnative.Rid)
- func (o *Physics2DServerSW) GetProcessInfo(processInfo gdnative.Int) gdnative.Int
- func (o *Physics2DServerSW) GrooveJointCreate(groove1A gdnative.Vector2, groove2A gdnative.Vector2, anchorB gdnative.Vector2, ...) gdnative.Rid
- func (o *Physics2DServerSW) JointGetParam(joint gdnative.Rid, param gdnative.Int) gdnative.Real
- func (o *Physics2DServerSW) JointGetType(joint gdnative.Rid) Physics2DServerJointType
- func (o *Physics2DServerSW) JointSetParam(joint gdnative.Rid, param gdnative.Int, value gdnative.Real)
- func (o *Physics2DServerSW) LineShapeCreate() gdnative.Rid
- func (o *Physics2DServerSW) PinJointCreate(anchor gdnative.Vector2, bodyA gdnative.Rid, bodyB gdnative.Rid) gdnative.Rid
- func (o *Physics2DServerSW) RayShapeCreate() gdnative.Rid
- func (o *Physics2DServerSW) RectangleShapeCreate() gdnative.Rid
- func (o *Physics2DServerSW) SegmentShapeCreate() gdnative.Rid
- func (o *Physics2DServerSW) SetActive(active gdnative.Bool)
- func (o *Physics2DServerSW) ShapeGetData(shape gdnative.Rid) gdnative.Variant
- func (o *Physics2DServerSW) ShapeGetType(shape gdnative.Rid) Physics2DServerShapeType
- func (o *Physics2DServerSW) ShapeSetData(shape gdnative.Rid, data gdnative.Variant)
- func (o *Physics2DServerSW) SpaceCreate() gdnative.Rid
- func (o *Physics2DServerSW) SpaceGetDirectState(space gdnative.Rid) Physics2DDirectSpaceStateImplementer
- func (o *Physics2DServerSW) SpaceGetParam(space gdnative.Rid, param gdnative.Int) gdnative.Real
- func (o *Physics2DServerSW) SpaceIsActive(space gdnative.Rid) gdnative.Bool
- func (o *Physics2DServerSW) SpaceSetActive(space gdnative.Rid, active gdnative.Bool)
- func (o *Physics2DServerSW) SpaceSetParam(space gdnative.Rid, param gdnative.Int, value gdnative.Real)
- type Physics2DServerSWImplementer
- type Physics2DServerShapeType
- type Physics2DServerSpaceParameter
- type Physics2DShapeQueryParameters
- func (o *Physics2DShapeQueryParameters) BaseClass() string
- func (o *Physics2DShapeQueryParameters) GetCollisionLayer() gdnative.Int
- func (o *Physics2DShapeQueryParameters) GetExclude() gdnative.Array
- func (o *Physics2DShapeQueryParameters) GetMargin() gdnative.Real
- func (o *Physics2DShapeQueryParameters) GetMotion() gdnative.Vector2
- func (o *Physics2DShapeQueryParameters) GetShapeRid() gdnative.Rid
- func (o *Physics2DShapeQueryParameters) GetTransform() gdnative.Transform2D
- func (o *Physics2DShapeQueryParameters) SetCollisionLayer(collisionLayer gdnative.Int)
- func (o *Physics2DShapeQueryParameters) SetExclude(exclude gdnative.Array)
- func (o *Physics2DShapeQueryParameters) SetMargin(margin gdnative.Real)
- func (o *Physics2DShapeQueryParameters) SetMotion(motion gdnative.Vector2)
- func (o *Physics2DShapeQueryParameters) SetShape(shape ResourceImplementer)
- func (o *Physics2DShapeQueryParameters) SetShapeRid(shape gdnative.Rid)
- func (o *Physics2DShapeQueryParameters) SetTransform(transform gdnative.Transform2D)
- type Physics2DShapeQueryParametersImplementer
- type Physics2DShapeQueryResult
- func (o *Physics2DShapeQueryResult) BaseClass() string
- func (o *Physics2DShapeQueryResult) GetResultCount() gdnative.Int
- func (o *Physics2DShapeQueryResult) GetResultObject(idx gdnative.Int) ObjectImplementer
- func (o *Physics2DShapeQueryResult) GetResultObjectId(idx gdnative.Int) gdnative.Int
- func (o *Physics2DShapeQueryResult) GetResultObjectShape(idx gdnative.Int) gdnative.Int
- func (o *Physics2DShapeQueryResult) GetResultRid(idx gdnative.Int) gdnative.Rid
- type Physics2DShapeQueryResultImplementer
- type Physics2DTestMotionResult
- func (o *Physics2DTestMotionResult) BaseClass() string
- func (o *Physics2DTestMotionResult) GetCollider() ObjectImplementer
- func (o *Physics2DTestMotionResult) GetColliderId() gdnative.Int
- func (o *Physics2DTestMotionResult) GetColliderRid() gdnative.Rid
- func (o *Physics2DTestMotionResult) GetColliderShape() gdnative.Int
- func (o *Physics2DTestMotionResult) GetColliderVelocity() gdnative.Vector2
- func (o *Physics2DTestMotionResult) GetCollisionNormal() gdnative.Vector2
- func (o *Physics2DTestMotionResult) GetCollisionPoint() gdnative.Vector2
- func (o *Physics2DTestMotionResult) GetMotion() gdnative.Vector2
- func (o *Physics2DTestMotionResult) GetMotionRemainder() gdnative.Vector2
- type Physics2DTestMotionResultImplementer
- type PhysicsBody
- func (o *PhysicsBody) AddCollisionExceptionWith(body ObjectImplementer)
- func (o *PhysicsBody) BaseClass() string
- func (o *PhysicsBody) GetCollisionLayer() gdnative.Int
- func (o *PhysicsBody) GetCollisionLayerBit(bit gdnative.Int) gdnative.Bool
- func (o *PhysicsBody) GetCollisionMask() gdnative.Int
- func (o *PhysicsBody) GetCollisionMaskBit(bit gdnative.Int) gdnative.Bool
- func (o *PhysicsBody) RemoveCollisionExceptionWith(body ObjectImplementer)
- func (o *PhysicsBody) SetCollisionLayer(layer gdnative.Int)
- func (o *PhysicsBody) SetCollisionLayerBit(bit gdnative.Int, value gdnative.Bool)
- func (o *PhysicsBody) SetCollisionMask(mask gdnative.Int)
- func (o *PhysicsBody) SetCollisionMaskBit(bit gdnative.Int, value gdnative.Bool)
- func (o *PhysicsBody) X_GetLayers() gdnative.Int
- func (o *PhysicsBody) X_SetLayers(mask gdnative.Int)
- type PhysicsBody2D
- func (o *PhysicsBody2D) AddCollisionExceptionWith(body ObjectImplementer)
- func (o *PhysicsBody2D) BaseClass() string
- func (o *PhysicsBody2D) GetCollisionLayer() gdnative.Int
- func (o *PhysicsBody2D) GetCollisionLayerBit(bit gdnative.Int) gdnative.Bool
- func (o *PhysicsBody2D) GetCollisionMask() gdnative.Int
- func (o *PhysicsBody2D) GetCollisionMaskBit(bit gdnative.Int) gdnative.Bool
- func (o *PhysicsBody2D) RemoveCollisionExceptionWith(body ObjectImplementer)
- func (o *PhysicsBody2D) SetCollisionLayer(layer gdnative.Int)
- func (o *PhysicsBody2D) SetCollisionLayerBit(bit gdnative.Int, value gdnative.Bool)
- func (o *PhysicsBody2D) SetCollisionMask(mask gdnative.Int)
- func (o *PhysicsBody2D) SetCollisionMaskBit(bit gdnative.Int, value gdnative.Bool)
- func (o *PhysicsBody2D) X_GetLayers() gdnative.Int
- func (o *PhysicsBody2D) X_SetLayers(mask gdnative.Int)
- type PhysicsBody2DImplementer
- type PhysicsBodyImplementer
- type PhysicsDirectBodyState
- func (o *PhysicsDirectBodyState) AddForce(force gdnative.Vector3, position gdnative.Vector3)
- func (o *PhysicsDirectBodyState) ApplyImpulse(position gdnative.Vector3, j gdnative.Vector3)
- func (o *PhysicsDirectBodyState) ApplyTorqeImpulse(j gdnative.Vector3)
- func (o *PhysicsDirectBodyState) BaseClass() string
- func (o *PhysicsDirectBodyState) GetAngularVelocity() gdnative.Vector3
- func (o *PhysicsDirectBodyState) GetCenterOfMass() gdnative.Vector3
- func (o *PhysicsDirectBodyState) GetContactCollider(contactIdx gdnative.Int) gdnative.Rid
- func (o *PhysicsDirectBodyState) GetContactColliderId(contactIdx gdnative.Int) gdnative.Int
- func (o *PhysicsDirectBodyState) GetContactColliderObject(contactIdx gdnative.Int) ObjectImplementer
- func (o *PhysicsDirectBodyState) GetContactColliderPosition(contactIdx gdnative.Int) gdnative.Vector3
- func (o *PhysicsDirectBodyState) GetContactColliderShape(contactIdx gdnative.Int) gdnative.Int
- func (o *PhysicsDirectBodyState) GetContactColliderVelocityAtPosition(contactIdx gdnative.Int) gdnative.Vector3
- func (o *PhysicsDirectBodyState) GetContactCount() gdnative.Int
- func (o *PhysicsDirectBodyState) GetContactLocalNormal(contactIdx gdnative.Int) gdnative.Vector3
- func (o *PhysicsDirectBodyState) GetContactLocalPosition(contactIdx gdnative.Int) gdnative.Vector3
- func (o *PhysicsDirectBodyState) GetContactLocalShape(contactIdx gdnative.Int) gdnative.Int
- func (o *PhysicsDirectBodyState) GetInverseInertia() gdnative.Vector3
- func (o *PhysicsDirectBodyState) GetInverseMass() gdnative.Real
- func (o *PhysicsDirectBodyState) GetLinearVelocity() gdnative.Vector3
- func (o *PhysicsDirectBodyState) GetPrincipalInertiaAxes() gdnative.Basis
- func (o *PhysicsDirectBodyState) GetSpaceState() PhysicsDirectSpaceStateImplementer
- func (o *PhysicsDirectBodyState) GetStep() gdnative.Real
- func (o *PhysicsDirectBodyState) GetTotalAngularDamp() gdnative.Real
- func (o *PhysicsDirectBodyState) GetTotalGravity() gdnative.Vector3
- func (o *PhysicsDirectBodyState) GetTotalLinearDamp() gdnative.Real
- func (o *PhysicsDirectBodyState) GetTransform() gdnative.Transform
- func (o *PhysicsDirectBodyState) IntegrateForces()
- func (o *PhysicsDirectBodyState) IsSleeping() gdnative.Bool
- func (o *PhysicsDirectBodyState) SetAngularVelocity(velocity gdnative.Vector3)
- func (o *PhysicsDirectBodyState) SetLinearVelocity(velocity gdnative.Vector3)
- func (o *PhysicsDirectBodyState) SetSleepState(enabled gdnative.Bool)
- func (o *PhysicsDirectBodyState) SetTransform(transform gdnative.Transform)
- type PhysicsDirectBodyStateImplementer
- type PhysicsDirectSpaceState
- func (o *PhysicsDirectSpaceState) BaseClass() string
- func (o *PhysicsDirectSpaceState) CastMotion(shape PhysicsShapeQueryParametersImplementer, motion gdnative.Vector3) gdnative.Array
- func (o *PhysicsDirectSpaceState) CollideShape(shape PhysicsShapeQueryParametersImplementer, maxResults gdnative.Int) gdnative.Array
- func (o *PhysicsDirectSpaceState) GetRestInfo(shape PhysicsShapeQueryParametersImplementer) gdnative.Dictionary
- func (o *PhysicsDirectSpaceState) IntersectRay(from gdnative.Vector3, to gdnative.Vector3, exclude gdnative.Array, ...) gdnative.Dictionary
- func (o *PhysicsDirectSpaceState) IntersectShape(shape PhysicsShapeQueryParametersImplementer, maxResults gdnative.Int) gdnative.Array
- type PhysicsDirectSpaceStateImplementer
- type PhysicsServerAreaBodyStatus
- type PhysicsServerAreaParameter
- type PhysicsServerAreaSpaceOverrideMode
- type PhysicsServerBodyAxis
- type PhysicsServerBodyMode
- type PhysicsServerBodyParameter
- type PhysicsServerBodyState
- type PhysicsServerConeTwistJointParam
- type PhysicsServerG6DOFJointAxisFlag
- type PhysicsServerG6DOFJointAxisParam
- type PhysicsServerHingeJointFlag
- type PhysicsServerHingeJointParam
- type PhysicsServerImplementer
- type PhysicsServerJointType
- type PhysicsServerPinJointParam
- type PhysicsServerProcessInfo
- type PhysicsServerShapeType
- type PhysicsServerSliderJointParam
- type PhysicsServerSpaceParameter
- type PhysicsShapeQueryParameters
- func (o *PhysicsShapeQueryParameters) BaseClass() string
- func (o *PhysicsShapeQueryParameters) GetCollisionMask() gdnative.Int
- func (o *PhysicsShapeQueryParameters) GetExclude() gdnative.Array
- func (o *PhysicsShapeQueryParameters) GetMargin() gdnative.Real
- func (o *PhysicsShapeQueryParameters) GetShapeRid() gdnative.Rid
- func (o *PhysicsShapeQueryParameters) GetTransform() gdnative.Transform
- func (o *PhysicsShapeQueryParameters) SetCollisionMask(collisionMask gdnative.Int)
- func (o *PhysicsShapeQueryParameters) SetExclude(exclude gdnative.Array)
- func (o *PhysicsShapeQueryParameters) SetMargin(margin gdnative.Real)
- func (o *PhysicsShapeQueryParameters) SetShape(shape ResourceImplementer)
- func (o *PhysicsShapeQueryParameters) SetShapeRid(shape gdnative.Rid)
- func (o *PhysicsShapeQueryParameters) SetTransform(transform gdnative.Transform)
- type PhysicsShapeQueryParametersImplementer
- type PhysicsShapeQueryResult
- func (o *PhysicsShapeQueryResult) BaseClass() string
- func (o *PhysicsShapeQueryResult) GetResultCount() gdnative.Int
- func (o *PhysicsShapeQueryResult) GetResultObject(idx gdnative.Int) ObjectImplementer
- func (o *PhysicsShapeQueryResult) GetResultObjectId(idx gdnative.Int) gdnative.Int
- func (o *PhysicsShapeQueryResult) GetResultObjectShape(idx gdnative.Int) gdnative.Int
- func (o *PhysicsShapeQueryResult) GetResultRid(idx gdnative.Int) gdnative.Rid
- type PhysicsShapeQueryResultImplementer
- type PinJoint
- type PinJoint2D
- type PinJoint2DImplementer
- type PinJointImplementer
- type PinJointParam
- type PlaneMesh
- func (o *PlaneMesh) BaseClass() string
- func (o *PlaneMesh) GetSize() gdnative.Vector2
- func (o *PlaneMesh) GetSubdivideDepth() gdnative.Int
- func (o *PlaneMesh) GetSubdivideWidth() gdnative.Int
- func (o *PlaneMesh) SetSize(size gdnative.Vector2)
- func (o *PlaneMesh) SetSubdivideDepth(subdivide gdnative.Int)
- func (o *PlaneMesh) SetSubdivideWidth(subdivide gdnative.Int)
- type PlaneMeshImplementer
- type PlaneShape
- type PlaneShapeImplementer
- type PluginScript
- type PluginScriptImplementer
- type Polygon2D
- func (o *Polygon2D) BaseClass() string
- func (o *Polygon2D) GetAntialiased() gdnative.Bool
- func (o *Polygon2D) GetColor() gdnative.Color
- func (o *Polygon2D) GetInvert() gdnative.Bool
- func (o *Polygon2D) GetInvertBorder() gdnative.Real
- func (o *Polygon2D) GetOffset() gdnative.Vector2
- func (o *Polygon2D) GetPolygon() gdnative.PoolVector2Array
- func (o *Polygon2D) GetTexture() TextureImplementer
- func (o *Polygon2D) GetTextureOffset() gdnative.Vector2
- func (o *Polygon2D) GetTextureRotation() gdnative.Real
- func (o *Polygon2D) GetTextureRotationDegrees() gdnative.Real
- func (o *Polygon2D) GetTextureScale() gdnative.Vector2
- func (o *Polygon2D) GetUv() gdnative.PoolVector2Array
- func (o *Polygon2D) GetVertexColors() gdnative.PoolColorArray
- func (o *Polygon2D) SetAntialiased(antialiased gdnative.Bool)
- func (o *Polygon2D) SetColor(color gdnative.Color)
- func (o *Polygon2D) SetInvert(invert gdnative.Bool)
- func (o *Polygon2D) SetInvertBorder(invertBorder gdnative.Real)
- func (o *Polygon2D) SetOffset(offset gdnative.Vector2)
- func (o *Polygon2D) SetPolygon(polygon gdnative.PoolVector2Array)
- func (o *Polygon2D) SetTexture(texture TextureImplementer)
- func (o *Polygon2D) SetTextureOffset(textureOffset gdnative.Vector2)
- func (o *Polygon2D) SetTextureRotation(textureRotation gdnative.Real)
- func (o *Polygon2D) SetTextureRotationDegrees(textureRotation gdnative.Real)
- func (o *Polygon2D) SetTextureScale(textureScale gdnative.Vector2)
- func (o *Polygon2D) SetUv(uv gdnative.PoolVector2Array)
- func (o *Polygon2D) SetVertexColors(vertexColors gdnative.PoolColorArray)
- type Polygon2DImplementer
- type PolygonPathFinder
- func (o *PolygonPathFinder) BaseClass() string
- func (o *PolygonPathFinder) FindPath(from gdnative.Vector2, to gdnative.Vector2) gdnative.PoolVector2Array
- func (o *PolygonPathFinder) GetBounds() gdnative.Rect2
- func (o *PolygonPathFinder) GetClosestPoint(point gdnative.Vector2) gdnative.Vector2
- func (o *PolygonPathFinder) GetIntersections(from gdnative.Vector2, to gdnative.Vector2) gdnative.PoolVector2Array
- func (o *PolygonPathFinder) GetPointPenalty(idx gdnative.Int) gdnative.Real
- func (o *PolygonPathFinder) IsPointInside(point gdnative.Vector2) gdnative.Bool
- func (o *PolygonPathFinder) SetPointPenalty(idx gdnative.Int, penalty gdnative.Real)
- func (o *PolygonPathFinder) Setup(points gdnative.PoolVector2Array, connections gdnative.PoolIntArray)
- func (o *PolygonPathFinder) X_GetData() gdnative.Dictionary
- func (o *PolygonPathFinder) X_SetData(arg0 gdnative.Dictionary)
- type PolygonPathFinderImplementer
- type Popup
- func (o *Popup) BaseClass() string
- func (o *Popup) IsExclusive() gdnative.Bool
- func (o *Popup) PopupCentered(size gdnative.Vector2)
- func (o *Popup) PopupCenteredMinsize(minsize gdnative.Vector2)
- func (o *Popup) PopupCenteredRatio(ratio gdnative.Real)
- func (o *Popup) PopupMethod(bounds gdnative.Rect2)
- func (o *Popup) SetExclusive(enable gdnative.Bool)
- type PopupDialog
- type PopupDialogImplementer
- type PopupImplementer
- type PopupMenu
- func (o *PopupMenu) AddCheckItem(label gdnative.String, id gdnative.Int, accel gdnative.Int)
- func (o *PopupMenu) AddCheckShortcut(shortcut ShortCutImplementer, id gdnative.Int, global gdnative.Bool)
- func (o *PopupMenu) AddIconCheckItem(texture TextureImplementer, label gdnative.String, id gdnative.Int, ...)
- func (o *PopupMenu) AddIconCheckShortcut(texture TextureImplementer, shortcut ShortCutImplementer, id gdnative.Int, ...)
- func (o *PopupMenu) AddIconItem(texture TextureImplementer, label gdnative.String, id gdnative.Int, ...)
- func (o *PopupMenu) AddIconShortcut(texture TextureImplementer, shortcut ShortCutImplementer, id gdnative.Int, ...)
- func (o *PopupMenu) AddItem(label gdnative.String, id gdnative.Int, accel gdnative.Int)
- func (o *PopupMenu) AddSeparator()
- func (o *PopupMenu) AddShortcut(shortcut ShortCutImplementer, id gdnative.Int, global gdnative.Bool)
- func (o *PopupMenu) AddSubmenuItem(label gdnative.String, submenu gdnative.String, id gdnative.Int)
- func (o *PopupMenu) BaseClass() string
- func (o *PopupMenu) Clear()
- func (o *PopupMenu) GetItemAccelerator(idx gdnative.Int) gdnative.Int
- func (o *PopupMenu) GetItemCount() gdnative.Int
- func (o *PopupMenu) GetItemIcon(idx gdnative.Int) TextureImplementer
- func (o *PopupMenu) GetItemId(idx gdnative.Int) gdnative.Int
- func (o *PopupMenu) GetItemIndex(id gdnative.Int) gdnative.Int
- func (o *PopupMenu) GetItemMetadata(idx gdnative.Int) gdnative.Variant
- func (o *PopupMenu) GetItemShortcut(idx gdnative.Int) ShortCutImplementer
- func (o *PopupMenu) GetItemSubmenu(idx gdnative.Int) gdnative.String
- func (o *PopupMenu) GetItemText(idx gdnative.Int) gdnative.String
- func (o *PopupMenu) GetItemTooltip(idx gdnative.Int) gdnative.String
- func (o *PopupMenu) IsHideOnCheckableItemSelection() gdnative.Bool
- func (o *PopupMenu) IsHideOnItemSelection() gdnative.Bool
- func (o *PopupMenu) IsHideOnStateItemSelection() gdnative.Bool
- func (o *PopupMenu) IsItemCheckable(idx gdnative.Int) gdnative.Bool
- func (o *PopupMenu) IsItemChecked(idx gdnative.Int) gdnative.Bool
- func (o *PopupMenu) IsItemDisabled(idx gdnative.Int) gdnative.Bool
- func (o *PopupMenu) IsItemSeparator(idx gdnative.Int) gdnative.Bool
- func (o *PopupMenu) RemoveItem(idx gdnative.Int)
- func (o *PopupMenu) SetHideOnCheckableItemSelection(enable gdnative.Bool)
- func (o *PopupMenu) SetHideOnItemSelection(enable gdnative.Bool)
- func (o *PopupMenu) SetHideOnStateItemSelection(enable gdnative.Bool)
- func (o *PopupMenu) SetItemAccelerator(idx gdnative.Int, accel gdnative.Int)
- func (o *PopupMenu) SetItemAsCheckable(idx gdnative.Int, enable gdnative.Bool)
- func (o *PopupMenu) SetItemAsSeparator(idx gdnative.Int, enable gdnative.Bool)
- func (o *PopupMenu) SetItemChecked(idx gdnative.Int, checked gdnative.Bool)
- func (o *PopupMenu) SetItemDisabled(idx gdnative.Int, disabled gdnative.Bool)
- func (o *PopupMenu) SetItemIcon(idx gdnative.Int, icon TextureImplementer)
- func (o *PopupMenu) SetItemId(idx gdnative.Int, id gdnative.Int)
- func (o *PopupMenu) SetItemMetadata(idx gdnative.Int, metadata gdnative.Variant)
- func (o *PopupMenu) SetItemMultistate(idx gdnative.Int, state gdnative.Int)
- func (o *PopupMenu) SetItemShortcut(idx gdnative.Int, shortcut ShortCutImplementer, global gdnative.Bool)
- func (o *PopupMenu) SetItemSubmenu(idx gdnative.Int, submenu gdnative.String)
- func (o *PopupMenu) SetItemText(idx gdnative.Int, text gdnative.String)
- func (o *PopupMenu) SetItemTooltip(idx gdnative.Int, tooltip gdnative.String)
- func (o *PopupMenu) ToggleItemChecked(idx gdnative.Int)
- func (o *PopupMenu) ToggleItemMultistate(idx gdnative.Int)
- func (o *PopupMenu) X_GetItems() gdnative.Array
- func (o *PopupMenu) X_GuiInput(arg0 InputEventImplementer)
- func (o *PopupMenu) X_SetItems(arg0 gdnative.Array)
- func (o *PopupMenu) X_SubmenuTimeout()
- type PopupMenuImplementer
- type PopupPanel
- type PopupPanelImplementer
- type Position2D
- type Position2DImplementer
- type Position3D
- type Position3DImplementer
- type PrimitiveMesh
- type PrimitiveMeshImplementer
- type PrismMesh
- func (o *PrismMesh) BaseClass() string
- func (o *PrismMesh) GetLeftToRight() gdnative.Real
- func (o *PrismMesh) GetSize() gdnative.Vector3
- func (o *PrismMesh) GetSubdivideDepth() gdnative.Int
- func (o *PrismMesh) GetSubdivideHeight() gdnative.Int
- func (o *PrismMesh) GetSubdivideWidth() gdnative.Int
- func (o *PrismMesh) SetLeftToRight(leftToRight gdnative.Real)
- func (o *PrismMesh) SetSize(size gdnative.Vector3)
- func (o *PrismMesh) SetSubdivideDepth(segments gdnative.Int)
- func (o *PrismMesh) SetSubdivideHeight(segments gdnative.Int)
- func (o *PrismMesh) SetSubdivideWidth(segments gdnative.Int)
- type PrismMeshImplementer
- type ProceduralSky
- func (o *ProceduralSky) BaseClass() string
- func (o *ProceduralSky) GetGroundBottomColor() gdnative.Color
- func (o *ProceduralSky) GetGroundCurve() gdnative.Real
- func (o *ProceduralSky) GetGroundEnergy() gdnative.Real
- func (o *ProceduralSky) GetGroundHorizonColor() gdnative.Color
- func (o *ProceduralSky) GetSkyCurve() gdnative.Real
- func (o *ProceduralSky) GetSkyEnergy() gdnative.Real
- func (o *ProceduralSky) GetSkyHorizonColor() gdnative.Color
- func (o *ProceduralSky) GetSkyTopColor() gdnative.Color
- func (o *ProceduralSky) GetSunAngleMax() gdnative.Real
- func (o *ProceduralSky) GetSunAngleMin() gdnative.Real
- func (o *ProceduralSky) GetSunColor() gdnative.Color
- func (o *ProceduralSky) GetSunCurve() gdnative.Real
- func (o *ProceduralSky) GetSunEnergy() gdnative.Real
- func (o *ProceduralSky) GetSunLatitude() gdnative.Real
- func (o *ProceduralSky) GetSunLongitude() gdnative.Real
- func (o *ProceduralSky) GetTextureSize() ProceduralSkyTextureSize
- func (o *ProceduralSky) SetGroundBottomColor(color gdnative.Color)
- func (o *ProceduralSky) SetGroundCurve(curve gdnative.Real)
- func (o *ProceduralSky) SetGroundEnergy(energy gdnative.Real)
- func (o *ProceduralSky) SetGroundHorizonColor(color gdnative.Color)
- func (o *ProceduralSky) SetSkyCurve(curve gdnative.Real)
- func (o *ProceduralSky) SetSkyEnergy(energy gdnative.Real)
- func (o *ProceduralSky) SetSkyHorizonColor(color gdnative.Color)
- func (o *ProceduralSky) SetSkyTopColor(color gdnative.Color)
- func (o *ProceduralSky) SetSunAngleMax(degrees gdnative.Real)
- func (o *ProceduralSky) SetSunAngleMin(degrees gdnative.Real)
- func (o *ProceduralSky) SetSunColor(color gdnative.Color)
- func (o *ProceduralSky) SetSunCurve(curve gdnative.Real)
- func (o *ProceduralSky) SetSunEnergy(energy gdnative.Real)
- func (o *ProceduralSky) SetSunLatitude(degrees gdnative.Real)
- func (o *ProceduralSky) SetSunLongitude(degrees gdnative.Real)
- func (o *ProceduralSky) SetTextureSize(size gdnative.Int)
- func (o *ProceduralSky) X_ThreadDone(image ImageImplementer)
- func (o *ProceduralSky) X_UpdateSky()
- type ProceduralSkyImplementer
- type ProceduralSkyTextureSize
- type ProgressBar
- type ProgressBarImplementer
- type ProjectSettingsImplementer
- type ProximityGroup
- func (o *ProximityGroup) BaseClass() string
- func (o *ProximityGroup) Broadcast(name gdnative.String, parameters gdnative.Variant)
- func (o *ProximityGroup) GetDispatchMode() ProximityGroupDispatchMode
- func (o *ProximityGroup) GetGridRadius() gdnative.Vector3
- func (o *ProximityGroup) GetGroupName() gdnative.String
- func (o *ProximityGroup) SetDispatchMode(mode gdnative.Int)
- func (o *ProximityGroup) SetGridRadius(radius gdnative.Vector3)
- func (o *ProximityGroup) SetGroupName(name gdnative.String)
- func (o *ProximityGroup) X_ProximityGroupBroadcast(name gdnative.String, params gdnative.Variant)
- type ProximityGroupDispatchMode
- type ProximityGroupImplementer
- type ProxyTexture
- type ProxyTextureImplementer
- type QuadMesh
- type QuadMeshImplementer
- type Range
- func (o *Range) BaseClass() string
- func (o *Range) GetAsRatio() gdnative.Real
- func (o *Range) GetMax() gdnative.Real
- func (o *Range) GetMin() gdnative.Real
- func (o *Range) GetPage() gdnative.Real
- func (o *Range) GetStep() gdnative.Real
- func (o *Range) GetValue() gdnative.Real
- func (o *Range) IsRatioExp() gdnative.Bool
- func (o *Range) IsUsingRoundedValues() gdnative.Bool
- func (o *Range) SetAsRatio(value gdnative.Real)
- func (o *Range) SetExpRatio(enabled gdnative.Bool)
- func (o *Range) SetMax(maximum gdnative.Real)
- func (o *Range) SetMin(minimum gdnative.Real)
- func (o *Range) SetPage(pagesize gdnative.Real)
- func (o *Range) SetStep(step gdnative.Real)
- func (o *Range) SetUseRoundedValues(enabled gdnative.Bool)
- func (o *Range) SetValue(value gdnative.Real)
- func (o *Range) Share(with ObjectImplementer)
- func (o *Range) Unshare()
- type RangeImplementer
- type RayCast
- func (o *RayCast) AddException(node ObjectImplementer)
- func (o *RayCast) AddExceptionRid(rid gdnative.Rid)
- func (o *RayCast) BaseClass() string
- func (o *RayCast) ClearExceptions()
- func (o *RayCast) ForceRaycastUpdate()
- func (o *RayCast) GetCastTo() gdnative.Vector3
- func (o *RayCast) GetCollider() ObjectImplementer
- func (o *RayCast) GetColliderShape() gdnative.Int
- func (o *RayCast) GetCollisionMask() gdnative.Int
- func (o *RayCast) GetCollisionMaskBit(bit gdnative.Int) gdnative.Bool
- func (o *RayCast) GetCollisionNormal() gdnative.Vector3
- func (o *RayCast) GetCollisionPoint() gdnative.Vector3
- func (o *RayCast) GetExcludeParentBody() gdnative.Bool
- func (o *RayCast) IsColliding() gdnative.Bool
- func (o *RayCast) IsEnabled() gdnative.Bool
- func (o *RayCast) RemoveException(node ObjectImplementer)
- func (o *RayCast) RemoveExceptionRid(rid gdnative.Rid)
- func (o *RayCast) SetCastTo(localPoint gdnative.Vector3)
- func (o *RayCast) SetCollisionMask(mask gdnative.Int)
- func (o *RayCast) SetCollisionMaskBit(bit gdnative.Int, value gdnative.Bool)
- func (o *RayCast) SetEnabled(enabled gdnative.Bool)
- func (o *RayCast) SetExcludeParentBody(mask gdnative.Bool)
- type RayCast2D
- func (o *RayCast2D) AddException(node ObjectImplementer)
- func (o *RayCast2D) AddExceptionRid(rid gdnative.Rid)
- func (o *RayCast2D) BaseClass() string
- func (o *RayCast2D) ClearExceptions()
- func (o *RayCast2D) ForceRaycastUpdate()
- func (o *RayCast2D) GetCastTo() gdnative.Vector2
- func (o *RayCast2D) GetCollider() ObjectImplementer
- func (o *RayCast2D) GetColliderShape() gdnative.Int
- func (o *RayCast2D) GetCollisionMask() gdnative.Int
- func (o *RayCast2D) GetCollisionMaskBit(bit gdnative.Int) gdnative.Bool
- func (o *RayCast2D) GetCollisionNormal() gdnative.Vector2
- func (o *RayCast2D) GetCollisionPoint() gdnative.Vector2
- func (o *RayCast2D) GetExcludeParentBody() gdnative.Bool
- func (o *RayCast2D) IsColliding() gdnative.Bool
- func (o *RayCast2D) IsEnabled() gdnative.Bool
- func (o *RayCast2D) RemoveException(node ObjectImplementer)
- func (o *RayCast2D) RemoveExceptionRid(rid gdnative.Rid)
- func (o *RayCast2D) SetCastTo(localPoint gdnative.Vector2)
- func (o *RayCast2D) SetCollisionMask(mask gdnative.Int)
- func (o *RayCast2D) SetCollisionMaskBit(bit gdnative.Int, value gdnative.Bool)
- func (o *RayCast2D) SetEnabled(enabled gdnative.Bool)
- func (o *RayCast2D) SetExcludeParentBody(mask gdnative.Bool)
- type RayCast2DImplementer
- type RayCastImplementer
- type RayShape
- type RayShape2D
- type RayShape2DImplementer
- type RayShapeImplementer
- type RectangleShape2D
- type RectangleShape2DImplementer
- type Reference
- type ReferenceImplementer
- type ReferenceRect
- type ReferenceRectImplementer
- type ReflectionProbe
- func (o *ReflectionProbe) AreShadowsEnabled() gdnative.Bool
- func (o *ReflectionProbe) BaseClass() string
- func (o *ReflectionProbe) GetCullMask() gdnative.Int
- func (o *ReflectionProbe) GetExtents() gdnative.Vector3
- func (o *ReflectionProbe) GetIntensity() gdnative.Real
- func (o *ReflectionProbe) GetInteriorAmbient() gdnative.Color
- func (o *ReflectionProbe) GetInteriorAmbientEnergy() gdnative.Real
- func (o *ReflectionProbe) GetInteriorAmbientProbeContribution() gdnative.Real
- func (o *ReflectionProbe) GetMaxDistance() gdnative.Real
- func (o *ReflectionProbe) GetOriginOffset() gdnative.Vector3
- func (o *ReflectionProbe) GetUpdateMode() ReflectionProbeUpdateMode
- func (o *ReflectionProbe) IsBoxProjectionEnabled() gdnative.Bool
- func (o *ReflectionProbe) IsSetAsInterior() gdnative.Bool
- func (o *ReflectionProbe) SetAsInterior(enable gdnative.Bool)
- func (o *ReflectionProbe) SetCullMask(layers gdnative.Int)
- func (o *ReflectionProbe) SetEnableBoxProjection(enable gdnative.Bool)
- func (o *ReflectionProbe) SetEnableShadows(enable gdnative.Bool)
- func (o *ReflectionProbe) SetExtents(extents gdnative.Vector3)
- func (o *ReflectionProbe) SetIntensity(intensity gdnative.Real)
- func (o *ReflectionProbe) SetInteriorAmbient(ambient gdnative.Color)
- func (o *ReflectionProbe) SetInteriorAmbientEnergy(ambientEnergy gdnative.Real)
- func (o *ReflectionProbe) SetInteriorAmbientProbeContribution(ambientProbeContribution gdnative.Real)
- func (o *ReflectionProbe) SetMaxDistance(maxDistance gdnative.Real)
- func (o *ReflectionProbe) SetOriginOffset(originOffset gdnative.Vector3)
- func (o *ReflectionProbe) SetUpdateMode(mode gdnative.Int)
- type ReflectionProbeImplementer
- type ReflectionProbeUpdateMode
- type RegEx
- func (o *RegEx) BaseClass() string
- func (o *RegEx) Clear()
- func (o *RegEx) Compile(pattern gdnative.String) gdnative.Error
- func (o *RegEx) GetGroupCount() gdnative.Int
- func (o *RegEx) GetNames() gdnative.Array
- func (o *RegEx) GetPattern() gdnative.String
- func (o *RegEx) IsValid() gdnative.Bool
- func (o *RegEx) Search(subject gdnative.String, offset gdnative.Int, end gdnative.Int) RegExMatchImplementer
- func (o *RegEx) SearchAll(subject gdnative.String, offset gdnative.Int, end gdnative.Int) gdnative.Array
- func (o *RegEx) Sub(subject gdnative.String, replacement gdnative.String, all gdnative.Bool, ...) gdnative.String
- type RegExImplementer
- type RegExMatch
- func (o *RegExMatch) BaseClass() string
- func (o *RegExMatch) GetEnd(name gdnative.Variant) gdnative.Int
- func (o *RegExMatch) GetGroupCount() gdnative.Int
- func (o *RegExMatch) GetNames() gdnative.Dictionary
- func (o *RegExMatch) GetStart(name gdnative.Variant) gdnative.Int
- func (o *RegExMatch) GetString(name gdnative.Variant) gdnative.String
- func (o *RegExMatch) GetStrings() gdnative.Array
- func (o *RegExMatch) GetSubject() gdnative.String
- type RegExMatchImplementer
- type RemoteTransform
- func (o *RemoteTransform) BaseClass() string
- func (o *RemoteTransform) GetRemoteNode() gdnative.NodePath
- func (o *RemoteTransform) GetUpdatePosition() gdnative.Bool
- func (o *RemoteTransform) GetUpdateRotation() gdnative.Bool
- func (o *RemoteTransform) GetUpdateScale() gdnative.Bool
- func (o *RemoteTransform) GetUseGlobalCoordinates() gdnative.Bool
- func (o *RemoteTransform) SetRemoteNode(path gdnative.NodePath)
- func (o *RemoteTransform) SetUpdatePosition(updateRemotePosition gdnative.Bool)
- func (o *RemoteTransform) SetUpdateRotation(updateRemoteRotation gdnative.Bool)
- func (o *RemoteTransform) SetUpdateScale(updateRemoteScale gdnative.Bool)
- func (o *RemoteTransform) SetUseGlobalCoordinates(useGlobalCoordinates gdnative.Bool)
- type RemoteTransform2D
- func (o *RemoteTransform2D) BaseClass() string
- func (o *RemoteTransform2D) GetRemoteNode() gdnative.NodePath
- func (o *RemoteTransform2D) GetUpdatePosition() gdnative.Bool
- func (o *RemoteTransform2D) GetUpdateRotation() gdnative.Bool
- func (o *RemoteTransform2D) GetUpdateScale() gdnative.Bool
- func (o *RemoteTransform2D) GetUseGlobalCoordinates() gdnative.Bool
- func (o *RemoteTransform2D) SetRemoteNode(path gdnative.NodePath)
- func (o *RemoteTransform2D) SetUpdatePosition(updateRemotePosition gdnative.Bool)
- func (o *RemoteTransform2D) SetUpdateRotation(updateRemoteRotation gdnative.Bool)
- func (o *RemoteTransform2D) SetUpdateScale(updateRemoteScale gdnative.Bool)
- func (o *RemoteTransform2D) SetUseGlobalCoordinates(useGlobalCoordinates gdnative.Bool)
- type RemoteTransform2DImplementer
- type RemoteTransformImplementer
- type Resource
- func (o *Resource) BaseClass() string
- func (o *Resource) Duplicate(subresources gdnative.Bool) ResourceImplementer
- func (o *Resource) GetLocalScene() NodeImplementer
- func (o *Resource) GetName() gdnative.String
- func (o *Resource) GetPath() gdnative.String
- func (o *Resource) GetRid() gdnative.Rid
- func (o *Resource) IsLocalToScene() gdnative.Bool
- func (o *Resource) SetLocalToScene(enable gdnative.Bool)
- func (o *Resource) SetName(name gdnative.String)
- func (o *Resource) SetPath(path gdnative.String)
- func (o *Resource) SetupLocalToScene()
- func (o *Resource) TakeOverPath(path gdnative.String)
- func (o *Resource) X_SetupLocalToScene()
- type ResourceImplementer
- type ResourceImporter
- type ResourceImporterImplementer
- type ResourceImporterOGGVorbis
- type ResourceImporterOGGVorbisImplementer
- type ResourceImporterTheora
- type ResourceImporterTheoraImplementer
- type ResourceImporterWebm
- type ResourceImporterWebmImplementer
- type ResourceInteractiveLoader
- func (o *ResourceInteractiveLoader) BaseClass() string
- func (o *ResourceInteractiveLoader) GetResource() ResourceImplementer
- func (o *ResourceInteractiveLoader) GetStage() gdnative.Int
- func (o *ResourceInteractiveLoader) GetStageCount() gdnative.Int
- func (o *ResourceInteractiveLoader) Poll() gdnative.Error
- func (o *ResourceInteractiveLoader) Wait() gdnative.Error
- type ResourceInteractiveLoaderImplementer
- type ResourceLoaderImplementer
- type ResourcePreloader
- func (o *ResourcePreloader) AddResource(name gdnative.String, resource ResourceImplementer)
- func (o *ResourcePreloader) BaseClass() string
- func (o *ResourcePreloader) GetResource(name gdnative.String) ResourceImplementer
- func (o *ResourcePreloader) GetResourceList() gdnative.PoolStringArray
- func (o *ResourcePreloader) HasResource(name gdnative.String) gdnative.Bool
- func (o *ResourcePreloader) RemoveResource(name gdnative.String)
- func (o *ResourcePreloader) RenameResource(name gdnative.String, newname gdnative.String)
- func (o *ResourcePreloader) X_GetResources() gdnative.Array
- func (o *ResourcePreloader) X_SetResources(arg0 gdnative.Array)
- type ResourcePreloaderImplementer
- type ResourceSaverImplementer
- type RichTextLabel
- func (o *RichTextLabel) AddImage(image TextureImplementer)
- func (o *RichTextLabel) AddText(text gdnative.String)
- func (o *RichTextLabel) AppendBbcode(bbcode gdnative.String) gdnative.Error
- func (o *RichTextLabel) BaseClass() string
- func (o *RichTextLabel) Clear()
- func (o *RichTextLabel) GetBbcode() gdnative.String
- func (o *RichTextLabel) GetLineCount() gdnative.Int
- func (o *RichTextLabel) GetPercentVisible() gdnative.Real
- func (o *RichTextLabel) GetTabSize() gdnative.Int
- func (o *RichTextLabel) GetText() gdnative.String
- func (o *RichTextLabel) GetTotalCharacterCount() gdnative.Int
- func (o *RichTextLabel) GetVScroll() VScrollBarImplementer
- func (o *RichTextLabel) GetVisibleCharacters() gdnative.Int
- func (o *RichTextLabel) GetVisibleLineCount() gdnative.Int
- func (o *RichTextLabel) IsMetaUnderlined() gdnative.Bool
- func (o *RichTextLabel) IsOverridingSelectedFontColor() gdnative.Bool
- func (o *RichTextLabel) IsScrollActive() gdnative.Bool
- func (o *RichTextLabel) IsScrollFollowing() gdnative.Bool
- func (o *RichTextLabel) IsSelectionEnabled() gdnative.Bool
- func (o *RichTextLabel) IsUsingBbcode() gdnative.Bool
- func (o *RichTextLabel) Newline()
- func (o *RichTextLabel) ParseBbcode(bbcode gdnative.String) gdnative.Error
- func (o *RichTextLabel) Pop()
- func (o *RichTextLabel) PushAlign(align gdnative.Int)
- func (o *RichTextLabel) PushCell()
- func (o *RichTextLabel) PushColor(color gdnative.Color)
- func (o *RichTextLabel) PushFont(font FontImplementer)
- func (o *RichTextLabel) PushIndent(level gdnative.Int)
- func (o *RichTextLabel) PushList(aType gdnative.Int)
- func (o *RichTextLabel) PushMeta(data gdnative.Variant)
- func (o *RichTextLabel) PushTable(columns gdnative.Int)
- func (o *RichTextLabel) PushUnderline()
- func (o *RichTextLabel) RemoveLine(line gdnative.Int) gdnative.Bool
- func (o *RichTextLabel) ScrollToLine(line gdnative.Int)
- func (o *RichTextLabel) SetBbcode(text gdnative.String)
- func (o *RichTextLabel) SetMetaUnderline(enable gdnative.Bool)
- func (o *RichTextLabel) SetOverrideSelectedFontColor(override gdnative.Bool)
- func (o *RichTextLabel) SetPercentVisible(percentVisible gdnative.Real)
- func (o *RichTextLabel) SetScrollActive(active gdnative.Bool)
- func (o *RichTextLabel) SetScrollFollow(follow gdnative.Bool)
- func (o *RichTextLabel) SetSelectionEnabled(enabled gdnative.Bool)
- func (o *RichTextLabel) SetTabSize(spaces gdnative.Int)
- func (o *RichTextLabel) SetTableColumnExpand(column gdnative.Int, expand gdnative.Bool, ratio gdnative.Int)
- func (o *RichTextLabel) SetText(text gdnative.String)
- func (o *RichTextLabel) SetUseBbcode(enable gdnative.Bool)
- func (o *RichTextLabel) SetVisibleCharacters(amount gdnative.Int)
- func (o *RichTextLabel) X_GuiInput(arg0 InputEventImplementer)
- func (o *RichTextLabel) X_ScrollChanged(arg0 gdnative.Real)
- type RichTextLabelAlign
- type RichTextLabelImplementer
- type RichTextLabelItemType
- type RichTextLabelListType
- type RigidBody
- func (o *RigidBody) ApplyImpulse(position gdnative.Vector3, impulse gdnative.Vector3)
- func (o *RigidBody) BaseClass() string
- func (o *RigidBody) GetAngularDamp() gdnative.Real
- func (o *RigidBody) GetAngularVelocity() gdnative.Vector3
- func (o *RigidBody) GetAxisLock(axis gdnative.Int) gdnative.Bool
- func (o *RigidBody) GetBounce() gdnative.Real
- func (o *RigidBody) GetCollidingBodies() gdnative.Array
- func (o *RigidBody) GetFriction() gdnative.Real
- func (o *RigidBody) GetGravityScale() gdnative.Real
- func (o *RigidBody) GetLinearDamp() gdnative.Real
- func (o *RigidBody) GetLinearVelocity() gdnative.Vector3
- func (o *RigidBody) GetMass() gdnative.Real
- func (o *RigidBody) GetMaxContactsReported() gdnative.Int
- func (o *RigidBody) GetMode() RigidBodyMode
- func (o *RigidBody) GetWeight() gdnative.Real
- func (o *RigidBody) IsAbleToSleep() gdnative.Bool
- func (o *RigidBody) IsContactMonitorEnabled() gdnative.Bool
- func (o *RigidBody) IsSleeping() gdnative.Bool
- func (o *RigidBody) IsUsingContinuousCollisionDetection() gdnative.Bool
- func (o *RigidBody) IsUsingCustomIntegrator() gdnative.Bool
- func (o *RigidBody) SetAngularDamp(angularDamp gdnative.Real)
- func (o *RigidBody) SetAngularVelocity(angularVelocity gdnative.Vector3)
- func (o *RigidBody) SetAxisLock(axis gdnative.Int, lock gdnative.Bool)
- func (o *RigidBody) SetAxisVelocity(axisVelocity gdnative.Vector3)
- func (o *RigidBody) SetBounce(bounce gdnative.Real)
- func (o *RigidBody) SetCanSleep(ableToSleep gdnative.Bool)
- func (o *RigidBody) SetContactMonitor(enabled gdnative.Bool)
- func (o *RigidBody) SetFriction(friction gdnative.Real)
- func (o *RigidBody) SetGravityScale(gravityScale gdnative.Real)
- func (o *RigidBody) SetLinearDamp(linearDamp gdnative.Real)
- func (o *RigidBody) SetLinearVelocity(linearVelocity gdnative.Vector3)
- func (o *RigidBody) SetMass(mass gdnative.Real)
- func (o *RigidBody) SetMaxContactsReported(amount gdnative.Int)
- func (o *RigidBody) SetMode(mode gdnative.Int)
- func (o *RigidBody) SetSleeping(sleeping gdnative.Bool)
- func (o *RigidBody) SetUseContinuousCollisionDetection(enable gdnative.Bool)
- func (o *RigidBody) SetUseCustomIntegrator(enable gdnative.Bool)
- func (o *RigidBody) SetWeight(weight gdnative.Real)
- func (o *RigidBody) X_BodyEnterTree(arg0 gdnative.Int)
- func (o *RigidBody) X_BodyExitTree(arg0 gdnative.Int)
- func (o *RigidBody) X_DirectStateChanged(arg0 ObjectImplementer)
- func (o *RigidBody) X_IntegrateForces(state PhysicsDirectBodyStateImplementer)
- type RigidBody2D
- func (o *RigidBody2D) AddForce(offset gdnative.Vector2, force gdnative.Vector2)
- func (o *RigidBody2D) ApplyImpulse(offset gdnative.Vector2, impulse gdnative.Vector2)
- func (o *RigidBody2D) BaseClass() string
- func (o *RigidBody2D) GetAngularDamp() gdnative.Real
- func (o *RigidBody2D) GetAngularVelocity() gdnative.Real
- func (o *RigidBody2D) GetAppliedForce() gdnative.Vector2
- func (o *RigidBody2D) GetAppliedTorque() gdnative.Real
- func (o *RigidBody2D) GetBounce() gdnative.Real
- func (o *RigidBody2D) GetCollidingBodies() gdnative.Array
- func (o *RigidBody2D) GetContinuousCollisionDetectionMode() RigidBody2DCCDMode
- func (o *RigidBody2D) GetFriction() gdnative.Real
- func (o *RigidBody2D) GetGravityScale() gdnative.Real
- func (o *RigidBody2D) GetInertia() gdnative.Real
- func (o *RigidBody2D) GetLinearDamp() gdnative.Real
- func (o *RigidBody2D) GetLinearVelocity() gdnative.Vector2
- func (o *RigidBody2D) GetMass() gdnative.Real
- func (o *RigidBody2D) GetMaxContactsReported() gdnative.Int
- func (o *RigidBody2D) GetMode() RigidBody2DMode
- func (o *RigidBody2D) GetWeight() gdnative.Real
- func (o *RigidBody2D) IsAbleToSleep() gdnative.Bool
- func (o *RigidBody2D) IsContactMonitorEnabled() gdnative.Bool
- func (o *RigidBody2D) IsSleeping() gdnative.Bool
- func (o *RigidBody2D) IsUsingCustomIntegrator() gdnative.Bool
- func (o *RigidBody2D) SetAngularDamp(angularDamp gdnative.Real)
- func (o *RigidBody2D) SetAngularVelocity(angularVelocity gdnative.Real)
- func (o *RigidBody2D) SetAppliedForce(force gdnative.Vector2)
- func (o *RigidBody2D) SetAppliedTorque(torque gdnative.Real)
- func (o *RigidBody2D) SetAxisVelocity(axisVelocity gdnative.Vector2)
- func (o *RigidBody2D) SetBounce(bounce gdnative.Real)
- func (o *RigidBody2D) SetCanSleep(ableToSleep gdnative.Bool)
- func (o *RigidBody2D) SetContactMonitor(enabled gdnative.Bool)
- func (o *RigidBody2D) SetContinuousCollisionDetectionMode(mode gdnative.Int)
- func (o *RigidBody2D) SetFriction(friction gdnative.Real)
- func (o *RigidBody2D) SetGravityScale(gravityScale gdnative.Real)
- func (o *RigidBody2D) SetInertia(inertia gdnative.Real)
- func (o *RigidBody2D) SetLinearDamp(linearDamp gdnative.Real)
- func (o *RigidBody2D) SetLinearVelocity(linearVelocity gdnative.Vector2)
- func (o *RigidBody2D) SetMass(mass gdnative.Real)
- func (o *RigidBody2D) SetMaxContactsReported(amount gdnative.Int)
- func (o *RigidBody2D) SetMode(mode gdnative.Int)
- func (o *RigidBody2D) SetSleeping(sleeping gdnative.Bool)
- func (o *RigidBody2D) SetUseCustomIntegrator(enable gdnative.Bool)
- func (o *RigidBody2D) SetWeight(weight gdnative.Real)
- func (o *RigidBody2D) TestMotion(motion gdnative.Vector2, margin gdnative.Real, ...) gdnative.Bool
- func (o *RigidBody2D) X_BodyEnterTree(arg0 gdnative.Int)
- func (o *RigidBody2D) X_BodyExitTree(arg0 gdnative.Int)
- func (o *RigidBody2D) X_DirectStateChanged(arg0 ObjectImplementer)
- func (o *RigidBody2D) X_IntegrateForces(state Physics2DDirectBodyStateImplementer)
- type RigidBody2DCCDMode
- type RigidBody2DImplementer
- type RigidBody2DMode
- type RigidBodyImplementer
- type RigidBodyMode
- type SceneState
- func (o *SceneState) BaseClass() string
- func (o *SceneState) GetConnectionBinds(idx gdnative.Int) gdnative.Array
- func (o *SceneState) GetConnectionCount() gdnative.Int
- func (o *SceneState) GetConnectionFlags(idx gdnative.Int) gdnative.Int
- func (o *SceneState) GetConnectionMethod(idx gdnative.Int) gdnative.String
- func (o *SceneState) GetConnectionSignal(idx gdnative.Int) gdnative.String
- func (o *SceneState) GetConnectionSource(idx gdnative.Int) gdnative.NodePath
- func (o *SceneState) GetConnectionTarget(idx gdnative.Int) gdnative.NodePath
- func (o *SceneState) GetNodeCount() gdnative.Int
- func (o *SceneState) GetNodeGroups(idx gdnative.Int) gdnative.PoolStringArray
- func (o *SceneState) GetNodeIndex(idx gdnative.Int) gdnative.Int
- func (o *SceneState) GetNodeInstance(idx gdnative.Int) PackedSceneImplementer
- func (o *SceneState) GetNodeInstancePlaceholder(idx gdnative.Int) gdnative.String
- func (o *SceneState) GetNodeName(idx gdnative.Int) gdnative.String
- func (o *SceneState) GetNodeOwnerPath(idx gdnative.Int) gdnative.NodePath
- func (o *SceneState) GetNodePath(idx gdnative.Int, forParent gdnative.Bool) gdnative.NodePath
- func (o *SceneState) GetNodePropertyCount(idx gdnative.Int) gdnative.Int
- func (o *SceneState) GetNodePropertyName(idx gdnative.Int, propIdx gdnative.Int) gdnative.String
- func (o *SceneState) GetNodePropertyValue(idx gdnative.Int, propIdx gdnative.Int) gdnative.Variant
- func (o *SceneState) GetNodeType(idx gdnative.Int) gdnative.String
- func (o *SceneState) IsNodeInstancePlaceholder(idx gdnative.Int) gdnative.Bool
- type SceneStateGenEditState
- type SceneStateImplementer
- type SceneTree
- func (o *SceneTree) BaseClass() string
- func (o *SceneTree) CallGroup(group gdnative.String, method gdnative.String) gdnative.Variant
- func (o *SceneTree) CallGroupFlags(flags gdnative.Int, group gdnative.String, method gdnative.String) gdnative.Variant
- func (o *SceneTree) ChangeScene(path gdnative.String) gdnative.Error
- func (o *SceneTree) ChangeSceneTo(packedScene PackedSceneImplementer) gdnative.Error
- func (o *SceneTree) CreateTimer(timeSec gdnative.Real, pauseModeProcess gdnative.Bool) SceneTreeTimerImplementer
- func (o *SceneTree) GetCurrentScene() NodeImplementer
- func (o *SceneTree) GetEditedSceneRoot() NodeImplementer
- func (o *SceneTree) GetFrame() gdnative.Int
- func (o *SceneTree) GetNetworkConnectedPeers() gdnative.PoolIntArray
- func (o *SceneTree) GetNetworkPeer() NetworkedMultiplayerPeerImplementer
- func (o *SceneTree) GetNetworkUniqueId() gdnative.Int
- func (o *SceneTree) GetNodeCount() gdnative.Int
- func (o *SceneTree) GetNodesInGroup(group gdnative.String) gdnative.Array
- func (o *SceneTree) GetRoot() ViewportImplementer
- func (o *SceneTree) GetRpcSenderId() gdnative.Int
- func (o *SceneTree) HasGroup(name gdnative.String) gdnative.Bool
- func (o *SceneTree) HasNetworkPeer() gdnative.Bool
- func (o *SceneTree) IsDebuggingCollisionsHint() gdnative.Bool
- func (o *SceneTree) IsDebuggingNavigationHint() gdnative.Bool
- func (o *SceneTree) IsInputHandled() gdnative.Bool
- func (o *SceneTree) IsNetworkServer() gdnative.Bool
- func (o *SceneTree) IsPaused() gdnative.Bool
- func (o *SceneTree) IsRefusingNewNetworkConnections() gdnative.Bool
- func (o *SceneTree) IsUsingFontOversampling() gdnative.Bool
- func (o *SceneTree) NotifyGroup(group gdnative.String, notification gdnative.Int)
- func (o *SceneTree) NotifyGroupFlags(callFlags gdnative.Int, group gdnative.String, notification gdnative.Int)
- func (o *SceneTree) QueueDelete(obj ObjectImplementer)
- func (o *SceneTree) Quit()
- func (o *SceneTree) ReloadCurrentScene() gdnative.Error
- func (o *SceneTree) SetAutoAcceptQuit(enabled gdnative.Bool)
- func (o *SceneTree) SetCurrentScene(childNode ObjectImplementer)
- func (o *SceneTree) SetDebugCollisionsHint(enable gdnative.Bool)
- func (o *SceneTree) SetDebugNavigationHint(enable gdnative.Bool)
- func (o *SceneTree) SetEditedSceneRoot(scene ObjectImplementer)
- func (o *SceneTree) SetGroup(group gdnative.String, property gdnative.String, value gdnative.Variant)
- func (o *SceneTree) SetGroupFlags(callFlags gdnative.Int, group gdnative.String, property gdnative.String, ...)
- func (o *SceneTree) SetInputAsHandled()
- func (o *SceneTree) SetNetworkPeer(peer NetworkedMultiplayerPeerImplementer)
- func (o *SceneTree) SetPause(enable gdnative.Bool)
- func (o *SceneTree) SetQuitOnGoBack(enabled gdnative.Bool)
- func (o *SceneTree) SetRefuseNewNetworkConnections(refuse gdnative.Bool)
- func (o *SceneTree) SetScreenStretch(mode gdnative.Int, aspect gdnative.Int, minsize gdnative.Vector2, ...)
- func (o *SceneTree) SetUseFontOversampling(enable gdnative.Bool)
- func (o *SceneTree) X_ChangeScene(arg0 ObjectImplementer)
- func (o *SceneTree) X_ConnectedToServer()
- func (o *SceneTree) X_ConnectionFailed()
- func (o *SceneTree) X_NetworkPeerConnected(arg0 gdnative.Int)
- func (o *SceneTree) X_NetworkPeerDisconnected(arg0 gdnative.Int)
- func (o *SceneTree) X_ServerDisconnected()
- type SceneTreeGroupCallFlags
- type SceneTreeImplementer
- type SceneTreeStretchAspect
- type SceneTreeStretchMode
- type SceneTreeTimer
- type SceneTreeTimerImplementer
- type Script
- func (o *Script) BaseClass() string
- func (o *Script) CanInstance() gdnative.Bool
- func (o *Script) GetBaseScript() ScriptImplementer
- func (o *Script) GetInstanceBaseType() gdnative.String
- func (o *Script) GetSourceCode() gdnative.String
- func (o *Script) HasScriptSignal(signalName gdnative.String) gdnative.Bool
- func (o *Script) HasSourceCode() gdnative.Bool
- func (o *Script) InstanceHas(baseObject ObjectImplementer) gdnative.Bool
- func (o *Script) IsTool() gdnative.Bool
- func (o *Script) Reload(keepState gdnative.Bool) gdnative.Error
- func (o *Script) SetSourceCode(source gdnative.String)
- type ScriptEditor
- func (o *ScriptEditor) BaseClass() string
- func (o *ScriptEditor) CanDropDataFw(point gdnative.Vector2, data gdnative.Variant, from ObjectImplementer) gdnative.Bool
- func (o *ScriptEditor) DropDataFw(point gdnative.Vector2, data gdnative.Variant, from ObjectImplementer)
- func (o *ScriptEditor) GetCurrentScript() ScriptImplementer
- func (o *ScriptEditor) GetDragDataFw(point gdnative.Vector2, from ObjectImplementer) gdnative.Variant
- func (o *ScriptEditor) GetOpenScripts() gdnative.Array
- func (o *ScriptEditor) OpenScriptCreateDialog(baseName gdnative.String, basePath gdnative.String)
- func (o *ScriptEditor) X_AddCallback(arg0 ObjectImplementer, arg1 gdnative.String, arg2 gdnative.PoolStringArray)
- func (o *ScriptEditor) X_AutosaveScripts()
- func (o *ScriptEditor) X_Breaked(arg0 gdnative.Bool, arg1 gdnative.Bool)
- func (o *ScriptEditor) X_CloseAllTabs()
- func (o *ScriptEditor) X_CloseCurrentTab()
- func (o *ScriptEditor) X_CloseDiscardCurrentTab(arg0 gdnative.String)
- func (o *ScriptEditor) X_CloseDocsTab()
- func (o *ScriptEditor) X_CloseOtherTabs()
- func (o *ScriptEditor) X_CopyScriptPath()
- func (o *ScriptEditor) X_EditorPause()
- func (o *ScriptEditor) X_EditorPlay()
- func (o *ScriptEditor) X_EditorSettingsChanged()
- func (o *ScriptEditor) X_EditorStop()
- func (o *ScriptEditor) X_FileDialogAction(arg0 gdnative.String)
- func (o *ScriptEditor) X_GetDebugTooltip(arg0 gdnative.String, arg1 ObjectImplementer) gdnative.String
- func (o *ScriptEditor) X_GotoScriptLine(arg0 ReferenceImplementer, arg1 gdnative.Int)
- func (o *ScriptEditor) X_GotoScriptLine2(arg0 gdnative.Int)
- func (o *ScriptEditor) X_HelpClassGoto(arg0 gdnative.String)
- func (o *ScriptEditor) X_HelpClassOpen(arg0 gdnative.String)
- func (o *ScriptEditor) X_HelpIndex(arg0 gdnative.String)
- func (o *ScriptEditor) X_HelpOverviewSelected(arg0 gdnative.Int)
- func (o *ScriptEditor) X_HelpSearch(arg0 gdnative.String)
- func (o *ScriptEditor) X_HistoryBack()
- func (o *ScriptEditor) X_HistoryForward()
- func (o *ScriptEditor) X_LiveAutoReloadRunningScripts()
- func (o *ScriptEditor) X_MembersOverviewSelected(arg0 gdnative.Int)
- func (o *ScriptEditor) X_MenuOption(arg0 gdnative.Int)
- func (o *ScriptEditor) X_OpenRecentScript(arg0 gdnative.Int)
- func (o *ScriptEditor) X_ReloadScripts()
- func (o *ScriptEditor) X_RequestHelp(arg0 gdnative.String)
- func (o *ScriptEditor) X_ResSavedCallback(arg0 ResourceImplementer)
- func (o *ScriptEditor) X_ResaveScripts(arg0 gdnative.String)
- func (o *ScriptEditor) X_SaveHistory()
- func (o *ScriptEditor) X_ScriptChanged()
- func (o *ScriptEditor) X_ScriptCreated(arg0 ScriptImplementer)
- func (o *ScriptEditor) X_ScriptListGuiInput(arg0 InputEventImplementer)
- func (o *ScriptEditor) X_ScriptSelected(arg0 gdnative.Int)
- func (o *ScriptEditor) X_ScriptSplitDragged(arg0 gdnative.Real)
- func (o *ScriptEditor) X_ShowDebugger(arg0 gdnative.Bool)
- func (o *ScriptEditor) X_TabChanged(arg0 gdnative.Int)
- func (o *ScriptEditor) X_TreeChanged()
- func (o *ScriptEditor) X_UnhandledInput(arg0 InputEventImplementer)
- func (o *ScriptEditor) X_UpdateRecentScripts()
- func (o *ScriptEditor) X_UpdateScriptNames()
- type ScriptEditorImplementer
- type ScriptImplementer
- type ScrollBar
- func (o *ScrollBar) BaseClass() string
- func (o *ScrollBar) GetCustomStep() gdnative.Real
- func (o *ScrollBar) SetCustomStep(step gdnative.Real)
- func (o *ScrollBar) X_DragSlaveExit()
- func (o *ScrollBar) X_DragSlaveInput(arg0 InputEventImplementer)
- func (o *ScrollBar) X_GuiInput(arg0 InputEventImplementer)
- type ScrollBarImplementer
- type ScrollContainer
- func (o *ScrollContainer) BaseClass() string
- func (o *ScrollContainer) GetHScroll() gdnative.Int
- func (o *ScrollContainer) GetVScroll() gdnative.Int
- func (o *ScrollContainer) IsHScrollEnabled() gdnative.Bool
- func (o *ScrollContainer) IsVScrollEnabled() gdnative.Bool
- func (o *ScrollContainer) SetEnableHScroll(enable gdnative.Bool)
- func (o *ScrollContainer) SetEnableVScroll(enable gdnative.Bool)
- func (o *ScrollContainer) SetHScroll(value gdnative.Int)
- func (o *ScrollContainer) SetVScroll(value gdnative.Int)
- func (o *ScrollContainer) X_GuiInput(arg0 InputEventImplementer)
- func (o *ScrollContainer) X_ScrollMoved(arg0 gdnative.Real)
- func (o *ScrollContainer) X_UpdateScrollbarPosition()
- type ScrollContainerImplementer
- type SegmentShape2D
- type SegmentShape2DImplementer
- type Semaphore
- type SemaphoreImplementer
- type Separator
- type SeparatorImplementer
- type Shader
- func (o *Shader) BaseClass() string
- func (o *Shader) GetCode() gdnative.String
- func (o *Shader) GetDefaultTextureParam(param gdnative.String) TextureImplementer
- func (o *Shader) GetMode() ShaderMode
- func (o *Shader) HasParam(name gdnative.String) gdnative.Bool
- func (o *Shader) SetCode(code gdnative.String)
- func (o *Shader) SetDefaultTextureParam(param gdnative.String, texture TextureImplementer)
- type ShaderImplementer
- type ShaderMaterial
- func (o *ShaderMaterial) BaseClass() string
- func (o *ShaderMaterial) GetShader() ShaderImplementer
- func (o *ShaderMaterial) GetShaderParam(param gdnative.String) gdnative.Variant
- func (o *ShaderMaterial) SetShader(shader ShaderImplementer)
- func (o *ShaderMaterial) SetShaderParam(param gdnative.String, value gdnative.Variant)
- type ShaderMaterialImplementer
- type ShaderMode
- type Shape
- type Shape2D
- func (o *Shape2D) BaseClass() string
- func (o *Shape2D) Collide(localXform gdnative.Transform2D, withShape Shape2DImplementer, ...) gdnative.Bool
- func (o *Shape2D) CollideAndGetContacts(localXform gdnative.Transform2D, withShape Shape2DImplementer, ...) gdnative.Variant
- func (o *Shape2D) CollideWithMotion(localXform gdnative.Transform2D, localMotion gdnative.Vector2, ...) gdnative.Bool
- func (o *Shape2D) CollideWithMotionAndGetContacts(localXform gdnative.Transform2D, localMotion gdnative.Vector2, ...) gdnative.Variant
- func (o *Shape2D) GetCustomSolverBias() gdnative.Real
- func (o *Shape2D) SetCustomSolverBias(bias gdnative.Real)
- type Shape2DImplementer
- type ShapeImplementer
- type ShortCut
- func (o *ShortCut) BaseClass() string
- func (o *ShortCut) GetAsText() gdnative.String
- func (o *ShortCut) GetShortcut() InputEventImplementer
- func (o *ShortCut) IsShortcut(event InputEventImplementer) gdnative.Bool
- func (o *ShortCut) IsValid() gdnative.Bool
- func (o *ShortCut) SetShortcut(event InputEventImplementer)
- type ShortCutImplementer
- type Signal
- type SignalArg
- type SignalDefaultArg
- type Skeleton
- func (o *Skeleton) AddBone(name gdnative.String)
- func (o *Skeleton) BaseClass() string
- func (o *Skeleton) BindChildNodeToBone(boneIdx gdnative.Int, node ObjectImplementer)
- func (o *Skeleton) ClearBones()
- func (o *Skeleton) FindBone(name gdnative.String) gdnative.Int
- func (o *Skeleton) GetBoneCount() gdnative.Int
- func (o *Skeleton) GetBoneCustomPose(boneIdx gdnative.Int) gdnative.Transform
- func (o *Skeleton) GetBoneGlobalPose(boneIdx gdnative.Int) gdnative.Transform
- func (o *Skeleton) GetBoneName(boneIdx gdnative.Int) gdnative.String
- func (o *Skeleton) GetBoneParent(boneIdx gdnative.Int) gdnative.Int
- func (o *Skeleton) GetBonePose(boneIdx gdnative.Int) gdnative.Transform
- func (o *Skeleton) GetBoneRest(boneIdx gdnative.Int) gdnative.Transform
- func (o *Skeleton) GetBoneTransform(boneIdx gdnative.Int) gdnative.Transform
- func (o *Skeleton) GetBoundChildNodesToBone(boneIdx gdnative.Int) gdnative.Array
- func (o *Skeleton) IsBoneRestDisabled(boneIdx gdnative.Int) gdnative.Bool
- func (o *Skeleton) SetBoneCustomPose(boneIdx gdnative.Int, customPose gdnative.Transform)
- func (o *Skeleton) SetBoneDisableRest(boneIdx gdnative.Int, disable gdnative.Bool)
- func (o *Skeleton) SetBoneGlobalPose(boneIdx gdnative.Int, pose gdnative.Transform)
- func (o *Skeleton) SetBoneParent(boneIdx gdnative.Int, parentIdx gdnative.Int)
- func (o *Skeleton) SetBonePose(boneIdx gdnative.Int, pose gdnative.Transform)
- func (o *Skeleton) SetBoneRest(boneIdx gdnative.Int, rest gdnative.Transform)
- func (o *Skeleton) UnbindChildNodeFromBone(boneIdx gdnative.Int, node ObjectImplementer)
- func (o *Skeleton) UnparentBoneAndRest(boneIdx gdnative.Int)
- type SkeletonImplementer
- type Sky
- type SkyImplementer
- type SkyRadianceSize
- type Slider
- func (o *Slider) BaseClass() string
- func (o *Slider) GetTicks() gdnative.Int
- func (o *Slider) GetTicksOnBorders() gdnative.Bool
- func (o *Slider) IsEditable() gdnative.Bool
- func (o *Slider) SetEditable(editable gdnative.Bool)
- func (o *Slider) SetTicks(count gdnative.Int)
- func (o *Slider) SetTicksOnBorders(ticksOnBorder gdnative.Bool)
- func (o *Slider) X_GuiInput(arg0 InputEventImplementer)
- type SliderImplementer
- type SliderJoint
- func (o *SliderJoint) BaseClass() string
- func (o *SliderJoint) GetParam(param gdnative.Int) gdnative.Real
- func (o *SliderJoint) SetParam(param gdnative.Int, value gdnative.Real)
- func (o *SliderJoint) X_GetLowerLimitAngular() gdnative.Real
- func (o *SliderJoint) X_GetUpperLimitAngular() gdnative.Real
- func (o *SliderJoint) X_SetLowerLimitAngular(lowerLimitAngular gdnative.Real)
- func (o *SliderJoint) X_SetUpperLimitAngular(upperLimitAngular gdnative.Real)
- type SliderJointImplementer
- type SliderJointParam
- type Spatial
- func (o *Spatial) BaseClass() string
- func (o *Spatial) GetGizmo() SpatialGizmoImplementer
- func (o *Spatial) GetGlobalTransform() gdnative.Transform
- func (o *Spatial) GetParentSpatial() SpatialImplementer
- func (o *Spatial) GetRotation() gdnative.Vector3
- func (o *Spatial) GetRotationDegrees() gdnative.Vector3
- func (o *Spatial) GetScale() gdnative.Vector3
- func (o *Spatial) GetTransform() gdnative.Transform
- func (o *Spatial) GetTranslation() gdnative.Vector3
- func (o *Spatial) GetWorld() WorldImplementer
- func (o *Spatial) GlobalRotate(axis gdnative.Vector3, angle gdnative.Real)
- func (o *Spatial) GlobalScale(scale gdnative.Vector3)
- func (o *Spatial) GlobalTranslate(offset gdnative.Vector3)
- func (o *Spatial) Hide()
- func (o *Spatial) IsLocalTransformNotificationEnabled() gdnative.Bool
- func (o *Spatial) IsSetAsToplevel() gdnative.Bool
- func (o *Spatial) IsTransformNotificationEnabled() gdnative.Bool
- func (o *Spatial) IsVisible() gdnative.Bool
- func (o *Spatial) IsVisibleInTree() gdnative.Bool
- func (o *Spatial) LookAt(target gdnative.Vector3, up gdnative.Vector3)
- func (o *Spatial) LookAtFromPosition(position gdnative.Vector3, target gdnative.Vector3, up gdnative.Vector3)
- func (o *Spatial) Orthonormalize()
- func (o *Spatial) Rotate(axis gdnative.Vector3, angle gdnative.Real)
- func (o *Spatial) RotateObjectLocal(axis gdnative.Vector3, angle gdnative.Real)
- func (o *Spatial) RotateX(angle gdnative.Real)
- func (o *Spatial) RotateY(angle gdnative.Real)
- func (o *Spatial) RotateZ(angle gdnative.Real)
- func (o *Spatial) ScaleObjectLocal(scale gdnative.Vector3)
- func (o *Spatial) SetAsToplevel(enable gdnative.Bool)
- func (o *Spatial) SetGizmo(gizmo SpatialGizmoImplementer)
- func (o *Spatial) SetGlobalTransform(global gdnative.Transform)
- func (o *Spatial) SetIdentity()
- func (o *Spatial) SetIgnoreTransformNotification(enabled gdnative.Bool)
- func (o *Spatial) SetNotifyLocalTransform(enable gdnative.Bool)
- func (o *Spatial) SetNotifyTransform(enable gdnative.Bool)
- func (o *Spatial) SetRotation(euler gdnative.Vector3)
- func (o *Spatial) SetRotationDegrees(eulerDegrees gdnative.Vector3)
- func (o *Spatial) SetScale(scale gdnative.Vector3)
- func (o *Spatial) SetTransform(local gdnative.Transform)
- func (o *Spatial) SetTranslation(translation gdnative.Vector3)
- func (o *Spatial) SetVisible(visible gdnative.Bool)
- func (o *Spatial) Show()
- func (o *Spatial) ToGlobal(localPoint gdnative.Vector3) gdnative.Vector3
- func (o *Spatial) ToLocal(globalPoint gdnative.Vector3) gdnative.Vector3
- func (o *Spatial) Translate(offset gdnative.Vector3)
- func (o *Spatial) TranslateObjectLocal(offset gdnative.Vector3)
- func (o *Spatial) UpdateGizmo()
- func (o *Spatial) X_UpdateGizmo()
- type SpatialGizmo
- type SpatialGizmoImplementer
- type SpatialImplementer
- type SpatialMaterial
- func (o *SpatialMaterial) BaseClass() string
- func (o *SpatialMaterial) GetAlbedo() gdnative.Color
- func (o *SpatialMaterial) GetAlphaScissorThreshold() gdnative.Real
- func (o *SpatialMaterial) GetAnisotropy() gdnative.Real
- func (o *SpatialMaterial) GetAoLightAffect() gdnative.Real
- func (o *SpatialMaterial) GetAoTextureChannel() SpatialMaterialTextureChannel
- func (o *SpatialMaterial) GetBillboardMode() SpatialMaterialBillboardMode
- func (o *SpatialMaterial) GetBlendMode() SpatialMaterialBlendMode
- func (o *SpatialMaterial) GetClearcoat() gdnative.Real
- func (o *SpatialMaterial) GetClearcoatGloss() gdnative.Real
- func (o *SpatialMaterial) GetCullMode() SpatialMaterialCullMode
- func (o *SpatialMaterial) GetDepthDeepParallaxMaxLayers() gdnative.Int
- func (o *SpatialMaterial) GetDepthDeepParallaxMinLayers() gdnative.Int
- func (o *SpatialMaterial) GetDepthDrawMode() SpatialMaterialDepthDrawMode
- func (o *SpatialMaterial) GetDepthScale() gdnative.Real
- func (o *SpatialMaterial) GetDetailBlendMode() SpatialMaterialBlendMode
- func (o *SpatialMaterial) GetDetailUv() SpatialMaterialDetailUV
- func (o *SpatialMaterial) GetDiffuseMode() SpatialMaterialDiffuseMode
- func (o *SpatialMaterial) GetDistanceFadeMaxDistance() gdnative.Real
- func (o *SpatialMaterial) GetDistanceFadeMinDistance() gdnative.Real
- func (o *SpatialMaterial) GetEmission() gdnative.Color
- func (o *SpatialMaterial) GetEmissionEnergy() gdnative.Real
- func (o *SpatialMaterial) GetEmissionOperator() SpatialMaterialEmissionOperator
- func (o *SpatialMaterial) GetFeature(feature gdnative.Int) gdnative.Bool
- func (o *SpatialMaterial) GetFlag(flag gdnative.Int) gdnative.Bool
- func (o *SpatialMaterial) GetGrow() gdnative.Real
- func (o *SpatialMaterial) GetLineWidth() gdnative.Real
- func (o *SpatialMaterial) GetMetallic() gdnative.Real
- func (o *SpatialMaterial) GetMetallicTextureChannel() SpatialMaterialTextureChannel
- func (o *SpatialMaterial) GetNormalScale() gdnative.Real
- func (o *SpatialMaterial) GetParticlesAnimHFrames() gdnative.Int
- func (o *SpatialMaterial) GetParticlesAnimLoop() gdnative.Int
- func (o *SpatialMaterial) GetParticlesAnimVFrames() gdnative.Int
- func (o *SpatialMaterial) GetPointSize() gdnative.Real
- func (o *SpatialMaterial) GetProximityFadeDistance() gdnative.Real
- func (o *SpatialMaterial) GetRefraction() gdnative.Real
- func (o *SpatialMaterial) GetRefractionTextureChannel() SpatialMaterialTextureChannel
- func (o *SpatialMaterial) GetRim() gdnative.Real
- func (o *SpatialMaterial) GetRimTint() gdnative.Real
- func (o *SpatialMaterial) GetRoughness() gdnative.Real
- func (o *SpatialMaterial) GetRoughnessTextureChannel() SpatialMaterialTextureChannel
- func (o *SpatialMaterial) GetSpecular() gdnative.Real
- func (o *SpatialMaterial) GetSpecularMode() SpatialMaterialSpecularMode
- func (o *SpatialMaterial) GetSubsurfaceScatteringStrength() gdnative.Real
- func (o *SpatialMaterial) GetTexture(param gdnative.Int) TextureImplementer
- func (o *SpatialMaterial) GetTransmission() gdnative.Color
- func (o *SpatialMaterial) GetUv1Offset() gdnative.Vector3
- func (o *SpatialMaterial) GetUv1Scale() gdnative.Vector3
- func (o *SpatialMaterial) GetUv1TriplanarBlendSharpness() gdnative.Real
- func (o *SpatialMaterial) GetUv2Offset() gdnative.Vector3
- func (o *SpatialMaterial) GetUv2Scale() gdnative.Vector3
- func (o *SpatialMaterial) GetUv2TriplanarBlendSharpness() gdnative.Real
- func (o *SpatialMaterial) IsDepthDeepParallaxEnabled() gdnative.Bool
- func (o *SpatialMaterial) IsDistanceFadeEnabled() gdnative.Bool
- func (o *SpatialMaterial) IsGrowEnabled() gdnative.Bool
- func (o *SpatialMaterial) IsProximityFadeEnabled() gdnative.Bool
- func (o *SpatialMaterial) SetAlbedo(albedo gdnative.Color)
- func (o *SpatialMaterial) SetAlphaScissorThreshold(threshold gdnative.Real)
- func (o *SpatialMaterial) SetAnisotropy(anisotropy gdnative.Real)
- func (o *SpatialMaterial) SetAoLightAffect(amount gdnative.Real)
- func (o *SpatialMaterial) SetAoTextureChannel(channel gdnative.Int)
- func (o *SpatialMaterial) SetBillboardMode(mode gdnative.Int)
- func (o *SpatialMaterial) SetBlendMode(blendMode gdnative.Int)
- func (o *SpatialMaterial) SetClearcoat(clearcoat gdnative.Real)
- func (o *SpatialMaterial) SetClearcoatGloss(clearcoatGloss gdnative.Real)
- func (o *SpatialMaterial) SetCullMode(cullMode gdnative.Int)
- func (o *SpatialMaterial) SetDepthDeepParallax(enable gdnative.Bool)
- func (o *SpatialMaterial) SetDepthDeepParallaxMaxLayers(layer gdnative.Int)
- func (o *SpatialMaterial) SetDepthDeepParallaxMinLayers(layer gdnative.Int)
- func (o *SpatialMaterial) SetDepthDrawMode(depthDrawMode gdnative.Int)
- func (o *SpatialMaterial) SetDepthScale(depthScale gdnative.Real)
- func (o *SpatialMaterial) SetDetailBlendMode(detailBlendMode gdnative.Int)
- func (o *SpatialMaterial) SetDetailUv(detailUv gdnative.Int)
- func (o *SpatialMaterial) SetDiffuseMode(diffuseMode gdnative.Int)
- func (o *SpatialMaterial) SetDistanceFade(enabled gdnative.Bool)
- func (o *SpatialMaterial) SetDistanceFadeMaxDistance(distance gdnative.Real)
- func (o *SpatialMaterial) SetDistanceFadeMinDistance(distance gdnative.Real)
- func (o *SpatialMaterial) SetEmission(emission gdnative.Color)
- func (o *SpatialMaterial) SetEmissionEnergy(emissionEnergy gdnative.Real)
- func (o *SpatialMaterial) SetEmissionOperator(operator gdnative.Int)
- func (o *SpatialMaterial) SetFeature(feature gdnative.Int, enable gdnative.Bool)
- func (o *SpatialMaterial) SetFlag(flag gdnative.Int, enable gdnative.Bool)
- func (o *SpatialMaterial) SetGrow(amount gdnative.Real)
- func (o *SpatialMaterial) SetGrowEnabled(enable gdnative.Bool)
- func (o *SpatialMaterial) SetLineWidth(lineWidth gdnative.Real)
- func (o *SpatialMaterial) SetMetallic(metallic gdnative.Real)
- func (o *SpatialMaterial) SetMetallicTextureChannel(channel gdnative.Int)
- func (o *SpatialMaterial) SetNormalScale(normalScale gdnative.Real)
- func (o *SpatialMaterial) SetParticlesAnimHFrames(frames gdnative.Int)
- func (o *SpatialMaterial) SetParticlesAnimLoop(frames gdnative.Int)
- func (o *SpatialMaterial) SetParticlesAnimVFrames(frames gdnative.Int)
- func (o *SpatialMaterial) SetPointSize(pointSize gdnative.Real)
- func (o *SpatialMaterial) SetProximityFade(enabled gdnative.Bool)
- func (o *SpatialMaterial) SetProximityFadeDistance(distance gdnative.Real)
- func (o *SpatialMaterial) SetRefraction(refraction gdnative.Real)
- func (o *SpatialMaterial) SetRefractionTextureChannel(channel gdnative.Int)
- func (o *SpatialMaterial) SetRim(rim gdnative.Real)
- func (o *SpatialMaterial) SetRimTint(rimTint gdnative.Real)
- func (o *SpatialMaterial) SetRoughness(roughness gdnative.Real)
- func (o *SpatialMaterial) SetRoughnessTextureChannel(channel gdnative.Int)
- func (o *SpatialMaterial) SetSpecular(specular gdnative.Real)
- func (o *SpatialMaterial) SetSpecularMode(specularMode gdnative.Int)
- func (o *SpatialMaterial) SetSubsurfaceScatteringStrength(strength gdnative.Real)
- func (o *SpatialMaterial) SetTexture(param gdnative.Int, texture TextureImplementer)
- func (o *SpatialMaterial) SetTransmission(transmission gdnative.Color)
- func (o *SpatialMaterial) SetUv1Offset(offset gdnative.Vector3)
- func (o *SpatialMaterial) SetUv1Scale(scale gdnative.Vector3)
- func (o *SpatialMaterial) SetUv1TriplanarBlendSharpness(sharpness gdnative.Real)
- func (o *SpatialMaterial) SetUv2Offset(offset gdnative.Vector3)
- func (o *SpatialMaterial) SetUv2Scale(scale gdnative.Vector3)
- func (o *SpatialMaterial) SetUv2TriplanarBlendSharpness(sharpness gdnative.Real)
- type SpatialMaterialBillboardMode
- type SpatialMaterialBlendMode
- type SpatialMaterialCullMode
- type SpatialMaterialDepthDrawMode
- type SpatialMaterialDetailUV
- type SpatialMaterialDiffuseMode
- type SpatialMaterialEmissionOperator
- type SpatialMaterialFeature
- type SpatialMaterialFlags
- type SpatialMaterialImplementer
- type SpatialMaterialSpecularMode
- type SpatialMaterialTextureChannel
- type SpatialMaterialTextureParam
- type SpatialVelocityTracker
- func (o *SpatialVelocityTracker) BaseClass() string
- func (o *SpatialVelocityTracker) GetTrackedLinearVelocity() gdnative.Vector3
- func (o *SpatialVelocityTracker) IsTrackingPhysicsStep() gdnative.Bool
- func (o *SpatialVelocityTracker) Reset(position gdnative.Vector3)
- func (o *SpatialVelocityTracker) SetTrackPhysicsStep(enable gdnative.Bool)
- func (o *SpatialVelocityTracker) UpdatePosition(position gdnative.Vector3)
- type SpatialVelocityTrackerImplementer
- type SphereMesh
- func (o *SphereMesh) BaseClass() string
- func (o *SphereMesh) GetHeight() gdnative.Real
- func (o *SphereMesh) GetIsHemisphere() gdnative.Bool
- func (o *SphereMesh) GetRadialSegments() gdnative.Int
- func (o *SphereMesh) GetRadius() gdnative.Real
- func (o *SphereMesh) GetRings() gdnative.Int
- func (o *SphereMesh) SetHeight(height gdnative.Real)
- func (o *SphereMesh) SetIsHemisphere(isHemisphere gdnative.Bool)
- func (o *SphereMesh) SetRadialSegments(radialSegments gdnative.Int)
- func (o *SphereMesh) SetRadius(radius gdnative.Real)
- func (o *SphereMesh) SetRings(rings gdnative.Int)
- type SphereMeshImplementer
- type SphereShape
- type SphereShapeImplementer
- type SpinBox
- func (o *SpinBox) BaseClass() string
- func (o *SpinBox) GetLineEdit() LineEditImplementer
- func (o *SpinBox) GetPrefix() gdnative.String
- func (o *SpinBox) GetSuffix() gdnative.String
- func (o *SpinBox) IsEditable() gdnative.Bool
- func (o *SpinBox) SetEditable(editable gdnative.Bool)
- func (o *SpinBox) SetPrefix(prefix gdnative.String)
- func (o *SpinBox) SetSuffix(suffix gdnative.String)
- func (o *SpinBox) X_GuiInput(arg0 InputEventImplementer)
- func (o *SpinBox) X_LineEditFocusExit()
- func (o *SpinBox) X_LineEditInput(arg0 InputEventImplementer)
- func (o *SpinBox) X_RangeClickTimeout()
- func (o *SpinBox) X_TextEntered(arg0 gdnative.String)
- type SpinBoxImplementer
- type SplitContainer
- func (o *SplitContainer) BaseClass() string
- func (o *SplitContainer) GetDraggerVisibility() SplitContainerDraggerVisibility
- func (o *SplitContainer) GetSplitOffset() gdnative.Int
- func (o *SplitContainer) IsCollapsed() gdnative.Bool
- func (o *SplitContainer) SetCollapsed(collapsed gdnative.Bool)
- func (o *SplitContainer) SetDraggerVisibility(mode gdnative.Int)
- func (o *SplitContainer) SetSplitOffset(offset gdnative.Int)
- func (o *SplitContainer) X_GuiInput(arg0 InputEventImplementer)
- type SplitContainerDraggerVisibility
- type SplitContainerImplementer
- type SpotLight
- type SpotLightImplementer
- type Sprite
- func (o *Sprite) BaseClass() string
- func (o *Sprite) GetFrame() gdnative.Int
- func (o *Sprite) GetHframes() gdnative.Int
- func (o *Sprite) GetNormalMap() TextureImplementer
- func (o *Sprite) GetOffset() gdnative.Vector2
- func (o *Sprite) GetRegionRect() gdnative.Rect2
- func (o *Sprite) GetTexture() TextureImplementer
- func (o *Sprite) GetVframes() gdnative.Int
- func (o *Sprite) IsCentered() gdnative.Bool
- func (o *Sprite) IsFlippedH() gdnative.Bool
- func (o *Sprite) IsFlippedV() gdnative.Bool
- func (o *Sprite) IsRegion() gdnative.Bool
- func (o *Sprite) IsRegionFilterClipEnabled() gdnative.Bool
- func (o *Sprite) SetCentered(centered gdnative.Bool)
- func (o *Sprite) SetFlipH(flipH gdnative.Bool)
- func (o *Sprite) SetFlipV(flipV gdnative.Bool)
- func (o *Sprite) SetFrame(frame gdnative.Int)
- func (o *Sprite) SetHframes(hframes gdnative.Int)
- func (o *Sprite) SetNormalMap(normalMap TextureImplementer)
- func (o *Sprite) SetOffset(offset gdnative.Vector2)
- func (o *Sprite) SetRegion(enabled gdnative.Bool)
- func (o *Sprite) SetRegionFilterClip(enabled gdnative.Bool)
- func (o *Sprite) SetRegionRect(rect gdnative.Rect2)
- func (o *Sprite) SetTexture(texture TextureImplementer)
- func (o *Sprite) SetVframes(vframes gdnative.Int)
- type Sprite3D
- func (o *Sprite3D) BaseClass() string
- func (o *Sprite3D) GetFrame() gdnative.Int
- func (o *Sprite3D) GetHframes() gdnative.Int
- func (o *Sprite3D) GetRegionRect() gdnative.Rect2
- func (o *Sprite3D) GetTexture() TextureImplementer
- func (o *Sprite3D) GetVframes() gdnative.Int
- func (o *Sprite3D) IsRegion() gdnative.Bool
- func (o *Sprite3D) SetFrame(frame gdnative.Int)
- func (o *Sprite3D) SetHframes(hframes gdnative.Int)
- func (o *Sprite3D) SetRegion(enabled gdnative.Bool)
- func (o *Sprite3D) SetRegionRect(rect gdnative.Rect2)
- func (o *Sprite3D) SetTexture(texture TextureImplementer)
- func (o *Sprite3D) SetVframes(vframes gdnative.Int)
- type Sprite3DImplementer
- type SpriteBase3D
- func (o *SpriteBase3D) BaseClass() string
- func (o *SpriteBase3D) GetAlphaCutMode() SpriteBase3DAlphaCutMode
- func (o *SpriteBase3D) GetAxis() gdnative.Vector3Axis
- func (o *SpriteBase3D) GetDrawFlag(flag gdnative.Int) gdnative.Bool
- func (o *SpriteBase3D) GetItemRect() gdnative.Rect2
- func (o *SpriteBase3D) GetModulate() gdnative.Color
- func (o *SpriteBase3D) GetOffset() gdnative.Vector2
- func (o *SpriteBase3D) GetOpacity() gdnative.Real
- func (o *SpriteBase3D) GetPixelSize() gdnative.Real
- func (o *SpriteBase3D) IsCentered() gdnative.Bool
- func (o *SpriteBase3D) IsFlippedH() gdnative.Bool
- func (o *SpriteBase3D) IsFlippedV() gdnative.Bool
- func (o *SpriteBase3D) SetAlphaCutMode(mode gdnative.Int)
- func (o *SpriteBase3D) SetAxis(axis gdnative.Int)
- func (o *SpriteBase3D) SetCentered(centered gdnative.Bool)
- func (o *SpriteBase3D) SetDrawFlag(flag gdnative.Int, enabled gdnative.Bool)
- func (o *SpriteBase3D) SetFlipH(flipH gdnative.Bool)
- func (o *SpriteBase3D) SetFlipV(flipV gdnative.Bool)
- func (o *SpriteBase3D) SetModulate(modulate gdnative.Color)
- func (o *SpriteBase3D) SetOffset(offset gdnative.Vector2)
- func (o *SpriteBase3D) SetOpacity(opacity gdnative.Real)
- func (o *SpriteBase3D) SetPixelSize(pixelSize gdnative.Real)
- func (o *SpriteBase3D) X_ImUpdate()
- func (o *SpriteBase3D) X_QueueUpdate()
- type SpriteBase3DAlphaCutMode
- type SpriteBase3DDrawFlags
- type SpriteBase3DImplementer
- type SpriteFrames
- func (o *SpriteFrames) AddAnimation(anim gdnative.String)
- func (o *SpriteFrames) AddFrame(anim gdnative.String, frame TextureImplementer, atPosition gdnative.Int)
- func (o *SpriteFrames) BaseClass() string
- func (o *SpriteFrames) Clear(anim gdnative.String)
- func (o *SpriteFrames) ClearAll()
- func (o *SpriteFrames) GetAnimationLoop(anim gdnative.String) gdnative.Bool
- func (o *SpriteFrames) GetAnimationSpeed(anim gdnative.String) gdnative.Real
- func (o *SpriteFrames) GetFrame(anim gdnative.String, idx gdnative.Int) TextureImplementer
- func (o *SpriteFrames) GetFrameCount(anim gdnative.String) gdnative.Int
- func (o *SpriteFrames) HasAnimation(anim gdnative.String) gdnative.Bool
- func (o *SpriteFrames) RemoveAnimation(anim gdnative.String)
- func (o *SpriteFrames) RemoveFrame(anim gdnative.String, idx gdnative.Int)
- func (o *SpriteFrames) RenameAnimation(anim gdnative.String, newname gdnative.String)
- func (o *SpriteFrames) SetAnimationLoop(anim gdnative.String, loop gdnative.Bool)
- func (o *SpriteFrames) SetAnimationSpeed(anim gdnative.String, speed gdnative.Real)
- func (o *SpriteFrames) SetFrame(anim gdnative.String, idx gdnative.Int, txt TextureImplementer)
- func (o *SpriteFrames) X_GetAnimations() gdnative.Array
- func (o *SpriteFrames) X_GetFrames() gdnative.Array
- func (o *SpriteFrames) X_SetAnimations(arg0 gdnative.Array)
- func (o *SpriteFrames) X_SetFrames(arg0 gdnative.Array)
- type SpriteFramesImplementer
- type SpriteImplementer
- type StaticBody
- func (o *StaticBody) BaseClass() string
- func (o *StaticBody) GetBounce() gdnative.Real
- func (o *StaticBody) GetConstantAngularVelocity() gdnative.Vector3
- func (o *StaticBody) GetConstantLinearVelocity() gdnative.Vector3
- func (o *StaticBody) GetFriction() gdnative.Real
- func (o *StaticBody) SetBounce(bounce gdnative.Real)
- func (o *StaticBody) SetConstantAngularVelocity(vel gdnative.Vector3)
- func (o *StaticBody) SetConstantLinearVelocity(vel gdnative.Vector3)
- func (o *StaticBody) SetFriction(friction gdnative.Real)
- type StaticBody2D
- func (o *StaticBody2D) BaseClass() string
- func (o *StaticBody2D) GetBounce() gdnative.Real
- func (o *StaticBody2D) GetConstantAngularVelocity() gdnative.Real
- func (o *StaticBody2D) GetConstantLinearVelocity() gdnative.Vector2
- func (o *StaticBody2D) GetFriction() gdnative.Real
- func (o *StaticBody2D) SetBounce(bounce gdnative.Real)
- func (o *StaticBody2D) SetConstantAngularVelocity(vel gdnative.Real)
- func (o *StaticBody2D) SetConstantLinearVelocity(vel gdnative.Vector2)
- func (o *StaticBody2D) SetFriction(friction gdnative.Real)
- type StaticBody2DImplementer
- type StaticBodyImplementer
- type StreamPeer
- func (o *StreamPeer) BaseClass() string
- func (o *StreamPeer) Get16() gdnative.Int
- func (o *StreamPeer) Get32() gdnative.Int
- func (o *StreamPeer) Get64() gdnative.Int
- func (o *StreamPeer) Get8() gdnative.Int
- func (o *StreamPeer) GetAvailableBytes() gdnative.Int
- func (o *StreamPeer) GetData(bytes gdnative.Int) gdnative.Array
- func (o *StreamPeer) GetDouble() gdnative.Real
- func (o *StreamPeer) GetFloat() gdnative.Real
- func (o *StreamPeer) GetPartialData(bytes gdnative.Int) gdnative.Array
- func (o *StreamPeer) GetString(bytes gdnative.Int) gdnative.String
- func (o *StreamPeer) GetU16() gdnative.Int
- func (o *StreamPeer) GetU32() gdnative.Int
- func (o *StreamPeer) GetU64() gdnative.Int
- func (o *StreamPeer) GetU8() gdnative.Int
- func (o *StreamPeer) GetUtf8String(bytes gdnative.Int) gdnative.String
- func (o *StreamPeer) GetVar() gdnative.Variant
- func (o *StreamPeer) IsBigEndianEnabled() gdnative.Bool
- func (o *StreamPeer) Put16(value gdnative.Int)
- func (o *StreamPeer) Put32(value gdnative.Int)
- func (o *StreamPeer) Put64(value gdnative.Int)
- func (o *StreamPeer) Put8(value gdnative.Int)
- func (o *StreamPeer) PutData(data gdnative.PoolByteArray) gdnative.Error
- func (o *StreamPeer) PutDouble(value gdnative.Real)
- func (o *StreamPeer) PutFloat(value gdnative.Real)
- func (o *StreamPeer) PutPartialData(data gdnative.PoolByteArray) gdnative.Array
- func (o *StreamPeer) PutU16(value gdnative.Int)
- func (o *StreamPeer) PutU32(value gdnative.Int)
- func (o *StreamPeer) PutU64(value gdnative.Int)
- func (o *StreamPeer) PutU8(value gdnative.Int)
- func (o *StreamPeer) PutUtf8String(value gdnative.String)
- func (o *StreamPeer) PutVar(value gdnative.Variant)
- func (o *StreamPeer) SetBigEndian(enable gdnative.Bool)
- type StreamPeerBuffer
- func (o *StreamPeerBuffer) BaseClass() string
- func (o *StreamPeerBuffer) Clear()
- func (o *StreamPeerBuffer) Duplicate() StreamPeerBufferImplementer
- func (o *StreamPeerBuffer) GetDataArray() gdnative.PoolByteArray
- func (o *StreamPeerBuffer) GetPosition() gdnative.Int
- func (o *StreamPeerBuffer) GetSize() gdnative.Int
- func (o *StreamPeerBuffer) Resize(size gdnative.Int)
- func (o *StreamPeerBuffer) Seek(position gdnative.Int)
- func (o *StreamPeerBuffer) SetDataArray(data gdnative.PoolByteArray)
- type StreamPeerBufferImplementer
- type StreamPeerImplementer
- type StreamPeerSSL
- func (o *StreamPeerSSL) AcceptStream(stream StreamPeerImplementer) gdnative.Error
- func (o *StreamPeerSSL) BaseClass() string
- func (o *StreamPeerSSL) ConnectToStream(stream StreamPeerImplementer, validateCerts gdnative.Bool, ...) gdnative.Error
- func (o *StreamPeerSSL) DisconnectFromStream()
- func (o *StreamPeerSSL) GetStatus() StreamPeerSSLStatus
- type StreamPeerSSLImplementer
- type StreamPeerSSLStatus
- type StreamPeerTCP
- func (o *StreamPeerTCP) BaseClass() string
- func (o *StreamPeerTCP) ConnectToHost(host gdnative.String, port gdnative.Int) gdnative.Error
- func (o *StreamPeerTCP) DisconnectFromHost()
- func (o *StreamPeerTCP) GetConnectedHost() gdnative.String
- func (o *StreamPeerTCP) GetConnectedPort() gdnative.Int
- func (o *StreamPeerTCP) GetStatus() StreamPeerTCPStatus
- func (o *StreamPeerTCP) IsConnectedToHost() gdnative.Bool
- func (o *StreamPeerTCP) SetNoDelay(enabled gdnative.Bool)
- type StreamPeerTCPImplementer
- type StreamPeerTCPStatus
- type StreamTexture
- type StreamTextureImplementer
- type StyleBox
- func (o *StyleBox) BaseClass() string
- func (o *StyleBox) Draw(canvasItem gdnative.Rid, rect gdnative.Rect2)
- func (o *StyleBox) GetCenterSize() gdnative.Vector2
- func (o *StyleBox) GetDefaultMargin(margin gdnative.Int) gdnative.Real
- func (o *StyleBox) GetMargin(margin gdnative.Int) gdnative.Real
- func (o *StyleBox) GetMinimumSize() gdnative.Vector2
- func (o *StyleBox) GetOffset() gdnative.Vector2
- func (o *StyleBox) SetDefaultMargin(margin gdnative.Int, offset gdnative.Real)
- func (o *StyleBox) TestMask(point gdnative.Vector2, rect gdnative.Rect2) gdnative.Bool
- type StyleBoxEmpty
- type StyleBoxEmptyImplementer
- type StyleBoxFlat
- func (o *StyleBoxFlat) BaseClass() string
- func (o *StyleBoxFlat) GetAaSize() gdnative.Int
- func (o *StyleBoxFlat) GetBgColor() gdnative.Color
- func (o *StyleBoxFlat) GetBorderBlend() gdnative.Bool
- func (o *StyleBoxFlat) GetBorderColor() gdnative.Color
- func (o *StyleBoxFlat) GetBorderWidth(margin gdnative.Int) gdnative.Int
- func (o *StyleBoxFlat) GetBorderWidthMin() gdnative.Int
- func (o *StyleBoxFlat) GetCornerDetail() gdnative.Int
- func (o *StyleBoxFlat) GetCornerRadius(corner gdnative.Int) gdnative.Int
- func (o *StyleBoxFlat) GetExpandMargin(margin gdnative.Int) gdnative.Real
- func (o *StyleBoxFlat) GetShadowColor() gdnative.Color
- func (o *StyleBoxFlat) GetShadowSize() gdnative.Int
- func (o *StyleBoxFlat) IsAntiAliased() gdnative.Bool
- func (o *StyleBoxFlat) IsDrawCenterEnabled() gdnative.Bool
- func (o *StyleBoxFlat) SetAaSize(size gdnative.Int)
- func (o *StyleBoxFlat) SetAntiAliased(antiAliased gdnative.Bool)
- func (o *StyleBoxFlat) SetBgColor(color gdnative.Color)
- func (o *StyleBoxFlat) SetBorderBlend(blend gdnative.Bool)
- func (o *StyleBoxFlat) SetBorderColor(color gdnative.Color)
- func (o *StyleBoxFlat) SetBorderWidth(margin gdnative.Int, width gdnative.Int)
- func (o *StyleBoxFlat) SetBorderWidthAll(width gdnative.Int)
- func (o *StyleBoxFlat) SetCornerDetail(detail gdnative.Int)
- func (o *StyleBoxFlat) SetCornerRadius(corner gdnative.Int, radius gdnative.Int)
- func (o *StyleBoxFlat) SetCornerRadiusAll(radius gdnative.Int)
- func (o *StyleBoxFlat) SetCornerRadiusIndividual(radiusTopLeft gdnative.Int, radiusTopRight gdnative.Int, ...)
- func (o *StyleBoxFlat) SetDrawCenter(drawCenter gdnative.Bool)
- func (o *StyleBoxFlat) SetExpandMargin(margin gdnative.Int, size gdnative.Real)
- func (o *StyleBoxFlat) SetExpandMarginAll(size gdnative.Real)
- func (o *StyleBoxFlat) SetExpandMarginIndividual(sizeLeft gdnative.Real, sizeTop gdnative.Real, sizeRight gdnative.Real, ...)
- func (o *StyleBoxFlat) SetShadowColor(color gdnative.Color)
- func (o *StyleBoxFlat) SetShadowSize(size gdnative.Int)
- type StyleBoxFlatImplementer
- type StyleBoxImplementer
- type StyleBoxLine
- func (o *StyleBoxLine) BaseClass() string
- func (o *StyleBoxLine) GetColor() gdnative.Color
- func (o *StyleBoxLine) GetGrow() gdnative.Real
- func (o *StyleBoxLine) GetThickness() gdnative.Int
- func (o *StyleBoxLine) IsVertical() gdnative.Bool
- func (o *StyleBoxLine) SetColor(color gdnative.Color)
- func (o *StyleBoxLine) SetGrow(grow gdnative.Real)
- func (o *StyleBoxLine) SetThickness(thickness gdnative.Int)
- func (o *StyleBoxLine) SetVertical(vertical gdnative.Bool)
- type StyleBoxLineImplementer
- type StyleBoxTexture
- func (o *StyleBoxTexture) BaseClass() string
- func (o *StyleBoxTexture) GetExpandMarginSize(margin gdnative.Int) gdnative.Real
- func (o *StyleBoxTexture) GetHAxisStretchMode() StyleBoxTextureAxisStretchMode
- func (o *StyleBoxTexture) GetMarginSize(margin gdnative.Int) gdnative.Real
- func (o *StyleBoxTexture) GetModulate() gdnative.Color
- func (o *StyleBoxTexture) GetNormalMap() ResourceImplementer
- func (o *StyleBoxTexture) GetRegionRect() gdnative.Rect2
- func (o *StyleBoxTexture) GetTexture() ResourceImplementer
- func (o *StyleBoxTexture) GetVAxisStretchMode() StyleBoxTextureAxisStretchMode
- func (o *StyleBoxTexture) IsDrawCenterEnabled() gdnative.Bool
- func (o *StyleBoxTexture) SetDrawCenter(enable gdnative.Bool)
- func (o *StyleBoxTexture) SetExpandMarginAll(size gdnative.Real)
- func (o *StyleBoxTexture) SetExpandMarginIndividual(sizeLeft gdnative.Real, sizeTop gdnative.Real, sizeRight gdnative.Real, ...)
- func (o *StyleBoxTexture) SetExpandMarginSize(margin gdnative.Int, size gdnative.Real)
- func (o *StyleBoxTexture) SetHAxisStretchMode(mode gdnative.Int)
- func (o *StyleBoxTexture) SetMarginSize(margin gdnative.Int, size gdnative.Real)
- func (o *StyleBoxTexture) SetModulate(color gdnative.Color)
- func (o *StyleBoxTexture) SetNormalMap(normalMap ResourceImplementer)
- func (o *StyleBoxTexture) SetRegionRect(region gdnative.Rect2)
- func (o *StyleBoxTexture) SetTexture(texture ResourceImplementer)
- func (o *StyleBoxTexture) SetVAxisStretchMode(mode gdnative.Int)
- type StyleBoxTextureAxisStretchMode
- type StyleBoxTextureImplementer
- type SurfaceTool
- func (o *SurfaceTool) AddBones(bones gdnative.PoolIntArray)
- func (o *SurfaceTool) AddColor(color gdnative.Color)
- func (o *SurfaceTool) AddIndex(index gdnative.Int)
- func (o *SurfaceTool) AddNormal(normal gdnative.Vector3)
- func (o *SurfaceTool) AddSmoothGroup(smooth gdnative.Bool)
- func (o *SurfaceTool) AddTangent(tangent gdnative.Plane)
- func (o *SurfaceTool) AddToFormat(flags gdnative.Int)
- func (o *SurfaceTool) AddTriangleFan(vertexes gdnative.PoolVector3Array, uvs gdnative.PoolVector2Array, ...)
- func (o *SurfaceTool) AddUv(uv gdnative.Vector2)
- func (o *SurfaceTool) AddUv2(uv2 gdnative.Vector2)
- func (o *SurfaceTool) AddVertex(vertex gdnative.Vector3)
- func (o *SurfaceTool) AddWeights(weights gdnative.PoolRealArray)
- func (o *SurfaceTool) AppendFrom(existing MeshImplementer, surface gdnative.Int, transform gdnative.Transform)
- func (o *SurfaceTool) BaseClass() string
- func (o *SurfaceTool) Begin(primitive gdnative.Int)
- func (o *SurfaceTool) Clear()
- func (o *SurfaceTool) Commit(existing ArrayMeshImplementer, flags gdnative.Int) ArrayMeshImplementer
- func (o *SurfaceTool) CreateFrom(existing MeshImplementer, surface gdnative.Int)
- func (o *SurfaceTool) Deindex()
- func (o *SurfaceTool) GenerateNormals()
- func (o *SurfaceTool) GenerateTangents()
- func (o *SurfaceTool) Index()
- func (o *SurfaceTool) SetMaterial(material MaterialImplementer)
- type SurfaceToolImplementer
- type TCP_Server
- type TCP_ServerImplementer
- type TabContainer
- func (o *TabContainer) AreTabsVisible() gdnative.Bool
- func (o *TabContainer) BaseClass() string
- func (o *TabContainer) GetCurrentTab() gdnative.Int
- func (o *TabContainer) GetCurrentTabControl() ControlImplementer
- func (o *TabContainer) GetPopup() PopupImplementer
- func (o *TabContainer) GetPreviousTab() gdnative.Int
- func (o *TabContainer) GetTabAlign() TabContainerTabAlign
- func (o *TabContainer) GetTabControl(idx gdnative.Int) ControlImplementer
- func (o *TabContainer) GetTabCount() gdnative.Int
- func (o *TabContainer) GetTabDisabled(tabIdx gdnative.Int) gdnative.Bool
- func (o *TabContainer) GetTabIcon(tabIdx gdnative.Int) TextureImplementer
- func (o *TabContainer) GetTabTitle(tabIdx gdnative.Int) gdnative.String
- func (o *TabContainer) SetCurrentTab(tabIdx gdnative.Int)
- func (o *TabContainer) SetPopup(popup ObjectImplementer)
- func (o *TabContainer) SetTabAlign(align gdnative.Int)
- func (o *TabContainer) SetTabDisabled(tabIdx gdnative.Int, disabled gdnative.Bool)
- func (o *TabContainer) SetTabIcon(tabIdx gdnative.Int, icon TextureImplementer)
- func (o *TabContainer) SetTabTitle(tabIdx gdnative.Int, title gdnative.String)
- func (o *TabContainer) SetTabsVisible(visible gdnative.Bool)
- func (o *TabContainer) X_ChildRenamedCallback()
- func (o *TabContainer) X_GuiInput(arg0 InputEventImplementer)
- func (o *TabContainer) X_OnThemeChanged()
- func (o *TabContainer) X_UpdateCurrentTab()
- type TabContainerImplementer
- type TabContainerTabAlign
- type Tabs
- func (o *Tabs) AddTab(title gdnative.String, icon TextureImplementer)
- func (o *Tabs) BaseClass() string
- func (o *Tabs) EnsureTabVisible(idx gdnative.Int)
- func (o *Tabs) GetCurrentTab() gdnative.Int
- func (o *Tabs) GetOffsetButtonsVisible() gdnative.Bool
- func (o *Tabs) GetScrollingEnabled() gdnative.Bool
- func (o *Tabs) GetTabAlign() TabsTabAlign
- func (o *Tabs) GetTabCloseDisplayPolicy() TabsCloseButtonDisplayPolicy
- func (o *Tabs) GetTabCount() gdnative.Int
- func (o *Tabs) GetTabDisabled(tabIdx gdnative.Int) gdnative.Bool
- func (o *Tabs) GetTabIcon(tabIdx gdnative.Int) TextureImplementer
- func (o *Tabs) GetTabOffset() gdnative.Int
- func (o *Tabs) GetTabRect(tabIdx gdnative.Int) gdnative.Rect2
- func (o *Tabs) GetTabTitle(tabIdx gdnative.Int) gdnative.String
- func (o *Tabs) MoveTab(from gdnative.Int, to gdnative.Int)
- func (o *Tabs) RemoveTab(tabIdx gdnative.Int)
- func (o *Tabs) SetCurrentTab(tabIdx gdnative.Int)
- func (o *Tabs) SetScrollingEnabled(enabled gdnative.Bool)
- func (o *Tabs) SetTabAlign(align gdnative.Int)
- func (o *Tabs) SetTabCloseDisplayPolicy(policy gdnative.Int)
- func (o *Tabs) SetTabDisabled(tabIdx gdnative.Int, disabled gdnative.Bool)
- func (o *Tabs) SetTabIcon(tabIdx gdnative.Int, icon TextureImplementer)
- func (o *Tabs) SetTabTitle(tabIdx gdnative.Int, title gdnative.String)
- func (o *Tabs) X_GuiInput(arg0 InputEventImplementer)
- type TabsCloseButtonDisplayPolicy
- type TabsImplementer
- type TabsTabAlign
- type TextEdit
- func (o *TextEdit) AddColorRegion(beginKey gdnative.String, endKey gdnative.String, color gdnative.Color, ...)
- func (o *TextEdit) AddKeywordColor(keyword gdnative.String, color gdnative.Color)
- func (o *TextEdit) BaseClass() string
- func (o *TextEdit) CanFold(line gdnative.Int) gdnative.Bool
- func (o *TextEdit) ClearColors()
- func (o *TextEdit) ClearUndoHistory()
- func (o *TextEdit) Copy()
- func (o *TextEdit) CursorGetBlinkEnabled() gdnative.Bool
- func (o *TextEdit) CursorGetBlinkSpeed() gdnative.Real
- func (o *TextEdit) CursorGetColumn() gdnative.Int
- func (o *TextEdit) CursorGetLine() gdnative.Int
- func (o *TextEdit) CursorIsBlockMode() gdnative.Bool
- func (o *TextEdit) CursorSetBlinkEnabled(enable gdnative.Bool)
- func (o *TextEdit) CursorSetBlinkSpeed(blinkSpeed gdnative.Real)
- func (o *TextEdit) CursorSetBlockMode(enable gdnative.Bool)
- func (o *TextEdit) CursorSetColumn(column gdnative.Int, adjustViewport gdnative.Bool)
- func (o *TextEdit) CursorSetLine(line gdnative.Int, adjustViewport gdnative.Bool, canBeHidden gdnative.Bool)
- func (o *TextEdit) Cut()
- func (o *TextEdit) Deselect()
- func (o *TextEdit) FoldAllLines()
- func (o *TextEdit) FoldLine(line gdnative.Int)
- func (o *TextEdit) GetLine(line gdnative.Int) gdnative.String
- func (o *TextEdit) GetLineCount() gdnative.Int
- func (o *TextEdit) GetMenu() PopupMenuImplementer
- func (o *TextEdit) GetSelectionFromColumn() gdnative.Int
- func (o *TextEdit) GetSelectionFromLine() gdnative.Int
- func (o *TextEdit) GetSelectionText() gdnative.String
- func (o *TextEdit) GetSelectionToColumn() gdnative.Int
- func (o *TextEdit) GetSelectionToLine() gdnative.Int
- func (o *TextEdit) GetText() gdnative.String
- func (o *TextEdit) GetVScrollSpeed() gdnative.Real
- func (o *TextEdit) GetWordUnderCursor() gdnative.String
- func (o *TextEdit) InsertTextAtCursor(text gdnative.String)
- func (o *TextEdit) IsContextMenuEnabled() gdnative.Bool
- func (o *TextEdit) IsFolded(line gdnative.Int) gdnative.Bool
- func (o *TextEdit) IsHidingEnabled() gdnative.Int
- func (o *TextEdit) IsHighlightAllOccurrencesEnabled() gdnative.Bool
- func (o *TextEdit) IsHighlightCurrentLineEnabled() gdnative.Bool
- func (o *TextEdit) IsLineHidden(line gdnative.Int) gdnative.Bool
- func (o *TextEdit) IsOverridingSelectedFontColor() gdnative.Bool
- func (o *TextEdit) IsReadonly() gdnative.Bool
- func (o *TextEdit) IsRightClickMovingCaret() gdnative.Bool
- func (o *TextEdit) IsSelectionActive() gdnative.Bool
- func (o *TextEdit) IsShowLineNumbersEnabled() gdnative.Bool
- func (o *TextEdit) IsSmoothScrollEnabled() gdnative.Bool
- func (o *TextEdit) IsSyntaxColoringEnabled() gdnative.Bool
- func (o *TextEdit) IsWrapping() gdnative.Bool
- func (o *TextEdit) MenuOption(option gdnative.Int)
- func (o *TextEdit) Paste()
- func (o *TextEdit) Redo()
- func (o *TextEdit) Search(key gdnative.String, flags gdnative.Int, fromLine gdnative.Int, ...) gdnative.PoolIntArray
- func (o *TextEdit) Select(fromLine gdnative.Int, fromColumn gdnative.Int, toLine gdnative.Int, ...)
- func (o *TextEdit) SelectAll()
- func (o *TextEdit) SetContextMenuEnabled(enable gdnative.Bool)
- func (o *TextEdit) SetHidingEnabled(enable gdnative.Int)
- func (o *TextEdit) SetHighlightAllOccurrences(enable gdnative.Bool)
- func (o *TextEdit) SetHighlightCurrentLine(enabled gdnative.Bool)
- func (o *TextEdit) SetLineAsHidden(line gdnative.Int, enable gdnative.Bool)
- func (o *TextEdit) SetOverrideSelectedFontColor(override gdnative.Bool)
- func (o *TextEdit) SetReadonly(enable gdnative.Bool)
- func (o *TextEdit) SetRightClickMovesCaret(enable gdnative.Bool)
- func (o *TextEdit) SetShowLineNumbers(enable gdnative.Bool)
- func (o *TextEdit) SetSmoothScrollEnable(enable gdnative.Bool)
- func (o *TextEdit) SetSyntaxColoring(enable gdnative.Bool)
- func (o *TextEdit) SetText(text gdnative.String)
- func (o *TextEdit) SetVScrollSpeed(speed gdnative.Real)
- func (o *TextEdit) SetWrap(enable gdnative.Bool)
- func (o *TextEdit) ToggleFoldLine(line gdnative.Int)
- func (o *TextEdit) Undo()
- func (o *TextEdit) UnfoldLine(line gdnative.Int)
- func (o *TextEdit) UnhideAllLines()
- func (o *TextEdit) X_ClickSelectionHeld()
- func (o *TextEdit) X_CursorChangedEmit()
- func (o *TextEdit) X_GuiInput(arg0 InputEventImplementer)
- func (o *TextEdit) X_PushCurrentOp()
- func (o *TextEdit) X_ScrollMoved(arg0 gdnative.Real)
- func (o *TextEdit) X_TextChangedEmit()
- func (o *TextEdit) X_ToggleDrawCaret()
- func (o *TextEdit) X_VScrollInput()
- type TextEditImplementer
- type TextEditMenuItems
- type TextEditSearchFlags
- type Texture
- func (o *Texture) BaseClass() string
- func (o *Texture) Draw(canvasItem gdnative.Rid, position gdnative.Vector2, modulate gdnative.Color, ...)
- func (o *Texture) DrawRect(canvasItem gdnative.Rid, rect gdnative.Rect2, tile gdnative.Bool, ...)
- func (o *Texture) DrawRectRegion(canvasItem gdnative.Rid, rect gdnative.Rect2, srcRect gdnative.Rect2, ...)
- func (o *Texture) GetData() ImageImplementer
- func (o *Texture) GetFlags() gdnative.Int
- func (o *Texture) GetHeight() gdnative.Int
- func (o *Texture) GetSize() gdnative.Vector2
- func (o *Texture) GetWidth() gdnative.Int
- func (o *Texture) HasAlpha() gdnative.Bool
- func (o *Texture) SetFlags(flags gdnative.Int)
- type TextureButton
- func (o *TextureButton) BaseClass() string
- func (o *TextureButton) GetClickMask() BitMapImplementer
- func (o *TextureButton) GetDisabledTexture() TextureImplementer
- func (o *TextureButton) GetExpand() gdnative.Bool
- func (o *TextureButton) GetFocusedTexture() TextureImplementer
- func (o *TextureButton) GetHoverTexture() TextureImplementer
- func (o *TextureButton) GetNormalTexture() TextureImplementer
- func (o *TextureButton) GetPressedTexture() TextureImplementer
- func (o *TextureButton) GetStretchMode() TextureButtonStretchMode
- func (o *TextureButton) SetClickMask(mask BitMapImplementer)
- func (o *TextureButton) SetDisabledTexture(texture TextureImplementer)
- func (o *TextureButton) SetExpand(pExpand gdnative.Bool)
- func (o *TextureButton) SetFocusedTexture(texture TextureImplementer)
- func (o *TextureButton) SetHoverTexture(texture TextureImplementer)
- func (o *TextureButton) SetNormalTexture(texture TextureImplementer)
- func (o *TextureButton) SetPressedTexture(texture TextureImplementer)
- func (o *TextureButton) SetStretchMode(pMode gdnative.Int)
- type TextureButtonImplementer
- type TextureButtonStretchMode
- type TextureFlags
- type TextureImplementer
- type TextureProgress
- func (o *TextureProgress) BaseClass() string
- func (o *TextureProgress) GetFillDegrees() gdnative.Real
- func (o *TextureProgress) GetFillMode() gdnative.Int
- func (o *TextureProgress) GetNinePatchStretch() gdnative.Bool
- func (o *TextureProgress) GetOverTexture() TextureImplementer
- func (o *TextureProgress) GetProgressTexture() TextureImplementer
- func (o *TextureProgress) GetRadialCenterOffset() gdnative.Vector2
- func (o *TextureProgress) GetRadialInitialAngle() gdnative.Real
- func (o *TextureProgress) GetStretchMargin(margin gdnative.Int) gdnative.Int
- func (o *TextureProgress) GetUnderTexture() TextureImplementer
- func (o *TextureProgress) SetFillDegrees(mode gdnative.Real)
- func (o *TextureProgress) SetFillMode(mode gdnative.Int)
- func (o *TextureProgress) SetNinePatchStretch(stretch gdnative.Bool)
- func (o *TextureProgress) SetOverTexture(tex TextureImplementer)
- func (o *TextureProgress) SetProgressTexture(tex TextureImplementer)
- func (o *TextureProgress) SetRadialCenterOffset(mode gdnative.Vector2)
- func (o *TextureProgress) SetRadialInitialAngle(mode gdnative.Real)
- func (o *TextureProgress) SetStretchMargin(margin gdnative.Int, value gdnative.Int)
- func (o *TextureProgress) SetUnderTexture(tex TextureImplementer)
- type TextureProgressFillMode
- type TextureProgressImplementer
- type TextureRect
- func (o *TextureRect) BaseClass() string
- func (o *TextureRect) GetStretchMode() TextureRectStretchMode
- func (o *TextureRect) GetTexture() TextureImplementer
- func (o *TextureRect) HasExpand() gdnative.Bool
- func (o *TextureRect) SetExpand(enable gdnative.Bool)
- func (o *TextureRect) SetStretchMode(stretchMode gdnative.Int)
- func (o *TextureRect) SetTexture(texture TextureImplementer)
- type TextureRectImplementer
- type TextureRectStretchMode
- type Theme
- func (o *Theme) BaseClass() string
- func (o *Theme) ClearColor(name gdnative.String, aType gdnative.String)
- func (o *Theme) ClearConstant(name gdnative.String, aType gdnative.String)
- func (o *Theme) ClearFont(name gdnative.String, aType gdnative.String)
- func (o *Theme) ClearIcon(name gdnative.String, aType gdnative.String)
- func (o *Theme) ClearStylebox(name gdnative.String, aType gdnative.String)
- func (o *Theme) CopyDefaultTheme()
- func (o *Theme) GetColor(name gdnative.String, aType gdnative.String) gdnative.Color
- func (o *Theme) GetColorList(aType gdnative.String) gdnative.PoolStringArray
- func (o *Theme) GetConstant(name gdnative.String, aType gdnative.String) gdnative.Int
- func (o *Theme) GetConstantList(aType gdnative.String) gdnative.PoolStringArray
- func (o *Theme) GetDefaultFont() FontImplementer
- func (o *Theme) GetFont(name gdnative.String, aType gdnative.String) FontImplementer
- func (o *Theme) GetFontList(aType gdnative.String) gdnative.PoolStringArray
- func (o *Theme) GetIcon(name gdnative.String, aType gdnative.String) TextureImplementer
- func (o *Theme) GetIconList(aType gdnative.String) gdnative.PoolStringArray
- func (o *Theme) GetStylebox(name gdnative.String, aType gdnative.String) StyleBoxImplementer
- func (o *Theme) GetStyleboxList(aType gdnative.String) gdnative.PoolStringArray
- func (o *Theme) GetStyleboxTypes() gdnative.PoolStringArray
- func (o *Theme) GetTypeList(aType gdnative.String) gdnative.PoolStringArray
- func (o *Theme) HasColor(name gdnative.String, aType gdnative.String) gdnative.Bool
- func (o *Theme) HasConstant(name gdnative.String, aType gdnative.String) gdnative.Bool
- func (o *Theme) HasFont(name gdnative.String, aType gdnative.String) gdnative.Bool
- func (o *Theme) HasIcon(name gdnative.String, aType gdnative.String) gdnative.Bool
- func (o *Theme) HasStylebox(name gdnative.String, aType gdnative.String) gdnative.Bool
- func (o *Theme) SetColor(name gdnative.String, aType gdnative.String, color gdnative.Color)
- func (o *Theme) SetConstant(name gdnative.String, aType gdnative.String, constant gdnative.Int)
- func (o *Theme) SetDefaultFont(font FontImplementer)
- func (o *Theme) SetFont(name gdnative.String, aType gdnative.String, font FontImplementer)
- func (o *Theme) SetIcon(name gdnative.String, aType gdnative.String, texture TextureImplementer)
- func (o *Theme) SetStylebox(name gdnative.String, aType gdnative.String, texture StyleBoxImplementer)
- func (o *Theme) X_EmitThemeChanged()
- type ThemeImplementer
- type Thread
- type ThreadImplementer
- type TileMap
- func (o *TileMap) BaseClass() string
- func (o *TileMap) Clear()
- func (o *TileMap) GetCell(x gdnative.Int, y gdnative.Int) gdnative.Int
- func (o *TileMap) GetCellSize() gdnative.Vector2
- func (o *TileMap) GetCellv(position gdnative.Vector2) gdnative.Int
- func (o *TileMap) GetClipUv() gdnative.Bool
- func (o *TileMap) GetCollisionBounce() gdnative.Real
- func (o *TileMap) GetCollisionFriction() gdnative.Real
- func (o *TileMap) GetCollisionLayer() gdnative.Int
- func (o *TileMap) GetCollisionLayerBit(bit gdnative.Int) gdnative.Bool
- func (o *TileMap) GetCollisionMask() gdnative.Int
- func (o *TileMap) GetCollisionMaskBit(bit gdnative.Int) gdnative.Bool
- func (o *TileMap) GetCollisionUseKinematic() gdnative.Bool
- func (o *TileMap) GetCustomTransform() gdnative.Transform2D
- func (o *TileMap) GetHalfOffset() TileMapHalfOffset
- func (o *TileMap) GetMode() TileMapMode
- func (o *TileMap) GetOccluderLightMask() gdnative.Int
- func (o *TileMap) GetQuadrantSize() gdnative.Int
- func (o *TileMap) GetTileOrigin() TileMapTileOrigin
- func (o *TileMap) GetTileset() TileSetImplementer
- func (o *TileMap) GetUsedCells() gdnative.Array
- func (o *TileMap) GetUsedCellsById(id gdnative.Int) gdnative.Array
- func (o *TileMap) GetUsedRect() gdnative.Rect2
- func (o *TileMap) IsCellTransposed(x gdnative.Int, y gdnative.Int) gdnative.Bool
- func (o *TileMap) IsCellXFlipped(x gdnative.Int, y gdnative.Int) gdnative.Bool
- func (o *TileMap) IsCellYFlipped(x gdnative.Int, y gdnative.Int) gdnative.Bool
- func (o *TileMap) IsYSortModeEnabled() gdnative.Bool
- func (o *TileMap) MapToWorld(mapPosition gdnative.Vector2, ignoreHalfOfs gdnative.Bool) gdnative.Vector2
- func (o *TileMap) SetCell(x gdnative.Int, y gdnative.Int, tile gdnative.Int, flipX gdnative.Bool, ...)
- func (o *TileMap) SetCellSize(size gdnative.Vector2)
- func (o *TileMap) SetCellv(position gdnative.Vector2, tile gdnative.Int, flipX gdnative.Bool, ...)
- func (o *TileMap) SetClipUv(enable gdnative.Bool)
- func (o *TileMap) SetCollisionBounce(value gdnative.Real)
- func (o *TileMap) SetCollisionFriction(value gdnative.Real)
- func (o *TileMap) SetCollisionLayer(layer gdnative.Int)
- func (o *TileMap) SetCollisionLayerBit(bit gdnative.Int, value gdnative.Bool)
- func (o *TileMap) SetCollisionMask(mask gdnative.Int)
- func (o *TileMap) SetCollisionMaskBit(bit gdnative.Int, value gdnative.Bool)
- func (o *TileMap) SetCollisionUseKinematic(useKinematic gdnative.Bool)
- func (o *TileMap) SetCustomTransform(customTransform gdnative.Transform2D)
- func (o *TileMap) SetHalfOffset(halfOffset gdnative.Int)
- func (o *TileMap) SetMode(mode gdnative.Int)
- func (o *TileMap) SetOccluderLightMask(mask gdnative.Int)
- func (o *TileMap) SetQuadrantSize(size gdnative.Int)
- func (o *TileMap) SetTileOrigin(origin gdnative.Int)
- func (o *TileMap) SetTileset(tileset TileSetImplementer)
- func (o *TileMap) SetYSortMode(enable gdnative.Bool)
- func (o *TileMap) UpdateBitmaskArea(position gdnative.Vector2)
- func (o *TileMap) UpdateBitmaskRegion(start gdnative.Vector2, end gdnative.Vector2)
- func (o *TileMap) WorldToMap(worldPosition gdnative.Vector2) gdnative.Vector2
- func (o *TileMap) X_ClearQuadrants()
- func (o *TileMap) X_GetOldCellSize() gdnative.Int
- func (o *TileMap) X_GetTileData() gdnative.PoolIntArray
- func (o *TileMap) X_RecreateQuadrants()
- func (o *TileMap) X_SetOldCellSize(size gdnative.Int)
- func (o *TileMap) X_SetTileData(arg0 gdnative.PoolIntArray)
- func (o *TileMap) X_UpdateDirtyQuadrants()
- type TileMapHalfOffset
- type TileMapImplementer
- type TileMapMode
- type TileMapTileOrigin
- type TileSet
- func (o *TileSet) AutotileGetBitmaskMode(id gdnative.Int) TileSetBitmaskMode
- func (o *TileSet) AutotileSetBitmaskMode(id gdnative.Int, mode gdnative.Int)
- func (o *TileSet) BaseClass() string
- func (o *TileSet) Clear()
- func (o *TileSet) CreateTile(id gdnative.Int)
- func (o *TileSet) FindTileByName(name gdnative.String) gdnative.Int
- func (o *TileSet) GetLastUnusedTileId() gdnative.Int
- func (o *TileSet) GetTilesIds() gdnative.Array
- func (o *TileSet) RemoveTile(id gdnative.Int)
- func (o *TileSet) TileAddShape(id gdnative.Int, shape Shape2DImplementer, shapeTransform gdnative.Transform2D, ...)
- func (o *TileSet) TileGetLightOccluder(id gdnative.Int) OccluderPolygon2DImplementer
- func (o *TileSet) TileGetMaterial(id gdnative.Int) ShaderMaterialImplementer
- func (o *TileSet) TileGetName(id gdnative.Int) gdnative.String
- func (o *TileSet) TileGetNavigationPolygon(id gdnative.Int) NavigationPolygonImplementer
- func (o *TileSet) TileGetNavigationPolygonOffset(id gdnative.Int) gdnative.Vector2
- func (o *TileSet) TileGetNormalMap(id gdnative.Int) TextureImplementer
- func (o *TileSet) TileGetOccluderOffset(id gdnative.Int) gdnative.Vector2
- func (o *TileSet) TileGetRegion(id gdnative.Int) gdnative.Rect2
- func (o *TileSet) TileGetShape(id gdnative.Int, shapeId gdnative.Int) Shape2DImplementer
- func (o *TileSet) TileGetShapeCount(id gdnative.Int) gdnative.Int
- func (o *TileSet) TileGetShapeOneWay(id gdnative.Int, shapeId gdnative.Int) gdnative.Bool
- func (o *TileSet) TileGetShapeTransform(id gdnative.Int, shapeId gdnative.Int) gdnative.Transform2D
- func (o *TileSet) TileGetShapes(id gdnative.Int) gdnative.Array
- func (o *TileSet) TileGetTexture(id gdnative.Int) TextureImplementer
- func (o *TileSet) TileGetTextureOffset(id gdnative.Int) gdnative.Vector2
- func (o *TileSet) TileSetLightOccluder(id gdnative.Int, lightOccluder OccluderPolygon2DImplementer)
- func (o *TileSet) TileSetMaterial(id gdnative.Int, material ShaderMaterialImplementer)
- func (o *TileSet) TileSetName(id gdnative.Int, name gdnative.String)
- func (o *TileSet) TileSetNavigationPolygon(id gdnative.Int, navigationPolygon NavigationPolygonImplementer)
- func (o *TileSet) TileSetNavigationPolygonOffset(id gdnative.Int, navigationPolygonOffset gdnative.Vector2)
- func (o *TileSet) TileSetNormalMap(id gdnative.Int, normalMap TextureImplementer)
- func (o *TileSet) TileSetOccluderOffset(id gdnative.Int, occluderOffset gdnative.Vector2)
- func (o *TileSet) TileSetRegion(id gdnative.Int, region gdnative.Rect2)
- func (o *TileSet) TileSetShape(id gdnative.Int, shapeId gdnative.Int, shape Shape2DImplementer)
- func (o *TileSet) TileSetShapeOneWay(id gdnative.Int, shapeId gdnative.Int, oneWay gdnative.Bool)
- func (o *TileSet) TileSetShapeTransform(id gdnative.Int, shapeId gdnative.Int, shapeTransform gdnative.Transform2D)
- func (o *TileSet) TileSetShapes(id gdnative.Int, shapes gdnative.Array)
- func (o *TileSet) TileSetTexture(id gdnative.Int, texture TextureImplementer)
- func (o *TileSet) TileSetTextureOffset(id gdnative.Int, textureOffset gdnative.Vector2)
- func (o *TileSet) X_ForwardSubtileSelection(autotileId gdnative.Int, bitmask gdnative.Int, tilemap ObjectImplementer, ...) gdnative.Vector2
- func (o *TileSet) X_IsTileBound(drawnId gdnative.Int, neighborId gdnative.Int) gdnative.Bool
- type TileSetAutotileBindings
- type TileSetBitmaskMode
- type TileSetImplementer
- type Timer
- func (o *Timer) BaseClass() string
- func (o *Timer) GetTimeLeft() gdnative.Real
- func (o *Timer) GetTimerProcessMode() TimerTimerProcessMode
- func (o *Timer) GetWaitTime() gdnative.Real
- func (o *Timer) HasAutostart() gdnative.Bool
- func (o *Timer) IsOneShot() gdnative.Bool
- func (o *Timer) IsPaused() gdnative.Bool
- func (o *Timer) IsStopped() gdnative.Bool
- func (o *Timer) SetAutostart(enable gdnative.Bool)
- func (o *Timer) SetOneShot(enable gdnative.Bool)
- func (o *Timer) SetPaused(paused gdnative.Bool)
- func (o *Timer) SetTimerProcessMode(mode gdnative.Int)
- func (o *Timer) SetWaitTime(timeSec gdnative.Real)
- func (o *Timer) Start()
- func (o *Timer) Stop()
- type TimerImplementer
- type TimerTimerProcessMode
- type ToolButton
- type ToolButtonImplementer
- type TouchScreenButton
- func (o *TouchScreenButton) BaseClass() string
- func (o *TouchScreenButton) GetAction() gdnative.String
- func (o *TouchScreenButton) GetBitmask() BitMapImplementer
- func (o *TouchScreenButton) GetShape() Shape2DImplementer
- func (o *TouchScreenButton) GetTexture() TextureImplementer
- func (o *TouchScreenButton) GetTexturePressed() TextureImplementer
- func (o *TouchScreenButton) GetVisibilityMode() TouchScreenButtonVisibilityMode
- func (o *TouchScreenButton) IsPassbyPressEnabled() gdnative.Bool
- func (o *TouchScreenButton) IsPressed() gdnative.Bool
- func (o *TouchScreenButton) IsShapeCentered() gdnative.Bool
- func (o *TouchScreenButton) IsShapeVisible() gdnative.Bool
- func (o *TouchScreenButton) SetAction(action gdnative.String)
- func (o *TouchScreenButton) SetBitmask(bitmask BitMapImplementer)
- func (o *TouchScreenButton) SetPassbyPress(enabled gdnative.Bool)
- func (o *TouchScreenButton) SetShape(shape Shape2DImplementer)
- func (o *TouchScreenButton) SetShapeCentered(bool gdnative.Bool)
- func (o *TouchScreenButton) SetShapeVisible(bool gdnative.Bool)
- func (o *TouchScreenButton) SetTexture(texture TextureImplementer)
- func (o *TouchScreenButton) SetTexturePressed(texturePressed TextureImplementer)
- func (o *TouchScreenButton) SetVisibilityMode(mode gdnative.Int)
- func (o *TouchScreenButton) X_Input(arg0 InputEventImplementer)
- type TouchScreenButtonImplementer
- type TouchScreenButtonVisibilityMode
- type Translation
- func (o *Translation) AddMessage(srcMessage gdnative.String, xlatedMessage gdnative.String)
- func (o *Translation) BaseClass() string
- func (o *Translation) EraseMessage(srcMessage gdnative.String)
- func (o *Translation) GetLocale() gdnative.String
- func (o *Translation) GetMessage(srcMessage gdnative.String) gdnative.String
- func (o *Translation) GetMessageCount() gdnative.Int
- func (o *Translation) GetMessageList() gdnative.PoolStringArray
- func (o *Translation) SetLocale(locale gdnative.String)
- func (o *Translation) X_GetMessages() gdnative.PoolStringArray
- func (o *Translation) X_SetMessages(arg0 gdnative.PoolStringArray)
- type TranslationImplementer
- type TranslationServerImplementer
- type Tree
- func (o *Tree) AreColumnTitlesVisible() gdnative.Bool
- func (o *Tree) BaseClass() string
- func (o *Tree) Clear()
- func (o *Tree) CreateItem(parent ObjectImplementer, idx gdnative.Int) ObjectImplementer
- func (o *Tree) EnsureCursorIsVisible()
- func (o *Tree) GetAllowReselect() gdnative.Bool
- func (o *Tree) GetAllowRmbSelect() gdnative.Bool
- func (o *Tree) GetColumnAtPosition(position gdnative.Vector2) gdnative.Int
- func (o *Tree) GetColumnTitle(column gdnative.Int) gdnative.String
- func (o *Tree) GetColumnWidth(column gdnative.Int) gdnative.Int
- func (o *Tree) GetColumns() gdnative.Int
- func (o *Tree) GetCustomPopupRect() gdnative.Rect2
- func (o *Tree) GetDropModeFlags() gdnative.Int
- func (o *Tree) GetDropSectionAtPosition(position gdnative.Vector2) gdnative.Int
- func (o *Tree) GetEdited() TreeItemImplementer
- func (o *Tree) GetEditedColumn() gdnative.Int
- func (o *Tree) GetItemAreaRect(item ObjectImplementer, column gdnative.Int) gdnative.Rect2
- func (o *Tree) GetItemAtPosition(position gdnative.Vector2) TreeItemImplementer
- func (o *Tree) GetNextSelected(from ObjectImplementer) TreeItemImplementer
- func (o *Tree) GetPressedButton() gdnative.Int
- func (o *Tree) GetRoot() TreeItemImplementer
- func (o *Tree) GetScroll() gdnative.Vector2
- func (o *Tree) GetSelectMode() TreeSelectMode
- func (o *Tree) GetSelected() TreeItemImplementer
- func (o *Tree) GetSelectedColumn() gdnative.Int
- func (o *Tree) IsFoldingHidden() gdnative.Bool
- func (o *Tree) IsRootHidden() gdnative.Bool
- func (o *Tree) SetAllowReselect(allow gdnative.Bool)
- func (o *Tree) SetAllowRmbSelect(allow gdnative.Bool)
- func (o *Tree) SetColumnExpand(column gdnative.Int, expand gdnative.Bool)
- func (o *Tree) SetColumnMinWidth(column gdnative.Int, minWidth gdnative.Int)
- func (o *Tree) SetColumnTitle(column gdnative.Int, title gdnative.String)
- func (o *Tree) SetColumnTitlesVisible(visible gdnative.Bool)
- func (o *Tree) SetColumns(amount gdnative.Int)
- func (o *Tree) SetDropModeFlags(flags gdnative.Int)
- func (o *Tree) SetHideFolding(hide gdnative.Bool)
- func (o *Tree) SetHideRoot(enable gdnative.Bool)
- func (o *Tree) SetSelectMode(mode gdnative.Int)
- func (o *Tree) X_GuiInput(arg0 InputEventImplementer)
- func (o *Tree) X_PopupSelect(arg0 gdnative.Int)
- func (o *Tree) X_RangeClickTimeout()
- func (o *Tree) X_ScrollMoved(arg0 gdnative.Real)
- func (o *Tree) X_TextEditorEnter(arg0 gdnative.String)
- func (o *Tree) X_TextEditorModalClose()
- func (o *Tree) X_ValueEditorChanged(arg0 gdnative.Real)
- type TreeDropModeFlags
- type TreeImplementer
- type TreeItem
- func (o *TreeItem) AddButton(column gdnative.Int, button TextureImplementer, buttonIdx gdnative.Int, ...)
- func (o *TreeItem) BaseClass() string
- func (o *TreeItem) ClearCustomBgColor(column gdnative.Int)
- func (o *TreeItem) ClearCustomColor(column gdnative.Int)
- func (o *TreeItem) Deselect(column gdnative.Int)
- func (o *TreeItem) EraseButton(column gdnative.Int, buttonIdx gdnative.Int)
- func (o *TreeItem) GetButton(column gdnative.Int, buttonIdx gdnative.Int) TextureImplementer
- func (o *TreeItem) GetButtonCount(column gdnative.Int) gdnative.Int
- func (o *TreeItem) GetCellMode(column gdnative.Int) TreeItemTreeCellMode
- func (o *TreeItem) GetChildren() TreeItemImplementer
- func (o *TreeItem) GetCustomBgColor(column gdnative.Int) gdnative.Color
- func (o *TreeItem) GetCustomMinimumHeight() gdnative.Int
- func (o *TreeItem) GetExpandRight(column gdnative.Int) gdnative.Bool
- func (o *TreeItem) GetIcon(column gdnative.Int) TextureImplementer
- func (o *TreeItem) GetIconMaxWidth(column gdnative.Int) gdnative.Int
- func (o *TreeItem) GetIconRegion(column gdnative.Int) gdnative.Rect2
- func (o *TreeItem) GetMetadata(column gdnative.Int) gdnative.Variant
- func (o *TreeItem) GetNext() TreeItemImplementer
- func (o *TreeItem) GetNextVisible() TreeItemImplementer
- func (o *TreeItem) GetParent() TreeItemImplementer
- func (o *TreeItem) GetPrev() TreeItemImplementer
- func (o *TreeItem) GetPrevVisible() TreeItemImplementer
- func (o *TreeItem) GetRange(column gdnative.Int) gdnative.Real
- func (o *TreeItem) GetRangeConfig(column gdnative.Int) gdnative.Dictionary
- func (o *TreeItem) GetText(column gdnative.Int) gdnative.String
- func (o *TreeItem) GetTextAlign(column gdnative.Int) TreeItemTextAlign
- func (o *TreeItem) GetTooltip(column gdnative.Int) gdnative.String
- func (o *TreeItem) IsButtonDisabled(column gdnative.Int, buttonIdx gdnative.Int) gdnative.Bool
- func (o *TreeItem) IsChecked(column gdnative.Int) gdnative.Bool
- func (o *TreeItem) IsCollapsed() gdnative.Bool
- func (o *TreeItem) IsCustomSetAsButton(column gdnative.Int) gdnative.Bool
- func (o *TreeItem) IsEditable(column gdnative.Int) gdnative.Bool
- func (o *TreeItem) IsFoldingDisabled() gdnative.Bool
- func (o *TreeItem) IsSelectable(column gdnative.Int) gdnative.Bool
- func (o *TreeItem) IsSelected(column gdnative.Int) gdnative.Bool
- func (o *TreeItem) MoveToBottom()
- func (o *TreeItem) MoveToTop()
- func (o *TreeItem) RemoveChild(child ObjectImplementer)
- func (o *TreeItem) Select(column gdnative.Int)
- func (o *TreeItem) SetButton(column gdnative.Int, buttonIdx gdnative.Int, button TextureImplementer)
- func (o *TreeItem) SetCellMode(column gdnative.Int, mode gdnative.Int)
- func (o *TreeItem) SetChecked(column gdnative.Int, checked gdnative.Bool)
- func (o *TreeItem) SetCollapsed(enable gdnative.Bool)
- func (o *TreeItem) SetCustomAsButton(column gdnative.Int, enable gdnative.Bool)
- func (o *TreeItem) SetCustomBgColor(column gdnative.Int, color gdnative.Color, justOutline gdnative.Bool)
- func (o *TreeItem) SetCustomColor(column gdnative.Int, color gdnative.Color)
- func (o *TreeItem) SetCustomDraw(column gdnative.Int, object ObjectImplementer, callback gdnative.String)
- func (o *TreeItem) SetCustomMinimumHeight(height gdnative.Int)
- func (o *TreeItem) SetDisableFolding(disable gdnative.Bool)
- func (o *TreeItem) SetEditable(column gdnative.Int, enabled gdnative.Bool)
- func (o *TreeItem) SetExpandRight(column gdnative.Int, enable gdnative.Bool)
- func (o *TreeItem) SetIcon(column gdnative.Int, texture TextureImplementer)
- func (o *TreeItem) SetIconMaxWidth(column gdnative.Int, width gdnative.Int)
- func (o *TreeItem) SetIconRegion(column gdnative.Int, region gdnative.Rect2)
- func (o *TreeItem) SetMetadata(column gdnative.Int, meta gdnative.Variant)
- func (o *TreeItem) SetRange(column gdnative.Int, value gdnative.Real)
- func (o *TreeItem) SetRangeConfig(column gdnative.Int, min gdnative.Real, max gdnative.Real, step gdnative.Real, ...)
- func (o *TreeItem) SetSelectable(column gdnative.Int, selectable gdnative.Bool)
- func (o *TreeItem) SetText(column gdnative.Int, text gdnative.String)
- func (o *TreeItem) SetTextAlign(column gdnative.Int, textAlign gdnative.Int)
- func (o *TreeItem) SetTooltip(column gdnative.Int, tooltip gdnative.String)
- type TreeItemImplementer
- type TreeItemTextAlign
- type TreeItemTreeCellMode
- type TreeSelectMode
- type TriangleMesh
- type TriangleMeshImplementer
- type Tween
- func (o *Tween) BaseClass() string
- func (o *Tween) FollowMethod(object ObjectImplementer, method gdnative.String, initialVal gdnative.Variant, ...) gdnative.Bool
- func (o *Tween) FollowProperty(object ObjectImplementer, property gdnative.NodePath, ...) gdnative.Bool
- func (o *Tween) GetRuntime() gdnative.Real
- func (o *Tween) GetSpeedScale() gdnative.Real
- func (o *Tween) GetTweenProcessMode() TweenTweenProcessMode
- func (o *Tween) InterpolateCallback(object ObjectImplementer, duration gdnative.Real, callback gdnative.String, ...) gdnative.Bool
- func (o *Tween) InterpolateDeferredCallback(object ObjectImplementer, duration gdnative.Real, callback gdnative.String, ...) gdnative.Bool
- func (o *Tween) InterpolateMethod(object ObjectImplementer, method gdnative.String, initialVal gdnative.Variant, ...) gdnative.Bool
- func (o *Tween) InterpolateProperty(object ObjectImplementer, property gdnative.NodePath, ...) gdnative.Bool
- func (o *Tween) IsActive() gdnative.Bool
- func (o *Tween) IsRepeat() gdnative.Bool
- func (o *Tween) Remove(object ObjectImplementer, key gdnative.String) gdnative.Bool
- func (o *Tween) RemoveAll() gdnative.Bool
- func (o *Tween) Reset(object ObjectImplementer, key gdnative.String) gdnative.Bool
- func (o *Tween) ResetAll() gdnative.Bool
- func (o *Tween) Resume(object ObjectImplementer, key gdnative.String) gdnative.Bool
- func (o *Tween) ResumeAll() gdnative.Bool
- func (o *Tween) Seek(time gdnative.Real) gdnative.Bool
- func (o *Tween) SetActive(active gdnative.Bool)
- func (o *Tween) SetRepeat(repeat gdnative.Bool)
- func (o *Tween) SetSpeedScale(speed gdnative.Real)
- func (o *Tween) SetTweenProcessMode(mode gdnative.Int)
- func (o *Tween) Start() gdnative.Bool
- func (o *Tween) Stop(object ObjectImplementer, key gdnative.String) gdnative.Bool
- func (o *Tween) StopAll() gdnative.Bool
- func (o *Tween) TargetingMethod(object ObjectImplementer, method gdnative.String, initial ObjectImplementer, ...) gdnative.Bool
- func (o *Tween) TargetingProperty(object ObjectImplementer, property gdnative.NodePath, ...) gdnative.Bool
- func (o *Tween) Tell() gdnative.Real
- func (o *Tween) X_Remove(object ObjectImplementer, key gdnative.String, firstOnly gdnative.Bool)
- type TweenEaseType
- type TweenImplementer
- type TweenTransitionType
- type TweenTweenProcessMode
- type UndoRedo
- func (o *UndoRedo) AddDoMethod(object ObjectImplementer, method gdnative.String) gdnative.Variant
- func (o *UndoRedo) AddDoProperty(object ObjectImplementer, property gdnative.String, value gdnative.Variant)
- func (o *UndoRedo) AddDoReference(object ObjectImplementer)
- func (o *UndoRedo) AddUndoMethod(object ObjectImplementer, method gdnative.String) gdnative.Variant
- func (o *UndoRedo) AddUndoProperty(object ObjectImplementer, property gdnative.String, value gdnative.Variant)
- func (o *UndoRedo) AddUndoReference(object ObjectImplementer)
- func (o *UndoRedo) BaseClass() string
- func (o *UndoRedo) ClearHistory()
- func (o *UndoRedo) CommitAction()
- func (o *UndoRedo) CreateAction(name gdnative.String, mergeMode gdnative.Int)
- func (o *UndoRedo) GetCurrentActionName() gdnative.String
- func (o *UndoRedo) GetVersion() gdnative.Int
- func (o *UndoRedo) Redo()
- func (o *UndoRedo) Undo()
- type UndoRedoImplementer
- type UndoRedoMergeMode
- type VBoxContainer
- type VBoxContainerImplementer
- type VScrollBar
- type VScrollBarImplementer
- type VSeparator
- type VSeparatorImplementer
- type VSlider
- type VSliderImplementer
- type VSplitContainer
- type VSplitContainerImplementer
- type VehicleBody
- func (o *VehicleBody) BaseClass() string
- func (o *VehicleBody) GetBrake() gdnative.Real
- func (o *VehicleBody) GetEngineForce() gdnative.Real
- func (o *VehicleBody) GetSteering() gdnative.Real
- func (o *VehicleBody) SetBrake(brake gdnative.Real)
- func (o *VehicleBody) SetEngineForce(engineForce gdnative.Real)
- func (o *VehicleBody) SetSteering(steering gdnative.Real)
- type VehicleBodyImplementer
- type VehicleWheel
- func (o *VehicleWheel) BaseClass() string
- func (o *VehicleWheel) GetDampingCompression() gdnative.Real
- func (o *VehicleWheel) GetDampingRelaxation() gdnative.Real
- func (o *VehicleWheel) GetFrictionSlip() gdnative.Real
- func (o *VehicleWheel) GetRadius() gdnative.Real
- func (o *VehicleWheel) GetRollInfluence() gdnative.Real
- func (o *VehicleWheel) GetSkidinfo() gdnative.Real
- func (o *VehicleWheel) GetSuspensionMaxForce() gdnative.Real
- func (o *VehicleWheel) GetSuspensionRestLength() gdnative.Real
- func (o *VehicleWheel) GetSuspensionStiffness() gdnative.Real
- func (o *VehicleWheel) GetSuspensionTravel() gdnative.Real
- func (o *VehicleWheel) IsInContact() gdnative.Bool
- func (o *VehicleWheel) IsUsedAsSteering() gdnative.Bool
- func (o *VehicleWheel) IsUsedAsTraction() gdnative.Bool
- func (o *VehicleWheel) SetDampingCompression(length gdnative.Real)
- func (o *VehicleWheel) SetDampingRelaxation(length gdnative.Real)
- func (o *VehicleWheel) SetFrictionSlip(length gdnative.Real)
- func (o *VehicleWheel) SetRadius(length gdnative.Real)
- func (o *VehicleWheel) SetRollInfluence(rollInfluence gdnative.Real)
- func (o *VehicleWheel) SetSuspensionMaxForce(length gdnative.Real)
- func (o *VehicleWheel) SetSuspensionRestLength(length gdnative.Real)
- func (o *VehicleWheel) SetSuspensionStiffness(length gdnative.Real)
- func (o *VehicleWheel) SetSuspensionTravel(length gdnative.Real)
- func (o *VehicleWheel) SetUseAsSteering(enable gdnative.Bool)
- func (o *VehicleWheel) SetUseAsTraction(enable gdnative.Bool)
- type VehicleWheelImplementer
- type VideoPlayer
- func (o *VideoPlayer) BaseClass() string
- func (o *VideoPlayer) GetAudioTrack() gdnative.Int
- func (o *VideoPlayer) GetBufferingMsec() gdnative.Int
- func (o *VideoPlayer) GetBus() gdnative.String
- func (o *VideoPlayer) GetStream() VideoStreamImplementer
- func (o *VideoPlayer) GetStreamName() gdnative.String
- func (o *VideoPlayer) GetStreamPosition() gdnative.Real
- func (o *VideoPlayer) GetVideoTexture() TextureImplementer
- func (o *VideoPlayer) GetVolume() gdnative.Real
- func (o *VideoPlayer) GetVolumeDb() gdnative.Real
- func (o *VideoPlayer) HasAutoplay() gdnative.Bool
- func (o *VideoPlayer) HasExpand() gdnative.Bool
- func (o *VideoPlayer) IsPaused() gdnative.Bool
- func (o *VideoPlayer) IsPlaying() gdnative.Bool
- func (o *VideoPlayer) Play()
- func (o *VideoPlayer) SetAudioTrack(track gdnative.Int)
- func (o *VideoPlayer) SetAutoplay(enabled gdnative.Bool)
- func (o *VideoPlayer) SetBufferingMsec(msec gdnative.Int)
- func (o *VideoPlayer) SetBus(bus gdnative.String)
- func (o *VideoPlayer) SetExpand(enable gdnative.Bool)
- func (o *VideoPlayer) SetPaused(paused gdnative.Bool)
- func (o *VideoPlayer) SetStream(stream VideoStreamImplementer)
- func (o *VideoPlayer) SetStreamPosition(position gdnative.Real)
- func (o *VideoPlayer) SetVolume(volume gdnative.Real)
- func (o *VideoPlayer) SetVolumeDb(db gdnative.Real)
- func (o *VideoPlayer) Stop()
- type VideoPlayerImplementer
- type VideoStream
- type VideoStreamImplementer
- type VideoStreamTheora
- type VideoStreamTheoraImplementer
- type VideoStreamWebm
- type VideoStreamWebmImplementer
- type Viewport
- func (o *Viewport) BaseClass() string
- func (o *Viewport) FindWorld() WorldImplementer
- func (o *Viewport) FindWorld2D() World2DImplementer
- func (o *Viewport) GetCamera() CameraImplementer
- func (o *Viewport) GetCanvasTransform() gdnative.Transform2D
- func (o *Viewport) GetClearMode() ViewportClearMode
- func (o *Viewport) GetDebugDraw() ViewportDebugDraw
- func (o *Viewport) GetFinalTransform() gdnative.Transform2D
- func (o *Viewport) GetGlobalCanvasTransform() gdnative.Transform2D
- func (o *Viewport) GetHdr() gdnative.Bool
- func (o *Viewport) GetMousePosition() gdnative.Vector2
- func (o *Viewport) GetMsaa() ViewportMSAA
- func (o *Viewport) GetPhysicsObjectPicking() gdnative.Bool
- func (o *Viewport) GetRenderInfo(info gdnative.Int) gdnative.Int
- func (o *Viewport) GetShadowAtlasQuadrantSubdiv(quadrant gdnative.Int) ViewportShadowAtlasQuadrantSubdiv
- func (o *Viewport) GetShadowAtlasSize() gdnative.Int
- func (o *Viewport) GetSize() gdnative.Vector2
- func (o *Viewport) GetSizeOverride() gdnative.Vector2
- func (o *Viewport) GetTexture() ViewportTextureImplementer
- func (o *Viewport) GetUpdateMode() ViewportUpdateMode
- func (o *Viewport) GetUsage() ViewportUsage
- func (o *Viewport) GetVflip() gdnative.Bool
- func (o *Viewport) GetViewportRid() gdnative.Rid
- func (o *Viewport) GetVisibleRect() gdnative.Rect2
- func (o *Viewport) GetWorld() WorldImplementer
- func (o *Viewport) GetWorld2D() World2DImplementer
- func (o *Viewport) GuiGetDragData() gdnative.Variant
- func (o *Viewport) GuiHasModalStack() gdnative.Bool
- func (o *Viewport) HasTransparentBackground() gdnative.Bool
- func (o *Viewport) InputMethod(localEvent InputEventImplementer)
- func (o *Viewport) Is3DDisabled() gdnative.Bool
- func (o *Viewport) IsAudioListener() gdnative.Bool
- func (o *Viewport) IsAudioListener2D() gdnative.Bool
- func (o *Viewport) IsInputDisabled() gdnative.Bool
- func (o *Viewport) IsSizeOverrideEnabled() gdnative.Bool
- func (o *Viewport) IsSizeOverrideStretchEnabled() gdnative.Bool
- func (o *Viewport) IsSnapControlsToPixelsEnabled() gdnative.Bool
- func (o *Viewport) IsUsingOwnWorld() gdnative.Bool
- func (o *Viewport) SetAsAudioListener(enable gdnative.Bool)
- func (o *Viewport) SetAsAudioListener2D(enable gdnative.Bool)
- func (o *Viewport) SetAttachToScreenRect(rect gdnative.Rect2)
- func (o *Viewport) SetCanvasTransform(xform gdnative.Transform2D)
- func (o *Viewport) SetClearMode(mode gdnative.Int)
- func (o *Viewport) SetDebugDraw(debugDraw gdnative.Int)
- func (o *Viewport) SetDisable3D(disable gdnative.Bool)
- func (o *Viewport) SetDisableInput(disable gdnative.Bool)
- func (o *Viewport) SetGlobalCanvasTransform(xform gdnative.Transform2D)
- func (o *Viewport) SetHdr(enable gdnative.Bool)
- func (o *Viewport) SetMsaa(msaa gdnative.Int)
- func (o *Viewport) SetPhysicsObjectPicking(enable gdnative.Bool)
- func (o *Viewport) SetShadowAtlasQuadrantSubdiv(quadrant gdnative.Int, subdiv gdnative.Int)
- func (o *Viewport) SetShadowAtlasSize(size gdnative.Int)
- func (o *Viewport) SetSize(size gdnative.Vector2)
- func (o *Viewport) SetSizeOverride(enable gdnative.Bool, size gdnative.Vector2, margin gdnative.Vector2)
- func (o *Viewport) SetSizeOverrideStretch(enabled gdnative.Bool)
- func (o *Viewport) SetSnapControlsToPixels(enabled gdnative.Bool)
- func (o *Viewport) SetTransparentBackground(enable gdnative.Bool)
- func (o *Viewport) SetUpdateMode(mode gdnative.Int)
- func (o *Viewport) SetUsage(usage gdnative.Int)
- func (o *Viewport) SetUseArvr(use gdnative.Bool)
- func (o *Viewport) SetUseOwnWorld(enable gdnative.Bool)
- func (o *Viewport) SetVflip(enable gdnative.Bool)
- func (o *Viewport) SetWorld(world WorldImplementer)
- func (o *Viewport) SetWorld2D(world2D World2DImplementer)
- func (o *Viewport) UnhandledInput(localEvent InputEventImplementer)
- func (o *Viewport) UpdateWorlds()
- func (o *Viewport) UseArvr() gdnative.Bool
- func (o *Viewport) WarpMouse(toPosition gdnative.Vector2)
- func (o *Viewport) X_GuiRemoveFocus()
- func (o *Viewport) X_GuiShowTooltip()
- func (o *Viewport) X_VpInput(arg0 InputEventImplementer)
- func (o *Viewport) X_VpInputText(text gdnative.String)
- func (o *Viewport) X_VpUnhandledInput(arg0 InputEventImplementer)
- type ViewportClearMode
- type ViewportContainer
- func (o *ViewportContainer) BaseClass() string
- func (o *ViewportContainer) GetStretchShrink() gdnative.Int
- func (o *ViewportContainer) IsStretchEnabled() gdnative.Bool
- func (o *ViewportContainer) SetStretch(enable gdnative.Bool)
- func (o *ViewportContainer) SetStretchShrink(amount gdnative.Int)
- func (o *ViewportContainer) X_Input(event InputEventImplementer)
- type ViewportContainerImplementer
- type ViewportDebugDraw
- type ViewportImplementer
- type ViewportMSAA
- type ViewportRenderInfo
- type ViewportShadowAtlasQuadrantSubdiv
- type ViewportTexture
- type ViewportTextureImplementer
- type ViewportUpdateMode
- type ViewportUsage
- type VisibilityEnabler
- type VisibilityEnabler2D
- type VisibilityEnabler2DEnabler
- type VisibilityEnabler2DImplementer
- type VisibilityEnablerEnabler
- type VisibilityEnablerImplementer
- type VisibilityNotifier
- type VisibilityNotifier2D
- type VisibilityNotifier2DImplementer
- type VisibilityNotifierImplementer
- type VisualInstance
- func (o *VisualInstance) BaseClass() string
- func (o *VisualInstance) GetAabb() gdnative.Aabb
- func (o *VisualInstance) GetLayerMask() gdnative.Int
- func (o *VisualInstance) GetTransformedAabb() gdnative.Aabb
- func (o *VisualInstance) SetBase(base gdnative.Rid)
- func (o *VisualInstance) SetLayerMask(mask gdnative.Int)
- func (o *VisualInstance) X_GetVisualInstanceRid() gdnative.Rid
- type VisualInstanceImplementer
- type VisualScript
- func (o *VisualScript) AddCustomSignal(name gdnative.String)
- func (o *VisualScript) AddFunction(name gdnative.String)
- func (o *VisualScript) AddNode(function gdnative.String, id gdnative.Int, node VisualScriptNodeImplementer, ...)
- func (o *VisualScript) AddVariable(name gdnative.String, defaultValue gdnative.Variant, export gdnative.Bool)
- func (o *VisualScript) BaseClass() string
- func (o *VisualScript) CustomSignalAddArgument(name gdnative.String, aType gdnative.Int, argname gdnative.String, ...)
- func (o *VisualScript) CustomSignalGetArgumentCount(name gdnative.String) gdnative.Int
- func (o *VisualScript) CustomSignalGetArgumentName(name gdnative.String, argidx gdnative.Int) gdnative.String
- func (o *VisualScript) CustomSignalGetArgumentType(name gdnative.String, argidx gdnative.Int) gdnative.VariantType
- func (o *VisualScript) CustomSignalRemoveArgument(name gdnative.String, argidx gdnative.Int)
- func (o *VisualScript) CustomSignalSetArgumentName(name gdnative.String, argidx gdnative.Int, argname gdnative.String)
- func (o *VisualScript) CustomSignalSetArgumentType(name gdnative.String, argidx gdnative.Int, aType gdnative.Int)
- func (o *VisualScript) CustomSignalSwapArgument(name gdnative.String, argidx gdnative.Int, withidx gdnative.Int)
- func (o *VisualScript) DataConnect(function gdnative.String, fromNode gdnative.Int, fromPort gdnative.Int, ...)
- func (o *VisualScript) DataDisconnect(function gdnative.String, fromNode gdnative.Int, fromPort gdnative.Int, ...)
- func (o *VisualScript) GetFunctionNodeId(name gdnative.String) gdnative.Int
- func (o *VisualScript) GetFunctionScroll(name gdnative.String) gdnative.Vector2
- func (o *VisualScript) GetNode(function gdnative.String, id gdnative.Int) VisualScriptNodeImplementer
- func (o *VisualScript) GetNodePosition(function gdnative.String, id gdnative.Int) gdnative.Vector2
- func (o *VisualScript) GetVariableDefaultValue(name gdnative.String) gdnative.Variant
- func (o *VisualScript) GetVariableExport(name gdnative.String) gdnative.Bool
- func (o *VisualScript) GetVariableInfo(name gdnative.String) gdnative.Dictionary
- func (o *VisualScript) HasCustomSignal(name gdnative.String) gdnative.Bool
- func (o *VisualScript) HasDataConnection(function gdnative.String, fromNode gdnative.Int, fromPort gdnative.Int, ...) gdnative.Bool
- func (o *VisualScript) HasFunction(name gdnative.String) gdnative.Bool
- func (o *VisualScript) HasNode(function gdnative.String, id gdnative.Int) gdnative.Bool
- func (o *VisualScript) HasSequenceConnection(function gdnative.String, fromNode gdnative.Int, fromOutput gdnative.Int, ...) gdnative.Bool
- func (o *VisualScript) HasVariable(name gdnative.String) gdnative.Bool
- func (o *VisualScript) RemoveCustomSignal(name gdnative.String)
- func (o *VisualScript) RemoveFunction(name gdnative.String)
- func (o *VisualScript) RemoveNode(function gdnative.String, id gdnative.Int)
- func (o *VisualScript) RemoveVariable(name gdnative.String)
- func (o *VisualScript) RenameCustomSignal(name gdnative.String, newName gdnative.String)
- func (o *VisualScript) RenameFunction(name gdnative.String, newName gdnative.String)
- func (o *VisualScript) RenameVariable(name gdnative.String, newName gdnative.String)
- func (o *VisualScript) SequenceConnect(function gdnative.String, fromNode gdnative.Int, fromOutput gdnative.Int, ...)
- func (o *VisualScript) SequenceDisconnect(function gdnative.String, fromNode gdnative.Int, fromOutput gdnative.Int, ...)
- func (o *VisualScript) SetFunctionScroll(name gdnative.String, ofs gdnative.Vector2)
- func (o *VisualScript) SetInstanceBaseType(aType gdnative.String)
- func (o *VisualScript) SetNodePosition(function gdnative.String, id gdnative.Int, position gdnative.Vector2)
- func (o *VisualScript) SetVariableDefaultValue(name gdnative.String, value gdnative.Variant)
- func (o *VisualScript) SetVariableExport(name gdnative.String, enable gdnative.Bool)
- func (o *VisualScript) SetVariableInfo(name gdnative.String, value gdnative.Dictionary)
- func (o *VisualScript) X_GetData() gdnative.Dictionary
- func (o *VisualScript) X_NodePortsChanged(arg0 gdnative.Int)
- func (o *VisualScript) X_SetData(data gdnative.Dictionary)
- type VisualScriptBasicTypeConstant
- func (o *VisualScriptBasicTypeConstant) BaseClass() string
- func (o *VisualScriptBasicTypeConstant) GetBasicType() gdnative.VariantType
- func (o *VisualScriptBasicTypeConstant) GetBasicTypeConstant() gdnative.String
- func (o *VisualScriptBasicTypeConstant) SetBasicType(name gdnative.Int)
- func (o *VisualScriptBasicTypeConstant) SetBasicTypeConstant(name gdnative.String)
- type VisualScriptBasicTypeConstantImplementer
- type VisualScriptBuiltinFunc
- type VisualScriptBuiltinFuncBuiltinFunc
- type VisualScriptBuiltinFuncImplementer
- type VisualScriptClassConstant
- func (o *VisualScriptClassConstant) BaseClass() string
- func (o *VisualScriptClassConstant) GetBaseType() gdnative.String
- func (o *VisualScriptClassConstant) GetClassConstant() gdnative.String
- func (o *VisualScriptClassConstant) SetBaseType(name gdnative.String)
- func (o *VisualScriptClassConstant) SetClassConstant(name gdnative.String)
- type VisualScriptClassConstantImplementer
- type VisualScriptComment
- func (o *VisualScriptComment) BaseClass() string
- func (o *VisualScriptComment) GetDescription() gdnative.String
- func (o *VisualScriptComment) GetSize() gdnative.Vector2
- func (o *VisualScriptComment) GetTitle() gdnative.String
- func (o *VisualScriptComment) SetDescription(description gdnative.String)
- func (o *VisualScriptComment) SetSize(size gdnative.Vector2)
- func (o *VisualScriptComment) SetTitle(title gdnative.String)
- type VisualScriptCommentImplementer
- type VisualScriptCondition
- type VisualScriptConditionImplementer
- type VisualScriptConstant
- func (o *VisualScriptConstant) BaseClass() string
- func (o *VisualScriptConstant) GetConstantType() gdnative.VariantType
- func (o *VisualScriptConstant) GetConstantValue() gdnative.Variant
- func (o *VisualScriptConstant) SetConstantType(aType gdnative.Int)
- func (o *VisualScriptConstant) SetConstantValue(value gdnative.Variant)
- type VisualScriptConstantImplementer
- type VisualScriptConstructor
- func (o *VisualScriptConstructor) BaseClass() string
- func (o *VisualScriptConstructor) GetConstructor() gdnative.Dictionary
- func (o *VisualScriptConstructor) GetConstructorType() gdnative.VariantType
- func (o *VisualScriptConstructor) SetConstructor(constructor gdnative.Dictionary)
- func (o *VisualScriptConstructor) SetConstructorType(aType gdnative.Int)
- type VisualScriptConstructorImplementer
- type VisualScriptCustomNode
- func (o *VisualScriptCustomNode) BaseClass() string
- func (o *VisualScriptCustomNode) X_GetCaption() gdnative.String
- func (o *VisualScriptCustomNode) X_GetCategory() gdnative.String
- func (o *VisualScriptCustomNode) X_GetInputValuePortCount() gdnative.Int
- func (o *VisualScriptCustomNode) X_GetInputValuePortName(idx gdnative.Int) gdnative.String
- func (o *VisualScriptCustomNode) X_GetInputValuePortType(idx gdnative.Int) gdnative.Int
- func (o *VisualScriptCustomNode) X_GetOutputSequencePortCount() gdnative.Int
- func (o *VisualScriptCustomNode) X_GetOutputSequencePortText(idx gdnative.Int) gdnative.String
- func (o *VisualScriptCustomNode) X_GetOutputValuePortCount() gdnative.Int
- func (o *VisualScriptCustomNode) X_GetOutputValuePortName(idx gdnative.Int) gdnative.String
- func (o *VisualScriptCustomNode) X_GetOutputValuePortType(idx gdnative.Int) gdnative.Int
- func (o *VisualScriptCustomNode) X_GetText() gdnative.String
- func (o *VisualScriptCustomNode) X_GetWorkingMemorySize() gdnative.Int
- func (o *VisualScriptCustomNode) X_HasInputSequencePort() gdnative.Bool
- func (o *VisualScriptCustomNode) X_ScriptChanged()
- func (o *VisualScriptCustomNode) X_Step(inputs gdnative.Array, outputs gdnative.Array, startMode gdnative.Int, ...) gdnative.Variant
- type VisualScriptCustomNodeImplementer
- type VisualScriptCustomNodeStartMode
- type VisualScriptDeconstruct
- func (o *VisualScriptDeconstruct) BaseClass() string
- func (o *VisualScriptDeconstruct) GetDeconstructType() gdnative.VariantType
- func (o *VisualScriptDeconstruct) SetDeconstructType(aType gdnative.Int)
- func (o *VisualScriptDeconstruct) X_GetElemCache() gdnative.Array
- func (o *VisualScriptDeconstruct) X_SetElemCache(cache gdnative.Array)
- type VisualScriptDeconstructImplementer
- type VisualScriptEditorImplementer
- type VisualScriptEmitSignal
- type VisualScriptEmitSignalImplementer
- type VisualScriptEngineSingleton
- type VisualScriptEngineSingletonImplementer
- type VisualScriptExpression
- type VisualScriptExpressionImplementer
- type VisualScriptFunction
- type VisualScriptFunctionCall
- func (o *VisualScriptFunctionCall) BaseClass() string
- func (o *VisualScriptFunctionCall) GetBasePath() gdnative.NodePath
- func (o *VisualScriptFunctionCall) GetBaseScript() gdnative.String
- func (o *VisualScriptFunctionCall) GetBaseType() gdnative.String
- func (o *VisualScriptFunctionCall) GetBasicType() gdnative.VariantType
- func (o *VisualScriptFunctionCall) GetCallMode() VisualScriptFunctionCallCallMode
- func (o *VisualScriptFunctionCall) GetFunction() gdnative.String
- func (o *VisualScriptFunctionCall) GetRpcCallMode() VisualScriptFunctionCallRPCCallMode
- func (o *VisualScriptFunctionCall) GetSingleton() gdnative.String
- func (o *VisualScriptFunctionCall) GetUseDefaultArgs() gdnative.Int
- func (o *VisualScriptFunctionCall) GetValidate() gdnative.Bool
- func (o *VisualScriptFunctionCall) SetBasePath(basePath gdnative.NodePath)
- func (o *VisualScriptFunctionCall) SetBaseScript(baseScript gdnative.String)
- func (o *VisualScriptFunctionCall) SetBaseType(baseType gdnative.String)
- func (o *VisualScriptFunctionCall) SetBasicType(basicType gdnative.Int)
- func (o *VisualScriptFunctionCall) SetCallMode(mode gdnative.Int)
- func (o *VisualScriptFunctionCall) SetFunction(function gdnative.String)
- func (o *VisualScriptFunctionCall) SetRpcCallMode(mode gdnative.Int)
- func (o *VisualScriptFunctionCall) SetSingleton(singleton gdnative.String)
- func (o *VisualScriptFunctionCall) SetUseDefaultArgs(amount gdnative.Int)
- func (o *VisualScriptFunctionCall) SetValidate(enable gdnative.Bool)
- func (o *VisualScriptFunctionCall) X_GetArgumentCache() gdnative.Dictionary
- func (o *VisualScriptFunctionCall) X_SetArgumentCache(argumentCache gdnative.Dictionary)
- type VisualScriptFunctionCallCallMode
- type VisualScriptFunctionCallImplementer
- type VisualScriptFunctionCallRPCCallMode
- type VisualScriptFunctionImplementer
- type VisualScriptFunctionState
- func (o *VisualScriptFunctionState) BaseClass() string
- func (o *VisualScriptFunctionState) ConnectToSignal(obj ObjectImplementer, signals gdnative.String, args gdnative.Array)
- func (o *VisualScriptFunctionState) IsValid() gdnative.Bool
- func (o *VisualScriptFunctionState) Resume(args gdnative.Array) gdnative.Variant
- func (o *VisualScriptFunctionState) X_SignalCallback() gdnative.Variant
- type VisualScriptFunctionStateImplementer
- type VisualScriptGlobalConstant
- type VisualScriptGlobalConstantImplementer
- type VisualScriptImplementer
- type VisualScriptIndexGet
- type VisualScriptIndexGetImplementer
- type VisualScriptIndexSet
- type VisualScriptIndexSetImplementer
- type VisualScriptInputAction
- func (o *VisualScriptInputAction) BaseClass() string
- func (o *VisualScriptInputAction) GetActionMode() VisualScriptInputActionMode
- func (o *VisualScriptInputAction) GetActionName() gdnative.String
- func (o *VisualScriptInputAction) SetActionMode(mode gdnative.Int)
- func (o *VisualScriptInputAction) SetActionName(name gdnative.String)
- type VisualScriptInputActionImplementer
- type VisualScriptInputActionMode
- type VisualScriptIterator
- type VisualScriptIteratorImplementer
- type VisualScriptLocalVar
- func (o *VisualScriptLocalVar) BaseClass() string
- func (o *VisualScriptLocalVar) GetVarName() gdnative.String
- func (o *VisualScriptLocalVar) GetVarType() gdnative.VariantType
- func (o *VisualScriptLocalVar) SetVarName(name gdnative.String)
- func (o *VisualScriptLocalVar) SetVarType(aType gdnative.Int)
- type VisualScriptLocalVarImplementer
- type VisualScriptLocalVarSet
- func (o *VisualScriptLocalVarSet) BaseClass() string
- func (o *VisualScriptLocalVarSet) GetVarName() gdnative.String
- func (o *VisualScriptLocalVarSet) GetVarType() gdnative.VariantType
- func (o *VisualScriptLocalVarSet) SetVarName(name gdnative.String)
- func (o *VisualScriptLocalVarSet) SetVarType(aType gdnative.Int)
- type VisualScriptLocalVarSetImplementer
- type VisualScriptMathConstant
- type VisualScriptMathConstantImplementer
- type VisualScriptMathConstantMathConstant
- type VisualScriptNode
- func (o *VisualScriptNode) BaseClass() string
- func (o *VisualScriptNode) GetDefaultInputValue(portIdx gdnative.Int) gdnative.Variant
- func (o *VisualScriptNode) GetVisualScript() VisualScriptImplementer
- func (o *VisualScriptNode) PortsChangedNotify()
- func (o *VisualScriptNode) SetDefaultInputValue(portIdx gdnative.Int, value gdnative.Variant)
- func (o *VisualScriptNode) X_GetDefaultInputValues() gdnative.Array
- func (o *VisualScriptNode) X_SetDefaultInputValues(values gdnative.Array)
- type VisualScriptNodeImplementer
- type VisualScriptOperator
- func (o *VisualScriptOperator) BaseClass() string
- func (o *VisualScriptOperator) GetOperator() gdnative.VariantOperator
- func (o *VisualScriptOperator) GetTyped() gdnative.VariantType
- func (o *VisualScriptOperator) SetOperator(op gdnative.Int)
- func (o *VisualScriptOperator) SetTyped(aType gdnative.Int)
- type VisualScriptOperatorImplementer
- type VisualScriptPreload
- type VisualScriptPreloadImplementer
- type VisualScriptPropertyGet
- func (o *VisualScriptPropertyGet) BaseClass() string
- func (o *VisualScriptPropertyGet) GetBasePath() gdnative.NodePath
- func (o *VisualScriptPropertyGet) GetBaseScript() gdnative.String
- func (o *VisualScriptPropertyGet) GetBaseType() gdnative.String
- func (o *VisualScriptPropertyGet) GetBasicType() gdnative.VariantType
- func (o *VisualScriptPropertyGet) GetCallMode() VisualScriptPropertyGetCallMode
- func (o *VisualScriptPropertyGet) GetIndex() gdnative.String
- func (o *VisualScriptPropertyGet) GetProperty() gdnative.String
- func (o *VisualScriptPropertyGet) SetBasePath(basePath gdnative.NodePath)
- func (o *VisualScriptPropertyGet) SetBaseScript(baseScript gdnative.String)
- func (o *VisualScriptPropertyGet) SetBaseType(baseType gdnative.String)
- func (o *VisualScriptPropertyGet) SetBasicType(basicType gdnative.Int)
- func (o *VisualScriptPropertyGet) SetCallMode(mode gdnative.Int)
- func (o *VisualScriptPropertyGet) SetIndex(index gdnative.String)
- func (o *VisualScriptPropertyGet) SetProperty(property gdnative.String)
- func (o *VisualScriptPropertyGet) X_GetTypeCache() gdnative.VariantType
- func (o *VisualScriptPropertyGet) X_SetTypeCache(typeCache gdnative.Int)
- type VisualScriptPropertyGetCallMode
- type VisualScriptPropertyGetImplementer
- type VisualScriptPropertySet
- func (o *VisualScriptPropertySet) BaseClass() string
- func (o *VisualScriptPropertySet) GetAssignOp() VisualScriptPropertySetAssignOp
- func (o *VisualScriptPropertySet) GetBasePath() gdnative.NodePath
- func (o *VisualScriptPropertySet) GetBaseScript() gdnative.String
- func (o *VisualScriptPropertySet) GetBaseType() gdnative.String
- func (o *VisualScriptPropertySet) GetBasicType() gdnative.VariantType
- func (o *VisualScriptPropertySet) GetCallMode() VisualScriptPropertySetCallMode
- func (o *VisualScriptPropertySet) GetIndex() gdnative.String
- func (o *VisualScriptPropertySet) GetProperty() gdnative.String
- func (o *VisualScriptPropertySet) SetAssignOp(assignOp gdnative.Int)
- func (o *VisualScriptPropertySet) SetBasePath(basePath gdnative.NodePath)
- func (o *VisualScriptPropertySet) SetBaseScript(baseScript gdnative.String)
- func (o *VisualScriptPropertySet) SetBaseType(baseType gdnative.String)
- func (o *VisualScriptPropertySet) SetBasicType(basicType gdnative.Int)
- func (o *VisualScriptPropertySet) SetCallMode(mode gdnative.Int)
- func (o *VisualScriptPropertySet) SetIndex(index gdnative.String)
- func (o *VisualScriptPropertySet) SetProperty(property gdnative.String)
- func (o *VisualScriptPropertySet) X_GetTypeCache() gdnative.Dictionary
- func (o *VisualScriptPropertySet) X_SetTypeCache(typeCache gdnative.Dictionary)
- type VisualScriptPropertySetAssignOp
- type VisualScriptPropertySetCallMode
- type VisualScriptPropertySetImplementer
- type VisualScriptResourcePath
- type VisualScriptResourcePathImplementer
- type VisualScriptReturn
- func (o *VisualScriptReturn) BaseClass() string
- func (o *VisualScriptReturn) GetReturnType() gdnative.VariantType
- func (o *VisualScriptReturn) IsReturnValueEnabled() gdnative.Bool
- func (o *VisualScriptReturn) SetEnableReturnValue(enable gdnative.Bool)
- func (o *VisualScriptReturn) SetReturnType(aType gdnative.Int)
- type VisualScriptReturnImplementer
- type VisualScriptSceneNode
- type VisualScriptSceneNodeImplementer
- type VisualScriptSceneTree
- type VisualScriptSceneTreeImplementer
- type VisualScriptSelect
- type VisualScriptSelectImplementer
- type VisualScriptSelf
- type VisualScriptSelfImplementer
- type VisualScriptSequence
- type VisualScriptSequenceImplementer
- type VisualScriptSubCall
- type VisualScriptSubCallImplementer
- type VisualScriptSwitch
- type VisualScriptSwitchImplementer
- type VisualScriptTypeCast
- func (o *VisualScriptTypeCast) BaseClass() string
- func (o *VisualScriptTypeCast) GetBaseScript() gdnative.String
- func (o *VisualScriptTypeCast) GetBaseType() gdnative.String
- func (o *VisualScriptTypeCast) SetBaseScript(path gdnative.String)
- func (o *VisualScriptTypeCast) SetBaseType(aType gdnative.String)
- type VisualScriptTypeCastImplementer
- type VisualScriptVariableGet
- type VisualScriptVariableGetImplementer
- type VisualScriptVariableSet
- type VisualScriptVariableSetImplementer
- type VisualScriptWhile
- type VisualScriptWhileImplementer
- type VisualScriptYield
- type VisualScriptYieldImplementer
- type VisualScriptYieldSignal
- func (o *VisualScriptYieldSignal) BaseClass() string
- func (o *VisualScriptYieldSignal) GetBasePath() gdnative.NodePath
- func (o *VisualScriptYieldSignal) GetBaseType() gdnative.String
- func (o *VisualScriptYieldSignal) GetCallMode() VisualScriptYieldSignalCallMode
- func (o *VisualScriptYieldSignal) GetSignal() gdnative.String
- func (o *VisualScriptYieldSignal) SetBasePath(basePath gdnative.NodePath)
- func (o *VisualScriptYieldSignal) SetBaseType(baseType gdnative.String)
- func (o *VisualScriptYieldSignal) SetCallMode(mode gdnative.Int)
- func (o *VisualScriptYieldSignal) SetSignal(signal gdnative.String)
- type VisualScriptYieldSignalCallMode
- type VisualScriptYieldSignalImplementer
- type VisualScriptYieldYieldMode
- type VisualServerArrayFormat
- type VisualServerArrayType
- type VisualServerBlendShapeMode
- type VisualServerCanvasLightMode
- type VisualServerCanvasLightShadowFilter
- type VisualServerCanvasOccluderPolygonCullMode
- type VisualServerCubeMapSide
- type VisualServerEnvironmentBG
- type VisualServerEnvironmentDOFBlurQuality
- type VisualServerEnvironmentGlowBlendMode
- type VisualServerEnvironmentSSAOBlur
- type VisualServerEnvironmentSSAOQuality
- type VisualServerEnvironmentToneMapper
- type VisualServerFeatures
- type VisualServerImplementer
- type VisualServerInstanceFlags
- type VisualServerInstanceType
- type VisualServerLightDirectionalShadowDepthRangeMode
- type VisualServerLightDirectionalShadowMode
- type VisualServerLightOmniShadowDetail
- type VisualServerLightOmniShadowMode
- type VisualServerLightParam
- type VisualServerLightType
- type VisualServerMultimeshColorFormat
- type VisualServerMultimeshTransformFormat
- type VisualServerNinePatchAxisMode
- type VisualServerParticlesDrawOrder
- type VisualServerPrimitiveType
- type VisualServerReflectionProbeUpdateMode
- type VisualServerRenderInfo
- type VisualServerScenarioDebugMode
- type VisualServerShaderMode
- type VisualServerShadowCastingSetting
- type VisualServerTextureFlags
- type VisualServerViewportClearMode
- type VisualServerViewportDebugDraw
- type VisualServerViewportMSAA
- type VisualServerViewportRenderInfo
- type VisualServerViewportUpdateMode
- type VisualServerViewportUsage
- type WeakRef
- type WeakRefImplementer
- type WindowDialog
- func (o *WindowDialog) BaseClass() string
- func (o *WindowDialog) GetCloseButton() TextureButtonImplementer
- func (o *WindowDialog) GetResizable() gdnative.Bool
- func (o *WindowDialog) GetTitle() gdnative.String
- func (o *WindowDialog) SetResizable(resizable gdnative.Bool)
- func (o *WindowDialog) SetTitle(title gdnative.String)
- func (o *WindowDialog) X_Closed()
- func (o *WindowDialog) X_GuiInput(arg0 InputEventImplementer)
- type WindowDialogImplementer
- type World
- func (o *World) BaseClass() string
- func (o *World) GetDirectSpaceState() PhysicsDirectSpaceStateImplementer
- func (o *World) GetEnvironment() EnvironmentImplementer
- func (o *World) GetFallbackEnvironment() EnvironmentImplementer
- func (o *World) GetScenario() gdnative.Rid
- func (o *World) GetSpace() gdnative.Rid
- func (o *World) SetEnvironment(env EnvironmentImplementer)
- func (o *World) SetFallbackEnvironment(env EnvironmentImplementer)
- type World2D
- type World2DImplementer
- type WorldEnvironment
- type WorldEnvironmentImplementer
- type WorldImplementer
- type XMLParser
- func (o *XMLParser) BaseClass() string
- func (o *XMLParser) GetAttributeCount() gdnative.Int
- func (o *XMLParser) GetAttributeName(idx gdnative.Int) gdnative.String
- func (o *XMLParser) GetAttributeValue(idx gdnative.Int) gdnative.String
- func (o *XMLParser) GetCurrentLine() gdnative.Int
- func (o *XMLParser) GetNamedAttributeValue(name gdnative.String) gdnative.String
- func (o *XMLParser) GetNamedAttributeValueSafe(name gdnative.String) gdnative.String
- func (o *XMLParser) GetNodeData() gdnative.String
- func (o *XMLParser) GetNodeName() gdnative.String
- func (o *XMLParser) GetNodeOffset() gdnative.Int
- func (o *XMLParser) GetNodeType() XMLParserNodeType
- func (o *XMLParser) HasAttribute(name gdnative.String) gdnative.Bool
- func (o *XMLParser) IsEmpty() gdnative.Bool
- func (o *XMLParser) Open(file gdnative.String) gdnative.Error
- func (o *XMLParser) OpenBuffer(buffer gdnative.PoolByteArray) gdnative.Error
- func (o *XMLParser) Read() gdnative.Error
- func (o *XMLParser) Seek(position gdnative.Int) gdnative.Error
- func (o *XMLParser) SkipSection()
- type XMLParserImplementer
- type XMLParserNodeType
- type YSort
- type YSortImplementer
Constants ¶
This section is empty.
Variables ¶
var ARVRServer = newSingletonARVRServer()
The AR/VR Server is the heart of our AR/VR solution and handles all the processing.
var AudioServer = newSingletonAudioServer()
AudioServer is a low level server interface for audio access. It is in charge of creating sample data (playable audio) as well as its playback via a voice interface.
var ClassDB = newSingletonClassDB()
Provides access to metadata stored for every available class.
var Engine = newSingletonEngine()
The [code]Engine[/code] class allows you to query and modify the game's run-time parameters, such as frames per second, time scale, and others.
var Geometry = newSingletonGeometry()
var IP = newSingletonIP()
IP contains support functions for the Internet Protocol (IP). TCP/IP support is in different classes (see StreamPeerTCP and TCP_Server). IP provides DNS hostname resolution support, both blocking and threaded.
var Input = newSingletonInput()
A Singleton that deals with inputs. This includes key presses, mouse buttons and movement, joypads, and input actions. Actions and their events can be set in the Project Settings / Input Map tab. Or be set with InputMap.
var InputMap = newSingletonInputMap()
Manages all InputEventAction which can be created/modified from the project settings menu [code]Project > Project Settings > Input Map[/code] or in code with [method add_action] and [method action_add_event]. See [method Node._input].
var InstanceRegistry = &classInstanceRegistry{registry: map[string]Class{}}
InstanceRegistry is a mapping of all instances that have currently been created. This map allows instance methods to find which instance they belong to.
var JSON = newSingletonJSON()
Helper class for parsing JSON data. For usage example and other important hints, see JSONParseResult.
var JavaScript = newSingletonJavaScript()
The JavaScript singleton is implemented only in HTML5 export. It's used to access the browser's JavaScript context. This allows interaction with embedding pages or calling third-party JavaScript APIs.
var Log = &gdnative.Logger{StackNum: 3}
Log is a logging interface that will let you push log messages to Godot. This will enable them to show up within the Godot Editor.
var Marshalls = newSingletonMarshalls()
Provides data transformation and encoding utility functions.
var OS = newSingletonOS()
Operating System functions. OS Wraps the most common functionality to communicate with the host Operating System, such as: mouse grabbing, mouse cursors, clipboard, video mode, date and time, timers, environment variables, execution of binaries, command line, etc.
var Performance = newSingletonPerformance()
This class provides access to a number of different monitors related to performance, such as memory usage, draw calls, and FPS. These are the same as the values displayed in the [i]Monitor[/i] tab in the editor's [i]Debugger[/i] panel. By using the [method get_monitor] method of this class, you can access this data from your code. Note that a few of these monitors are only available in debug mode and will always return 0 when used in a release build. Many of these monitors are not updated in real-time, so there may be a short delay between changes.
var Physics2DServer = newSingletonPhysics2DServer()
Physics 2D Server is the server responsible for all 2D physics. It can create many kinds of physics objects, but does not insert them on the node tree.
var PhysicsServer = newSingletonPhysicsServer()
Everything related to physics in 3D.
var ProjectSettings = newSingletonProjectSettings()
Contains global variables accessible from everywhere. Use "ProjectSettings.get_setting(variable)", "ProjectSettings.set_setting(variable,value)" or "ProjectSettings.has_setting(variable)" to access them. Variables stored in project.godot are also loaded into ProjectSettings, making this object very useful for reading custom game configuration options.
var ResourceLoader = newSingletonResourceLoader()
Resource Loader. This is a static object accessible as [code]ResourceLoader[/code]. GDScript has a simplified load() function, though.
var ResourceSaver = newSingletonResourceSaver()
Resource Saving Interface. This interface is used for saving resources to disk.
var TranslationServer = newSingletonTranslationServer()
var VisualScriptEditor = newSingletonVisualScriptEditor()
Undocumented
var VisualServer = newSingletonVisualServer()
Server for anything visible. The visual server is the API backend for everything visible. The whole scene system mounts on it to display. The visual server is completely opaque, the internals are entirely implementation specific and cannot be accessed.
Functions ¶
func AutoRegister ¶
func AutoRegister(constructor ...ClassConstructor)
AutoRegister will register the given object(s) as a Godot class, so it will be available inside Godot. This method uses reflection at runtime to automatically discover the given Go structs' methods and properties. It will automatically map Godot method names in CamelCase to Godot's conventional snake_case. It will also automatically use the struct name for the class name to register as.
func GoTypeToVariant ¶
GoTypeToVariant will check the given Go type and convert it to its Variant type. The value is returned as a gdnative.Variant.
func VariantToGoType ¶
VariantToGoType will check the given variant type and convert it to its actual type. The value is returned as a reflect.Value.
func VariantTypeToConstant ¶
func VariantTypeToConstant(t reflect.Type) gdnative.VariantType
VariantTypeToConstant will check the given field to see what kind of variant it is and return its type as a VariantType int. This will panic if the type is not a valid Godot type.
Types ¶
type ARVRAnchor ¶
type ARVRAnchor struct { Spatial // contains filtered or unexported fields }
The ARVR Anchor point is a spatial node that maps a real world location identified by the AR platform to a position within the game world. For example, as long as plane detection in ARKit is on, ARKit will identify and update the position of planes (tables, floors, etc) and create anchors for them. This node is mapped to one of the anchors through its unique id. When you receive a signal that a new anchor is available you should add this node to your scene for that anchor. You can predefine nodes and set the id and the nodes will simply remain on 0,0,0 until a plane is recognised. Keep in mind that as long as plane detection is enable the size, placing and orientation of an anchor will be updates as the detection logic learns more about the real world out there especially if only part of the surface is in view.
func (*ARVRAnchor) BaseClass ¶
func (o *ARVRAnchor) BaseClass() string
func (*ARVRAnchor) GetAnchorId ¶
func (o *ARVRAnchor) GetAnchorId() gdnative.Int
Undocumented Args: [], Returns: int
func (*ARVRAnchor) GetAnchorName ¶
func (o *ARVRAnchor) GetAnchorName() gdnative.String
Returns the name given to this anchor. Args: [], Returns: String
func (*ARVRAnchor) GetIsActive ¶
func (o *ARVRAnchor) GetIsActive() gdnative.Bool
Returns true if the anchor is being tracked and false if no anchor with this id is currently known. Args: [], Returns: bool
func (*ARVRAnchor) GetPlane ¶
func (o *ARVRAnchor) GetPlane() gdnative.Plane
Returns a plane aligned with our anchor, handy for intersection testing Args: [], Returns: Plane
func (*ARVRAnchor) GetSize ¶
func (o *ARVRAnchor) GetSize() gdnative.Vector3
Returns the estimated size of the plane that was detected. Say when the anchor relates to a table in the real world, this is the estimated size of the surface of that table. Args: [], Returns: Vector3
func (*ARVRAnchor) SetAnchorId ¶
func (o *ARVRAnchor) SetAnchorId(anchorId gdnative.Int)
Undocumented Args: [{ false anchor_id int}], Returns: void
type ARVRAnchorImplementer ¶
type ARVRAnchorImplementer interface { SpatialImplementer GetAnchorId() gdnative.Int GetAnchorName() gdnative.String GetIsActive() gdnative.Bool GetPlane() gdnative.Plane GetSize() gdnative.Vector3 SetAnchorId(anchorId gdnative.Int) }
ARVRAnchorImplementer is an interface that implements the methods of the ARVRAnchor class.
type ARVRCamera ¶
type ARVRCamera struct { Camera // contains filtered or unexported fields }
This is a helper spatial node for our camera, note that if stereoscopic rendering is applicable (VR-HMD) most of the camera properties are ignored as the HMD information overrides them. The only properties that can be trusted are the near and far planes. The position and orientation of this node is automatically updated by the ARVR Server to represent the location of the HMD if such tracking is available and can thus be used by game logic. Note that in contrast to the ARVR Controller the render thread has access to the most up to date tracking data of the HMD and the location of the ARVRCamera can lag a few milliseconds behind what is used for rendering as a result.
func (*ARVRCamera) BaseClass ¶
func (o *ARVRCamera) BaseClass() string
type ARVRCameraImplementer ¶
type ARVRCameraImplementer interface { CameraImplementer }
ARVRCameraImplementer is an interface that implements the methods of the ARVRCamera class.
type ARVRController ¶
type ARVRController struct { Spatial // contains filtered or unexported fields }
This is a helper spatial node that is linked to the tracking of controllers. It also offers several handy pass throughs to the state of buttons and such on the controllers. Controllers are linked by their id. You can create controller nodes before the controllers are available. Say your game always uses two controllers (one for each hand) you can predefine the controllers with id 1 and 2 and they will become active as soon as the controllers are identified. If you expect additional controllers to be used you should react to the signals and add ARVRController nodes to your scene. The position of the controller node is automatically updated by the ARVR Server. This makes this node ideal to add child nodes to visualise the controller.
func (*ARVRController) BaseClass ¶
func (o *ARVRController) BaseClass() string
func (*ARVRController) GetControllerId ¶
func (o *ARVRController) GetControllerId() gdnative.Int
Undocumented Args: [], Returns: int
func (*ARVRController) GetControllerName ¶
func (o *ARVRController) GetControllerName() gdnative.String
If active, returns the name of the associated controller if provided by the AR/VR SDK used. Args: [], Returns: String
func (*ARVRController) GetHand ¶
func (o *ARVRController) GetHand() ARVRPositionalTrackerTrackerHand
Returns the hand holding this controller, if known. See TRACKER_* constants in [ARVRPositionalTracker]. Args: [], Returns: enum.ARVRPositionalTracker::TrackerHand
func (*ARVRController) GetIsActive ¶
func (o *ARVRController) GetIsActive() gdnative.Bool
Returns [code]true[/code] if the bound controller is active. ARVR systems attempt to track active controllers. Args: [], Returns: bool
func (*ARVRController) GetJoystickAxis ¶
func (o *ARVRController) GetJoystickAxis(axis gdnative.Int) gdnative.Real
Returns the value of the given axis for things like triggers, touchpads, etc. that are embedded into the controller. Args: [{ false axis int}], Returns: float
func (*ARVRController) GetJoystickId ¶
func (o *ARVRController) GetJoystickId() gdnative.Int
Returns the ID of the joystick object bound to this. Every controller tracked by the ARVR Server that has buttons and axis will also be registered as a joystick within Godot. This means that all the normal joystick tracking and input mapping will work for buttons and axis found on the AR/VR controllers. This ID is purely offered as information so you can link up the controller with its joystick entry. Args: [], Returns: int
func (*ARVRController) GetRumble ¶
func (o *ARVRController) GetRumble() gdnative.Real
Undocumented Args: [], Returns: float
func (*ARVRController) IsButtonPressed ¶
func (o *ARVRController) IsButtonPressed(button gdnative.Int) gdnative.Int
Returns [code]true[/code] if the button at index [code]button[/code] is pressed. Args: [{ false button int}], Returns: int
func (*ARVRController) SetControllerId ¶
func (o *ARVRController) SetControllerId(controllerId gdnative.Int)
Undocumented Args: [{ false controller_id int}], Returns: void
func (*ARVRController) SetRumble ¶
func (o *ARVRController) SetRumble(rumble gdnative.Real)
Undocumented Args: [{ false rumble float}], Returns: void
type ARVRControllerImplementer ¶
type ARVRControllerImplementer interface { SpatialImplementer GetControllerId() gdnative.Int GetControllerName() gdnative.String GetIsActive() gdnative.Bool GetJoystickAxis(axis gdnative.Int) gdnative.Real GetJoystickId() gdnative.Int GetRumble() gdnative.Real IsButtonPressed(button gdnative.Int) gdnative.Int SetControllerId(controllerId gdnative.Int) SetRumble(rumble gdnative.Real) }
ARVRControllerImplementer is an interface that implements the methods of the ARVRController class.
type ARVRInterface ¶
type ARVRInterface struct { Reference // contains filtered or unexported fields }
This class needs to be implemented to make an AR or VR platform available to Godot and these should be implemented as C++ modules or GDNative modules (note that for GDNative the subclass ARVRScriptInterface should be used). Part of the interface is exposed to GDScript so you can detect, enable and configure an AR or VR platform. Interfaces should be written in such a way that simply enabling them will give us a working setup. You can query the available interfaces through ARVRServer.
func (*ARVRInterface) BaseClass ¶
func (o *ARVRInterface) BaseClass() string
func (*ARVRInterface) GetAnchorDetectionIsEnabled ¶
func (o *ARVRInterface) GetAnchorDetectionIsEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*ARVRInterface) GetCapabilities ¶
func (o *ARVRInterface) GetCapabilities() gdnative.Int
Returns a combination of flags providing information about the capabilities of this interface. Args: [], Returns: int
func (*ARVRInterface) GetName ¶
func (o *ARVRInterface) GetName() gdnative.String
Returns the name of this interface (OpenVR, OpenHMD, ARKit, etc). Args: [], Returns: String
func (*ARVRInterface) GetRenderTargetsize ¶
func (o *ARVRInterface) GetRenderTargetsize() gdnative.Vector2
Returns the resolution at which we should render our intermediate results before things like lens distortion are applied by the VR platform. Args: [], Returns: Vector2
func (*ARVRInterface) GetTrackingStatus ¶
func (o *ARVRInterface) GetTrackingStatus() ARVRInterfaceTracking_status
If supported, returns the status of our tracking. This will allow you to provide feedback to the user whether there are issues with positional tracking. Args: [], Returns: enum.ARVRInterface::Tracking_status
func (*ARVRInterface) Initialize ¶
func (o *ARVRInterface) Initialize() gdnative.Bool
Call this to initialize this interface. The first interface that is initialized is identified as the primary interface and it will be used for rendering output. After initializing the interface you want to use you then need to enable the AR/VR mode of a viewport and rendering should commence. Note that you must enable the AR/VR mode on the main viewport for any device that uses the main output of Godot such as for mobile VR. If you do this for a platform that handles its own output (such as OpenVR) Godot will show just one eye without distortion on screen. Alternatively you can add a separate viewport node to your scene and enable AR/VR on that viewport and it will be used to output to the HMD leaving you free to do anything you like in the main window such as using a separate camera as a spectator camera or render out something completely different. While currently not used you can activate additional interfaces, you may wish to do this if you want to track controllers from other platforms. However at this point in time only one interface can render to an HMD. Args: [], Returns: bool
func (*ARVRInterface) IsInitialized ¶
func (o *ARVRInterface) IsInitialized() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*ARVRInterface) IsPrimary ¶
func (o *ARVRInterface) IsPrimary() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*ARVRInterface) IsStereo ¶
func (o *ARVRInterface) IsStereo() gdnative.Bool
Returns true if the current output of this interface is in stereo. Args: [], Returns: bool
func (*ARVRInterface) SetAnchorDetectionIsEnabled ¶
func (o *ARVRInterface) SetAnchorDetectionIsEnabled(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*ARVRInterface) SetIsInitialized ¶
func (o *ARVRInterface) SetIsInitialized(initialized gdnative.Bool)
Undocumented Args: [{ false initialized bool}], Returns: void
func (*ARVRInterface) SetIsPrimary ¶
func (o *ARVRInterface) SetIsPrimary(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*ARVRInterface) Uninitialize ¶
func (o *ARVRInterface) Uninitialize()
Turns the interface off. Args: [], Returns: void
type ARVRInterfaceCapabilities ¶
type ARVRInterfaceCapabilities int
ARVRInterfaceCapabilities is an enum for Capabilities values.
const ( ARVRInterfaceArvrAr ARVRInterfaceCapabilities = 4 ARVRInterfaceArvrExternal ARVRInterfaceCapabilities = 8 ARVRInterfaceArvrMono ARVRInterfaceCapabilities = 1 ARVRInterfaceArvrNone ARVRInterfaceCapabilities = 0 ARVRInterfaceArvrStereo ARVRInterfaceCapabilities = 2 )
type ARVRInterfaceEyes ¶
type ARVRInterfaceEyes int
ARVRInterfaceEyes is an enum for Eyes values.
const ( ARVRInterfaceEyeLeft ARVRInterfaceEyes = 1 ARVRInterfaceEyeMono ARVRInterfaceEyes = 0 ARVRInterfaceEyeRight ARVRInterfaceEyes = 2 )
type ARVRInterfaceGDNative ¶
type ARVRInterfaceGDNative struct { ARVRInterface // contains filtered or unexported fields }
Undocumented
func (*ARVRInterfaceGDNative) BaseClass ¶
func (o *ARVRInterfaceGDNative) BaseClass() string
type ARVRInterfaceGDNativeImplementer ¶
type ARVRInterfaceGDNativeImplementer interface { ARVRInterfaceImplementer }
ARVRInterfaceGDNativeImplementer is an interface that implements the methods of the ARVRInterfaceGDNative class.
type ARVRInterfaceImplementer ¶
type ARVRInterfaceImplementer interface { ReferenceImplementer GetAnchorDetectionIsEnabled() gdnative.Bool GetCapabilities() gdnative.Int GetName() gdnative.String GetRenderTargetsize() gdnative.Vector2 Initialize() gdnative.Bool IsInitialized() gdnative.Bool IsPrimary() gdnative.Bool IsStereo() gdnative.Bool SetAnchorDetectionIsEnabled(enable gdnative.Bool) SetIsInitialized(initialized gdnative.Bool) SetIsPrimary(enable gdnative.Bool) Uninitialize() }
ARVRInterfaceImplementer is an interface that implements the methods of the ARVRInterface class.
type ARVRInterfaceTracking_status ¶
type ARVRInterfaceTracking_status int
ARVRInterfaceTracking_status is an enum for Tracking_status values.
const ( ARVRInterfaceArvrExcessiveMotion ARVRInterfaceTracking_status = 1 ARVRInterfaceArvrInsufficientFeatures ARVRInterfaceTracking_status = 2 ARVRInterfaceArvrNormalTracking ARVRInterfaceTracking_status = 0 ARVRInterfaceArvrNotTracking ARVRInterfaceTracking_status = 4 ARVRInterfaceArvrUnknownTracking ARVRInterfaceTracking_status = 3 )
type ARVROrigin ¶
type ARVROrigin struct { Spatial // contains filtered or unexported fields }
This is a special node within the AR/VR system that maps the physical location of the center of our tracking space to the virtual location within our game world. There should be only one of these nodes in your scene and you must have one. All the ARVRCamera, ARVRController and ARVRAnchor nodes should be direct children of this node for spatial tracking to work correctly. It is the position of this node that you update when you're character needs to move through your game world while we're not moving in the real world. Movement in the real world is always in relation to this origin point. So say that your character is driving a car, the ARVROrigin node should be a child node of this car. If you implement a teleport system to move your character, you change the position of this node. Etc.
func (*ARVROrigin) BaseClass ¶
func (o *ARVROrigin) BaseClass() string
func (*ARVROrigin) GetWorldScale ¶
func (o *ARVROrigin) GetWorldScale() gdnative.Real
Undocumented Args: [], Returns: float
func (*ARVROrigin) SetWorldScale ¶
func (o *ARVROrigin) SetWorldScale(worldScale gdnative.Real)
Undocumented Args: [{ false world_scale float}], Returns: void
type ARVROriginImplementer ¶
type ARVROriginImplementer interface { SpatialImplementer GetWorldScale() gdnative.Real SetWorldScale(worldScale gdnative.Real) }
ARVROriginImplementer is an interface that implements the methods of the ARVROrigin class.
type ARVRPositionalTracker ¶
type ARVRPositionalTracker struct { Object // contains filtered or unexported fields }
An instance of this object represents a device that is tracked such as a controller or anchor point. HMDs aren't represented here as they are fully handled internally. As controllers are turned on and the AR/VR interface detects them instances of this object are automatically added to this list of active tracking objects accessible through the ARVRServer The ARVRController and ARVRAnchor both consume objects of this type and should be the objects you use in game. The positional trackers are just the under the hood objects that make this all work and are mostly exposed so GDNative based interfaces can interact with them.
func (*ARVRPositionalTracker) BaseClass ¶
func (o *ARVRPositionalTracker) BaseClass() string
func (*ARVRPositionalTracker) GetHand ¶
func (o *ARVRPositionalTracker) GetHand() ARVRPositionalTrackerTrackerHand
Returns the hand holding this tracker, if known. See TRACKER_* constants. Args: [], Returns: enum.ARVRPositionalTracker::TrackerHand
func (*ARVRPositionalTracker) GetJoyId ¶
func (o *ARVRPositionalTracker) GetJoyId() gdnative.Int
If this is a controller that is being tracked the controller will also be represented by a joystick entry with this id. Args: [], Returns: int
func (*ARVRPositionalTracker) GetName ¶
func (o *ARVRPositionalTracker) GetName() gdnative.String
Returns the controller or anchor point's name if available. Args: [], Returns: String
func (*ARVRPositionalTracker) GetOrientation ¶
func (o *ARVRPositionalTracker) GetOrientation() gdnative.Basis
Returns the controller's orientation matrix. Args: [], Returns: Basis
func (*ARVRPositionalTracker) GetPosition ¶
func (o *ARVRPositionalTracker) GetPosition() gdnative.Vector3
Returns the world-space controller position. Args: [], Returns: Vector3
func (*ARVRPositionalTracker) GetRumble ¶
func (o *ARVRPositionalTracker) GetRumble() gdnative.Real
Undocumented Args: [], Returns: float
func (*ARVRPositionalTracker) GetTracksOrientation ¶
func (o *ARVRPositionalTracker) GetTracksOrientation() gdnative.Bool
Returns [code]true[/code] if this device tracks orientation. Args: [], Returns: bool
func (*ARVRPositionalTracker) GetTracksPosition ¶
func (o *ARVRPositionalTracker) GetTracksPosition() gdnative.Bool
Returns [code]true[/code] if this device tracks position. Args: [], Returns: bool
func (*ARVRPositionalTracker) GetTransform ¶
func (o *ARVRPositionalTracker) GetTransform(adjustByReferenceFrame gdnative.Bool) gdnative.Transform
Returns the transform combining this device's orientation and position. Args: [{ false adjust_by_reference_frame bool}], Returns: Transform
func (*ARVRPositionalTracker) GetType ¶
func (o *ARVRPositionalTracker) GetType() ARVRServerTrackerType
Returns the tracker's type. Args: [], Returns: enum.ARVRServer::TrackerType
func (*ARVRPositionalTracker) SetRumble ¶
func (o *ARVRPositionalTracker) SetRumble(rumble gdnative.Real)
Undocumented Args: [{ false rumble float}], Returns: void
func (*ARVRPositionalTracker) X_SetJoyId ¶
func (o *ARVRPositionalTracker) X_SetJoyId(joyId gdnative.Int)
Undocumented Args: [{ false joy_id int}], Returns: void
func (*ARVRPositionalTracker) X_SetName ¶
func (o *ARVRPositionalTracker) X_SetName(name gdnative.String)
Undocumented Args: [{ false name String}], Returns: void
func (*ARVRPositionalTracker) X_SetOrientation ¶
func (o *ARVRPositionalTracker) X_SetOrientation(orientation gdnative.Basis)
Undocumented Args: [{ false orientation Basis}], Returns: void
func (*ARVRPositionalTracker) X_SetRwPosition ¶
func (o *ARVRPositionalTracker) X_SetRwPosition(rwPosition gdnative.Vector3)
Undocumented Args: [{ false rw_position Vector3}], Returns: void
func (*ARVRPositionalTracker) X_SetType ¶
func (o *ARVRPositionalTracker) X_SetType(aType gdnative.Int)
Undocumented Args: [{ false type int}], Returns: void
type ARVRPositionalTrackerImplementer ¶
type ARVRPositionalTrackerImplementer interface { ObjectImplementer X_SetJoyId(joyId gdnative.Int) X_SetName(name gdnative.String) X_SetOrientation(orientation gdnative.Basis) X_SetRwPosition(rwPosition gdnative.Vector3) X_SetType(aType gdnative.Int) GetJoyId() gdnative.Int GetName() gdnative.String GetOrientation() gdnative.Basis GetPosition() gdnative.Vector3 GetRumble() gdnative.Real GetTracksOrientation() gdnative.Bool GetTracksPosition() gdnative.Bool GetTransform(adjustByReferenceFrame gdnative.Bool) gdnative.Transform SetRumble(rumble gdnative.Real) }
ARVRPositionalTrackerImplementer is an interface that implements the methods of the ARVRPositionalTracker class.
type ARVRPositionalTrackerTrackerHand ¶
type ARVRPositionalTrackerTrackerHand int
ARVRPositionalTrackerTrackerHand is an enum for TrackerHand values.
const ( ARVRPositionalTrackerTrackerHandUnknown ARVRPositionalTrackerTrackerHand = 0 ARVRPositionalTrackerTrackerLeftHand ARVRPositionalTrackerTrackerHand = 1 ARVRPositionalTrackerTrackerRightHand ARVRPositionalTrackerTrackerHand = 2 )
type ARVRServerImplementer ¶
type ARVRServerImplementer interface { ObjectImplementer CenterOnHmd(rotationMode gdnative.Int, keepHeight gdnative.Bool) FindInterface(name gdnative.String) ARVRInterfaceImplementer GetInterface(idx gdnative.Int) ARVRInterfaceImplementer GetInterfaceCount() gdnative.Int GetInterfaces() gdnative.Array GetReferenceFrame() gdnative.Transform GetTracker(idx gdnative.Int) ARVRPositionalTrackerImplementer GetTrackerCount() gdnative.Int GetWorldScale() gdnative.Real SetPrimaryInterface(intrfce ARVRInterfaceImplementer) SetWorldScale(arg0 gdnative.Real) }
ARVRServerImplementer is an interface that implements the methods of the ARVRServer class.
type ARVRServerRotationMode ¶
type ARVRServerRotationMode int
ARVRServerRotationMode is an enum for RotationMode values.
const ( ARVRServerDontResetRotation ARVRServerRotationMode = 2 ARVRServerResetButKeepTilt ARVRServerRotationMode = 1 ARVRServerResetFullRotation ARVRServerRotationMode = 0 )
type ARVRServerTrackerType ¶
type ARVRServerTrackerType int
ARVRServerTrackerType is an enum for TrackerType values.
const ( ARVRServerTrackerAnchor ARVRServerTrackerType = 4 ARVRServerTrackerAny ARVRServerTrackerType = 255 ARVRServerTrackerAnyKnown ARVRServerTrackerType = 127 ARVRServerTrackerBasestation ARVRServerTrackerType = 2 ARVRServerTrackerController ARVRServerTrackerType = 1 ARVRServerTrackerUnknown ARVRServerTrackerType = 128 )
type AStar ¶
type AStar struct { Reference // contains filtered or unexported fields }
A* (A star) is a computer algorithm that is widely used in pathfinding and graph traversal, the process of plotting an efficiently directed path between multiple points. It enjoys widespread use due to its performance and accuracy. Godot's A* implementation make use of vectors as points. You must add points manually with [method AStar.add_point] and create segments manually with [method AStar.connect_points]. So you can test if there is a path between two points with the [method AStar.are_points_connected] function, get the list of existing ids in the found path with [method AStar.get_id_path], or the points list with [method AStar.get_point_path].
func (*AStar) AddPoint ¶
Adds a new point at the given position with the given identifier. The algorithm prefers points with lower [code]weight_scale[/code] to form a path. The [code]id[/code] must be 0 or larger, and the [code]weight_scale[/code] must be 1 or larger. [codeblock] var as = AStar.new() as.add_point(1, Vector3(1,0,0), 4) # Adds the point (1,0,0) with weight_scale=4 and id=1 [/codeblock] If there already exists a point for the given id, its position and weight scale are updated to the given values. Args: [{ false id int} { false position Vector3} {1 true weight_scale float}], Returns: void
func (*AStar) ArePointsConnected ¶
Returns whether there is a connection/segment between the given points. Args: [{ false id int} { false to_id int}], Returns: bool
func (*AStar) Clear ¶
func (o *AStar) Clear()
Clears all the points and segments. Args: [], Returns: void
func (*AStar) ConnectPoints ¶
Creates a segment between the given points. [codeblock] var as = AStar.new() as.add_point(1, Vector3(1,1,0)) as.add_point(2, Vector3(0,5,0)) as.connect_points(1, 2, false) # If bidirectional=false it's only possible to go from point 1 to point 2 # and not from point 2 to point 1. [/codeblock] Args: [{ false id int} { false to_id int} {True true bidirectional bool}], Returns: void
func (*AStar) DisconnectPoints ¶
Deletes the segment between the given points. Args: [{ false id int} { false to_id int}], Returns: void
func (*AStar) GetAvailablePointId ¶
Returns the next available point id with no point associated to it. Args: [], Returns: int
func (*AStar) GetClosestPoint ¶
Returns the id of the closest point to [code]to_position[/code]. Returns -1 if there are no points in the points pool. Args: [{ false to_position Vector3}], Returns: int
func (*AStar) GetClosestPositionInSegment ¶
Returns the closest position to [code]to_position[/code] that resides inside a segment between two connected points. [codeblock] var as = AStar.new() as.add_point(1, Vector3(0,0,0)) as.add_point(2, Vector3(0,5,0)) as.connect_points(1, 2) var res = as.get_closest_position_in_segment(Vector3(3,3,0)) # returns (0, 3, 0) [/codeblock] The result is in the segment that goes from [code]y=0[/code] to [code]y=5[/code]. It's the closest position in the segment to the given point. Args: [{ false to_position Vector3}], Returns: Vector3
func (*AStar) GetIdPath ¶
Returns an array with the ids of the points that form the path found by AStar between the given points. The array is ordered from the starting point to the ending point of the path. [codeblock] var as = AStar.new() as.add_point(1, Vector3(0,0,0)) as.add_point(2, Vector3(0,1,0), 1) # default weight is 1 as.add_point(3, Vector3(1,1,0)) as.add_point(4, Vector3(2,0,0)) as.connect_points(1, 2, false) as.connect_points(2, 3, false) as.connect_points(4, 3, false) as.connect_points(1, 4, false) as.connect_points(5, 4, false) var res = as.get_id_path(1, 3) # returns [1, 2, 3] [/codeblock] If you change the 2nd point's weight to 3, then the result will be [code][1, 4, 3][/code] instead, because now even though the distance is longer, it's "easier" to get through point 4 than through point 2. Args: [{ false from_id int} { false to_id int}], Returns: PoolIntArray
func (*AStar) GetPointConnections ¶
func (o *AStar) GetPointConnections(id gdnative.Int) gdnative.PoolIntArray
Returns an array with the ids of the points that form the connect with the given point. [codeblock] var as = AStar.new() as.add_point(1, Vector3(0,0,0)) as.add_point(2, Vector3(0,1,0)) as.add_point(3, Vector3(1,1,0)) as.add_point(4, Vector3(2,0,0)) as.connect_points(1, 2, true) as.connect_points(1, 3, true) var neighbors = as.get_point_connections(1) # returns [2, 3] [/codeblock] Args: [{ false id int}], Returns: PoolIntArray
func (*AStar) GetPointPath ¶
Returns an array with the points that are in the path found by AStar between the given points. The array is ordered from the starting point to the ending point of the path. Args: [{ false from_id int} { false to_id int}], Returns: PoolVector3Array
func (*AStar) GetPointPosition ¶
Returns the position of the point associated with the given id. Args: [{ false id int}], Returns: Vector3
func (*AStar) GetPointWeightScale ¶
Returns the weight scale of the point associated with the given id. Args: [{ false id int}], Returns: float
func (*AStar) HasPoint ¶
Returns whether a point associated with the given id exists. Args: [{ false id int}], Returns: bool
func (*AStar) RemovePoint ¶
Removes the point associated with the given id from the points pool. Args: [{ false id int}], Returns: void
func (*AStar) SetPointPosition ¶
Sets the position for the point with the given id. Args: [{ false id int} { false position Vector3}], Returns: void
func (*AStar) SetPointWeightScale ¶
Sets the [code]weight_scale[/code] for the point with the given id. Args: [{ false id int} { false weight_scale float}], Returns: void
func (*AStar) X_ComputeCost ¶
Called when computing the cost between two connected points. Args: [{ false from_id int} { false to_id int}], Returns: float
type AStarImplementer ¶
type AStarImplementer interface { ReferenceImplementer X_ComputeCost(fromId gdnative.Int, toId gdnative.Int) gdnative.Real X_EstimateCost(fromId gdnative.Int, toId gdnative.Int) gdnative.Real AddPoint(id gdnative.Int, position gdnative.Vector3, weightScale gdnative.Real) ArePointsConnected(id gdnative.Int, toId gdnative.Int) gdnative.Bool Clear() ConnectPoints(id gdnative.Int, toId gdnative.Int, bidirectional gdnative.Bool) DisconnectPoints(id gdnative.Int, toId gdnative.Int) GetAvailablePointId() gdnative.Int GetClosestPoint(toPosition gdnative.Vector3) gdnative.Int GetClosestPositionInSegment(toPosition gdnative.Vector3) gdnative.Vector3 GetIdPath(fromId gdnative.Int, toId gdnative.Int) gdnative.PoolIntArray GetPointConnections(id gdnative.Int) gdnative.PoolIntArray GetPointPath(fromId gdnative.Int, toId gdnative.Int) gdnative.PoolVector3Array GetPointPosition(id gdnative.Int) gdnative.Vector3 GetPointWeightScale(id gdnative.Int) gdnative.Real GetPoints() gdnative.Array HasPoint(id gdnative.Int) gdnative.Bool RemovePoint(id gdnative.Int) SetPointPosition(id gdnative.Int, position gdnative.Vector3) SetPointWeightScale(id gdnative.Int, weightScale gdnative.Real) }
AStarImplementer is an interface that implements the methods of the AStar class.
type AcceptDialog ¶
type AcceptDialog struct { WindowDialog // contains filtered or unexported fields }
This dialog is useful for small notifications to the user about an event. It can only be accepted or closed, with the same result.
func (*AcceptDialog) AddButton ¶
func (o *AcceptDialog) AddButton(text gdnative.String, right gdnative.Bool, action gdnative.String) ButtonImplementer
Adds a button with label [i]text[/i] and a custom [i]action[/i] to the dialog and returns the created button. [i]action[/i] will be passed to the [custom_action] signal when pressed. If [code]true[/code], [i]right[/i] will place the button to the right of any sibling buttons. Default value: [code]false[/code]. Args: [{ false text String} {False true right bool} { true action String}], Returns: Button
func (*AcceptDialog) AddCancel ¶
func (o *AcceptDialog) AddCancel(name gdnative.String) ButtonImplementer
Adds a button with label [i]name[/i] and a cancel action to the dialog and returns the created button. Args: [{ false name String}], Returns: Button
func (*AcceptDialog) BaseClass ¶
func (o *AcceptDialog) BaseClass() string
func (*AcceptDialog) GetHideOnOk ¶
func (o *AcceptDialog) GetHideOnOk() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*AcceptDialog) GetLabel ¶
func (o *AcceptDialog) GetLabel() LabelImplementer
Return the label used for built-in text. Args: [], Returns: Label
func (*AcceptDialog) GetOk ¶
func (o *AcceptDialog) GetOk() ButtonImplementer
Return the OK Button. Args: [], Returns: Button
func (*AcceptDialog) GetText ¶
func (o *AcceptDialog) GetText() gdnative.String
Undocumented Args: [], Returns: String
func (*AcceptDialog) RegisterTextEnter ¶
func (o *AcceptDialog) RegisterTextEnter(lineEdit ObjectImplementer)
Registers a [LineEdit] in the dialog. When the enter key is pressed, the dialog will be accepted. Args: [{ false line_edit Object}], Returns: void
func (*AcceptDialog) SetHideOnOk ¶
func (o *AcceptDialog) SetHideOnOk(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*AcceptDialog) SetText ¶
func (o *AcceptDialog) SetText(text gdnative.String)
Undocumented Args: [{ false text String}], Returns: void
func (*AcceptDialog) X_BuiltinTextEntered ¶
func (o *AcceptDialog) X_BuiltinTextEntered(arg0 gdnative.String)
Undocumented Args: [{ false arg0 String}], Returns: void
func (*AcceptDialog) X_CustomAction ¶
func (o *AcceptDialog) X_CustomAction(arg0 gdnative.String)
Undocumented Args: [{ false arg0 String}], Returns: void
type AcceptDialogImplementer ¶
type AcceptDialogImplementer interface { WindowDialogImplementer X_BuiltinTextEntered(arg0 gdnative.String) X_CustomAction(arg0 gdnative.String) X_Ok() AddButton(text gdnative.String, right gdnative.Bool, action gdnative.String) ButtonImplementer AddCancel(name gdnative.String) ButtonImplementer GetHideOnOk() gdnative.Bool GetLabel() LabelImplementer GetOk() ButtonImplementer GetText() gdnative.String RegisterTextEnter(lineEdit ObjectImplementer) SetHideOnOk(enabled gdnative.Bool) SetText(text gdnative.String) }
AcceptDialogImplementer is an interface that implements the methods of the AcceptDialog class.
type AnimatedSprite ¶
type AnimatedSprite struct { Node2D // contains filtered or unexported fields }
Animations are created using a SpriteFrames resource, which can be configured in the editor via the SpriteFrames panel.
func (*AnimatedSprite) BaseClass ¶
func (o *AnimatedSprite) BaseClass() string
func (*AnimatedSprite) GetAnimation ¶
func (o *AnimatedSprite) GetAnimation() gdnative.String
Undocumented Args: [], Returns: String
func (*AnimatedSprite) GetFrame ¶
func (o *AnimatedSprite) GetFrame() gdnative.Int
Undocumented Args: [], Returns: int
func (*AnimatedSprite) GetOffset ¶
func (o *AnimatedSprite) GetOffset() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*AnimatedSprite) GetSpriteFrames ¶
func (o *AnimatedSprite) GetSpriteFrames() SpriteFramesImplementer
Undocumented Args: [], Returns: SpriteFrames
func (*AnimatedSprite) IsCentered ¶
func (o *AnimatedSprite) IsCentered() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*AnimatedSprite) IsFlippedH ¶
func (o *AnimatedSprite) IsFlippedH() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*AnimatedSprite) IsFlippedV ¶
func (o *AnimatedSprite) IsFlippedV() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*AnimatedSprite) IsPlaying ¶
func (o *AnimatedSprite) IsPlaying() gdnative.Bool
Return true if an animation if currently being played. Args: [], Returns: bool
func (*AnimatedSprite) Play ¶
func (o *AnimatedSprite) Play(anim gdnative.String)
Play the animation set in parameter. If no parameter is provided, the current animation is played. Args: [{ true anim String}], Returns: void
func (*AnimatedSprite) SetAnimation ¶
func (o *AnimatedSprite) SetAnimation(animation gdnative.String)
Undocumented Args: [{ false animation String}], Returns: void
func (*AnimatedSprite) SetCentered ¶
func (o *AnimatedSprite) SetCentered(centered gdnative.Bool)
Undocumented Args: [{ false centered bool}], Returns: void
func (*AnimatedSprite) SetFlipH ¶
func (o *AnimatedSprite) SetFlipH(flipH gdnative.Bool)
Undocumented Args: [{ false flip_h bool}], Returns: void
func (*AnimatedSprite) SetFlipV ¶
func (o *AnimatedSprite) SetFlipV(flipV gdnative.Bool)
Undocumented Args: [{ false flip_v bool}], Returns: void
func (*AnimatedSprite) SetFrame ¶
func (o *AnimatedSprite) SetFrame(frame gdnative.Int)
Undocumented Args: [{ false frame int}], Returns: void
func (*AnimatedSprite) SetOffset ¶
func (o *AnimatedSprite) SetOffset(offset gdnative.Vector2)
Undocumented Args: [{ false offset Vector2}], Returns: void
func (*AnimatedSprite) SetSpriteFrames ¶
func (o *AnimatedSprite) SetSpriteFrames(spriteFrames SpriteFramesImplementer)
Undocumented Args: [{ false sprite_frames SpriteFrames}], Returns: void
func (*AnimatedSprite) Stop ¶
func (o *AnimatedSprite) Stop()
Stop the current animation (does not reset the frame counter). Args: [], Returns: void
func (*AnimatedSprite) X_IsPlaying ¶
func (o *AnimatedSprite) X_IsPlaying() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*AnimatedSprite) X_ResChanged ¶
func (o *AnimatedSprite) X_ResChanged()
Undocumented Args: [], Returns: void
func (*AnimatedSprite) X_SetPlaying ¶
func (o *AnimatedSprite) X_SetPlaying(playing gdnative.Bool)
Undocumented Args: [{ false playing bool}], Returns: void
type AnimatedSprite3D ¶
type AnimatedSprite3D struct { SpriteBase3D // contains filtered or unexported fields }
Animations are created using a SpriteFrames resource, which can be configured in the editor via the SpriteFrames panel.
func (*AnimatedSprite3D) BaseClass ¶
func (o *AnimatedSprite3D) BaseClass() string
func (*AnimatedSprite3D) GetAnimation ¶
func (o *AnimatedSprite3D) GetAnimation() gdnative.String
Undocumented Args: [], Returns: String
func (*AnimatedSprite3D) GetFrame ¶
func (o *AnimatedSprite3D) GetFrame() gdnative.Int
Undocumented Args: [], Returns: int
func (*AnimatedSprite3D) GetSpriteFrames ¶
func (o *AnimatedSprite3D) GetSpriteFrames() SpriteFramesImplementer
Undocumented Args: [], Returns: SpriteFrames
func (*AnimatedSprite3D) IsPlaying ¶
func (o *AnimatedSprite3D) IsPlaying() gdnative.Bool
Return true if an animation if currently being played. Args: [], Returns: bool
func (*AnimatedSprite3D) Play ¶
func (o *AnimatedSprite3D) Play(anim gdnative.String)
Play the animation set in parameter. If no parameter is provided, the current animation is played. Args: [{ true anim String}], Returns: void
func (*AnimatedSprite3D) SetAnimation ¶
func (o *AnimatedSprite3D) SetAnimation(animation gdnative.String)
Undocumented Args: [{ false animation String}], Returns: void
func (*AnimatedSprite3D) SetFrame ¶
func (o *AnimatedSprite3D) SetFrame(frame gdnative.Int)
Undocumented Args: [{ false frame int}], Returns: void
func (*AnimatedSprite3D) SetSpriteFrames ¶
func (o *AnimatedSprite3D) SetSpriteFrames(spriteFrames SpriteFramesImplementer)
Undocumented Args: [{ false sprite_frames SpriteFrames}], Returns: void
func (*AnimatedSprite3D) Stop ¶
func (o *AnimatedSprite3D) Stop()
Stop the current animation (does not reset the frame counter). Args: [], Returns: void
func (*AnimatedSprite3D) X_IsPlaying ¶
func (o *AnimatedSprite3D) X_IsPlaying() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*AnimatedSprite3D) X_ResChanged ¶
func (o *AnimatedSprite3D) X_ResChanged()
Undocumented Args: [], Returns: void
func (*AnimatedSprite3D) X_SetPlaying ¶
func (o *AnimatedSprite3D) X_SetPlaying(playing gdnative.Bool)
Undocumented Args: [{ false playing bool}], Returns: void
type AnimatedSprite3DImplementer ¶
type AnimatedSprite3DImplementer interface { SpriteBase3DImplementer X_IsPlaying() gdnative.Bool X_ResChanged() X_SetPlaying(playing gdnative.Bool) GetAnimation() gdnative.String GetFrame() gdnative.Int GetSpriteFrames() SpriteFramesImplementer IsPlaying() gdnative.Bool Play(anim gdnative.String) SetAnimation(animation gdnative.String) SetFrame(frame gdnative.Int) SetSpriteFrames(spriteFrames SpriteFramesImplementer) Stop() }
AnimatedSprite3DImplementer is an interface that implements the methods of the AnimatedSprite3D class.
type AnimatedSpriteImplementer ¶
type AnimatedSpriteImplementer interface { Node2DImplementer X_IsPlaying() gdnative.Bool X_ResChanged() X_SetPlaying(playing gdnative.Bool) GetAnimation() gdnative.String GetFrame() gdnative.Int GetOffset() gdnative.Vector2 GetSpriteFrames() SpriteFramesImplementer IsCentered() gdnative.Bool IsFlippedH() gdnative.Bool IsFlippedV() gdnative.Bool IsPlaying() gdnative.Bool Play(anim gdnative.String) SetAnimation(animation gdnative.String) SetCentered(centered gdnative.Bool) SetFlipH(flipH gdnative.Bool) SetFlipV(flipV gdnative.Bool) SetFrame(frame gdnative.Int) SetOffset(offset gdnative.Vector2) SetSpriteFrames(spriteFrames SpriteFramesImplementer) Stop() }
AnimatedSpriteImplementer is an interface that implements the methods of the AnimatedSprite class.
type Animation ¶
type Animation struct { Resource // contains filtered or unexported fields }
An Animation resource contains data used to animate everything in the engine. Animations are divided into tracks, and each track must be linked to a node. The state of that node can be changed through time, by adding timed keys (events) to the track. Animations are just data containers, and must be added to odes such as an AnimationPlayer or AnimationTreePlayer to be played back.
func (*Animation) AddTrack ¶
Add a track to the Animation. The track type must be specified as any of the values in the TYPE_* enumeration. Args: [{ false type int} {-1 true at_position int}], Returns: int
func (*Animation) Clear ¶
func (o *Animation) Clear()
Clear the animation (clear all tracks and reset all). Args: [], Returns: void
func (*Animation) CopyTrack ¶
func (o *Animation) CopyTrack(track gdnative.Int, toAnimation AnimationImplementer)
Adds a new track that is a copy of the given track from [code]to_animation[/code]. Args: [{ false track int} { false to_animation Animation}], Returns: void
func (*Animation) FindTrack ¶
Return the index of the specified track. If the track is not found, return -1. Args: [{ false path NodePath}], Returns: int
func (*Animation) GetTrackCount ¶
Return the amount of tracks in the animation. Args: [], Returns: int
func (*Animation) MethodTrackGetKeyIndices ¶
func (o *Animation) MethodTrackGetKeyIndices(idx gdnative.Int, timeSec gdnative.Real, delta gdnative.Real) gdnative.PoolIntArray
Return all the key indices of a method track, given a position and delta time. Args: [{ false idx int} { false time_sec float} { false delta float}], Returns: PoolIntArray
func (*Animation) MethodTrackGetName ¶
Return the method name of a method track. Args: [{ false idx int} { false key_idx int}], Returns: String
func (*Animation) MethodTrackGetParams ¶
Return the arguments values to be called on a method track for a given key in a given track. Args: [{ false idx int} { false key_idx int}], Returns: Array
func (*Animation) RemoveTrack ¶
Remove a track by specifying the track index. Args: [{ false idx int}], Returns: void
func (*Animation) TrackFindKey ¶
func (o *Animation) TrackFindKey(idx gdnative.Int, time gdnative.Real, exact gdnative.Bool) gdnative.Int
Find the key index by time in a given track. Optionally, only find it if the exact time is given. Args: [{ false idx int} { false time float} {False true exact bool}], Returns: int
func (*Animation) TrackGetInterpolationLoopWrap ¶
Returns [code]true[/code] if the track at [code]idx[/code] wraps the interpolation loop. Default value: [code]true[/code]. Args: [{ false idx int}], Returns: bool
func (*Animation) TrackGetInterpolationType ¶
func (o *Animation) TrackGetInterpolationType(idx gdnative.Int) AnimationInterpolationType
Return the interpolation type of a given track, from the INTERPOLATION_* enum. Args: [{ false idx int}], Returns: enum.Animation::InterpolationType
func (*Animation) TrackGetKeyCount ¶
Return the amount of keys in a given track. Args: [{ false idx int}], Returns: int
func (*Animation) TrackGetKeyTime ¶
Return the time at which the key is located. Args: [{ false idx int} { false key_idx int}], Returns: float
func (*Animation) TrackGetKeyTransition ¶
Return the transition curve (easing) for a specific key (see built-in math function "ease"). Args: [{ false idx int} { false key_idx int}], Returns: float
func (*Animation) TrackGetKeyValue ¶
Return the value of a given key in a given track. Args: [{ false idx int} { false key_idx int}], Returns: Variant
func (*Animation) TrackGetPath ¶
Get the path of a track. for more information on the path format, see [method track_set_path] Args: [{ false idx int}], Returns: NodePath
func (*Animation) TrackGetType ¶
func (o *Animation) TrackGetType(idx gdnative.Int) AnimationTrackType
Get the type of a track. Args: [{ false idx int}], Returns: enum.Animation::TrackType
func (*Animation) TrackInsertKey ¶
func (o *Animation) TrackInsertKey(idx gdnative.Int, time gdnative.Real, key gdnative.Variant, transition gdnative.Real)
Insert a generic key in a given track. Args: [{ false idx int} { false time float} { false key Variant} {1 true transition float}], Returns: void
func (*Animation) TrackIsEnabled ¶
Returns [code]true[/code] if the track at index [code]idx[/code] is enabled. Args: [{ false idx int}], Returns: bool
func (*Animation) TrackIsImported ¶
Return true if the given track is imported. Else, return false. Args: [{ false idx int}], Returns: bool
func (*Animation) TrackMoveDown ¶
Move a track down. Args: [{ false idx int}], Returns: void
func (*Animation) TrackMoveUp ¶
Move a track up. Args: [{ false idx int}], Returns: void
func (*Animation) TrackRemoveKey ¶
Remove a key by index in a given track. Args: [{ false idx int} { false key_idx int}], Returns: void
func (*Animation) TrackRemoveKeyAtPosition ¶
Remove a key by position (seconds) in a given track. Args: [{ false idx int} { false position float}], Returns: void
func (*Animation) TrackSetEnabled ¶
Enables/disables the given track. Tracks are enabled by default. Args: [{ false idx int} { false enabled bool}], Returns: void
func (*Animation) TrackSetImported ¶
Set the given track as imported or not. Args: [{ false idx int} { false imported bool}], Returns: void
func (*Animation) TrackSetInterpolationLoopWrap ¶
If [code]true[/code] the track at [code]idx[/code] wraps the interpolation loop. Args: [{ false idx int} { false interpolation bool}], Returns: void
func (*Animation) TrackSetInterpolationType ¶
Set the interpolation type of a given track, from the INTERPOLATION_* enum. Args: [{ false idx int} { false interpolation int}], Returns: void
func (*Animation) TrackSetKeyTransition ¶
func (o *Animation) TrackSetKeyTransition(idx gdnative.Int, keyIdx gdnative.Int, transition gdnative.Real)
Set the transition curve (easing) for a specific key (see built-in math function "ease"). Args: [{ false idx int} { false key_idx int} { false transition float}], Returns: void
func (*Animation) TrackSetKeyValue ¶
Set the value of an existing key. Args: [{ false idx int} { false key int} { false value Variant}], Returns: void
func (*Animation) TrackSetPath ¶
Set the path of a track. Paths must be valid scene-tree paths to a node, and must be specified starting from the parent node of the node that will reproduce the animation. Tracks that control properties or bones must append their name after the path, separated by ":". Example: "character/skeleton:ankle" or "character/mesh:transform/local" Args: [{ false idx int} { false path NodePath}], Returns: void
func (*Animation) TransformTrackInsertKey ¶
func (o *Animation) TransformTrackInsertKey(idx gdnative.Int, time gdnative.Real, location gdnative.Vector3, rotation gdnative.Quat, scale gdnative.Vector3) gdnative.Int
Insert a transform key for a transform track. Args: [{ false idx int} { false time float} { false location Vector3} { false rotation Quat} { false scale Vector3}], Returns: int
func (*Animation) TransformTrackInterpolate ¶
func (o *Animation) TransformTrackInterpolate(idx gdnative.Int, timeSec gdnative.Real) gdnative.Array
Return the interpolated value of a transform track at a given time (in seconds). An array consisting of 3 elements: position ([Vector3]), rotation ([Quat]) and scale ([Vector3]). Args: [{ false idx int} { false time_sec float}], Returns: Array
func (*Animation) ValueTrackGetKeyIndices ¶
func (o *Animation) ValueTrackGetKeyIndices(idx gdnative.Int, timeSec gdnative.Real, delta gdnative.Real) gdnative.PoolIntArray
Return all the key indices of a value track, given a position and delta time. Args: [{ false idx int} { false time_sec float} { false delta float}], Returns: PoolIntArray
func (*Animation) ValueTrackGetUpdateMode ¶
func (o *Animation) ValueTrackGetUpdateMode(idx gdnative.Int) AnimationUpdateMode
Return the update mode of a value track. Args: [{ false idx int}], Returns: enum.Animation::UpdateMode
type AnimationImplementer ¶
type AnimationImplementer interface { ResourceImplementer AddTrack(aType gdnative.Int, atPosition gdnative.Int) gdnative.Int Clear() CopyTrack(track gdnative.Int, toAnimation AnimationImplementer) FindTrack(path gdnative.NodePath) gdnative.Int GetLength() gdnative.Real GetStep() gdnative.Real GetTrackCount() gdnative.Int HasLoop() gdnative.Bool MethodTrackGetKeyIndices(idx gdnative.Int, timeSec gdnative.Real, delta gdnative.Real) gdnative.PoolIntArray MethodTrackGetName(idx gdnative.Int, keyIdx gdnative.Int) gdnative.String MethodTrackGetParams(idx gdnative.Int, keyIdx gdnative.Int) gdnative.Array RemoveTrack(idx gdnative.Int) SetLength(timeSec gdnative.Real) SetLoop(enabled gdnative.Bool) SetStep(sizeSec gdnative.Real) TrackFindKey(idx gdnative.Int, time gdnative.Real, exact gdnative.Bool) gdnative.Int TrackGetInterpolationLoopWrap(idx gdnative.Int) gdnative.Bool TrackGetKeyCount(idx gdnative.Int) gdnative.Int TrackGetKeyTime(idx gdnative.Int, keyIdx gdnative.Int) gdnative.Real TrackGetKeyTransition(idx gdnative.Int, keyIdx gdnative.Int) gdnative.Real TrackGetKeyValue(idx gdnative.Int, keyIdx gdnative.Int) gdnative.Variant TrackGetPath(idx gdnative.Int) gdnative.NodePath TrackInsertKey(idx gdnative.Int, time gdnative.Real, key gdnative.Variant, transition gdnative.Real) TrackIsEnabled(idx gdnative.Int) gdnative.Bool TrackIsImported(idx gdnative.Int) gdnative.Bool TrackMoveDown(idx gdnative.Int) TrackMoveUp(idx gdnative.Int) TrackRemoveKey(idx gdnative.Int, keyIdx gdnative.Int) TrackRemoveKeyAtPosition(idx gdnative.Int, position gdnative.Real) TrackSetEnabled(idx gdnative.Int, enabled gdnative.Bool) TrackSetImported(idx gdnative.Int, imported gdnative.Bool) TrackSetInterpolationLoopWrap(idx gdnative.Int, interpolation gdnative.Bool) TrackSetInterpolationType(idx gdnative.Int, interpolation gdnative.Int) TrackSetKeyTransition(idx gdnative.Int, keyIdx gdnative.Int, transition gdnative.Real) TrackSetKeyValue(idx gdnative.Int, key gdnative.Int, value gdnative.Variant) TrackSetPath(idx gdnative.Int, path gdnative.NodePath) TransformTrackInsertKey(idx gdnative.Int, time gdnative.Real, location gdnative.Vector3, rotation gdnative.Quat, scale gdnative.Vector3) gdnative.Int TransformTrackInterpolate(idx gdnative.Int, timeSec gdnative.Real) gdnative.Array ValueTrackGetKeyIndices(idx gdnative.Int, timeSec gdnative.Real, delta gdnative.Real) gdnative.PoolIntArray ValueTrackSetUpdateMode(idx gdnative.Int, mode gdnative.Int) }
AnimationImplementer is an interface that implements the methods of the Animation class.
type AnimationInterpolationType ¶
type AnimationInterpolationType int
AnimationInterpolationType is an enum for InterpolationType values.
const ( AnimationInterpolationCubic AnimationInterpolationType = 2 AnimationInterpolationLinear AnimationInterpolationType = 1 AnimationInterpolationNearest AnimationInterpolationType = 0 )
type AnimationPlayer ¶
type AnimationPlayer struct { Node // contains filtered or unexported fields }
An animation player is used for general purpose playback of Animation resources. It contains a dictionary of animations (referenced by name) and custom blend times between their transitions. Additionally, animations can be played and blended in different channels.
func (*AnimationPlayer) AddAnimation ¶
func (o *AnimationPlayer) AddAnimation(name gdnative.String, animation AnimationImplementer) gdnative.Error
Adds [code]animation[/code] to the player accessible with the key [code]name[/code]. Args: [{ false name String} { false animation Animation}], Returns: enum.Error
func (*AnimationPlayer) Advance ¶
func (o *AnimationPlayer) Advance(delta gdnative.Real)
Shifts position in the animation timeline. Delta is the time in seconds to shift. Args: [{ false delta float}], Returns: void
func (*AnimationPlayer) AnimationGetNext ¶
func (o *AnimationPlayer) AnimationGetNext(animFrom gdnative.String) gdnative.String
Returns the name of the next animation in the queue. Args: [{ false anim_from String}], Returns: String
func (*AnimationPlayer) AnimationSetNext ¶
func (o *AnimationPlayer) AnimationSetNext(animFrom gdnative.String, animTo gdnative.String)
Triggers the [code]anim_to[/code] animation when the [code]anim_from[/code] animation completes. Args: [{ false anim_from String} { false anim_to String}], Returns: void
func (*AnimationPlayer) BaseClass ¶
func (o *AnimationPlayer) BaseClass() string
func (*AnimationPlayer) ClearCaches ¶
func (o *AnimationPlayer) ClearCaches()
[code]AnimationPlayer[/code] caches animated nodes. It may not notice if a node disappears, so clear_caches forces it to update the cache again. Args: [], Returns: void
func (*AnimationPlayer) ClearQueue ¶
func (o *AnimationPlayer) ClearQueue()
Clears all queued, unplayed animations. Args: [], Returns: void
func (*AnimationPlayer) FindAnimation ¶
func (o *AnimationPlayer) FindAnimation(animation AnimationImplementer) gdnative.String
Returns the name of [code]animation[/code] or empty string if not found. Args: [{ false animation Animation}], Returns: String
func (*AnimationPlayer) GetAnimation ¶
func (o *AnimationPlayer) GetAnimation(name gdnative.String) AnimationImplementer
Returns the [Animation] with key [code]name[/code] or [code]null[/code] if not found. Args: [{ false name String}], Returns: Animation
func (*AnimationPlayer) GetAnimationList ¶
func (o *AnimationPlayer) GetAnimationList() gdnative.PoolStringArray
Returns the list of stored animation names. Args: [], Returns: PoolStringArray
func (*AnimationPlayer) GetAnimationProcessMode ¶
func (o *AnimationPlayer) GetAnimationProcessMode() AnimationPlayerAnimationProcessMode
Undocumented Args: [], Returns: enum.AnimationPlayer::AnimationProcessMode
func (*AnimationPlayer) GetAssignedAnimation ¶
func (o *AnimationPlayer) GetAssignedAnimation() gdnative.String
Undocumented Args: [], Returns: String
func (*AnimationPlayer) GetAutoplay ¶
func (o *AnimationPlayer) GetAutoplay() gdnative.String
Undocumented Args: [], Returns: String
func (*AnimationPlayer) GetBlendTime ¶
func (o *AnimationPlayer) GetBlendTime(animFrom gdnative.String, animTo gdnative.String) gdnative.Real
Get the blend time (in seconds) between two animations, referenced by their names. Args: [{ false anim_from String} { false anim_to String}], Returns: float
func (*AnimationPlayer) GetCurrentAnimation ¶
func (o *AnimationPlayer) GetCurrentAnimation() gdnative.String
Undocumented Args: [], Returns: String
func (*AnimationPlayer) GetCurrentAnimationLength ¶
func (o *AnimationPlayer) GetCurrentAnimationLength() gdnative.Real
Undocumented Args: [], Returns: float
func (*AnimationPlayer) GetCurrentAnimationPosition ¶
func (o *AnimationPlayer) GetCurrentAnimationPosition() gdnative.Real
Undocumented Args: [], Returns: float
func (*AnimationPlayer) GetDefaultBlendTime ¶
func (o *AnimationPlayer) GetDefaultBlendTime() gdnative.Real
Undocumented Args: [], Returns: float
func (*AnimationPlayer) GetRoot ¶
func (o *AnimationPlayer) GetRoot() gdnative.NodePath
Undocumented Args: [], Returns: NodePath
func (*AnimationPlayer) GetSpeedScale ¶
func (o *AnimationPlayer) GetSpeedScale() gdnative.Real
Undocumented Args: [], Returns: float
func (*AnimationPlayer) HasAnimation ¶
func (o *AnimationPlayer) HasAnimation(name gdnative.String) gdnative.Bool
Returns [code]true[/code] if the [code]AnimationPlayer[/code] stores an [Animation] with key [code]name[/code]. Args: [{ false name String}], Returns: bool
func (*AnimationPlayer) IsActive ¶
func (o *AnimationPlayer) IsActive() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*AnimationPlayer) IsPlaying ¶
func (o *AnimationPlayer) IsPlaying() gdnative.Bool
Returns [code]true[/code] if playing an animation. Args: [], Returns: bool
func (*AnimationPlayer) Play ¶
func (o *AnimationPlayer) Play(name gdnative.String, customBlend gdnative.Real, customSpeed gdnative.Real, fromEnd gdnative.Bool)
Play the animation with key [code]name[/code]. Custom speed and blend times can be set. If custom speed is negative (-1), 'from_end' being true can play the animation backwards. Args: [{ true name String} {-1 true custom_blend float} {1 true custom_speed float} {False true from_end bool}], Returns: void
func (*AnimationPlayer) PlayBackwards ¶
func (o *AnimationPlayer) PlayBackwards(name gdnative.String, customBlend gdnative.Real)
Play the animation with key [code]name[/code] in reverse. Args: [{ true name String} {-1 true custom_blend float}], Returns: void
func (*AnimationPlayer) Queue ¶
func (o *AnimationPlayer) Queue(name gdnative.String)
Queue an animation for playback once the current one is done. Args: [{ false name String}], Returns: void
func (*AnimationPlayer) RemoveAnimation ¶
func (o *AnimationPlayer) RemoveAnimation(name gdnative.String)
Remove the animation with key [code]name[/code]. Args: [{ false name String}], Returns: void
func (*AnimationPlayer) RenameAnimation ¶
func (o *AnimationPlayer) RenameAnimation(name gdnative.String, newname gdnative.String)
Rename an existing animation with key [code]name[/code] to [code]newname[/code]. Args: [{ false name String} { false newname String}], Returns: void
func (*AnimationPlayer) Seek ¶
func (o *AnimationPlayer) Seek(seconds gdnative.Real, update gdnative.Bool)
Seek the animation to the [code]seconds[/code] point in time (in seconds). If [code]update[/code] is [code]true[/code], the animation updates too, otherwise it updates at process time. Args: [{ false seconds float} {False true update bool}], Returns: void
func (*AnimationPlayer) SetActive ¶
func (o *AnimationPlayer) SetActive(active gdnative.Bool)
Undocumented Args: [{ false active bool}], Returns: void
func (*AnimationPlayer) SetAnimationProcessMode ¶
func (o *AnimationPlayer) SetAnimationProcessMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*AnimationPlayer) SetAssignedAnimation ¶
func (o *AnimationPlayer) SetAssignedAnimation(anim gdnative.String)
Undocumented Args: [{ false anim String}], Returns: void
func (*AnimationPlayer) SetAutoplay ¶
func (o *AnimationPlayer) SetAutoplay(name gdnative.String)
Undocumented Args: [{ false name String}], Returns: void
func (*AnimationPlayer) SetBlendTime ¶
func (o *AnimationPlayer) SetBlendTime(animFrom gdnative.String, animTo gdnative.String, sec gdnative.Real)
Specify a blend time (in seconds) between two animations, referenced by their names. Args: [{ false anim_from String} { false anim_to String} { false sec float}], Returns: void
func (*AnimationPlayer) SetCurrentAnimation ¶
func (o *AnimationPlayer) SetCurrentAnimation(anim gdnative.String)
Undocumented Args: [{ false anim String}], Returns: void
func (*AnimationPlayer) SetDefaultBlendTime ¶
func (o *AnimationPlayer) SetDefaultBlendTime(sec gdnative.Real)
Undocumented Args: [{ false sec float}], Returns: void
func (*AnimationPlayer) SetRoot ¶
func (o *AnimationPlayer) SetRoot(path gdnative.NodePath)
Undocumented Args: [{ false path NodePath}], Returns: void
func (*AnimationPlayer) SetSpeedScale ¶
func (o *AnimationPlayer) SetSpeedScale(speed gdnative.Real)
Undocumented Args: [{ false speed float}], Returns: void
func (*AnimationPlayer) Stop ¶
func (o *AnimationPlayer) Stop(reset gdnative.Bool)
Stop the currently playing animation. If [code]reset[/code] is [code]true[/code], the anim position is reset to [code]0[/code]. Args: [{True true reset bool}], Returns: void
func (*AnimationPlayer) X_AnimationChanged ¶
func (o *AnimationPlayer) X_AnimationChanged()
Undocumented Args: [], Returns: void
func (*AnimationPlayer) X_NodeRemoved ¶
func (o *AnimationPlayer) X_NodeRemoved(arg0 ObjectImplementer)
Undocumented Args: [{ false arg0 Object}], Returns: void
type AnimationPlayerAnimationProcessMode ¶
type AnimationPlayerAnimationProcessMode int
AnimationPlayerAnimationProcessMode is an enum for AnimationProcessMode values.
const ( AnimationPlayerAnimationProcessIdle AnimationPlayerAnimationProcessMode = 1 AnimationPlayerAnimationProcessPhysics AnimationPlayerAnimationProcessMode = 0 )
type AnimationPlayerImplementer ¶
type AnimationPlayerImplementer interface { NodeImplementer X_AnimationChanged() X_NodeRemoved(arg0 ObjectImplementer) Advance(delta gdnative.Real) AnimationGetNext(animFrom gdnative.String) gdnative.String AnimationSetNext(animFrom gdnative.String, animTo gdnative.String) ClearCaches() ClearQueue() FindAnimation(animation AnimationImplementer) gdnative.String GetAnimation(name gdnative.String) AnimationImplementer GetAnimationList() gdnative.PoolStringArray GetAssignedAnimation() gdnative.String GetAutoplay() gdnative.String GetBlendTime(animFrom gdnative.String, animTo gdnative.String) gdnative.Real GetCurrentAnimation() gdnative.String GetCurrentAnimationLength() gdnative.Real GetCurrentAnimationPosition() gdnative.Real GetDefaultBlendTime() gdnative.Real GetRoot() gdnative.NodePath GetSpeedScale() gdnative.Real HasAnimation(name gdnative.String) gdnative.Bool IsActive() gdnative.Bool IsPlaying() gdnative.Bool Play(name gdnative.String, customBlend gdnative.Real, customSpeed gdnative.Real, fromEnd gdnative.Bool) PlayBackwards(name gdnative.String, customBlend gdnative.Real) Queue(name gdnative.String) RemoveAnimation(name gdnative.String) RenameAnimation(name gdnative.String, newname gdnative.String) Seek(seconds gdnative.Real, update gdnative.Bool) SetActive(active gdnative.Bool) SetAnimationProcessMode(mode gdnative.Int) SetAssignedAnimation(anim gdnative.String) SetAutoplay(name gdnative.String) SetBlendTime(animFrom gdnative.String, animTo gdnative.String, sec gdnative.Real) SetCurrentAnimation(anim gdnative.String) SetDefaultBlendTime(sec gdnative.Real) SetRoot(path gdnative.NodePath) SetSpeedScale(speed gdnative.Real) Stop(reset gdnative.Bool) }
AnimationPlayerImplementer is an interface that implements the methods of the AnimationPlayer class.
type AnimationTrackType ¶
type AnimationTrackType int
AnimationTrackType is an enum for TrackType values.
const ( AnimationTypeMethod AnimationTrackType = 2 AnimationTypeTransform AnimationTrackType = 1 AnimationTypeValue AnimationTrackType = 0 )
type AnimationTreePlayer ¶
type AnimationTreePlayer struct { Node // contains filtered or unexported fields }
A node graph tool for blending multiple animations bound to an AnimationPlayer. Especially useful for animating characters or other skeleton-based rigs. It can combine several animations to form a desired pose. It takes [Animation]s from an AnimationPlayer node and mixes them depending on the graph.
func (*AnimationTreePlayer) AddNode ¶
func (o *AnimationTreePlayer) AddNode(aType gdnative.Int, id gdnative.String)
Adds a [code]type[/code] node to the graph with name [code]id[/code]. Args: [{ false type int} { false id String}], Returns: void
func (*AnimationTreePlayer) Advance ¶
func (o *AnimationTreePlayer) Advance(delta gdnative.Real)
Shifts position in the animation timeline. Delta is the time in seconds to shift. Args: [{ false delta float}], Returns: void
func (*AnimationTreePlayer) AnimationNodeGetAnimation ¶
func (o *AnimationTreePlayer) AnimationNodeGetAnimation(id gdnative.String) AnimationImplementer
Returns the [AnimationPlayer]'s [Animation] bound to the [code]AnimationTreePlayer[/code]'s animation node with name [code]id[/code]. Args: [{ false id String}], Returns: Animation
func (*AnimationTreePlayer) AnimationNodeGetMasterAnimation ¶
func (o *AnimationTreePlayer) AnimationNodeGetMasterAnimation(id gdnative.String) gdnative.String
Returns the name of the [member master_player]'s [Animation] bound to this animation node. Args: [{ false id String}], Returns: String
func (*AnimationTreePlayer) AnimationNodeSetAnimation ¶
func (o *AnimationTreePlayer) AnimationNodeSetAnimation(id gdnative.String, animation AnimationImplementer)
Binds a new [Animation] from the [member master_player] to the [code]AnimationTreePlayer[/code]'s animation node with name [code]id[/code]. Args: [{ false id String} { false animation Animation}], Returns: void
func (*AnimationTreePlayer) AnimationNodeSetFilterPath ¶
func (o *AnimationTreePlayer) AnimationNodeSetFilterPath(id gdnative.String, path gdnative.NodePath, enable gdnative.Bool)
If [code]enable[/code] is [code]true[/code], the animation node with ID [code]id[/code] turns off the track modifying the property at [code]path[/code]. The modified node's children continue to animate. Args: [{ false id String} { false path NodePath} { false enable bool}], Returns: void
func (*AnimationTreePlayer) AnimationNodeSetMasterAnimation ¶
func (o *AnimationTreePlayer) AnimationNodeSetMasterAnimation(id gdnative.String, source gdnative.String)
Binds the [Animation] named [code]source[/code] from [member master_player] to the animation node [code]id[/code]. Recalculates caches. Args: [{ false id String} { false source String}], Returns: void
func (*AnimationTreePlayer) AreNodesConnected ¶
func (o *AnimationTreePlayer) AreNodesConnected(id gdnative.String, dstId gdnative.String, dstInputIdx gdnative.Int) gdnative.Bool
Returns whether node [code]id[/code] and [code]dst_id[/code] are connected at the specified slot. Args: [{ false id String} { false dst_id String} { false dst_input_idx int}], Returns: bool
func (*AnimationTreePlayer) BaseClass ¶
func (o *AnimationTreePlayer) BaseClass() string
func (*AnimationTreePlayer) Blend2NodeGetAmount ¶
func (o *AnimationTreePlayer) Blend2NodeGetAmount(id gdnative.String) gdnative.Real
Returns the blend amount of a Blend2 node given its name. Args: [{ false id String}], Returns: float
func (*AnimationTreePlayer) Blend2NodeSetAmount ¶
func (o *AnimationTreePlayer) Blend2NodeSetAmount(id gdnative.String, blend gdnative.Real)
Sets the blend amount of a Blend2 node given its name and value. A Blend2 Node blends two animations with the amount between 0 and 1. At 0, Output is input a. Towards 1, the influence of a gets lessened, the influence of b gets raised. At 1, Output is input b. Args: [{ false id String} { false blend float}], Returns: void
func (*AnimationTreePlayer) Blend2NodeSetFilterPath ¶
func (o *AnimationTreePlayer) Blend2NodeSetFilterPath(id gdnative.String, path gdnative.NodePath, enable gdnative.Bool)
If [code]enable[/code] is [code]true[/code], the blend2 node with ID [code]id[/code] turns off the track modifying the property at [code]path[/code]. The modified node's children continue to animate. Args: [{ false id String} { false path NodePath} { false enable bool}], Returns: void
func (*AnimationTreePlayer) Blend3NodeGetAmount ¶
func (o *AnimationTreePlayer) Blend3NodeGetAmount(id gdnative.String) gdnative.Real
Returns the blend amount of a Blend3 node given its name. Args: [{ false id String}], Returns: float
func (*AnimationTreePlayer) Blend3NodeSetAmount ¶
func (o *AnimationTreePlayer) Blend3NodeSetAmount(id gdnative.String, blend gdnative.Real)
Sets the blend amount of a Blend3 node given its name and value. A Blend3 Node blends three animations with the amount between -1 and 1. At -1, Output is input b-. From -1 to 0, the influence of b- gets lessened, the influence of a gets raised and the influence of b+ is 0. At 0, Output is input a. From 0 to 1, the influence of a gets lessened, the influence of b+ gets raised and the influence of b+ is 0. At 1, Output is input b+. Args: [{ false id String} { false blend float}], Returns: void
func (*AnimationTreePlayer) Blend4NodeGetAmount ¶
func (o *AnimationTreePlayer) Blend4NodeGetAmount(id gdnative.String) gdnative.Vector2
Returns the blend amount of a Blend4 node given its name. Args: [{ false id String}], Returns: Vector2
func (*AnimationTreePlayer) Blend4NodeSetAmount ¶
func (o *AnimationTreePlayer) Blend4NodeSetAmount(id gdnative.String, blend gdnative.Vector2)
Sets the blend amount of a Blend4 node given its name and value. A Blend4 Node blends two pairs of animations. The two pairs are blended like blend2 and then added together. Args: [{ false id String} { false blend Vector2}], Returns: void
func (*AnimationTreePlayer) ConnectNodes ¶
func (o *AnimationTreePlayer) ConnectNodes(id gdnative.String, dstId gdnative.String, dstInputIdx gdnative.Int) gdnative.Error
Connects node [code]id[/code] to [code]dst_id[/code] at the specified input slot. Args: [{ false id String} { false dst_id String} { false dst_input_idx int}], Returns: enum.Error
func (*AnimationTreePlayer) DisconnectNodes ¶
func (o *AnimationTreePlayer) DisconnectNodes(id gdnative.String, dstInputIdx gdnative.Int)
Disconnects nodes connected to [code]id[/code] at the specified input slot. Args: [{ false id String} { false dst_input_idx int}], Returns: void
func (*AnimationTreePlayer) GetAnimationProcessMode ¶
func (o *AnimationTreePlayer) GetAnimationProcessMode() AnimationTreePlayerAnimationProcessMode
Undocumented Args: [], Returns: enum.AnimationTreePlayer::AnimationProcessMode
func (*AnimationTreePlayer) GetBasePath ¶
func (o *AnimationTreePlayer) GetBasePath() gdnative.NodePath
Undocumented Args: [], Returns: NodePath
func (*AnimationTreePlayer) GetMasterPlayer ¶
func (o *AnimationTreePlayer) GetMasterPlayer() gdnative.NodePath
Undocumented Args: [], Returns: NodePath
func (*AnimationTreePlayer) GetNodeList ¶
func (o *AnimationTreePlayer) GetNodeList() gdnative.PoolStringArray
Returns a [PoolStringArray] containing the name of all nodes. Args: [], Returns: PoolStringArray
func (*AnimationTreePlayer) IsActive ¶
func (o *AnimationTreePlayer) IsActive() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*AnimationTreePlayer) MixNodeGetAmount ¶
func (o *AnimationTreePlayer) MixNodeGetAmount(id gdnative.String) gdnative.Real
Returns mix amount of a Mix node given its name. Args: [{ false id String}], Returns: float
func (*AnimationTreePlayer) MixNodeSetAmount ¶
func (o *AnimationTreePlayer) MixNodeSetAmount(id gdnative.String, ratio gdnative.Real)
Sets mix amount of a Mix node given its name and value. A Mix node adds input b to input a by a the amount given by ratio. Args: [{ false id String} { false ratio float}], Returns: void
func (*AnimationTreePlayer) NodeExists ¶
func (o *AnimationTreePlayer) NodeExists(node gdnative.String) gdnative.Bool
Check if a node exists (by name). Args: [{ false node String}], Returns: bool
func (*AnimationTreePlayer) NodeGetInputCount ¶
func (o *AnimationTreePlayer) NodeGetInputCount(id gdnative.String) gdnative.Int
Return the input count for a given node. Different types of nodes have different amount of inputs. Args: [{ false id String}], Returns: int
func (*AnimationTreePlayer) NodeGetInputSource ¶
func (o *AnimationTreePlayer) NodeGetInputSource(id gdnative.String, idx gdnative.Int) gdnative.String
Return the input source for a given node input. Args: [{ false id String} { false idx int}], Returns: String
func (*AnimationTreePlayer) NodeGetPosition ¶
func (o *AnimationTreePlayer) NodeGetPosition(id gdnative.String) gdnative.Vector2
Returns position of a node in the graph given its name. Args: [{ false id String}], Returns: Vector2
func (*AnimationTreePlayer) NodeGetType ¶
func (o *AnimationTreePlayer) NodeGetType(id gdnative.String) AnimationTreePlayerNodeType
Get the node type, will return from NODE_* enum. Args: [{ false id String}], Returns: enum.AnimationTreePlayer::NodeType
func (*AnimationTreePlayer) NodeRename ¶
func (o *AnimationTreePlayer) NodeRename(node gdnative.String, newName gdnative.String) gdnative.Error
Rename a node in the graph. Args: [{ false node String} { false new_name String}], Returns: enum.Error
func (*AnimationTreePlayer) NodeSetPosition ¶
func (o *AnimationTreePlayer) NodeSetPosition(id gdnative.String, screenPosition gdnative.Vector2)
Sets position of a node in the graph given its name and position. Args: [{ false id String} { false screen_position Vector2}], Returns: void
func (*AnimationTreePlayer) OneshotNodeGetAutorestartDelay ¶
func (o *AnimationTreePlayer) OneshotNodeGetAutorestartDelay(id gdnative.String) gdnative.Real
Returns autostart delay of a OneShot node given its name. Args: [{ false id String}], Returns: float
func (*AnimationTreePlayer) OneshotNodeGetAutorestartRandomDelay ¶
func (o *AnimationTreePlayer) OneshotNodeGetAutorestartRandomDelay(id gdnative.String) gdnative.Real
Returns autostart random delay of a OneShot node given its name. Args: [{ false id String}], Returns: float
func (*AnimationTreePlayer) OneshotNodeGetFadeinTime ¶
func (o *AnimationTreePlayer) OneshotNodeGetFadeinTime(id gdnative.String) gdnative.Real
Returns fade in time of a OneShot node given its name. Args: [{ false id String}], Returns: float
func (*AnimationTreePlayer) OneshotNodeGetFadeoutTime ¶
func (o *AnimationTreePlayer) OneshotNodeGetFadeoutTime(id gdnative.String) gdnative.Real
Returns fade out time of a OneShot node given its name. Args: [{ false id String}], Returns: float
func (*AnimationTreePlayer) OneshotNodeHasAutorestart ¶
func (o *AnimationTreePlayer) OneshotNodeHasAutorestart(id gdnative.String) gdnative.Bool
Returns whether a OneShot node will auto restart given its name. Args: [{ false id String}], Returns: bool
func (*AnimationTreePlayer) OneshotNodeIsActive ¶
func (o *AnimationTreePlayer) OneshotNodeIsActive(id gdnative.String) gdnative.Bool
Returns whether a OneShot node is active given its name. Args: [{ false id String}], Returns: bool
func (*AnimationTreePlayer) OneshotNodeSetAutorestart ¶
func (o *AnimationTreePlayer) OneshotNodeSetAutorestart(id gdnative.String, enable gdnative.Bool)
Sets autorestart property of a OneShot node given its name and value. Args: [{ false id String} { false enable bool}], Returns: void
func (*AnimationTreePlayer) OneshotNodeSetAutorestartDelay ¶
func (o *AnimationTreePlayer) OneshotNodeSetAutorestartDelay(id gdnative.String, delaySec gdnative.Real)
Sets autorestart delay of a OneShot node given its name and value in seconds. Args: [{ false id String} { false delay_sec float}], Returns: void
func (*AnimationTreePlayer) OneshotNodeSetAutorestartRandomDelay ¶
func (o *AnimationTreePlayer) OneshotNodeSetAutorestartRandomDelay(id gdnative.String, randSec gdnative.Real)
Sets autorestart random delay of a OneShot node given its name and value in seconds. Args: [{ false id String} { false rand_sec float}], Returns: void
func (*AnimationTreePlayer) OneshotNodeSetFadeinTime ¶
func (o *AnimationTreePlayer) OneshotNodeSetFadeinTime(id gdnative.String, timeSec gdnative.Real)
Sets fade in time of a OneShot node given its name and value in seconds. Args: [{ false id String} { false time_sec float}], Returns: void
func (*AnimationTreePlayer) OneshotNodeSetFadeoutTime ¶
func (o *AnimationTreePlayer) OneshotNodeSetFadeoutTime(id gdnative.String, timeSec gdnative.Real)
Sets fade out time of a OneShot node given its name and value in seconds. Args: [{ false id String} { false time_sec float}], Returns: void
func (*AnimationTreePlayer) OneshotNodeSetFilterPath ¶
func (o *AnimationTreePlayer) OneshotNodeSetFilterPath(id gdnative.String, path gdnative.NodePath, enable gdnative.Bool)
If [code]enable[/code] is [code]true[/code], the oneshot node with ID [code]id[/code] turns off the track modifying the property at [code]path[/code]. The modified node's children continue to animate. Args: [{ false id String} { false path NodePath} { false enable bool}], Returns: void
func (*AnimationTreePlayer) OneshotNodeStart ¶
func (o *AnimationTreePlayer) OneshotNodeStart(id gdnative.String)
Starts a OneShot node given its name. Args: [{ false id String}], Returns: void
func (*AnimationTreePlayer) OneshotNodeStop ¶
func (o *AnimationTreePlayer) OneshotNodeStop(id gdnative.String)
Stops the OneShot node with name [code]id[/code]. Args: [{ false id String}], Returns: void
func (*AnimationTreePlayer) RecomputeCaches ¶
func (o *AnimationTreePlayer) RecomputeCaches()
Manually recalculates the cache of track information generated from animation nodes. Needed when external sources modify the animation nodes' state. Args: [], Returns: void
func (*AnimationTreePlayer) RemoveNode ¶
func (o *AnimationTreePlayer) RemoveNode(id gdnative.String)
Removes the animation node with name [code]id[/code]. Args: [{ false id String}], Returns: void
func (*AnimationTreePlayer) Reset ¶
func (o *AnimationTreePlayer) Reset()
Resets this [code]AnimationTreePlayer[/code]. Args: [], Returns: void
func (*AnimationTreePlayer) SetActive ¶
func (o *AnimationTreePlayer) SetActive(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*AnimationTreePlayer) SetAnimationProcessMode ¶
func (o *AnimationTreePlayer) SetAnimationProcessMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*AnimationTreePlayer) SetBasePath ¶
func (o *AnimationTreePlayer) SetBasePath(path gdnative.NodePath)
Undocumented Args: [{ false path NodePath}], Returns: void
func (*AnimationTreePlayer) SetMasterPlayer ¶
func (o *AnimationTreePlayer) SetMasterPlayer(nodepath gdnative.NodePath)
Undocumented Args: [{ false nodepath NodePath}], Returns: void
func (*AnimationTreePlayer) TimescaleNodeGetScale ¶
func (o *AnimationTreePlayer) TimescaleNodeGetScale(id gdnative.String) gdnative.Real
Returns time scale value of the TimeScale node with name [code]id[/code]. Args: [{ false id String}], Returns: float
func (*AnimationTreePlayer) TimescaleNodeSetScale ¶
func (o *AnimationTreePlayer) TimescaleNodeSetScale(id gdnative.String, scale gdnative.Real)
Sets the time scale of the TimeScale node with name [code]id[/code] to [code]scale[/code]. The timescale node is used to speed [Animation]s up if the scale is above 1 or slow them down if it is below 1. If applied after a blend or mix, affects all input animations to that blend or mix. Args: [{ false id String} { false scale float}], Returns: void
func (*AnimationTreePlayer) TimeseekNodeSeek ¶
func (o *AnimationTreePlayer) TimeseekNodeSeek(id gdnative.String, seconds gdnative.Real)
Sets the time seek value of the TimeSeek node with name [code]id[/code] to [code]seconds[/code] This functions as a seek in the [Animation] or the blend or mix of [Animation]s input in it. Args: [{ false id String} { false seconds float}], Returns: void
func (*AnimationTreePlayer) TransitionNodeDeleteInput ¶
func (o *AnimationTreePlayer) TransitionNodeDeleteInput(id gdnative.String, inputIdx gdnative.Int)
Deletes the input at [code]input_idx[/code] for the transition node with name [code]id[/code]. Args: [{ false id String} { false input_idx int}], Returns: void
func (*AnimationTreePlayer) TransitionNodeGetCurrent ¶
func (o *AnimationTreePlayer) TransitionNodeGetCurrent(id gdnative.String) gdnative.Int
Returns the index of the currently evaluated input for the transition node with name [code]id[/code]. Args: [{ false id String}], Returns: int
func (*AnimationTreePlayer) TransitionNodeGetInputCount ¶
func (o *AnimationTreePlayer) TransitionNodeGetInputCount(id gdnative.String) gdnative.Int
Returns the number of inputs for the transition node with name [code]id[/code]. You can add inputs by rightclicking on the transition node. Args: [{ false id String}], Returns: int
func (*AnimationTreePlayer) TransitionNodeGetXfadeTime ¶
func (o *AnimationTreePlayer) TransitionNodeGetXfadeTime(id gdnative.String) gdnative.Real
Returns the cross fade time for the transition node with name [code]id[/code]. Args: [{ false id String}], Returns: float
func (*AnimationTreePlayer) TransitionNodeHasInputAutoAdvance ¶
func (o *AnimationTreePlayer) TransitionNodeHasInputAutoAdvance(id gdnative.String, inputIdx gdnative.Int) gdnative.Bool
Returns [code]true[/code] if the input at [code]input_idx[/code] on transition node with name [code]id[/code] is set to automatically advance to the next input upon completion. Args: [{ false id String} { false input_idx int}], Returns: bool
func (*AnimationTreePlayer) TransitionNodeSetCurrent ¶
func (o *AnimationTreePlayer) TransitionNodeSetCurrent(id gdnative.String, inputIdx gdnative.Int)
The transition node with name [code]id[/code] sets its current input at [code]input_idx[/code]. Args: [{ false id String} { false input_idx int}], Returns: void
func (*AnimationTreePlayer) TransitionNodeSetInputAutoAdvance ¶
func (o *AnimationTreePlayer) TransitionNodeSetInputAutoAdvance(id gdnative.String, inputIdx gdnative.Int, enable gdnative.Bool)
The transition node with name [code]id[/code] advances to its next input automatically when the input at [code]input_idx[/code] completes. Args: [{ false id String} { false input_idx int} { false enable bool}], Returns: void
func (*AnimationTreePlayer) TransitionNodeSetInputCount ¶
func (o *AnimationTreePlayer) TransitionNodeSetInputCount(id gdnative.String, count gdnative.Int)
Resizes the number of inputs available for the transition node with name [code]id[/code]. Args: [{ false id String} { false count int}], Returns: void
func (*AnimationTreePlayer) TransitionNodeSetXfadeTime ¶
func (o *AnimationTreePlayer) TransitionNodeSetXfadeTime(id gdnative.String, timeSec gdnative.Real)
The transition node with name [code]id[/code] sets its cross fade time to [code]time_sec[/code]. Args: [{ false id String} { false time_sec float}], Returns: void
type AnimationTreePlayerAnimationProcessMode ¶
type AnimationTreePlayerAnimationProcessMode int
AnimationTreePlayerAnimationProcessMode is an enum for AnimationProcessMode values.
const ( AnimationTreePlayerAnimationProcessIdle AnimationTreePlayerAnimationProcessMode = 1 AnimationTreePlayerAnimationProcessPhysics AnimationTreePlayerAnimationProcessMode = 0 )
type AnimationTreePlayerImplementer ¶
type AnimationTreePlayerImplementer interface { NodeImplementer AddNode(aType gdnative.Int, id gdnative.String) Advance(delta gdnative.Real) AnimationNodeGetAnimation(id gdnative.String) AnimationImplementer AnimationNodeGetMasterAnimation(id gdnative.String) gdnative.String AnimationNodeSetAnimation(id gdnative.String, animation AnimationImplementer) AnimationNodeSetFilterPath(id gdnative.String, path gdnative.NodePath, enable gdnative.Bool) AnimationNodeSetMasterAnimation(id gdnative.String, source gdnative.String) AreNodesConnected(id gdnative.String, dstId gdnative.String, dstInputIdx gdnative.Int) gdnative.Bool Blend2NodeGetAmount(id gdnative.String) gdnative.Real Blend2NodeSetAmount(id gdnative.String, blend gdnative.Real) Blend2NodeSetFilterPath(id gdnative.String, path gdnative.NodePath, enable gdnative.Bool) Blend3NodeGetAmount(id gdnative.String) gdnative.Real Blend3NodeSetAmount(id gdnative.String, blend gdnative.Real) Blend4NodeGetAmount(id gdnative.String) gdnative.Vector2 Blend4NodeSetAmount(id gdnative.String, blend gdnative.Vector2) DisconnectNodes(id gdnative.String, dstInputIdx gdnative.Int) GetBasePath() gdnative.NodePath GetMasterPlayer() gdnative.NodePath GetNodeList() gdnative.PoolStringArray IsActive() gdnative.Bool MixNodeGetAmount(id gdnative.String) gdnative.Real MixNodeSetAmount(id gdnative.String, ratio gdnative.Real) NodeExists(node gdnative.String) gdnative.Bool NodeGetInputCount(id gdnative.String) gdnative.Int NodeGetInputSource(id gdnative.String, idx gdnative.Int) gdnative.String NodeGetPosition(id gdnative.String) gdnative.Vector2 NodeSetPosition(id gdnative.String, screenPosition gdnative.Vector2) OneshotNodeGetAutorestartDelay(id gdnative.String) gdnative.Real OneshotNodeGetAutorestartRandomDelay(id gdnative.String) gdnative.Real OneshotNodeGetFadeinTime(id gdnative.String) gdnative.Real OneshotNodeGetFadeoutTime(id gdnative.String) gdnative.Real OneshotNodeHasAutorestart(id gdnative.String) gdnative.Bool OneshotNodeIsActive(id gdnative.String) gdnative.Bool OneshotNodeSetAutorestart(id gdnative.String, enable gdnative.Bool) OneshotNodeSetAutorestartDelay(id gdnative.String, delaySec gdnative.Real) OneshotNodeSetAutorestartRandomDelay(id gdnative.String, randSec gdnative.Real) OneshotNodeSetFadeinTime(id gdnative.String, timeSec gdnative.Real) OneshotNodeSetFadeoutTime(id gdnative.String, timeSec gdnative.Real) OneshotNodeSetFilterPath(id gdnative.String, path gdnative.NodePath, enable gdnative.Bool) OneshotNodeStart(id gdnative.String) OneshotNodeStop(id gdnative.String) RecomputeCaches() RemoveNode(id gdnative.String) Reset() SetActive(enabled gdnative.Bool) SetAnimationProcessMode(mode gdnative.Int) SetBasePath(path gdnative.NodePath) SetMasterPlayer(nodepath gdnative.NodePath) TimescaleNodeGetScale(id gdnative.String) gdnative.Real TimescaleNodeSetScale(id gdnative.String, scale gdnative.Real) TimeseekNodeSeek(id gdnative.String, seconds gdnative.Real) TransitionNodeDeleteInput(id gdnative.String, inputIdx gdnative.Int) TransitionNodeGetCurrent(id gdnative.String) gdnative.Int TransitionNodeGetInputCount(id gdnative.String) gdnative.Int TransitionNodeGetXfadeTime(id gdnative.String) gdnative.Real TransitionNodeHasInputAutoAdvance(id gdnative.String, inputIdx gdnative.Int) gdnative.Bool TransitionNodeSetCurrent(id gdnative.String, inputIdx gdnative.Int) TransitionNodeSetInputAutoAdvance(id gdnative.String, inputIdx gdnative.Int, enable gdnative.Bool) TransitionNodeSetInputCount(id gdnative.String, count gdnative.Int) TransitionNodeSetXfadeTime(id gdnative.String, timeSec gdnative.Real) }
AnimationTreePlayerImplementer is an interface that implements the methods of the AnimationTreePlayer class.
type AnimationTreePlayerNodeType ¶
type AnimationTreePlayerNodeType int
AnimationTreePlayerNodeType is an enum for NodeType values.
const ( AnimationTreePlayerNodeAnimation AnimationTreePlayerNodeType = 1 AnimationTreePlayerNodeBlend2 AnimationTreePlayerNodeType = 4 AnimationTreePlayerNodeBlend3 AnimationTreePlayerNodeType = 5 AnimationTreePlayerNodeBlend4 AnimationTreePlayerNodeType = 6 AnimationTreePlayerNodeMix AnimationTreePlayerNodeType = 3 AnimationTreePlayerNodeOneshot AnimationTreePlayerNodeType = 2 AnimationTreePlayerNodeOutput AnimationTreePlayerNodeType = 0 AnimationTreePlayerNodeTimescale AnimationTreePlayerNodeType = 7 AnimationTreePlayerNodeTimeseek AnimationTreePlayerNodeType = 8 AnimationTreePlayerNodeTransition AnimationTreePlayerNodeType = 9 )
type AnimationUpdateMode ¶
type AnimationUpdateMode int
AnimationUpdateMode is an enum for UpdateMode values.
const ( AnimationUpdateContinuous AnimationUpdateMode = 0 AnimationUpdateDiscrete AnimationUpdateMode = 1 AnimationUpdateTrigger AnimationUpdateMode = 2 )
type Area ¶
type Area struct { CollisionObject // contains filtered or unexported fields }
3D area that detects CollisionObject nodes overlapping, entering, or exiting. Can also alter or override local physics parameters (gravity, damping).
func (*Area) GetAngularDamp ¶
Undocumented Args: [], Returns: float
func (*Area) GetAudioBus ¶
Undocumented Args: [], Returns: String
func (*Area) GetCollisionLayer ¶
Undocumented Args: [], Returns: int
func (*Area) GetCollisionLayerBit ¶
Returns an individual bit on the layer mask. Args: [{ false bit int}], Returns: bool
func (*Area) GetCollisionMask ¶
Undocumented Args: [], Returns: int
func (*Area) GetCollisionMaskBit ¶
Returns an individual bit on the collision mask. Args: [{ false bit int}], Returns: bool
func (*Area) GetGravity ¶
Undocumented Args: [], Returns: float
func (*Area) GetGravityDistanceScale ¶
Undocumented Args: [], Returns: float
func (*Area) GetGravityVector ¶
Undocumented Args: [], Returns: Vector3
func (*Area) GetLinearDamp ¶
Undocumented Args: [], Returns: float
func (*Area) GetOverlappingAreas ¶
Returns a list of intersecting [code]Area[/code]s. For performance reasons (collisions are all processed at the same time) this list is modified once during the physics step, not immediately after objects are moved. Consider using signals instead. Args: [], Returns: Array
func (*Area) GetOverlappingBodies ¶
Returns a list of intersecting [PhysicsBody]s. For performance reasons (collisions are all processed at the same time) this list is modified once during the physics step, not immediately after objects are moved. Consider using signals instead. Args: [], Returns: Array
func (*Area) GetPriority ¶
Undocumented Args: [], Returns: float
func (*Area) GetReverbAmount ¶
Undocumented Args: [], Returns: float
func (*Area) GetReverbBus ¶
Undocumented Args: [], Returns: String
func (*Area) GetReverbUniformity ¶
Undocumented Args: [], Returns: float
func (*Area) GetSpaceOverrideMode ¶
func (o *Area) GetSpaceOverrideMode() AreaSpaceOverride
Undocumented Args: [], Returns: enum.Area::SpaceOverride
func (*Area) IsGravityAPoint ¶
Undocumented Args: [], Returns: bool
func (*Area) IsMonitorable ¶
Undocumented Args: [], Returns: bool
func (*Area) IsMonitoring ¶
Undocumented Args: [], Returns: bool
func (*Area) IsOverridingAudioBus ¶
Undocumented Args: [], Returns: bool
func (*Area) IsUsingReverbBus ¶
Undocumented Args: [], Returns: bool
func (*Area) OverlapsArea ¶
func (o *Area) OverlapsArea(area ObjectImplementer) gdnative.Bool
If [code]true[/code] the given area overlaps the Area. Note that the result of this test is not immediate after moving objects. For performance, list of overlaps is updated once per frame and before the physics step. Consider using signals instead. Args: [{ false area Object}], Returns: bool
func (*Area) OverlapsBody ¶
func (o *Area) OverlapsBody(body ObjectImplementer) gdnative.Bool
If [code]true[/code] the given body overlaps the Area. Note that the result of this test is not immediate after moving objects. For performance, list of overlaps is updated once per frame and before the physics step. Consider using signals instead. Args: [{ false body Object}], Returns: bool
func (*Area) SetAngularDamp ¶
Undocumented Args: [{ false angular_damp float}], Returns: void
func (*Area) SetAudioBus ¶
Undocumented Args: [{ false name String}], Returns: void
func (*Area) SetAudioBusOverride ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Area) SetCollisionLayer ¶
Undocumented Args: [{ false collision_layer int}], Returns: void
func (*Area) SetCollisionLayerBit ¶
Set/clear individual bits on the layer mask. This simplifies editing this [code]Area[code]'s layers. Args: [{ false bit int} { false value bool}], Returns: void
func (*Area) SetCollisionMask ¶
Undocumented Args: [{ false collision_mask int}], Returns: void
func (*Area) SetCollisionMaskBit ¶
Set/clear individual bits on the collision mask. This simplifies editing which [code]Area[/code] layers this [code]Area[/code] scans. Args: [{ false bit int} { false value bool}], Returns: void
func (*Area) SetGravity ¶
Undocumented Args: [{ false gravity float}], Returns: void
func (*Area) SetGravityDistanceScale ¶
Undocumented Args: [{ false distance_scale float}], Returns: void
func (*Area) SetGravityIsPoint ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Area) SetGravityVector ¶
Undocumented Args: [{ false vector Vector3}], Returns: void
func (*Area) SetLinearDamp ¶
Undocumented Args: [{ false linear_damp float}], Returns: void
func (*Area) SetMonitorable ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Area) SetMonitoring ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Area) SetPriority ¶
Undocumented Args: [{ false priority float}], Returns: void
func (*Area) SetReverbAmount ¶
Undocumented Args: [{ false amount float}], Returns: void
func (*Area) SetReverbBus ¶
Undocumented Args: [{ false name String}], Returns: void
func (*Area) SetReverbUniformity ¶
Undocumented Args: [{ false amount float}], Returns: void
func (*Area) SetSpaceOverrideMode ¶
Undocumented Args: [{ false enable int}], Returns: void
func (*Area) SetUseReverbBus ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Area) X_AreaEnterTree ¶
Undocumented Args: [{ false id int}], Returns: void
func (*Area) X_AreaExitTree ¶
Undocumented Args: [{ false id int}], Returns: void
func (*Area) X_AreaInout ¶
func (o *Area) X_AreaInout(arg0 gdnative.Int, arg1 gdnative.Rid, arg2 gdnative.Int, arg3 gdnative.Int, arg4 gdnative.Int)
Undocumented Args: [{ false arg0 int} { false arg1 RID} { false arg2 int} { false arg3 int} { false arg4 int}], Returns: void
func (*Area) X_BodyEnterTree ¶
Undocumented Args: [{ false id int}], Returns: void
func (*Area) X_BodyExitTree ¶
Undocumented Args: [{ false id int}], Returns: void
type Area2D ¶
type Area2D struct { CollisionObject2D // contains filtered or unexported fields }
2D area that detects CollisionObject2D nodes overlapping, entering, or exiting. Can also alter or override local physics parameters (gravity, damping).
func (*Area2D) GetAngularDamp ¶
Undocumented Args: [], Returns: float
func (*Area2D) GetAudioBusName ¶
Undocumented Args: [], Returns: String
func (*Area2D) GetCollisionLayer ¶
Undocumented Args: [], Returns: int
func (*Area2D) GetCollisionLayerBit ¶
Return an individual bit on the layer mask. Describes whether other areas will collide with this one on the given layer. Args: [{ false bit int}], Returns: bool
func (*Area2D) GetCollisionMask ¶
Undocumented Args: [], Returns: int
func (*Area2D) GetCollisionMaskBit ¶
Return an individual bit on the collision mask. Describes whether this area will collide with others on the given layer. Args: [{ false bit int}], Returns: bool
func (*Area2D) GetGravity ¶
Undocumented Args: [], Returns: float
func (*Area2D) GetGravityDistanceScale ¶
Undocumented Args: [], Returns: float
func (*Area2D) GetGravityVector ¶
Undocumented Args: [], Returns: Vector2
func (*Area2D) GetLinearDamp ¶
Undocumented Args: [], Returns: float
func (*Area2D) GetOverlappingAreas ¶
Returns a list of intersecting [code]Area2D[/code]s. For performance reasons (collisions are all processed at the same time) this list is modified once during the physics step, not immediately after objects are moved. Consider using signals instead. Args: [], Returns: Array
func (*Area2D) GetOverlappingBodies ¶
Returns a list of intersecting [PhysicsBody2D]s. For performance reasons (collisions are all processed at the same time) this list is modified once during the physics step, not immediately after objects are moved. Consider using signals instead. Args: [], Returns: Array
func (*Area2D) GetPriority ¶
Undocumented Args: [], Returns: float
func (*Area2D) GetSpaceOverrideMode ¶
func (o *Area2D) GetSpaceOverrideMode() Area2DSpaceOverride
Undocumented Args: [], Returns: enum.Area2D::SpaceOverride
func (*Area2D) IsGravityAPoint ¶
Undocumented Args: [], Returns: bool
func (*Area2D) IsMonitorable ¶
Undocumented Args: [], Returns: bool
func (*Area2D) IsMonitoring ¶
Undocumented Args: [], Returns: bool
func (*Area2D) IsOverridingAudioBus ¶
Undocumented Args: [], Returns: bool
func (*Area2D) OverlapsArea ¶
func (o *Area2D) OverlapsArea(area ObjectImplementer) gdnative.Bool
If [code]true[/code] the given area overlaps the Area2D. Note that the result of this test is not immediate after moving objects. For performance, list of overlaps is updated once per frame and before the physics step. Consider using signals instead. Args: [{ false area Object}], Returns: bool
func (*Area2D) OverlapsBody ¶
func (o *Area2D) OverlapsBody(body ObjectImplementer) gdnative.Bool
If [code]true[/code] the given body overlaps the Area2D. Note that the result of this test is not immediate after moving objects. For performance, list of overlaps is updated once per frame and before the physics step. Consider using signals instead. Args: [{ false body Object}], Returns: bool
func (*Area2D) SetAngularDamp ¶
Undocumented Args: [{ false angular_damp float}], Returns: void
func (*Area2D) SetAudioBusName ¶
Undocumented Args: [{ false name String}], Returns: void
func (*Area2D) SetAudioBusOverride ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Area2D) SetCollisionLayer ¶
Undocumented Args: [{ false collision_layer int}], Returns: void
func (*Area2D) SetCollisionLayerBit ¶
Set/clear individual bits on the layer mask. This makes getting an area in/out of only one layer easier. Args: [{ false bit int} { false value bool}], Returns: void
func (*Area2D) SetCollisionMask ¶
Undocumented Args: [{ false collision_mask int}], Returns: void
func (*Area2D) SetCollisionMaskBit ¶
Set/clear individual bits on the collision mask. This makes selecting the areas scanned easier. Args: [{ false bit int} { false value bool}], Returns: void
func (*Area2D) SetGravity ¶
Undocumented Args: [{ false gravity float}], Returns: void
func (*Area2D) SetGravityDistanceScale ¶
Undocumented Args: [{ false distance_scale float}], Returns: void
func (*Area2D) SetGravityIsPoint ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Area2D) SetGravityVector ¶
Undocumented Args: [{ false vector Vector2}], Returns: void
func (*Area2D) SetLinearDamp ¶
Undocumented Args: [{ false linear_damp float}], Returns: void
func (*Area2D) SetMonitorable ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Area2D) SetMonitoring ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Area2D) SetPriority ¶
Undocumented Args: [{ false priority float}], Returns: void
func (*Area2D) SetSpaceOverrideMode ¶
Undocumented Args: [{ false space_override_mode int}], Returns: void
func (*Area2D) X_AreaEnterTree ¶
Undocumented Args: [{ false id int}], Returns: void
func (*Area2D) X_AreaExitTree ¶
Undocumented Args: [{ false id int}], Returns: void
func (*Area2D) X_AreaInout ¶
func (o *Area2D) X_AreaInout(arg0 gdnative.Int, arg1 gdnative.Rid, arg2 gdnative.Int, arg3 gdnative.Int, arg4 gdnative.Int)
Undocumented Args: [{ false arg0 int} { false arg1 RID} { false arg2 int} { false arg3 int} { false arg4 int}], Returns: void
func (*Area2D) X_BodyEnterTree ¶
Undocumented Args: [{ false id int}], Returns: void
func (*Area2D) X_BodyExitTree ¶
Undocumented Args: [{ false id int}], Returns: void
type Area2DImplementer ¶
type Area2DImplementer interface { CollisionObject2DImplementer X_AreaEnterTree(id gdnative.Int) X_AreaExitTree(id gdnative.Int) X_AreaInout(arg0 gdnative.Int, arg1 gdnative.Rid, arg2 gdnative.Int, arg3 gdnative.Int, arg4 gdnative.Int) X_BodyEnterTree(id gdnative.Int) X_BodyExitTree(id gdnative.Int) X_BodyInout(arg0 gdnative.Int, arg1 gdnative.Rid, arg2 gdnative.Int, arg3 gdnative.Int, arg4 gdnative.Int) GetAngularDamp() gdnative.Real GetAudioBusName() gdnative.String GetCollisionLayer() gdnative.Int GetCollisionLayerBit(bit gdnative.Int) gdnative.Bool GetCollisionMask() gdnative.Int GetCollisionMaskBit(bit gdnative.Int) gdnative.Bool GetGravity() gdnative.Real GetGravityDistanceScale() gdnative.Real GetGravityVector() gdnative.Vector2 GetLinearDamp() gdnative.Real GetOverlappingAreas() gdnative.Array GetOverlappingBodies() gdnative.Array GetPriority() gdnative.Real IsGravityAPoint() gdnative.Bool IsMonitorable() gdnative.Bool IsMonitoring() gdnative.Bool IsOverridingAudioBus() gdnative.Bool OverlapsArea(area ObjectImplementer) gdnative.Bool OverlapsBody(body ObjectImplementer) gdnative.Bool SetAngularDamp(angularDamp gdnative.Real) SetAudioBusName(name gdnative.String) SetAudioBusOverride(enable gdnative.Bool) SetCollisionLayer(collisionLayer gdnative.Int) SetCollisionLayerBit(bit gdnative.Int, value gdnative.Bool) SetCollisionMask(collisionMask gdnative.Int) SetCollisionMaskBit(bit gdnative.Int, value gdnative.Bool) SetGravity(gravity gdnative.Real) SetGravityDistanceScale(distanceScale gdnative.Real) SetGravityIsPoint(enable gdnative.Bool) SetGravityVector(vector gdnative.Vector2) SetLinearDamp(linearDamp gdnative.Real) SetMonitorable(enable gdnative.Bool) SetMonitoring(enable gdnative.Bool) SetPriority(priority gdnative.Real) SetSpaceOverrideMode(spaceOverrideMode gdnative.Int) }
Area2DImplementer is an interface that implements the methods of the Area2D class.
type Area2DSpaceOverride ¶
type Area2DSpaceOverride int
Area2DSpaceOverride is an enum for SpaceOverride values.
const ( Area2DSpaceOverrideCombine Area2DSpaceOverride = 1 Area2DSpaceOverrideCombineReplace Area2DSpaceOverride = 2 Area2DSpaceOverrideDisabled Area2DSpaceOverride = 0 Area2DSpaceOverrideReplace Area2DSpaceOverride = 3 Area2DSpaceOverrideReplaceCombine Area2DSpaceOverride = 4 )
type AreaImplementer ¶
type AreaImplementer interface { CollisionObjectImplementer X_AreaEnterTree(id gdnative.Int) X_AreaExitTree(id gdnative.Int) X_AreaInout(arg0 gdnative.Int, arg1 gdnative.Rid, arg2 gdnative.Int, arg3 gdnative.Int, arg4 gdnative.Int) X_BodyEnterTree(id gdnative.Int) X_BodyExitTree(id gdnative.Int) X_BodyInout(arg0 gdnative.Int, arg1 gdnative.Rid, arg2 gdnative.Int, arg3 gdnative.Int, arg4 gdnative.Int) GetAngularDamp() gdnative.Real GetAudioBus() gdnative.String GetCollisionLayer() gdnative.Int GetCollisionLayerBit(bit gdnative.Int) gdnative.Bool GetCollisionMask() gdnative.Int GetCollisionMaskBit(bit gdnative.Int) gdnative.Bool GetGravity() gdnative.Real GetGravityDistanceScale() gdnative.Real GetGravityVector() gdnative.Vector3 GetLinearDamp() gdnative.Real GetOverlappingAreas() gdnative.Array GetOverlappingBodies() gdnative.Array GetPriority() gdnative.Real GetReverbAmount() gdnative.Real GetReverbBus() gdnative.String GetReverbUniformity() gdnative.Real IsGravityAPoint() gdnative.Bool IsMonitorable() gdnative.Bool IsMonitoring() gdnative.Bool IsOverridingAudioBus() gdnative.Bool IsUsingReverbBus() gdnative.Bool OverlapsArea(area ObjectImplementer) gdnative.Bool OverlapsBody(body ObjectImplementer) gdnative.Bool SetAngularDamp(angularDamp gdnative.Real) SetAudioBus(name gdnative.String) SetAudioBusOverride(enable gdnative.Bool) SetCollisionLayer(collisionLayer gdnative.Int) SetCollisionLayerBit(bit gdnative.Int, value gdnative.Bool) SetCollisionMask(collisionMask gdnative.Int) SetCollisionMaskBit(bit gdnative.Int, value gdnative.Bool) SetGravity(gravity gdnative.Real) SetGravityDistanceScale(distanceScale gdnative.Real) SetGravityIsPoint(enable gdnative.Bool) SetGravityVector(vector gdnative.Vector3) SetLinearDamp(linearDamp gdnative.Real) SetMonitorable(enable gdnative.Bool) SetMonitoring(enable gdnative.Bool) SetPriority(priority gdnative.Real) SetReverbAmount(amount gdnative.Real) SetReverbBus(name gdnative.String) SetReverbUniformity(amount gdnative.Real) SetSpaceOverrideMode(enable gdnative.Int) SetUseReverbBus(enable gdnative.Bool) }
AreaImplementer is an interface that implements the methods of the Area class.
type AreaSpaceOverride ¶
type AreaSpaceOverride int
AreaSpaceOverride is an enum for SpaceOverride values.
const ( AreaSpaceOverrideCombine AreaSpaceOverride = 1 AreaSpaceOverrideCombineReplace AreaSpaceOverride = 2 AreaSpaceOverrideDisabled AreaSpaceOverride = 0 AreaSpaceOverrideReplace AreaSpaceOverride = 3 AreaSpaceOverrideReplaceCombine AreaSpaceOverride = 4 )
type ArrayMesh ¶
type ArrayMesh struct { Mesh // contains filtered or unexported fields }
func (*ArrayMesh) AddBlendShape ¶
Args: [{ false name String}], Returns: void
func (*ArrayMesh) AddSurfaceFromArrays ¶
func (o *ArrayMesh) AddSurfaceFromArrays(primitive gdnative.Int, arrays gdnative.Array, blendShapes gdnative.Array, compressFlags gdnative.Int)
Create a new surface ([method get_surface_count] that will become surf_idx for this. Surfaces are created to be rendered using a "primitive", which may be PRIMITIVE_POINTS, PRIMITIVE_LINES, PRIMITIVE_LINE_STRIP, PRIMITIVE_LINE_LOOP, PRIMITIVE_TRIANGLES, PRIMITIVE_TRIANGLE_STRIP, PRIMITIVE_TRIANGLE_FAN. (As a note, when using indices, it is recommended to only use just points, lines or triangles). Args: [{ false primitive int} { false arrays Array} {[] true blend_shapes Array} {97792 true compress_flags int}], Returns: void
func (*ArrayMesh) ClearBlendShapes ¶
func (o *ArrayMesh) ClearBlendShapes()
Args: [], Returns: void
func (*ArrayMesh) GetBlendShapeCount ¶
Args: [], Returns: int
func (*ArrayMesh) GetBlendShapeMode ¶
func (o *ArrayMesh) GetBlendShapeMode() MeshBlendShapeMode
Undocumented Args: [], Returns: enum.Mesh::BlendShapeMode
func (*ArrayMesh) GetBlendShapeName ¶
Args: [{ false index int}], Returns: String
func (*ArrayMesh) GetCustomAabb ¶
Undocumented Args: [], Returns: AABB
func (*ArrayMesh) GetSurfaceCount ¶
Return the amount of surfaces that the [code]ArrayMesh[/code] holds. Args: [], Returns: int
func (*ArrayMesh) LightmapUnwrap ¶
Args: [{ false arg0 Transform} { false arg1 float}], Returns: enum.Error
func (*ArrayMesh) SetBlendShapeMode ¶
Undocumented Args: [{ false mode int}], Returns: void
func (*ArrayMesh) SetCustomAabb ¶
Undocumented Args: [{ false aabb AABB}], Returns: void
func (*ArrayMesh) SurfaceGetArrayIndexLen ¶
Return the length in indices of the index array in the requested surface (see [method add_surface]). Args: [{ false surf_idx int}], Returns: int
func (*ArrayMesh) SurfaceGetArrayLen ¶
Return the length in vertices of the vertex array in the requested surface (see [method add_surface]). Args: [{ false surf_idx int}], Returns: int
func (*ArrayMesh) SurfaceGetArrays ¶
Args: [{ false surf_idx int}], Returns: Array
func (*ArrayMesh) SurfaceGetBlendShapeArrays ¶
Args: [{ false surf_idx int}], Returns: Array
func (*ArrayMesh) SurfaceGetFormat ¶
Return the format mask of the requested surface (see [method add_surface]). Args: [{ false surf_idx int}], Returns: int
func (*ArrayMesh) SurfaceGetMaterial ¶
func (o *ArrayMesh) SurfaceGetMaterial(surfIdx gdnative.Int) MaterialImplementer
Return a [Material] in a given surface. Surface is rendered using this material. Args: [{ false surf_idx int}], Returns: Material
func (*ArrayMesh) SurfaceGetName ¶
Args: [{ false surf_idx int}], Returns: String
func (*ArrayMesh) SurfaceGetPrimitiveType ¶
func (o *ArrayMesh) SurfaceGetPrimitiveType(surfIdx gdnative.Int) MeshPrimitiveType
Return the primitive type of the requested surface (see [method add_surface]). Args: [{ false surf_idx int}], Returns: enum.Mesh::PrimitiveType
func (*ArrayMesh) SurfaceRemove ¶
Remove a surface at position surf_idx, shifting greater surfaces one surf_idx slot down. Args: [{ false surf_idx int}], Returns: void
func (*ArrayMesh) SurfaceSetMaterial ¶
func (o *ArrayMesh) SurfaceSetMaterial(surfIdx gdnative.Int, material MaterialImplementer)
Args: [{ false surf_idx int} { false material Material}], Returns: void
func (*ArrayMesh) SurfaceSetName ¶
Set a [Material] for a given surface. Surface will be rendered using this material. Args: [{ false surf_idx int} { false name String}], Returns: void
func (*ArrayMesh) SurfaceUpdateRegion ¶
func (o *ArrayMesh) SurfaceUpdateRegion(surfIdx gdnative.Int, offset gdnative.Int, data gdnative.PoolByteArray)
Args: [{ false surf_idx int} { false offset int} { false data PoolByteArray}], Returns: void
type ArrayMeshArrayFormat ¶
type ArrayMeshArrayFormat int
ArrayMeshArrayFormat is an enum for ArrayFormat values.
const ( ArrayMeshArrayFormatBones ArrayMeshArrayFormat = 64 ArrayMeshArrayFormatColor ArrayMeshArrayFormat = 8 ArrayMeshArrayFormatIndex ArrayMeshArrayFormat = 256 ArrayMeshArrayFormatNormal ArrayMeshArrayFormat = 2 ArrayMeshArrayFormatTangent ArrayMeshArrayFormat = 4 ArrayMeshArrayFormatTexUv ArrayMeshArrayFormat = 16 ArrayMeshArrayFormatTexUv2 ArrayMeshArrayFormat = 32 ArrayMeshArrayFormatVertex ArrayMeshArrayFormat = 1 ArrayMeshArrayFormatWeights ArrayMeshArrayFormat = 128 )
type ArrayMeshArrayType ¶
type ArrayMeshArrayType int
ArrayMeshArrayType is an enum for ArrayType values.
const ( ArrayMeshArrayBones ArrayMeshArrayType = 6 ArrayMeshArrayColor ArrayMeshArrayType = 3 ArrayMeshArrayIndex ArrayMeshArrayType = 8 ArrayMeshArrayMax ArrayMeshArrayType = 9 ArrayMeshArrayNormal ArrayMeshArrayType = 1 ArrayMeshArrayTangent ArrayMeshArrayType = 2 ArrayMeshArrayTexUv ArrayMeshArrayType = 4 ArrayMeshArrayTexUv2 ArrayMeshArrayType = 5 ArrayMeshArrayVertex ArrayMeshArrayType = 0 ArrayMeshArrayWeights ArrayMeshArrayType = 7 )
type ArrayMeshImplementer ¶
type ArrayMeshImplementer interface { MeshImplementer AddBlendShape(name gdnative.String) AddSurfaceFromArrays(primitive gdnative.Int, arrays gdnative.Array, blendShapes gdnative.Array, compressFlags gdnative.Int) CenterGeometry() ClearBlendShapes() GetBlendShapeCount() gdnative.Int GetBlendShapeName(index gdnative.Int) gdnative.String GetCustomAabb() gdnative.Aabb GetSurfaceCount() gdnative.Int RegenNormalmaps() SetBlendShapeMode(mode gdnative.Int) SetCustomAabb(aabb gdnative.Aabb) SurfaceGetArrayIndexLen(surfIdx gdnative.Int) gdnative.Int SurfaceGetArrayLen(surfIdx gdnative.Int) gdnative.Int SurfaceGetArrays(surfIdx gdnative.Int) gdnative.Array SurfaceGetBlendShapeArrays(surfIdx gdnative.Int) gdnative.Array SurfaceGetFormat(surfIdx gdnative.Int) gdnative.Int SurfaceGetMaterial(surfIdx gdnative.Int) MaterialImplementer SurfaceGetName(surfIdx gdnative.Int) gdnative.String SurfaceRemove(surfIdx gdnative.Int) SurfaceSetMaterial(surfIdx gdnative.Int, material MaterialImplementer) SurfaceSetName(surfIdx gdnative.Int, name gdnative.String) SurfaceUpdateRegion(surfIdx gdnative.Int, offset gdnative.Int, data gdnative.PoolByteArray) }
ArrayMeshImplementer is an interface that implements the methods of the ArrayMesh class.
type AtlasTexture ¶
type AtlasTexture struct { Texture // contains filtered or unexported fields }
Texture resource aimed at managing big textures files that pack multiple smaller textures. Consists of a Texture, a margin that defines the border width, and a region that defines the actual area of the AtlasTexture.
func (*AtlasTexture) BaseClass ¶
func (o *AtlasTexture) BaseClass() string
func (*AtlasTexture) GetAtlas ¶
func (o *AtlasTexture) GetAtlas() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*AtlasTexture) GetMargin ¶
func (o *AtlasTexture) GetMargin() gdnative.Rect2
Undocumented Args: [], Returns: Rect2
func (*AtlasTexture) GetRegion ¶
func (o *AtlasTexture) GetRegion() gdnative.Rect2
Undocumented Args: [], Returns: Rect2
func (*AtlasTexture) HasFilterClip ¶
func (o *AtlasTexture) HasFilterClip() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*AtlasTexture) SetAtlas ¶
func (o *AtlasTexture) SetAtlas(atlas TextureImplementer)
Undocumented Args: [{ false atlas Texture}], Returns: void
func (*AtlasTexture) SetFilterClip ¶
func (o *AtlasTexture) SetFilterClip(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*AtlasTexture) SetMargin ¶
func (o *AtlasTexture) SetMargin(margin gdnative.Rect2)
Undocumented Args: [{ false margin Rect2}], Returns: void
func (*AtlasTexture) SetRegion ¶
func (o *AtlasTexture) SetRegion(region gdnative.Rect2)
Undocumented Args: [{ false region Rect2}], Returns: void
type AtlasTextureImplementer ¶
type AtlasTextureImplementer interface { TextureImplementer GetAtlas() TextureImplementer GetMargin() gdnative.Rect2 GetRegion() gdnative.Rect2 HasFilterClip() gdnative.Bool SetAtlas(atlas TextureImplementer) SetFilterClip(enable gdnative.Bool) SetMargin(margin gdnative.Rect2) SetRegion(region gdnative.Rect2) }
AtlasTextureImplementer is an interface that implements the methods of the AtlasTexture class.
type AudioBusLayout ¶
type AudioBusLayout struct { Resource // contains filtered or unexported fields }
Stores position, muting, solo, bypass, effects, effect position, volume, and the connections between busses. See AudioServer for usage.
func (*AudioBusLayout) BaseClass ¶
func (o *AudioBusLayout) BaseClass() string
type AudioBusLayoutImplementer ¶
type AudioBusLayoutImplementer interface { ResourceImplementer }
AudioBusLayoutImplementer is an interface that implements the methods of the AudioBusLayout class.
type AudioEffect ¶
type AudioEffect struct { Resource // contains filtered or unexported fields }
Base resource for audio bus. Applies an audio effect on the bus that the resource is applied on.
func (*AudioEffect) BaseClass ¶
func (o *AudioEffect) BaseClass() string
type AudioEffectAmplify ¶
type AudioEffectAmplify struct { AudioEffect // contains filtered or unexported fields }
Increases or decreases the volume being routed through the audio bus.
func (*AudioEffectAmplify) BaseClass ¶
func (o *AudioEffectAmplify) BaseClass() string
func (*AudioEffectAmplify) GetVolumeDb ¶
func (o *AudioEffectAmplify) GetVolumeDb() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectAmplify) SetVolumeDb ¶
func (o *AudioEffectAmplify) SetVolumeDb(volume gdnative.Real)
Undocumented Args: [{ false volume float}], Returns: void
type AudioEffectAmplifyImplementer ¶
type AudioEffectAmplifyImplementer interface { AudioEffectImplementer GetVolumeDb() gdnative.Real SetVolumeDb(volume gdnative.Real) }
AudioEffectAmplifyImplementer is an interface that implements the methods of the AudioEffectAmplify class.
type AudioEffectBandLimitFilter ¶
type AudioEffectBandLimitFilter struct { AudioEffectFilter // contains filtered or unexported fields }
Limits the frequencies in a range around the [member cutoff_hz] and allows frequencies outside of this range to pass.
func (*AudioEffectBandLimitFilter) BaseClass ¶
func (o *AudioEffectBandLimitFilter) BaseClass() string
type AudioEffectBandLimitFilterImplementer ¶
type AudioEffectBandLimitFilterImplementer interface { AudioEffectFilterImplementer }
AudioEffectBandLimitFilterImplementer is an interface that implements the methods of the AudioEffectBandLimitFilter class.
type AudioEffectBandPassFilter ¶
type AudioEffectBandPassFilter struct { AudioEffectFilter // contains filtered or unexported fields }
Attenuates the frequencies inside of a range around the [member cutoff_hz] and cuts frequencies outside of this band.
func (*AudioEffectBandPassFilter) BaseClass ¶
func (o *AudioEffectBandPassFilter) BaseClass() string
type AudioEffectBandPassFilterImplementer ¶
type AudioEffectBandPassFilterImplementer interface { AudioEffectFilterImplementer }
AudioEffectBandPassFilterImplementer is an interface that implements the methods of the AudioEffectBandPassFilter class.
type AudioEffectChorus ¶
type AudioEffectChorus struct { AudioEffect // contains filtered or unexported fields }
Adds a chorus audio effect. The effect applies a filter with voices to duplicate the audio source and manipulate it through the filter.
func (*AudioEffectChorus) BaseClass ¶
func (o *AudioEffectChorus) BaseClass() string
func (*AudioEffectChorus) GetDry ¶
func (o *AudioEffectChorus) GetDry() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectChorus) GetVoiceCount ¶
func (o *AudioEffectChorus) GetVoiceCount() gdnative.Int
Undocumented Args: [], Returns: int
func (*AudioEffectChorus) GetVoiceCutoffHz ¶
func (o *AudioEffectChorus) GetVoiceCutoffHz(voiceIdx gdnative.Int) gdnative.Real
Undocumented Args: [{ false voice_idx int}], Returns: float
func (*AudioEffectChorus) GetVoiceDelayMs ¶
func (o *AudioEffectChorus) GetVoiceDelayMs(voiceIdx gdnative.Int) gdnative.Real
Undocumented Args: [{ false voice_idx int}], Returns: float
func (*AudioEffectChorus) GetVoiceDepthMs ¶
func (o *AudioEffectChorus) GetVoiceDepthMs(voiceIdx gdnative.Int) gdnative.Real
Undocumented Args: [{ false voice_idx int}], Returns: float
func (*AudioEffectChorus) GetVoiceLevelDb ¶
func (o *AudioEffectChorus) GetVoiceLevelDb(voiceIdx gdnative.Int) gdnative.Real
Undocumented Args: [{ false voice_idx int}], Returns: float
func (*AudioEffectChorus) GetVoicePan ¶
func (o *AudioEffectChorus) GetVoicePan(voiceIdx gdnative.Int) gdnative.Real
Undocumented Args: [{ false voice_idx int}], Returns: float
func (*AudioEffectChorus) GetVoiceRateHz ¶
func (o *AudioEffectChorus) GetVoiceRateHz(voiceIdx gdnative.Int) gdnative.Real
Undocumented Args: [{ false voice_idx int}], Returns: float
func (*AudioEffectChorus) GetWet ¶
func (o *AudioEffectChorus) GetWet() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectChorus) SetDry ¶
func (o *AudioEffectChorus) SetDry(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
func (*AudioEffectChorus) SetVoiceCount ¶
func (o *AudioEffectChorus) SetVoiceCount(voices gdnative.Int)
Undocumented Args: [{ false voices int}], Returns: void
func (*AudioEffectChorus) SetVoiceCutoffHz ¶
func (o *AudioEffectChorus) SetVoiceCutoffHz(voiceIdx gdnative.Int, cutoffHz gdnative.Real)
Undocumented Args: [{ false voice_idx int} { false cutoff_hz float}], Returns: void
func (*AudioEffectChorus) SetVoiceDelayMs ¶
func (o *AudioEffectChorus) SetVoiceDelayMs(voiceIdx gdnative.Int, delayMs gdnative.Real)
Undocumented Args: [{ false voice_idx int} { false delay_ms float}], Returns: void
func (*AudioEffectChorus) SetVoiceDepthMs ¶
func (o *AudioEffectChorus) SetVoiceDepthMs(voiceIdx gdnative.Int, depthMs gdnative.Real)
Undocumented Args: [{ false voice_idx int} { false depth_ms float}], Returns: void
func (*AudioEffectChorus) SetVoiceLevelDb ¶
func (o *AudioEffectChorus) SetVoiceLevelDb(voiceIdx gdnative.Int, levelDb gdnative.Real)
Undocumented Args: [{ false voice_idx int} { false level_db float}], Returns: void
func (*AudioEffectChorus) SetVoicePan ¶
func (o *AudioEffectChorus) SetVoicePan(voiceIdx gdnative.Int, pan gdnative.Real)
Undocumented Args: [{ false voice_idx int} { false pan float}], Returns: void
func (*AudioEffectChorus) SetVoiceRateHz ¶
func (o *AudioEffectChorus) SetVoiceRateHz(voiceIdx gdnative.Int, rateHz gdnative.Real)
Undocumented Args: [{ false voice_idx int} { false rate_hz float}], Returns: void
func (*AudioEffectChorus) SetWet ¶
func (o *AudioEffectChorus) SetWet(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
type AudioEffectChorusImplementer ¶
type AudioEffectChorusImplementer interface { AudioEffectImplementer GetDry() gdnative.Real GetVoiceCount() gdnative.Int GetVoiceCutoffHz(voiceIdx gdnative.Int) gdnative.Real GetVoiceDelayMs(voiceIdx gdnative.Int) gdnative.Real GetVoiceDepthMs(voiceIdx gdnative.Int) gdnative.Real GetVoiceLevelDb(voiceIdx gdnative.Int) gdnative.Real GetVoicePan(voiceIdx gdnative.Int) gdnative.Real GetVoiceRateHz(voiceIdx gdnative.Int) gdnative.Real GetWet() gdnative.Real SetDry(amount gdnative.Real) SetVoiceCount(voices gdnative.Int) SetVoiceCutoffHz(voiceIdx gdnative.Int, cutoffHz gdnative.Real) SetVoiceDelayMs(voiceIdx gdnative.Int, delayMs gdnative.Real) SetVoiceDepthMs(voiceIdx gdnative.Int, depthMs gdnative.Real) SetVoiceLevelDb(voiceIdx gdnative.Int, levelDb gdnative.Real) SetVoicePan(voiceIdx gdnative.Int, pan gdnative.Real) SetVoiceRateHz(voiceIdx gdnative.Int, rateHz gdnative.Real) SetWet(amount gdnative.Real) }
AudioEffectChorusImplementer is an interface that implements the methods of the AudioEffectChorus class.
type AudioEffectCompressor ¶
type AudioEffectCompressor struct { AudioEffect // contains filtered or unexported fields }
Dynamic range compressor reduces the level of the sound when the amplitude goes over a certain threshold in Decibels. One of the main uses of a compressor is to increase the dynamic range by clipping as little as possible (when sound goes over 0dB). Compressor has many uses in the mix: - In the Master bus to compress the whole output (Although a AudioEffectLimiter is probably better) - In voice channels to ensure they sound as balanced as possible. - Sidechained. Sidechained, which can reduce the sound level sidechained with another audio bus for threshold detection.. This technique is very common in video game mixing to download the level of Music/SFX while voices are being heard. - Accentuates transients by using a wider attack, making effects sound more punchy.
func (*AudioEffectCompressor) BaseClass ¶
func (o *AudioEffectCompressor) BaseClass() string
func (*AudioEffectCompressor) GetAttackUs ¶
func (o *AudioEffectCompressor) GetAttackUs() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectCompressor) GetGain ¶
func (o *AudioEffectCompressor) GetGain() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectCompressor) GetMix ¶
func (o *AudioEffectCompressor) GetMix() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectCompressor) GetRatio ¶
func (o *AudioEffectCompressor) GetRatio() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectCompressor) GetReleaseMs ¶
func (o *AudioEffectCompressor) GetReleaseMs() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectCompressor) GetSidechain ¶
func (o *AudioEffectCompressor) GetSidechain() gdnative.String
Undocumented Args: [], Returns: String
func (*AudioEffectCompressor) GetThreshold ¶
func (o *AudioEffectCompressor) GetThreshold() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectCompressor) SetAttackUs ¶
func (o *AudioEffectCompressor) SetAttackUs(attackUs gdnative.Real)
Undocumented Args: [{ false attack_us float}], Returns: void
func (*AudioEffectCompressor) SetGain ¶
func (o *AudioEffectCompressor) SetGain(gain gdnative.Real)
Undocumented Args: [{ false gain float}], Returns: void
func (*AudioEffectCompressor) SetMix ¶
func (o *AudioEffectCompressor) SetMix(mix gdnative.Real)
Undocumented Args: [{ false mix float}], Returns: void
func (*AudioEffectCompressor) SetRatio ¶
func (o *AudioEffectCompressor) SetRatio(ratio gdnative.Real)
Undocumented Args: [{ false ratio float}], Returns: void
func (*AudioEffectCompressor) SetReleaseMs ¶
func (o *AudioEffectCompressor) SetReleaseMs(releaseMs gdnative.Real)
Undocumented Args: [{ false release_ms float}], Returns: void
func (*AudioEffectCompressor) SetSidechain ¶
func (o *AudioEffectCompressor) SetSidechain(sidechain gdnative.String)
Undocumented Args: [{ false sidechain String}], Returns: void
func (*AudioEffectCompressor) SetThreshold ¶
func (o *AudioEffectCompressor) SetThreshold(threshold gdnative.Real)
Undocumented Args: [{ false threshold float}], Returns: void
type AudioEffectCompressorImplementer ¶
type AudioEffectCompressorImplementer interface { AudioEffectImplementer GetAttackUs() gdnative.Real GetGain() gdnative.Real GetMix() gdnative.Real GetRatio() gdnative.Real GetReleaseMs() gdnative.Real GetSidechain() gdnative.String GetThreshold() gdnative.Real SetAttackUs(attackUs gdnative.Real) SetGain(gain gdnative.Real) SetMix(mix gdnative.Real) SetRatio(ratio gdnative.Real) SetReleaseMs(releaseMs gdnative.Real) SetSidechain(sidechain gdnative.String) SetThreshold(threshold gdnative.Real) }
AudioEffectCompressorImplementer is an interface that implements the methods of the AudioEffectCompressor class.
type AudioEffectDelay ¶
type AudioEffectDelay struct { AudioEffect // contains filtered or unexported fields }
Plays input signal back after a period of time. The delayed signal may be played back multiple times to create the sound of a repeating, decaying echo. Delay effects range from a subtle echo effect to a pronounced blending of previous sounds with new sounds.
func (*AudioEffectDelay) BaseClass ¶
func (o *AudioEffectDelay) BaseClass() string
func (*AudioEffectDelay) GetDry ¶
func (o *AudioEffectDelay) GetDry() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectDelay) GetFeedbackDelayMs ¶
func (o *AudioEffectDelay) GetFeedbackDelayMs() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectDelay) GetFeedbackLevelDb ¶
func (o *AudioEffectDelay) GetFeedbackLevelDb() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectDelay) GetFeedbackLowpass ¶
func (o *AudioEffectDelay) GetFeedbackLowpass() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectDelay) GetTap1DelayMs ¶
func (o *AudioEffectDelay) GetTap1DelayMs() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectDelay) GetTap1LevelDb ¶
func (o *AudioEffectDelay) GetTap1LevelDb() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectDelay) GetTap1Pan ¶
func (o *AudioEffectDelay) GetTap1Pan() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectDelay) GetTap2DelayMs ¶
func (o *AudioEffectDelay) GetTap2DelayMs() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectDelay) GetTap2LevelDb ¶
func (o *AudioEffectDelay) GetTap2LevelDb() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectDelay) GetTap2Pan ¶
func (o *AudioEffectDelay) GetTap2Pan() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectDelay) IsFeedbackActive ¶
func (o *AudioEffectDelay) IsFeedbackActive() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*AudioEffectDelay) IsTap1Active ¶
func (o *AudioEffectDelay) IsTap1Active() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*AudioEffectDelay) IsTap2Active ¶
func (o *AudioEffectDelay) IsTap2Active() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*AudioEffectDelay) SetDry ¶
func (o *AudioEffectDelay) SetDry(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
func (*AudioEffectDelay) SetFeedbackActive ¶
func (o *AudioEffectDelay) SetFeedbackActive(amount gdnative.Bool)
Undocumented Args: [{ false amount bool}], Returns: void
func (*AudioEffectDelay) SetFeedbackDelayMs ¶
func (o *AudioEffectDelay) SetFeedbackDelayMs(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
func (*AudioEffectDelay) SetFeedbackLevelDb ¶
func (o *AudioEffectDelay) SetFeedbackLevelDb(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
func (*AudioEffectDelay) SetFeedbackLowpass ¶
func (o *AudioEffectDelay) SetFeedbackLowpass(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
func (*AudioEffectDelay) SetTap1Active ¶
func (o *AudioEffectDelay) SetTap1Active(amount gdnative.Bool)
Undocumented Args: [{ false amount bool}], Returns: void
func (*AudioEffectDelay) SetTap1DelayMs ¶
func (o *AudioEffectDelay) SetTap1DelayMs(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
func (*AudioEffectDelay) SetTap1LevelDb ¶
func (o *AudioEffectDelay) SetTap1LevelDb(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
func (*AudioEffectDelay) SetTap1Pan ¶
func (o *AudioEffectDelay) SetTap1Pan(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
func (*AudioEffectDelay) SetTap2Active ¶
func (o *AudioEffectDelay) SetTap2Active(amount gdnative.Bool)
Undocumented Args: [{ false amount bool}], Returns: void
func (*AudioEffectDelay) SetTap2DelayMs ¶
func (o *AudioEffectDelay) SetTap2DelayMs(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
func (*AudioEffectDelay) SetTap2LevelDb ¶
func (o *AudioEffectDelay) SetTap2LevelDb(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
func (*AudioEffectDelay) SetTap2Pan ¶
func (o *AudioEffectDelay) SetTap2Pan(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
type AudioEffectDelayImplementer ¶
type AudioEffectDelayImplementer interface { AudioEffectImplementer GetDry() gdnative.Real GetFeedbackDelayMs() gdnative.Real GetFeedbackLevelDb() gdnative.Real GetFeedbackLowpass() gdnative.Real GetTap1DelayMs() gdnative.Real GetTap1LevelDb() gdnative.Real GetTap1Pan() gdnative.Real GetTap2DelayMs() gdnative.Real GetTap2LevelDb() gdnative.Real GetTap2Pan() gdnative.Real IsFeedbackActive() gdnative.Bool IsTap1Active() gdnative.Bool IsTap2Active() gdnative.Bool SetDry(amount gdnative.Real) SetFeedbackActive(amount gdnative.Bool) SetFeedbackDelayMs(amount gdnative.Real) SetFeedbackLevelDb(amount gdnative.Real) SetFeedbackLowpass(amount gdnative.Real) SetTap1Active(amount gdnative.Bool) SetTap1DelayMs(amount gdnative.Real) SetTap1LevelDb(amount gdnative.Real) SetTap1Pan(amount gdnative.Real) SetTap2Active(amount gdnative.Bool) SetTap2DelayMs(amount gdnative.Real) SetTap2LevelDb(amount gdnative.Real) SetTap2Pan(amount gdnative.Real) }
AudioEffectDelayImplementer is an interface that implements the methods of the AudioEffectDelay class.
type AudioEffectDistortion ¶
type AudioEffectDistortion struct { AudioEffect // contains filtered or unexported fields }
Modify the sound and make it dirty. Different types are available : clip, tan, lofi (bit crushing), overdrive, or waveshape. By distorting the waveform the frequency content change, which will often make the sound "crunchy" or "abrasive". For games, it can simulate sound coming from some saturated device or speaker very efficiently.
func (*AudioEffectDistortion) BaseClass ¶
func (o *AudioEffectDistortion) BaseClass() string
func (*AudioEffectDistortion) GetDrive ¶
func (o *AudioEffectDistortion) GetDrive() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectDistortion) GetKeepHfHz ¶
func (o *AudioEffectDistortion) GetKeepHfHz() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectDistortion) GetMode ¶
func (o *AudioEffectDistortion) GetMode() AudioEffectDistortionMode
Undocumented Args: [], Returns: enum.AudioEffectDistortion::Mode
func (*AudioEffectDistortion) GetPostGain ¶
func (o *AudioEffectDistortion) GetPostGain() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectDistortion) GetPreGain ¶
func (o *AudioEffectDistortion) GetPreGain() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectDistortion) SetDrive ¶
func (o *AudioEffectDistortion) SetDrive(drive gdnative.Real)
Undocumented Args: [{ false drive float}], Returns: void
func (*AudioEffectDistortion) SetKeepHfHz ¶
func (o *AudioEffectDistortion) SetKeepHfHz(keepHfHz gdnative.Real)
Undocumented Args: [{ false keep_hf_hz float}], Returns: void
func (*AudioEffectDistortion) SetMode ¶
func (o *AudioEffectDistortion) SetMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*AudioEffectDistortion) SetPostGain ¶
func (o *AudioEffectDistortion) SetPostGain(postGain gdnative.Real)
Undocumented Args: [{ false post_gain float}], Returns: void
func (*AudioEffectDistortion) SetPreGain ¶
func (o *AudioEffectDistortion) SetPreGain(preGain gdnative.Real)
Undocumented Args: [{ false pre_gain float}], Returns: void
type AudioEffectDistortionImplementer ¶
type AudioEffectDistortionImplementer interface { AudioEffectImplementer GetDrive() gdnative.Real GetKeepHfHz() gdnative.Real GetPostGain() gdnative.Real GetPreGain() gdnative.Real SetDrive(drive gdnative.Real) SetKeepHfHz(keepHfHz gdnative.Real) SetMode(mode gdnative.Int) SetPostGain(postGain gdnative.Real) SetPreGain(preGain gdnative.Real) }
AudioEffectDistortionImplementer is an interface that implements the methods of the AudioEffectDistortion class.
type AudioEffectDistortionMode ¶
type AudioEffectDistortionMode int
AudioEffectDistortionMode is an enum for Mode values.
const ( AudioEffectDistortionModeAtan AudioEffectDistortionMode = 1 AudioEffectDistortionModeClip AudioEffectDistortionMode = 0 AudioEffectDistortionModeLofi AudioEffectDistortionMode = 2 AudioEffectDistortionModeOverdrive AudioEffectDistortionMode = 3 AudioEffectDistortionModeWaveshape AudioEffectDistortionMode = 4 )
type AudioEffectEQ ¶
type AudioEffectEQ struct { AudioEffect // contains filtered or unexported fields }
AudioEffectEQ gives you control over frequencies. Use it to compensate for existing deficiencies in audio. AudioEffectEQ are very useful on the Master Bus to completely master a mix and give it character. They are also very useful when a game is run on a mobile device, to adjust the mix to that kind of speakers (it can be added but disabled when headphones are plugged).
func (*AudioEffectEQ) BaseClass ¶
func (o *AudioEffectEQ) BaseClass() string
func (*AudioEffectEQ) GetBandCount ¶
func (o *AudioEffectEQ) GetBandCount() gdnative.Int
Returns the number of bands of the equalizer. Args: [], Returns: int
func (*AudioEffectEQ) GetBandGainDb ¶
func (o *AudioEffectEQ) GetBandGainDb(bandIdx gdnative.Int) gdnative.Real
Returns the band's gain at the specified index, in dB. Args: [{ false band_idx int}], Returns: float
func (*AudioEffectEQ) SetBandGainDb ¶
func (o *AudioEffectEQ) SetBandGainDb(bandIdx gdnative.Int, volumeDb gdnative.Real)
Sets band's gain at the specified index, in dB. Args: [{ false band_idx int} { false volume_db float}], Returns: void
type AudioEffectEQ10 ¶
type AudioEffectEQ10 struct { AudioEffectEQ // contains filtered or unexported fields }
Frequency bands : Band 1 : 31 Hz Band 2 : 62 Hz Band 3 : 125 Hz Band 4 : 250 Hz Band 5 : 500 Hz Band 6 : 1000 Hz Band 7 : 2000 Hz Band 8 : 4000 Hz Band 9 : 8000 Hz Band 10 : 16000 Hz See also AudioEffectEQ, AudioEffectEQ6, AudioEffectEQ21.
func (*AudioEffectEQ10) BaseClass ¶
func (o *AudioEffectEQ10) BaseClass() string
type AudioEffectEQ10Implementer ¶
type AudioEffectEQ10Implementer interface { AudioEffectEQImplementer }
AudioEffectEQ10Implementer is an interface that implements the methods of the AudioEffectEQ10 class.
type AudioEffectEQ21 ¶
type AudioEffectEQ21 struct { AudioEffectEQ // contains filtered or unexported fields }
Frequency bands : Band 1 : 22 Hz Band 2 : 32 Hz Band 3 : 44 Hz Band 4 : 63 Hz Band 5 : 90 Hz Band 6 : 125 Hz Band 7 : 175 Hz Band 8 : 250 Hz Band 9 : 350 Hz Band 10 : 500 Hz Band 11 : 700 Hz Band 12 : 1000 Hz Band 13 : 1400 Hz Band 14 : 2000 Hz Band 15 : 2800 Hz Band 16 : 4000 Hz Band 17 : 5600 Hz Band 18 : 8000 Hz Band 19 : 11000 Hz Band 20 : 16000 Hz Band 21 : 22000 Hz See also AudioEffectEQ, AudioEffectEQ6, AudioEffectEQ10.
func (*AudioEffectEQ21) BaseClass ¶
func (o *AudioEffectEQ21) BaseClass() string
type AudioEffectEQ21Implementer ¶
type AudioEffectEQ21Implementer interface { AudioEffectEQImplementer }
AudioEffectEQ21Implementer is an interface that implements the methods of the AudioEffectEQ21 class.
type AudioEffectEQ6 ¶
type AudioEffectEQ6 struct { AudioEffectEQ // contains filtered or unexported fields }
Frequency bands : Band 1 : 32 Hz Band 2 : 100 Hz Band 3 : 320 Hz Band 4 : 1000 Hz Band 5 : 3200 Hz Band 6 : 10000 Hz See also AudioEffectEQ, AudioEffectEQ10, AudioEffectEQ21.
func (*AudioEffectEQ6) BaseClass ¶
func (o *AudioEffectEQ6) BaseClass() string
type AudioEffectEQ6Implementer ¶
type AudioEffectEQ6Implementer interface { AudioEffectEQImplementer }
AudioEffectEQ6Implementer is an interface that implements the methods of the AudioEffectEQ6 class.
type AudioEffectEQImplementer ¶
type AudioEffectEQImplementer interface { AudioEffectImplementer GetBandCount() gdnative.Int GetBandGainDb(bandIdx gdnative.Int) gdnative.Real SetBandGainDb(bandIdx gdnative.Int, volumeDb gdnative.Real) }
AudioEffectEQImplementer is an interface that implements the methods of the AudioEffectEQ class.
type AudioEffectFilter ¶
type AudioEffectFilter struct { AudioEffect // contains filtered or unexported fields }
Allows frequencies other than the [member cutoff_hz] to pass.
func (*AudioEffectFilter) BaseClass ¶
func (o *AudioEffectFilter) BaseClass() string
func (*AudioEffectFilter) GetCutoff ¶
func (o *AudioEffectFilter) GetCutoff() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectFilter) GetDb ¶
func (o *AudioEffectFilter) GetDb() AudioEffectFilterFilterDB
Undocumented Args: [], Returns: enum.AudioEffectFilter::FilterDB
func (*AudioEffectFilter) GetGain ¶
func (o *AudioEffectFilter) GetGain() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectFilter) GetResonance ¶
func (o *AudioEffectFilter) GetResonance() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectFilter) SetCutoff ¶
func (o *AudioEffectFilter) SetCutoff(freq gdnative.Real)
Undocumented Args: [{ false freq float}], Returns: void
func (*AudioEffectFilter) SetDb ¶
func (o *AudioEffectFilter) SetDb(amount gdnative.Int)
Undocumented Args: [{ false amount int}], Returns: void
func (*AudioEffectFilter) SetGain ¶
func (o *AudioEffectFilter) SetGain(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
func (*AudioEffectFilter) SetResonance ¶
func (o *AudioEffectFilter) SetResonance(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
type AudioEffectFilterFilterDB ¶
type AudioEffectFilterFilterDB int
AudioEffectFilterFilterDB is an enum for FilterDB values.
const ( AudioEffectFilterFilter12Db AudioEffectFilterFilterDB = 1 AudioEffectFilterFilter18Db AudioEffectFilterFilterDB = 2 AudioEffectFilterFilter24Db AudioEffectFilterFilterDB = 3 AudioEffectFilterFilter6Db AudioEffectFilterFilterDB = 0 )
type AudioEffectFilterImplementer ¶
type AudioEffectFilterImplementer interface { AudioEffectImplementer GetCutoff() gdnative.Real GetGain() gdnative.Real GetResonance() gdnative.Real SetCutoff(freq gdnative.Real) SetDb(amount gdnative.Int) SetGain(amount gdnative.Real) SetResonance(amount gdnative.Real) }
AudioEffectFilterImplementer is an interface that implements the methods of the AudioEffectFilter class.
type AudioEffectHighPassFilter ¶
type AudioEffectHighPassFilter struct { AudioEffectFilter // contains filtered or unexported fields }
Cuts frequencies lower than the [member cutoff_hz] and allows higher frequencies to pass.
func (*AudioEffectHighPassFilter) BaseClass ¶
func (o *AudioEffectHighPassFilter) BaseClass() string
type AudioEffectHighPassFilterImplementer ¶
type AudioEffectHighPassFilterImplementer interface { AudioEffectFilterImplementer }
AudioEffectHighPassFilterImplementer is an interface that implements the methods of the AudioEffectHighPassFilter class.
type AudioEffectHighShelfFilter ¶
type AudioEffectHighShelfFilter struct { AudioEffectFilter // contains filtered or unexported fields }
func (*AudioEffectHighShelfFilter) BaseClass ¶
func (o *AudioEffectHighShelfFilter) BaseClass() string
type AudioEffectHighShelfFilterImplementer ¶
type AudioEffectHighShelfFilterImplementer interface { AudioEffectFilterImplementer }
AudioEffectHighShelfFilterImplementer is an interface that implements the methods of the AudioEffectHighShelfFilter class.
type AudioEffectImplementer ¶
type AudioEffectImplementer interface { ResourceImplementer }
AudioEffectImplementer is an interface that implements the methods of the AudioEffect class.
type AudioEffectLimiter ¶
type AudioEffectLimiter struct { AudioEffect // contains filtered or unexported fields }
A limiter is similar to a compressor, but it’s less flexible and designed to disallow sound going over a given dB threshold. Adding one in the Master Bus is always recommended to reduce the effects of clipping. Soft clipping starts to reduce the peaks a little below the threshold level and progressively increases its effect as the input level increases such that the threshold is never exceeded.
func (*AudioEffectLimiter) BaseClass ¶
func (o *AudioEffectLimiter) BaseClass() string
func (*AudioEffectLimiter) GetCeilingDb ¶
func (o *AudioEffectLimiter) GetCeilingDb() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectLimiter) GetSoftClipDb ¶
func (o *AudioEffectLimiter) GetSoftClipDb() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectLimiter) GetSoftClipRatio ¶
func (o *AudioEffectLimiter) GetSoftClipRatio() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectLimiter) GetThresholdDb ¶
func (o *AudioEffectLimiter) GetThresholdDb() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectLimiter) SetCeilingDb ¶
func (o *AudioEffectLimiter) SetCeilingDb(ceiling gdnative.Real)
Undocumented Args: [{ false ceiling float}], Returns: void
func (*AudioEffectLimiter) SetSoftClipDb ¶
func (o *AudioEffectLimiter) SetSoftClipDb(softClip gdnative.Real)
Undocumented Args: [{ false soft_clip float}], Returns: void
func (*AudioEffectLimiter) SetSoftClipRatio ¶
func (o *AudioEffectLimiter) SetSoftClipRatio(softClip gdnative.Real)
Undocumented Args: [{ false soft_clip float}], Returns: void
func (*AudioEffectLimiter) SetThresholdDb ¶
func (o *AudioEffectLimiter) SetThresholdDb(threshold gdnative.Real)
Undocumented Args: [{ false threshold float}], Returns: void
type AudioEffectLimiterImplementer ¶
type AudioEffectLimiterImplementer interface { AudioEffectImplementer GetCeilingDb() gdnative.Real GetSoftClipDb() gdnative.Real GetSoftClipRatio() gdnative.Real GetThresholdDb() gdnative.Real SetCeilingDb(ceiling gdnative.Real) SetSoftClipDb(softClip gdnative.Real) SetSoftClipRatio(softClip gdnative.Real) SetThresholdDb(threshold gdnative.Real) }
AudioEffectLimiterImplementer is an interface that implements the methods of the AudioEffectLimiter class.
type AudioEffectLowPassFilter ¶
type AudioEffectLowPassFilter struct { AudioEffectFilter // contains filtered or unexported fields }
Cuts frequencies higher than the [member cutoff_hz] and allows lower frequencies to pass.
func (*AudioEffectLowPassFilter) BaseClass ¶
func (o *AudioEffectLowPassFilter) BaseClass() string
type AudioEffectLowPassFilterImplementer ¶
type AudioEffectLowPassFilterImplementer interface { AudioEffectFilterImplementer }
AudioEffectLowPassFilterImplementer is an interface that implements the methods of the AudioEffectLowPassFilter class.
type AudioEffectLowShelfFilter ¶
type AudioEffectLowShelfFilter struct { AudioEffectFilter // contains filtered or unexported fields }
func (*AudioEffectLowShelfFilter) BaseClass ¶
func (o *AudioEffectLowShelfFilter) BaseClass() string
type AudioEffectLowShelfFilterImplementer ¶
type AudioEffectLowShelfFilterImplementer interface { AudioEffectFilterImplementer }
AudioEffectLowShelfFilterImplementer is an interface that implements the methods of the AudioEffectLowShelfFilter class.
type AudioEffectNotchFilter ¶
type AudioEffectNotchFilter struct { AudioEffectFilter // contains filtered or unexported fields }
Attenuates frequencies in a narrow band around the [member cutoff_hz] and cuts frequencies outside of this range.
func (*AudioEffectNotchFilter) BaseClass ¶
func (o *AudioEffectNotchFilter) BaseClass() string
type AudioEffectNotchFilterImplementer ¶
type AudioEffectNotchFilterImplementer interface { AudioEffectFilterImplementer }
AudioEffectNotchFilterImplementer is an interface that implements the methods of the AudioEffectNotchFilter class.
type AudioEffectPanner ¶
type AudioEffectPanner struct { AudioEffect // contains filtered or unexported fields }
Determines how much of an audio signal is sent to the left and right buses.
func (*AudioEffectPanner) BaseClass ¶
func (o *AudioEffectPanner) BaseClass() string
func (*AudioEffectPanner) GetPan ¶
func (o *AudioEffectPanner) GetPan() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectPanner) SetPan ¶
func (o *AudioEffectPanner) SetPan(cpanume gdnative.Real)
Undocumented Args: [{ false cpanume float}], Returns: void
type AudioEffectPannerImplementer ¶
type AudioEffectPannerImplementer interface { AudioEffectImplementer GetPan() gdnative.Real SetPan(cpanume gdnative.Real) }
AudioEffectPannerImplementer is an interface that implements the methods of the AudioEffectPanner class.
type AudioEffectPhaser ¶
type AudioEffectPhaser struct { AudioEffect // contains filtered or unexported fields }
Combines phase-shifted signals with the original signal. The movement of the phase-shifted signals is controlled using a Low Frequency Oscillator.
func (*AudioEffectPhaser) BaseClass ¶
func (o *AudioEffectPhaser) BaseClass() string
func (*AudioEffectPhaser) GetDepth ¶
func (o *AudioEffectPhaser) GetDepth() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectPhaser) GetFeedback ¶
func (o *AudioEffectPhaser) GetFeedback() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectPhaser) GetRangeMaxHz ¶
func (o *AudioEffectPhaser) GetRangeMaxHz() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectPhaser) GetRangeMinHz ¶
func (o *AudioEffectPhaser) GetRangeMinHz() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectPhaser) GetRateHz ¶
func (o *AudioEffectPhaser) GetRateHz() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectPhaser) SetDepth ¶
func (o *AudioEffectPhaser) SetDepth(depth gdnative.Real)
Undocumented Args: [{ false depth float}], Returns: void
func (*AudioEffectPhaser) SetFeedback ¶
func (o *AudioEffectPhaser) SetFeedback(fbk gdnative.Real)
Undocumented Args: [{ false fbk float}], Returns: void
func (*AudioEffectPhaser) SetRangeMaxHz ¶
func (o *AudioEffectPhaser) SetRangeMaxHz(hz gdnative.Real)
Undocumented Args: [{ false hz float}], Returns: void
func (*AudioEffectPhaser) SetRangeMinHz ¶
func (o *AudioEffectPhaser) SetRangeMinHz(hz gdnative.Real)
Undocumented Args: [{ false hz float}], Returns: void
func (*AudioEffectPhaser) SetRateHz ¶
func (o *AudioEffectPhaser) SetRateHz(hz gdnative.Real)
Undocumented Args: [{ false hz float}], Returns: void
type AudioEffectPhaserImplementer ¶
type AudioEffectPhaserImplementer interface { AudioEffectImplementer GetDepth() gdnative.Real GetFeedback() gdnative.Real GetRangeMaxHz() gdnative.Real GetRangeMinHz() gdnative.Real GetRateHz() gdnative.Real SetDepth(depth gdnative.Real) SetFeedback(fbk gdnative.Real) SetRangeMaxHz(hz gdnative.Real) SetRangeMinHz(hz gdnative.Real) SetRateHz(hz gdnative.Real) }
AudioEffectPhaserImplementer is an interface that implements the methods of the AudioEffectPhaser class.
type AudioEffectPitchShift ¶
type AudioEffectPitchShift struct { AudioEffect // contains filtered or unexported fields }
Allows modulation of pitch independently of tempo. All frequencies can be increased/decreased with minimal effect on transients.
func (*AudioEffectPitchShift) BaseClass ¶
func (o *AudioEffectPitchShift) BaseClass() string
func (*AudioEffectPitchShift) GetPitchScale ¶
func (o *AudioEffectPitchShift) GetPitchScale() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectPitchShift) SetPitchScale ¶
func (o *AudioEffectPitchShift) SetPitchScale(rate gdnative.Real)
Undocumented Args: [{ false rate float}], Returns: void
type AudioEffectPitchShiftImplementer ¶
type AudioEffectPitchShiftImplementer interface { AudioEffectImplementer GetPitchScale() gdnative.Real SetPitchScale(rate gdnative.Real) }
AudioEffectPitchShiftImplementer is an interface that implements the methods of the AudioEffectPitchShift class.
type AudioEffectReverb ¶
type AudioEffectReverb struct { AudioEffect // contains filtered or unexported fields }
Simulates rooms of different sizes. Its parameters can be adjusted to simulate the sound of a specific room.
func (*AudioEffectReverb) BaseClass ¶
func (o *AudioEffectReverb) BaseClass() string
func (*AudioEffectReverb) GetDamping ¶
func (o *AudioEffectReverb) GetDamping() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectReverb) GetDry ¶
func (o *AudioEffectReverb) GetDry() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectReverb) GetHpf ¶
func (o *AudioEffectReverb) GetHpf() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectReverb) GetPredelayFeedback ¶
func (o *AudioEffectReverb) GetPredelayFeedback() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectReverb) GetPredelayMsec ¶
func (o *AudioEffectReverb) GetPredelayMsec() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectReverb) GetRoomSize ¶
func (o *AudioEffectReverb) GetRoomSize() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectReverb) GetSpread ¶
func (o *AudioEffectReverb) GetSpread() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectReverb) GetWet ¶
func (o *AudioEffectReverb) GetWet() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectReverb) SetDamping ¶
func (o *AudioEffectReverb) SetDamping(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
func (*AudioEffectReverb) SetDry ¶
func (o *AudioEffectReverb) SetDry(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
func (*AudioEffectReverb) SetHpf ¶
func (o *AudioEffectReverb) SetHpf(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
func (*AudioEffectReverb) SetPredelayFeedback ¶
func (o *AudioEffectReverb) SetPredelayFeedback(feedback gdnative.Real)
Undocumented Args: [{ false feedback float}], Returns: void
func (*AudioEffectReverb) SetPredelayMsec ¶
func (o *AudioEffectReverb) SetPredelayMsec(msec gdnative.Real)
Undocumented Args: [{ false msec float}], Returns: void
func (*AudioEffectReverb) SetRoomSize ¶
func (o *AudioEffectReverb) SetRoomSize(size gdnative.Real)
Undocumented Args: [{ false size float}], Returns: void
func (*AudioEffectReverb) SetSpread ¶
func (o *AudioEffectReverb) SetSpread(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
func (*AudioEffectReverb) SetWet ¶
func (o *AudioEffectReverb) SetWet(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
type AudioEffectReverbImplementer ¶
type AudioEffectReverbImplementer interface { AudioEffectImplementer GetDamping() gdnative.Real GetDry() gdnative.Real GetHpf() gdnative.Real GetPredelayFeedback() gdnative.Real GetPredelayMsec() gdnative.Real GetRoomSize() gdnative.Real GetSpread() gdnative.Real GetWet() gdnative.Real SetDamping(amount gdnative.Real) SetDry(amount gdnative.Real) SetHpf(amount gdnative.Real) SetPredelayFeedback(feedback gdnative.Real) SetPredelayMsec(msec gdnative.Real) SetRoomSize(size gdnative.Real) SetSpread(amount gdnative.Real) SetWet(amount gdnative.Real) }
AudioEffectReverbImplementer is an interface that implements the methods of the AudioEffectReverb class.
type AudioEffectStereoEnhance ¶
type AudioEffectStereoEnhance struct { AudioEffect // contains filtered or unexported fields }
func (*AudioEffectStereoEnhance) BaseClass ¶
func (o *AudioEffectStereoEnhance) BaseClass() string
func (*AudioEffectStereoEnhance) GetPanPullout ¶
func (o *AudioEffectStereoEnhance) GetPanPullout() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectStereoEnhance) GetSurround ¶
func (o *AudioEffectStereoEnhance) GetSurround() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectStereoEnhance) GetTimePullout ¶
func (o *AudioEffectStereoEnhance) GetTimePullout() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioEffectStereoEnhance) SetPanPullout ¶
func (o *AudioEffectStereoEnhance) SetPanPullout(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
func (*AudioEffectStereoEnhance) SetSurround ¶
func (o *AudioEffectStereoEnhance) SetSurround(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
func (*AudioEffectStereoEnhance) SetTimePullout ¶
func (o *AudioEffectStereoEnhance) SetTimePullout(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
type AudioEffectStereoEnhanceImplementer ¶
type AudioEffectStereoEnhanceImplementer interface { AudioEffectImplementer GetPanPullout() gdnative.Real GetSurround() gdnative.Real GetTimePullout() gdnative.Real SetPanPullout(amount gdnative.Real) SetSurround(amount gdnative.Real) SetTimePullout(amount gdnative.Real) }
AudioEffectStereoEnhanceImplementer is an interface that implements the methods of the AudioEffectStereoEnhance class.
type AudioServerImplementer ¶
type AudioServerImplementer interface { ObjectImplementer AddBus(atPosition gdnative.Int) AddBusEffect(busIdx gdnative.Int, effect AudioEffectImplementer, atPosition gdnative.Int) GenerateBusLayout() AudioBusLayoutImplementer GetBusCount() gdnative.Int GetBusEffect(busIdx gdnative.Int, effectIdx gdnative.Int) AudioEffectImplementer GetBusEffectCount(busIdx gdnative.Int) gdnative.Int GetBusIndex(busName gdnative.String) gdnative.Int GetBusName(busIdx gdnative.Int) gdnative.String GetBusPeakVolumeLeftDb(busIdx gdnative.Int, channel gdnative.Int) gdnative.Real GetBusPeakVolumeRightDb(busIdx gdnative.Int, channel gdnative.Int) gdnative.Real GetBusSend(busIdx gdnative.Int) gdnative.String GetBusVolumeDb(busIdx gdnative.Int) gdnative.Real GetMixRate() gdnative.Real IsBusBypassingEffects(busIdx gdnative.Int) gdnative.Bool IsBusEffectEnabled(busIdx gdnative.Int, effectIdx gdnative.Int) gdnative.Bool IsBusMute(busIdx gdnative.Int) gdnative.Bool IsBusSolo(busIdx gdnative.Int) gdnative.Bool Lock() MoveBus(index gdnative.Int, toIndex gdnative.Int) RemoveBus(index gdnative.Int) RemoveBusEffect(busIdx gdnative.Int, effectIdx gdnative.Int) SetBusBypassEffects(busIdx gdnative.Int, enable gdnative.Bool) SetBusCount(amount gdnative.Int) SetBusEffectEnabled(busIdx gdnative.Int, effectIdx gdnative.Int, enabled gdnative.Bool) SetBusLayout(busLayout AudioBusLayoutImplementer) SetBusMute(busIdx gdnative.Int, enable gdnative.Bool) SetBusName(busIdx gdnative.Int, name gdnative.String) SetBusSend(busIdx gdnative.Int, send gdnative.String) SetBusSolo(busIdx gdnative.Int, enable gdnative.Bool) SetBusVolumeDb(busIdx gdnative.Int, volumeDb gdnative.Real) SwapBusEffects(busIdx gdnative.Int, effectIdx gdnative.Int, byEffectIdx gdnative.Int) Unlock() }
AudioServerImplementer is an interface that implements the methods of the AudioServer class.
type AudioServerSpeakerMode ¶
type AudioServerSpeakerMode int
AudioServerSpeakerMode is an enum for SpeakerMode values.
const ( AudioServerSpeakerModeStereo AudioServerSpeakerMode = 0 AudioServerSpeakerSurround51 AudioServerSpeakerMode = 2 AudioServerSpeakerSurround71 AudioServerSpeakerMode = 3 )
type AudioStream ¶
type AudioStream struct { Resource // contains filtered or unexported fields }
Base class for audio streams. Audio streams are used for music playback, or other types of streamed sounds that don't fit or require more flexibility than a [Sample].
func (*AudioStream) BaseClass ¶
func (o *AudioStream) BaseClass() string
func (*AudioStream) GetLength ¶
func (o *AudioStream) GetLength() gdnative.Real
Args: [], Returns: float
type AudioStreamImplementer ¶
type AudioStreamImplementer interface { ResourceImplementer GetLength() gdnative.Real }
AudioStreamImplementer is an interface that implements the methods of the AudioStream class.
type AudioStreamOGGVorbis ¶
type AudioStreamOGGVorbis struct { AudioStream // contains filtered or unexported fields }
Undocumented
func (*AudioStreamOGGVorbis) BaseClass ¶
func (o *AudioStreamOGGVorbis) BaseClass() string
func (*AudioStreamOGGVorbis) GetLoopOffset ¶
func (o *AudioStreamOGGVorbis) GetLoopOffset() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioStreamOGGVorbis) HasLoop ¶
func (o *AudioStreamOGGVorbis) HasLoop() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*AudioStreamOGGVorbis) SetLoop ¶
func (o *AudioStreamOGGVorbis) SetLoop(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*AudioStreamOGGVorbis) SetLoopOffset ¶
func (o *AudioStreamOGGVorbis) SetLoopOffset(seconds gdnative.Real)
Undocumented Args: [{ false seconds float}], Returns: void
func (*AudioStreamOGGVorbis) X_GetData ¶
func (o *AudioStreamOGGVorbis) X_GetData() gdnative.PoolByteArray
Undocumented Args: [], Returns: PoolByteArray
func (*AudioStreamOGGVorbis) X_SetData ¶
func (o *AudioStreamOGGVorbis) X_SetData(data gdnative.PoolByteArray)
Undocumented Args: [{ false data PoolByteArray}], Returns: void
type AudioStreamOGGVorbisImplementer ¶
type AudioStreamOGGVorbisImplementer interface { AudioStreamImplementer X_GetData() gdnative.PoolByteArray X_SetData(data gdnative.PoolByteArray) GetLoopOffset() gdnative.Real HasLoop() gdnative.Bool SetLoop(enable gdnative.Bool) SetLoopOffset(seconds gdnative.Real) }
AudioStreamOGGVorbisImplementer is an interface that implements the methods of the AudioStreamOGGVorbis class.
type AudioStreamPlayback ¶
type AudioStreamPlayback struct { Reference // contains filtered or unexported fields }
Can play, loop, pause a scroll through Audio. See AudioStream and AudioStreamOGGVorbis for usage.
func (*AudioStreamPlayback) BaseClass ¶
func (o *AudioStreamPlayback) BaseClass() string
type AudioStreamPlaybackImplementer ¶
type AudioStreamPlaybackImplementer interface { ReferenceImplementer }
AudioStreamPlaybackImplementer is an interface that implements the methods of the AudioStreamPlayback class.
type AudioStreamPlayer ¶
type AudioStreamPlayer struct { Node // contains filtered or unexported fields }
Plays background audio.
func (*AudioStreamPlayer) BaseClass ¶
func (o *AudioStreamPlayer) BaseClass() string
func (*AudioStreamPlayer) GetBus ¶
func (o *AudioStreamPlayer) GetBus() gdnative.String
Undocumented Args: [], Returns: String
func (*AudioStreamPlayer) GetMixTarget ¶
func (o *AudioStreamPlayer) GetMixTarget() AudioStreamPlayerMixTarget
Undocumented Args: [], Returns: enum.AudioStreamPlayer::MixTarget
func (*AudioStreamPlayer) GetPlaybackPosition ¶
func (o *AudioStreamPlayer) GetPlaybackPosition() gdnative.Real
Returns the position in the [AudioStream]. Args: [], Returns: float
func (*AudioStreamPlayer) GetStream ¶
func (o *AudioStreamPlayer) GetStream() AudioStreamImplementer
Undocumented Args: [], Returns: AudioStream
func (*AudioStreamPlayer) GetVolumeDb ¶
func (o *AudioStreamPlayer) GetVolumeDb() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioStreamPlayer) IsAutoplayEnabled ¶
func (o *AudioStreamPlayer) IsAutoplayEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*AudioStreamPlayer) IsPlaying ¶
func (o *AudioStreamPlayer) IsPlaying() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*AudioStreamPlayer) Play ¶
func (o *AudioStreamPlayer) Play(fromPosition gdnative.Real)
Plays the audio from the given position 'from_position', in seconds. Args: [{0 true from_position float}], Returns: void
func (*AudioStreamPlayer) Seek ¶
func (o *AudioStreamPlayer) Seek(toPosition gdnative.Real)
Sets the position from which audio will be played, in seconds. Args: [{ false to_position float}], Returns: void
func (*AudioStreamPlayer) SetAutoplay ¶
func (o *AudioStreamPlayer) SetAutoplay(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*AudioStreamPlayer) SetBus ¶
func (o *AudioStreamPlayer) SetBus(bus gdnative.String)
Undocumented Args: [{ false bus String}], Returns: void
func (*AudioStreamPlayer) SetMixTarget ¶
func (o *AudioStreamPlayer) SetMixTarget(mixTarget gdnative.Int)
Undocumented Args: [{ false mix_target int}], Returns: void
func (*AudioStreamPlayer) SetStream ¶
func (o *AudioStreamPlayer) SetStream(stream AudioStreamImplementer)
Undocumented Args: [{ false stream AudioStream}], Returns: void
func (*AudioStreamPlayer) SetVolumeDb ¶
func (o *AudioStreamPlayer) SetVolumeDb(volumeDb gdnative.Real)
Undocumented Args: [{ false volume_db float}], Returns: void
func (*AudioStreamPlayer) Stop ¶
func (o *AudioStreamPlayer) Stop()
Stops the audio. Args: [], Returns: void
func (*AudioStreamPlayer) X_BusLayoutChanged ¶
func (o *AudioStreamPlayer) X_BusLayoutChanged()
Undocumented Args: [], Returns: void
func (*AudioStreamPlayer) X_IsActive ¶
func (o *AudioStreamPlayer) X_IsActive() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*AudioStreamPlayer) X_SetPlaying ¶
func (o *AudioStreamPlayer) X_SetPlaying(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
type AudioStreamPlayer2D ¶
type AudioStreamPlayer2D struct { Node2D // contains filtered or unexported fields }
Plays audio that dampens with distance from screen center.
func (*AudioStreamPlayer2D) BaseClass ¶
func (o *AudioStreamPlayer2D) BaseClass() string
func (*AudioStreamPlayer2D) GetAreaMask ¶
func (o *AudioStreamPlayer2D) GetAreaMask() gdnative.Int
Undocumented Args: [], Returns: int
func (*AudioStreamPlayer2D) GetAttenuation ¶
func (o *AudioStreamPlayer2D) GetAttenuation() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioStreamPlayer2D) GetBus ¶
func (o *AudioStreamPlayer2D) GetBus() gdnative.String
Undocumented Args: [], Returns: String
func (*AudioStreamPlayer2D) GetMaxDistance ¶
func (o *AudioStreamPlayer2D) GetMaxDistance() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioStreamPlayer2D) GetPlaybackPosition ¶
func (o *AudioStreamPlayer2D) GetPlaybackPosition() gdnative.Real
Returns the position in the [AudioStream]. Args: [], Returns: float
func (*AudioStreamPlayer2D) GetStream ¶
func (o *AudioStreamPlayer2D) GetStream() AudioStreamImplementer
Undocumented Args: [], Returns: AudioStream
func (*AudioStreamPlayer2D) GetVolumeDb ¶
func (o *AudioStreamPlayer2D) GetVolumeDb() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioStreamPlayer2D) IsAutoplayEnabled ¶
func (o *AudioStreamPlayer2D) IsAutoplayEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*AudioStreamPlayer2D) IsPlaying ¶
func (o *AudioStreamPlayer2D) IsPlaying() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*AudioStreamPlayer2D) Play ¶
func (o *AudioStreamPlayer2D) Play(fromPosition gdnative.Real)
Plays the audio from the given position 'from_position', in seconds. Args: [{0 true from_position float}], Returns: void
func (*AudioStreamPlayer2D) Seek ¶
func (o *AudioStreamPlayer2D) Seek(toPosition gdnative.Real)
Sets the position from which audio will be played, in seconds. Args: [{ false to_position float}], Returns: void
func (*AudioStreamPlayer2D) SetAreaMask ¶
func (o *AudioStreamPlayer2D) SetAreaMask(mask gdnative.Int)
Undocumented Args: [{ false mask int}], Returns: void
func (*AudioStreamPlayer2D) SetAttenuation ¶
func (o *AudioStreamPlayer2D) SetAttenuation(curve gdnative.Real)
Undocumented Args: [{ false curve float}], Returns: void
func (*AudioStreamPlayer2D) SetAutoplay ¶
func (o *AudioStreamPlayer2D) SetAutoplay(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*AudioStreamPlayer2D) SetBus ¶
func (o *AudioStreamPlayer2D) SetBus(bus gdnative.String)
Undocumented Args: [{ false bus String}], Returns: void
func (*AudioStreamPlayer2D) SetMaxDistance ¶
func (o *AudioStreamPlayer2D) SetMaxDistance(pixels gdnative.Real)
Undocumented Args: [{ false pixels float}], Returns: void
func (*AudioStreamPlayer2D) SetStream ¶
func (o *AudioStreamPlayer2D) SetStream(stream AudioStreamImplementer)
Undocumented Args: [{ false stream AudioStream}], Returns: void
func (*AudioStreamPlayer2D) SetVolumeDb ¶
func (o *AudioStreamPlayer2D) SetVolumeDb(volumeDb gdnative.Real)
Undocumented Args: [{ false volume_db float}], Returns: void
func (*AudioStreamPlayer2D) Stop ¶
func (o *AudioStreamPlayer2D) Stop()
Stops the audio. Args: [], Returns: void
func (*AudioStreamPlayer2D) X_BusLayoutChanged ¶
func (o *AudioStreamPlayer2D) X_BusLayoutChanged()
Undocumented Args: [], Returns: void
func (*AudioStreamPlayer2D) X_IsActive ¶
func (o *AudioStreamPlayer2D) X_IsActive() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*AudioStreamPlayer2D) X_SetPlaying ¶
func (o *AudioStreamPlayer2D) X_SetPlaying(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
type AudioStreamPlayer2DImplementer ¶
type AudioStreamPlayer2DImplementer interface { Node2DImplementer X_BusLayoutChanged() X_IsActive() gdnative.Bool X_SetPlaying(enable gdnative.Bool) GetAreaMask() gdnative.Int GetAttenuation() gdnative.Real GetBus() gdnative.String GetMaxDistance() gdnative.Real GetPlaybackPosition() gdnative.Real GetStream() AudioStreamImplementer GetVolumeDb() gdnative.Real IsAutoplayEnabled() gdnative.Bool IsPlaying() gdnative.Bool Play(fromPosition gdnative.Real) Seek(toPosition gdnative.Real) SetAreaMask(mask gdnative.Int) SetAttenuation(curve gdnative.Real) SetAutoplay(enable gdnative.Bool) SetBus(bus gdnative.String) SetMaxDistance(pixels gdnative.Real) SetStream(stream AudioStreamImplementer) SetVolumeDb(volumeDb gdnative.Real) Stop() }
AudioStreamPlayer2DImplementer is an interface that implements the methods of the AudioStreamPlayer2D class.
type AudioStreamPlayer3D ¶
type AudioStreamPlayer3D struct { Spatial // contains filtered or unexported fields }
Plays a sound effect with directed sound effects, dampens with distance if needed, generates effect of hearable position in space.
func (*AudioStreamPlayer3D) BaseClass ¶
func (o *AudioStreamPlayer3D) BaseClass() string
func (*AudioStreamPlayer3D) GetAreaMask ¶
func (o *AudioStreamPlayer3D) GetAreaMask() gdnative.Int
Undocumented Args: [], Returns: int
func (*AudioStreamPlayer3D) GetAttenuationFilterCutoffHz ¶
func (o *AudioStreamPlayer3D) GetAttenuationFilterCutoffHz() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioStreamPlayer3D) GetAttenuationFilterDb ¶
func (o *AudioStreamPlayer3D) GetAttenuationFilterDb() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioStreamPlayer3D) GetAttenuationModel ¶
func (o *AudioStreamPlayer3D) GetAttenuationModel() AudioStreamPlayer3DAttenuationModel
Undocumented Args: [], Returns: enum.AudioStreamPlayer3D::AttenuationModel
func (*AudioStreamPlayer3D) GetBus ¶
func (o *AudioStreamPlayer3D) GetBus() gdnative.String
Undocumented Args: [], Returns: String
func (*AudioStreamPlayer3D) GetDopplerTracking ¶
func (o *AudioStreamPlayer3D) GetDopplerTracking() AudioStreamPlayer3DDopplerTracking
Undocumented Args: [], Returns: enum.AudioStreamPlayer3D::DopplerTracking
func (*AudioStreamPlayer3D) GetEmissionAngle ¶
func (o *AudioStreamPlayer3D) GetEmissionAngle() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioStreamPlayer3D) GetEmissionAngleFilterAttenuationDb ¶
func (o *AudioStreamPlayer3D) GetEmissionAngleFilterAttenuationDb() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioStreamPlayer3D) GetMaxDb ¶
func (o *AudioStreamPlayer3D) GetMaxDb() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioStreamPlayer3D) GetMaxDistance ¶
func (o *AudioStreamPlayer3D) GetMaxDistance() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioStreamPlayer3D) GetOutOfRangeMode ¶
func (o *AudioStreamPlayer3D) GetOutOfRangeMode() AudioStreamPlayer3DOutOfRangeMode
Undocumented Args: [], Returns: enum.AudioStreamPlayer3D::OutOfRangeMode
func (*AudioStreamPlayer3D) GetPlaybackPosition ¶
func (o *AudioStreamPlayer3D) GetPlaybackPosition() gdnative.Real
Returns the position in the [AudioStream]. Args: [], Returns: float
func (*AudioStreamPlayer3D) GetStream ¶
func (o *AudioStreamPlayer3D) GetStream() AudioStreamImplementer
Undocumented Args: [], Returns: AudioStream
func (*AudioStreamPlayer3D) GetUnitDb ¶
func (o *AudioStreamPlayer3D) GetUnitDb() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioStreamPlayer3D) GetUnitSize ¶
func (o *AudioStreamPlayer3D) GetUnitSize() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioStreamPlayer3D) IsAutoplayEnabled ¶
func (o *AudioStreamPlayer3D) IsAutoplayEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*AudioStreamPlayer3D) IsEmissionAngleEnabled ¶
func (o *AudioStreamPlayer3D) IsEmissionAngleEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*AudioStreamPlayer3D) IsPlaying ¶
func (o *AudioStreamPlayer3D) IsPlaying() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*AudioStreamPlayer3D) Play ¶
func (o *AudioStreamPlayer3D) Play(fromPosition gdnative.Real)
Plays the audio from the given position 'from_position', in seconds. Args: [{0 true from_position float}], Returns: void
func (*AudioStreamPlayer3D) Seek ¶
func (o *AudioStreamPlayer3D) Seek(toPosition gdnative.Real)
Sets the position from which audio will be played, in seconds. Args: [{ false to_position float}], Returns: void
func (*AudioStreamPlayer3D) SetAreaMask ¶
func (o *AudioStreamPlayer3D) SetAreaMask(mask gdnative.Int)
Undocumented Args: [{ false mask int}], Returns: void
func (*AudioStreamPlayer3D) SetAttenuationFilterCutoffHz ¶
func (o *AudioStreamPlayer3D) SetAttenuationFilterCutoffHz(degrees gdnative.Real)
Undocumented Args: [{ false degrees float}], Returns: void
func (*AudioStreamPlayer3D) SetAttenuationFilterDb ¶
func (o *AudioStreamPlayer3D) SetAttenuationFilterDb(db gdnative.Real)
Undocumented Args: [{ false db float}], Returns: void
func (*AudioStreamPlayer3D) SetAttenuationModel ¶
func (o *AudioStreamPlayer3D) SetAttenuationModel(model gdnative.Int)
Undocumented Args: [{ false model int}], Returns: void
func (*AudioStreamPlayer3D) SetAutoplay ¶
func (o *AudioStreamPlayer3D) SetAutoplay(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*AudioStreamPlayer3D) SetBus ¶
func (o *AudioStreamPlayer3D) SetBus(bus gdnative.String)
Undocumented Args: [{ false bus String}], Returns: void
func (*AudioStreamPlayer3D) SetDopplerTracking ¶
func (o *AudioStreamPlayer3D) SetDopplerTracking(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*AudioStreamPlayer3D) SetEmissionAngle ¶
func (o *AudioStreamPlayer3D) SetEmissionAngle(degrees gdnative.Real)
Undocumented Args: [{ false degrees float}], Returns: void
func (*AudioStreamPlayer3D) SetEmissionAngleEnabled ¶
func (o *AudioStreamPlayer3D) SetEmissionAngleEnabled(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*AudioStreamPlayer3D) SetEmissionAngleFilterAttenuationDb ¶
func (o *AudioStreamPlayer3D) SetEmissionAngleFilterAttenuationDb(db gdnative.Real)
Undocumented Args: [{ false db float}], Returns: void
func (*AudioStreamPlayer3D) SetMaxDb ¶
func (o *AudioStreamPlayer3D) SetMaxDb(maxDb gdnative.Real)
Undocumented Args: [{ false max_db float}], Returns: void
func (*AudioStreamPlayer3D) SetMaxDistance ¶
func (o *AudioStreamPlayer3D) SetMaxDistance(metres gdnative.Real)
Undocumented Args: [{ false metres float}], Returns: void
func (*AudioStreamPlayer3D) SetOutOfRangeMode ¶
func (o *AudioStreamPlayer3D) SetOutOfRangeMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*AudioStreamPlayer3D) SetStream ¶
func (o *AudioStreamPlayer3D) SetStream(stream AudioStreamImplementer)
Undocumented Args: [{ false stream AudioStream}], Returns: void
func (*AudioStreamPlayer3D) SetUnitDb ¶
func (o *AudioStreamPlayer3D) SetUnitDb(unitDb gdnative.Real)
Undocumented Args: [{ false unit_db float}], Returns: void
func (*AudioStreamPlayer3D) SetUnitSize ¶
func (o *AudioStreamPlayer3D) SetUnitSize(unitSize gdnative.Real)
Undocumented Args: [{ false unit_size float}], Returns: void
func (*AudioStreamPlayer3D) Stop ¶
func (o *AudioStreamPlayer3D) Stop()
Stops the audio. Args: [], Returns: void
func (*AudioStreamPlayer3D) X_BusLayoutChanged ¶
func (o *AudioStreamPlayer3D) X_BusLayoutChanged()
Undocumented Args: [], Returns: void
func (*AudioStreamPlayer3D) X_IsActive ¶
func (o *AudioStreamPlayer3D) X_IsActive() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*AudioStreamPlayer3D) X_SetPlaying ¶
func (o *AudioStreamPlayer3D) X_SetPlaying(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
type AudioStreamPlayer3DAttenuationModel ¶
type AudioStreamPlayer3DAttenuationModel int
AudioStreamPlayer3DAttenuationModel is an enum for AttenuationModel values.
const ( AudioStreamPlayer3DAttenuationInverseDistance AudioStreamPlayer3DAttenuationModel = 0 AudioStreamPlayer3DAttenuationInverseSquareDistance AudioStreamPlayer3DAttenuationModel = 1 AudioStreamPlayer3DAttenuationLogarithmic AudioStreamPlayer3DAttenuationModel = 2 )
type AudioStreamPlayer3DDopplerTracking ¶
type AudioStreamPlayer3DDopplerTracking int
AudioStreamPlayer3DDopplerTracking is an enum for DopplerTracking values.
const ( AudioStreamPlayer3DDopplerTrackingDisabled AudioStreamPlayer3DDopplerTracking = 0 AudioStreamPlayer3DDopplerTrackingIdleStep AudioStreamPlayer3DDopplerTracking = 1 AudioStreamPlayer3DDopplerTrackingPhysicsStep AudioStreamPlayer3DDopplerTracking = 2 )
type AudioStreamPlayer3DImplementer ¶
type AudioStreamPlayer3DImplementer interface { SpatialImplementer X_BusLayoutChanged() X_IsActive() gdnative.Bool X_SetPlaying(enable gdnative.Bool) GetAreaMask() gdnative.Int GetAttenuationFilterCutoffHz() gdnative.Real GetAttenuationFilterDb() gdnative.Real GetBus() gdnative.String GetEmissionAngle() gdnative.Real GetEmissionAngleFilterAttenuationDb() gdnative.Real GetMaxDb() gdnative.Real GetMaxDistance() gdnative.Real GetPlaybackPosition() gdnative.Real GetStream() AudioStreamImplementer GetUnitDb() gdnative.Real GetUnitSize() gdnative.Real IsAutoplayEnabled() gdnative.Bool IsEmissionAngleEnabled() gdnative.Bool IsPlaying() gdnative.Bool Play(fromPosition gdnative.Real) Seek(toPosition gdnative.Real) SetAreaMask(mask gdnative.Int) SetAttenuationFilterCutoffHz(degrees gdnative.Real) SetAttenuationFilterDb(db gdnative.Real) SetAttenuationModel(model gdnative.Int) SetAutoplay(enable gdnative.Bool) SetBus(bus gdnative.String) SetDopplerTracking(mode gdnative.Int) SetEmissionAngle(degrees gdnative.Real) SetEmissionAngleEnabled(enabled gdnative.Bool) SetEmissionAngleFilterAttenuationDb(db gdnative.Real) SetMaxDb(maxDb gdnative.Real) SetMaxDistance(metres gdnative.Real) SetOutOfRangeMode(mode gdnative.Int) SetStream(stream AudioStreamImplementer) SetUnitDb(unitDb gdnative.Real) SetUnitSize(unitSize gdnative.Real) Stop() }
AudioStreamPlayer3DImplementer is an interface that implements the methods of the AudioStreamPlayer3D class.
type AudioStreamPlayer3DOutOfRangeMode ¶
type AudioStreamPlayer3DOutOfRangeMode int
AudioStreamPlayer3DOutOfRangeMode is an enum for OutOfRangeMode values.
const ( AudioStreamPlayer3DOutOfRangeMix AudioStreamPlayer3DOutOfRangeMode = 0 AudioStreamPlayer3DOutOfRangePause AudioStreamPlayer3DOutOfRangeMode = 1 )
type AudioStreamPlayerImplementer ¶
type AudioStreamPlayerImplementer interface { NodeImplementer X_BusLayoutChanged() X_IsActive() gdnative.Bool X_SetPlaying(enable gdnative.Bool) GetBus() gdnative.String GetPlaybackPosition() gdnative.Real GetStream() AudioStreamImplementer GetVolumeDb() gdnative.Real IsAutoplayEnabled() gdnative.Bool IsPlaying() gdnative.Bool Play(fromPosition gdnative.Real) Seek(toPosition gdnative.Real) SetAutoplay(enable gdnative.Bool) SetBus(bus gdnative.String) SetMixTarget(mixTarget gdnative.Int) SetStream(stream AudioStreamImplementer) SetVolumeDb(volumeDb gdnative.Real) Stop() }
AudioStreamPlayerImplementer is an interface that implements the methods of the AudioStreamPlayer class.
type AudioStreamPlayerMixTarget ¶
type AudioStreamPlayerMixTarget int
AudioStreamPlayerMixTarget is an enum for MixTarget values.
const ( AudioStreamPlayerMixTargetCenter AudioStreamPlayerMixTarget = 2 AudioStreamPlayerMixTargetStereo AudioStreamPlayerMixTarget = 0 AudioStreamPlayerMixTargetSurround AudioStreamPlayerMixTarget = 1 )
type AudioStreamRandomPitch ¶
type AudioStreamRandomPitch struct { AudioStream // contains filtered or unexported fields }
Randomly varies pitch on each start.
func (*AudioStreamRandomPitch) BaseClass ¶
func (o *AudioStreamRandomPitch) BaseClass() string
func (*AudioStreamRandomPitch) GetAudioStream ¶
func (o *AudioStreamRandomPitch) GetAudioStream() AudioStreamImplementer
Undocumented Args: [], Returns: AudioStream
func (*AudioStreamRandomPitch) GetRandomPitch ¶
func (o *AudioStreamRandomPitch) GetRandomPitch() gdnative.Real
Undocumented Args: [], Returns: float
func (*AudioStreamRandomPitch) SetAudioStream ¶
func (o *AudioStreamRandomPitch) SetAudioStream(stream AudioStreamImplementer)
Undocumented Args: [{ false stream AudioStream}], Returns: void
func (*AudioStreamRandomPitch) SetRandomPitch ¶
func (o *AudioStreamRandomPitch) SetRandomPitch(scale gdnative.Real)
Undocumented Args: [{ false scale float}], Returns: void
type AudioStreamRandomPitchImplementer ¶
type AudioStreamRandomPitchImplementer interface { AudioStreamImplementer GetAudioStream() AudioStreamImplementer GetRandomPitch() gdnative.Real SetAudioStream(stream AudioStreamImplementer) SetRandomPitch(scale gdnative.Real) }
AudioStreamRandomPitchImplementer is an interface that implements the methods of the AudioStreamRandomPitch class.
type AudioStreamSample ¶
type AudioStreamSample struct { AudioStream // contains filtered or unexported fields }
Plays audio, can loop.
func (*AudioStreamSample) BaseClass ¶
func (o *AudioStreamSample) BaseClass() string
func (*AudioStreamSample) GetFormat ¶
func (o *AudioStreamSample) GetFormat() AudioStreamSampleFormat
Undocumented Args: [], Returns: enum.AudioStreamSample::Format
func (*AudioStreamSample) GetLoopBegin ¶
func (o *AudioStreamSample) GetLoopBegin() gdnative.Int
Undocumented Args: [], Returns: int
func (*AudioStreamSample) GetLoopEnd ¶
func (o *AudioStreamSample) GetLoopEnd() gdnative.Int
Undocumented Args: [], Returns: int
func (*AudioStreamSample) GetLoopMode ¶
func (o *AudioStreamSample) GetLoopMode() AudioStreamSampleLoopMode
Undocumented Args: [], Returns: enum.AudioStreamSample::LoopMode
func (*AudioStreamSample) GetMixRate ¶
func (o *AudioStreamSample) GetMixRate() gdnative.Int
Undocumented Args: [], Returns: int
func (*AudioStreamSample) IsStereo ¶
func (o *AudioStreamSample) IsStereo() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*AudioStreamSample) SetFormat ¶
func (o *AudioStreamSample) SetFormat(format gdnative.Int)
Undocumented Args: [{ false format int}], Returns: void
func (*AudioStreamSample) SetLoopBegin ¶
func (o *AudioStreamSample) SetLoopBegin(loopBegin gdnative.Int)
Undocumented Args: [{ false loop_begin int}], Returns: void
func (*AudioStreamSample) SetLoopEnd ¶
func (o *AudioStreamSample) SetLoopEnd(loopEnd gdnative.Int)
Undocumented Args: [{ false loop_end int}], Returns: void
func (*AudioStreamSample) SetLoopMode ¶
func (o *AudioStreamSample) SetLoopMode(loopMode gdnative.Int)
Undocumented Args: [{ false loop_mode int}], Returns: void
func (*AudioStreamSample) SetMixRate ¶
func (o *AudioStreamSample) SetMixRate(mixRate gdnative.Int)
Undocumented Args: [{ false mix_rate int}], Returns: void
func (*AudioStreamSample) SetStereo ¶
func (o *AudioStreamSample) SetStereo(stereo gdnative.Bool)
Undocumented Args: [{ false stereo bool}], Returns: void
func (*AudioStreamSample) X_GetData ¶
func (o *AudioStreamSample) X_GetData() gdnative.PoolByteArray
Undocumented Args: [], Returns: PoolByteArray
func (*AudioStreamSample) X_SetData ¶
func (o *AudioStreamSample) X_SetData(data gdnative.PoolByteArray)
Undocumented Args: [{ false data PoolByteArray}], Returns: void
type AudioStreamSampleFormat ¶
type AudioStreamSampleFormat int
AudioStreamSampleFormat is an enum for Format values.
const ( AudioStreamSampleFormat16Bits AudioStreamSampleFormat = 1 AudioStreamSampleFormat8Bits AudioStreamSampleFormat = 0 AudioStreamSampleFormatImaAdpcm AudioStreamSampleFormat = 2 )
type AudioStreamSampleImplementer ¶
type AudioStreamSampleImplementer interface { AudioStreamImplementer X_GetData() gdnative.PoolByteArray X_SetData(data gdnative.PoolByteArray) GetLoopBegin() gdnative.Int GetLoopEnd() gdnative.Int GetMixRate() gdnative.Int IsStereo() gdnative.Bool SetFormat(format gdnative.Int) SetLoopBegin(loopBegin gdnative.Int) SetLoopEnd(loopEnd gdnative.Int) SetLoopMode(loopMode gdnative.Int) SetMixRate(mixRate gdnative.Int) SetStereo(stereo gdnative.Bool) }
AudioStreamSampleImplementer is an interface that implements the methods of the AudioStreamSample class.
type AudioStreamSampleLoopMode ¶
type AudioStreamSampleLoopMode int
AudioStreamSampleLoopMode is an enum for LoopMode values.
const ( AudioStreamSampleLoopDisabled AudioStreamSampleLoopMode = 0 AudioStreamSampleLoopForward AudioStreamSampleLoopMode = 1 AudioStreamSampleLoopPingPong AudioStreamSampleLoopMode = 2 )
type BackBufferCopy ¶
type BackBufferCopy struct { Node2D // contains filtered or unexported fields }
Node for back-buffering the currently displayed screen. The region defined in the BackBufferCopy node is bufferized with the content of the screen it covers, or the entire screen according to the copy mode set. Accessing this buffer is done with the texscreen() shader instruction.
func (*BackBufferCopy) BaseClass ¶
func (o *BackBufferCopy) BaseClass() string
func (*BackBufferCopy) GetCopyMode ¶
func (o *BackBufferCopy) GetCopyMode() BackBufferCopyCopyMode
Undocumented Args: [], Returns: enum.BackBufferCopy::CopyMode
func (*BackBufferCopy) GetRect ¶
func (o *BackBufferCopy) GetRect() gdnative.Rect2
Undocumented Args: [], Returns: Rect2
func (*BackBufferCopy) SetCopyMode ¶
func (o *BackBufferCopy) SetCopyMode(copyMode gdnative.Int)
Undocumented Args: [{ false copy_mode int}], Returns: void
func (*BackBufferCopy) SetRect ¶
func (o *BackBufferCopy) SetRect(rect gdnative.Rect2)
Undocumented Args: [{ false rect Rect2}], Returns: void
type BackBufferCopyCopyMode ¶
type BackBufferCopyCopyMode int
BackBufferCopyCopyMode is an enum for CopyMode values.
const ( BackBufferCopyCopyModeDisabled BackBufferCopyCopyMode = 0 BackBufferCopyCopyModeRect BackBufferCopyCopyMode = 1 BackBufferCopyCopyModeViewport BackBufferCopyCopyMode = 2 )
type BackBufferCopyImplementer ¶
type BackBufferCopyImplementer interface { Node2DImplementer GetRect() gdnative.Rect2 SetCopyMode(copyMode gdnative.Int) SetRect(rect gdnative.Rect2) }
BackBufferCopyImplementer is an interface that implements the methods of the BackBufferCopy class.
type BakedLightmap ¶
type BakedLightmap struct { VisualInstance // contains filtered or unexported fields }
func (*BakedLightmap) Bake ¶
func (o *BakedLightmap) Bake(fromNode ObjectImplementer, createVisualDebug gdnative.Bool) BakedLightmapBakeError
Args: [{Null true from_node Object} {False true create_visual_debug bool}], Returns: enum.BakedLightmap::BakeError
func (*BakedLightmap) BaseClass ¶
func (o *BakedLightmap) BaseClass() string
func (*BakedLightmap) GetBakeCellSize ¶
func (o *BakedLightmap) GetBakeCellSize() gdnative.Real
Undocumented Args: [], Returns: float
func (*BakedLightmap) GetBakeMode ¶
func (o *BakedLightmap) GetBakeMode() BakedLightmapBakeMode
Undocumented Args: [], Returns: enum.BakedLightmap::BakeMode
func (*BakedLightmap) GetBakeQuality ¶
func (o *BakedLightmap) GetBakeQuality() BakedLightmapBakeQuality
Undocumented Args: [], Returns: enum.BakedLightmap::BakeQuality
func (*BakedLightmap) GetCaptureCellSize ¶
func (o *BakedLightmap) GetCaptureCellSize() gdnative.Real
Undocumented Args: [], Returns: float
func (*BakedLightmap) GetEnergy ¶
func (o *BakedLightmap) GetEnergy() gdnative.Real
Undocumented Args: [], Returns: float
func (*BakedLightmap) GetExtents ¶
func (o *BakedLightmap) GetExtents() gdnative.Vector3
Undocumented Args: [], Returns: Vector3
func (*BakedLightmap) GetImagePath ¶
func (o *BakedLightmap) GetImagePath() gdnative.String
Undocumented Args: [], Returns: String
func (*BakedLightmap) GetLightData ¶
func (o *BakedLightmap) GetLightData() BakedLightmapDataImplementer
Undocumented Args: [], Returns: BakedLightmapData
func (*BakedLightmap) GetPropagation ¶
func (o *BakedLightmap) GetPropagation() gdnative.Real
Undocumented Args: [], Returns: float
func (*BakedLightmap) IsHdr ¶
func (o *BakedLightmap) IsHdr() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*BakedLightmap) SetBakeCellSize ¶
func (o *BakedLightmap) SetBakeCellSize(bakeCellSize gdnative.Real)
Undocumented Args: [{ false bake_cell_size float}], Returns: void
func (*BakedLightmap) SetBakeMode ¶
func (o *BakedLightmap) SetBakeMode(bakeMode gdnative.Int)
Undocumented Args: [{ false bake_mode int}], Returns: void
func (*BakedLightmap) SetBakeQuality ¶
func (o *BakedLightmap) SetBakeQuality(bakeQuality gdnative.Int)
Undocumented Args: [{ false bake_quality int}], Returns: void
func (*BakedLightmap) SetCaptureCellSize ¶
func (o *BakedLightmap) SetCaptureCellSize(captureCellSize gdnative.Real)
Undocumented Args: [{ false capture_cell_size float}], Returns: void
func (*BakedLightmap) SetEnergy ¶
func (o *BakedLightmap) SetEnergy(energy gdnative.Real)
Undocumented Args: [{ false energy float}], Returns: void
func (*BakedLightmap) SetExtents ¶
func (o *BakedLightmap) SetExtents(extents gdnative.Vector3)
Undocumented Args: [{ false extents Vector3}], Returns: void
func (*BakedLightmap) SetHdr ¶
func (o *BakedLightmap) SetHdr(hdr gdnative.Bool)
Undocumented Args: [{ false hdr bool}], Returns: void
func (*BakedLightmap) SetImagePath ¶
func (o *BakedLightmap) SetImagePath(imagePath gdnative.String)
Undocumented Args: [{ false image_path String}], Returns: void
func (*BakedLightmap) SetLightData ¶
func (o *BakedLightmap) SetLightData(data BakedLightmapDataImplementer)
Undocumented Args: [{ false data BakedLightmapData}], Returns: void
func (*BakedLightmap) SetPropagation ¶
func (o *BakedLightmap) SetPropagation(propagation gdnative.Real)
Undocumented Args: [{ false propagation float}], Returns: void
type BakedLightmapBakeError ¶
type BakedLightmapBakeError int
BakedLightmapBakeError is an enum for BakeError values.
const ( BakedLightmapBakeErrorCantCreateImage BakedLightmapBakeError = 3 BakedLightmapBakeErrorNoMeshes BakedLightmapBakeError = 2 BakedLightmapBakeErrorNoSavePath BakedLightmapBakeError = 1 BakedLightmapBakeErrorOk BakedLightmapBakeError = 0 BakedLightmapBakeErrorUserAborted BakedLightmapBakeError = 4 )
type BakedLightmapBakeMode ¶
type BakedLightmapBakeMode int
BakedLightmapBakeMode is an enum for BakeMode values.
const ( BakedLightmapBakeModeConeTrace BakedLightmapBakeMode = 0 BakedLightmapBakeModeRayTrace BakedLightmapBakeMode = 1 )
type BakedLightmapBakeQuality ¶
type BakedLightmapBakeQuality int
BakedLightmapBakeQuality is an enum for BakeQuality values.
const ( BakedLightmapBakeQualityHigh BakedLightmapBakeQuality = 2 BakedLightmapBakeQualityLow BakedLightmapBakeQuality = 0 BakedLightmapBakeQualityMedium BakedLightmapBakeQuality = 1 )
type BakedLightmapData ¶
type BakedLightmapData struct { Resource // contains filtered or unexported fields }
func (*BakedLightmapData) AddUser ¶
func (o *BakedLightmapData) AddUser(path gdnative.NodePath, lightmap TextureImplementer, instance gdnative.Int)
Args: [{ false path NodePath} { false lightmap Texture} { false instance int}], Returns: void
func (*BakedLightmapData) BaseClass ¶
func (o *BakedLightmapData) BaseClass() string
func (*BakedLightmapData) ClearUsers ¶
func (o *BakedLightmapData) ClearUsers()
Args: [], Returns: void
func (*BakedLightmapData) GetBounds ¶
func (o *BakedLightmapData) GetBounds() gdnative.Aabb
Undocumented Args: [], Returns: AABB
func (*BakedLightmapData) GetCellSpaceTransform ¶
func (o *BakedLightmapData) GetCellSpaceTransform() gdnative.Transform
Undocumented Args: [], Returns: Transform
func (*BakedLightmapData) GetCellSubdiv ¶
func (o *BakedLightmapData) GetCellSubdiv() gdnative.Int
Undocumented Args: [], Returns: int
func (*BakedLightmapData) GetEnergy ¶
func (o *BakedLightmapData) GetEnergy() gdnative.Real
Undocumented Args: [], Returns: float
func (*BakedLightmapData) GetOctree ¶
func (o *BakedLightmapData) GetOctree() gdnative.PoolByteArray
Undocumented Args: [], Returns: PoolByteArray
func (*BakedLightmapData) GetUserCount ¶
func (o *BakedLightmapData) GetUserCount() gdnative.Int
Args: [], Returns: int
func (*BakedLightmapData) GetUserLightmap ¶
func (o *BakedLightmapData) GetUserLightmap(userIdx gdnative.Int) TextureImplementer
Args: [{ false user_idx int}], Returns: Texture
func (*BakedLightmapData) GetUserPath ¶
func (o *BakedLightmapData) GetUserPath(userIdx gdnative.Int) gdnative.NodePath
Args: [{ false user_idx int}], Returns: NodePath
func (*BakedLightmapData) SetBounds ¶
func (o *BakedLightmapData) SetBounds(bounds gdnative.Aabb)
Undocumented Args: [{ false bounds AABB}], Returns: void
func (*BakedLightmapData) SetCellSpaceTransform ¶
func (o *BakedLightmapData) SetCellSpaceTransform(xform gdnative.Transform)
Undocumented Args: [{ false xform Transform}], Returns: void
func (*BakedLightmapData) SetCellSubdiv ¶
func (o *BakedLightmapData) SetCellSubdiv(cellSubdiv gdnative.Int)
Undocumented Args: [{ false cell_subdiv int}], Returns: void
func (*BakedLightmapData) SetEnergy ¶
func (o *BakedLightmapData) SetEnergy(energy gdnative.Real)
Undocumented Args: [{ false energy float}], Returns: void
func (*BakedLightmapData) SetOctree ¶
func (o *BakedLightmapData) SetOctree(octree gdnative.PoolByteArray)
Undocumented Args: [{ false octree PoolByteArray}], Returns: void
func (*BakedLightmapData) X_GetUserData ¶
func (o *BakedLightmapData) X_GetUserData() gdnative.Array
Undocumented Args: [], Returns: Array
func (*BakedLightmapData) X_SetUserData ¶
func (o *BakedLightmapData) X_SetUserData(data gdnative.Array)
Undocumented Args: [{ false data Array}], Returns: void
type BakedLightmapDataImplementer ¶
type BakedLightmapDataImplementer interface { ResourceImplementer X_GetUserData() gdnative.Array X_SetUserData(data gdnative.Array) AddUser(path gdnative.NodePath, lightmap TextureImplementer, instance gdnative.Int) ClearUsers() GetBounds() gdnative.Aabb GetCellSpaceTransform() gdnative.Transform GetCellSubdiv() gdnative.Int GetEnergy() gdnative.Real GetOctree() gdnative.PoolByteArray GetUserCount() gdnative.Int GetUserLightmap(userIdx gdnative.Int) TextureImplementer GetUserPath(userIdx gdnative.Int) gdnative.NodePath SetBounds(bounds gdnative.Aabb) SetCellSpaceTransform(xform gdnative.Transform) SetCellSubdiv(cellSubdiv gdnative.Int) SetEnergy(energy gdnative.Real) SetOctree(octree gdnative.PoolByteArray) }
BakedLightmapDataImplementer is an interface that implements the methods of the BakedLightmapData class.
type BakedLightmapImplementer ¶
type BakedLightmapImplementer interface { VisualInstanceImplementer DebugBake() GetBakeCellSize() gdnative.Real GetCaptureCellSize() gdnative.Real GetEnergy() gdnative.Real GetExtents() gdnative.Vector3 GetImagePath() gdnative.String GetLightData() BakedLightmapDataImplementer GetPropagation() gdnative.Real IsHdr() gdnative.Bool SetBakeCellSize(bakeCellSize gdnative.Real) SetBakeMode(bakeMode gdnative.Int) SetBakeQuality(bakeQuality gdnative.Int) SetCaptureCellSize(captureCellSize gdnative.Real) SetEnergy(energy gdnative.Real) SetExtents(extents gdnative.Vector3) SetHdr(hdr gdnative.Bool) SetImagePath(imagePath gdnative.String) SetLightData(data BakedLightmapDataImplementer) SetPropagation(propagation gdnative.Real) }
BakedLightmapImplementer is an interface that implements the methods of the BakedLightmap class.
type BaseButton ¶
type BaseButton struct { Control // contains filtered or unexported fields }
BaseButton is the abstract base class for buttons, so it shouldn't be used directly (it doesn't display anything). Other types of buttons inherit from it.
func (*BaseButton) BaseClass ¶
func (o *BaseButton) BaseClass() string
func (*BaseButton) GetActionMode ¶
func (o *BaseButton) GetActionMode() BaseButtonActionMode
Undocumented Args: [], Returns: enum.BaseButton::ActionMode
func (*BaseButton) GetButtonGroup ¶
func (o *BaseButton) GetButtonGroup() ButtonGroupImplementer
Undocumented Args: [], Returns: ButtonGroup
func (*BaseButton) GetDrawMode ¶
func (o *BaseButton) GetDrawMode() BaseButtonDrawMode
Return the visual state used to draw the button. This is useful mainly when implementing your own draw code by either overriding _draw() or connecting to "draw" signal. The visual state of the button is defined by the DRAW_* enum. Args: [], Returns: enum.BaseButton::DrawMode
func (*BaseButton) GetEnabledFocusMode ¶
func (o *BaseButton) GetEnabledFocusMode() ControlFocusMode
Undocumented Args: [], Returns: enum.Control::FocusMode
func (*BaseButton) GetShortcut ¶
func (o *BaseButton) GetShortcut() ShortCutImplementer
Undocumented Args: [], Returns: ShortCut
func (*BaseButton) IsDisabled ¶
func (o *BaseButton) IsDisabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*BaseButton) IsHovered ¶
func (o *BaseButton) IsHovered() gdnative.Bool
Return true if mouse entered the button before it exit. Args: [], Returns: bool
func (*BaseButton) IsPressed ¶
func (o *BaseButton) IsPressed() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*BaseButton) IsToggleMode ¶
func (o *BaseButton) IsToggleMode() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*BaseButton) SetActionMode ¶
func (o *BaseButton) SetActionMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*BaseButton) SetButtonGroup ¶
func (o *BaseButton) SetButtonGroup(buttonGroup ButtonGroupImplementer)
Undocumented Args: [{ false button_group ButtonGroup}], Returns: void
func (*BaseButton) SetDisabled ¶
func (o *BaseButton) SetDisabled(disabled gdnative.Bool)
Undocumented Args: [{ false disabled bool}], Returns: void
func (*BaseButton) SetEnabledFocusMode ¶
func (o *BaseButton) SetEnabledFocusMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*BaseButton) SetPressed ¶
func (o *BaseButton) SetPressed(pressed gdnative.Bool)
Undocumented Args: [{ false pressed bool}], Returns: void
func (*BaseButton) SetShortcut ¶
func (o *BaseButton) SetShortcut(shortcut ShortCutImplementer)
Undocumented Args: [{ false shortcut ShortCut}], Returns: void
func (*BaseButton) SetToggleMode ¶
func (o *BaseButton) SetToggleMode(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*BaseButton) X_GuiInput ¶
func (o *BaseButton) X_GuiInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
func (*BaseButton) X_Pressed ¶
func (o *BaseButton) X_Pressed()
Called when button is pressed. Args: [], Returns: void
func (*BaseButton) X_Toggled ¶
func (o *BaseButton) X_Toggled(buttonPressed gdnative.Bool)
Called when button is toggled (only if toggle_mode is active). Args: [{ false button_pressed bool}], Returns: void
func (*BaseButton) X_UnhandledInput ¶
func (o *BaseButton) X_UnhandledInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
type BaseButtonActionMode ¶
type BaseButtonActionMode int
BaseButtonActionMode is an enum for ActionMode values.
const ( BaseButtonActionModeButtonPress BaseButtonActionMode = 0 BaseButtonActionModeButtonRelease BaseButtonActionMode = 1 )
type BaseButtonDrawMode ¶
type BaseButtonDrawMode int
BaseButtonDrawMode is an enum for DrawMode values.
const ( BaseButtonDrawDisabled BaseButtonDrawMode = 3 BaseButtonDrawHover BaseButtonDrawMode = 2 BaseButtonDrawNormal BaseButtonDrawMode = 0 BaseButtonDrawPressed BaseButtonDrawMode = 1 )
type BaseButtonImplementer ¶
type BaseButtonImplementer interface { ControlImplementer X_Pressed() X_Toggled(buttonPressed gdnative.Bool) GetButtonGroup() ButtonGroupImplementer GetShortcut() ShortCutImplementer IsDisabled() gdnative.Bool IsHovered() gdnative.Bool IsPressed() gdnative.Bool IsToggleMode() gdnative.Bool SetActionMode(mode gdnative.Int) SetButtonGroup(buttonGroup ButtonGroupImplementer) SetDisabled(disabled gdnative.Bool) SetEnabledFocusMode(mode gdnative.Int) SetPressed(pressed gdnative.Bool) SetShortcut(shortcut ShortCutImplementer) SetToggleMode(enabled gdnative.Bool) }
BaseButtonImplementer is an interface that implements the methods of the BaseButton class.
type BitMap ¶
type BitMap struct { Resource // contains filtered or unexported fields }
A two-dimensional array of boolean values, can be used to efficiently store a binary matrix (every matrix element takes only one bit) and query the values using natural cartesian coordinates.
func (*BitMap) Create ¶
Creates a bitmap with the specified size, filled with false. Args: [{ false size Vector2}], Returns: void
func (*BitMap) CreateFromImageAlpha ¶
func (o *BitMap) CreateFromImageAlpha(image ImageImplementer)
Creates a bitmap that matches the given image dimensions, every element of the bitmap is set to false if the alpha value of the image at that position is equal to [code]threshold[/code] or less, and true in other case. Args: [{ false image Image}], Returns: void
func (*BitMap) GetBit ¶
Returns bitmap's value at the specified position. Args: [{ false position Vector2}], Returns: bool
func (*BitMap) GetTrueBitCount ¶
Returns the amount of bitmap elements that are set to true. Args: [], Returns: int
func (*BitMap) SetBit ¶
Sets the bitmap's element at the specified position, to the specified value. Args: [{ false position Vector2} { false bit bool}], Returns: void
func (*BitMap) SetBitRect ¶
Sets a rectangular portion of the bitmap to the specified value. Args: [{ false p_rect Rect2} { false bit bool}], Returns: void
func (*BitMap) X_GetData ¶
func (o *BitMap) X_GetData() gdnative.Dictionary
Undocumented Args: [], Returns: Dictionary
func (*BitMap) X_SetData ¶
func (o *BitMap) X_SetData(arg0 gdnative.Dictionary)
Undocumented Args: [{ false arg0 Dictionary}], Returns: void
type BitMapImplementer ¶
type BitMapImplementer interface { ResourceImplementer X_GetData() gdnative.Dictionary X_SetData(arg0 gdnative.Dictionary) Create(size gdnative.Vector2) CreateFromImageAlpha(image ImageImplementer) GetBit(position gdnative.Vector2) gdnative.Bool GetSize() gdnative.Vector2 GetTrueBitCount() gdnative.Int SetBit(position gdnative.Vector2, bit gdnative.Bool) SetBitRect(pRect gdnative.Rect2, bit gdnative.Bool) }
BitMapImplementer is an interface that implements the methods of the BitMap class.
type BitmapFont ¶
type BitmapFont struct { Font // contains filtered or unexported fields }
Renders text using [code]*.fnt[/code] fonts containing texture atlases. Supports distance fields. For using vector font files like TTF directly, see DynamicFont.
func (*BitmapFont) AddChar ¶
func (o *BitmapFont) AddChar(character gdnative.Int, texture gdnative.Int, rect gdnative.Rect2, align gdnative.Vector2, advance gdnative.Real)
Adds a character to the font, where [code]character[/code] is the unicode value, [code]texture[/code] is the texture index, [code]rect[/code] is the region in the texture (in pixels!), [code]align[/code] is the (optional) alignment for the character and [code]advance[/code] is the (optional) advance. Args: [{ false character int} { false texture int} { false rect Rect2} {(0, 0) true align Vector2} {-1 true advance float}], Returns: void
func (*BitmapFont) AddKerningPair ¶
Adds a kerning pair to the [code]BitmapFont[/code] as a difference. Kerning pairs are special cases where a typeface advance is determined by the next character. Args: [{ false char_a int} { false char_b int} { false kerning int}], Returns: void
func (*BitmapFont) AddTexture ¶
func (o *BitmapFont) AddTexture(texture TextureImplementer)
Adds a texture to the [code]BitmapFont[/code]. Args: [{ false texture Texture}], Returns: void
func (*BitmapFont) BaseClass ¶
func (o *BitmapFont) BaseClass() string
func (*BitmapFont) Clear ¶
func (o *BitmapFont) Clear()
Clears all the font data and settings. Args: [], Returns: void
func (*BitmapFont) CreateFromFnt ¶
func (o *BitmapFont) CreateFromFnt(path gdnative.String) gdnative.Error
Creates a BitmapFont from the [code]*.fnt[/code] file at [code]path[/code]. Args: [{ false path String}], Returns: enum.Error
func (*BitmapFont) GetCharSize ¶
Returns the size of a character, optionally taking kerning into account if the next character is provided. Args: [{ false char int} {0 true next int}], Returns: Vector2
func (*BitmapFont) GetFallback ¶
func (o *BitmapFont) GetFallback() BitmapFontImplementer
Undocumented Args: [], Returns: BitmapFont
func (*BitmapFont) GetKerningPair ¶
Returns a kerning pair as a difference. Args: [{ false char_a int} { false char_b int}], Returns: int
func (*BitmapFont) GetTexture ¶
func (o *BitmapFont) GetTexture(idx gdnative.Int) TextureImplementer
Returns the font atlas texture at index [code]idx[/code]. Args: [{ false idx int}], Returns: Texture
func (*BitmapFont) GetTextureCount ¶
func (o *BitmapFont) GetTextureCount() gdnative.Int
Returns the number of textures in the BitmapFont atlas. Args: [], Returns: int
func (*BitmapFont) SetAscent ¶
func (o *BitmapFont) SetAscent(px gdnative.Real)
Undocumented Args: [{ false px float}], Returns: void
func (*BitmapFont) SetDistanceFieldHint ¶
func (o *BitmapFont) SetDistanceFieldHint(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*BitmapFont) SetFallback ¶
func (o *BitmapFont) SetFallback(fallback BitmapFontImplementer)
Undocumented Args: [{ false fallback BitmapFont}], Returns: void
func (*BitmapFont) SetHeight ¶
func (o *BitmapFont) SetHeight(px gdnative.Real)
Undocumented Args: [{ false px float}], Returns: void
func (*BitmapFont) X_GetChars ¶
func (o *BitmapFont) X_GetChars() gdnative.PoolIntArray
Undocumented Args: [], Returns: PoolIntArray
func (*BitmapFont) X_GetKernings ¶
func (o *BitmapFont) X_GetKernings() gdnative.PoolIntArray
Undocumented Args: [], Returns: PoolIntArray
func (*BitmapFont) X_GetTextures ¶
func (o *BitmapFont) X_GetTextures() gdnative.Array
Undocumented Args: [], Returns: Array
func (*BitmapFont) X_SetChars ¶
func (o *BitmapFont) X_SetChars(arg0 gdnative.PoolIntArray)
Undocumented Args: [{ false arg0 PoolIntArray}], Returns: void
func (*BitmapFont) X_SetKernings ¶
func (o *BitmapFont) X_SetKernings(arg0 gdnative.PoolIntArray)
Undocumented Args: [{ false arg0 PoolIntArray}], Returns: void
func (*BitmapFont) X_SetTextures ¶
func (o *BitmapFont) X_SetTextures(arg0 gdnative.Array)
Undocumented Args: [{ false arg0 Array}], Returns: void
type BitmapFontImplementer ¶
type BitmapFontImplementer interface { FontImplementer X_GetChars() gdnative.PoolIntArray X_GetKernings() gdnative.PoolIntArray X_GetTextures() gdnative.Array X_SetChars(arg0 gdnative.PoolIntArray) X_SetKernings(arg0 gdnative.PoolIntArray) X_SetTextures(arg0 gdnative.Array) AddChar(character gdnative.Int, texture gdnative.Int, rect gdnative.Rect2, align gdnative.Vector2, advance gdnative.Real) AddKerningPair(charA gdnative.Int, charB gdnative.Int, kerning gdnative.Int) AddTexture(texture TextureImplementer) Clear() GetCharSize(char gdnative.Int, next gdnative.Int) gdnative.Vector2 GetFallback() BitmapFontImplementer GetKerningPair(charA gdnative.Int, charB gdnative.Int) gdnative.Int GetTexture(idx gdnative.Int) TextureImplementer GetTextureCount() gdnative.Int SetAscent(px gdnative.Real) SetDistanceFieldHint(enable gdnative.Bool) SetFallback(fallback BitmapFontImplementer) SetHeight(px gdnative.Real) }
BitmapFontImplementer is an interface that implements the methods of the BitmapFont class.
type BoneAttachment ¶
type BoneAttachment struct { Spatial // contains filtered or unexported fields }
This node must be the child of a Skeleton node. You can then select a bone for this node to attach to. The BoneAttachment node will copy the transform of the selected bone.
func (*BoneAttachment) BaseClass ¶
func (o *BoneAttachment) BaseClass() string
func (*BoneAttachment) GetBoneName ¶
func (o *BoneAttachment) GetBoneName() gdnative.String
Undocumented Args: [], Returns: String
func (*BoneAttachment) SetBoneName ¶
func (o *BoneAttachment) SetBoneName(boneName gdnative.String)
Undocumented Args: [{ false bone_name String}], Returns: void
type BoneAttachmentImplementer ¶
type BoneAttachmentImplementer interface { SpatialImplementer GetBoneName() gdnative.String SetBoneName(boneName gdnative.String) }
BoneAttachmentImplementer is an interface that implements the methods of the BoneAttachment class.
type BoxContainer ¶
type BoxContainer struct { Container // contains filtered or unexported fields }
Arranges child controls vertically or horizontally, and rearranges the controls automatically when their minimum size changes.
func (*BoxContainer) AddSpacer ¶
func (o *BoxContainer) AddSpacer(begin gdnative.Bool)
Adds a control to the box as a spacer. If [code]true[/code], [i]begin[/i] will insert the spacer control in front of other children. Args: [{ false begin bool}], Returns: void
func (*BoxContainer) BaseClass ¶
func (o *BoxContainer) BaseClass() string
func (*BoxContainer) GetAlignment ¶
func (o *BoxContainer) GetAlignment() BoxContainerAlignMode
Undocumented Args: [], Returns: enum.BoxContainer::AlignMode
func (*BoxContainer) SetAlignment ¶
func (o *BoxContainer) SetAlignment(alignment gdnative.Int)
Undocumented Args: [{ false alignment int}], Returns: void
type BoxContainerAlignMode ¶
type BoxContainerAlignMode int
BoxContainerAlignMode is an enum for AlignMode values.
const ( BoxContainerAlignBegin BoxContainerAlignMode = 0 BoxContainerAlignCenter BoxContainerAlignMode = 1 BoxContainerAlignEnd BoxContainerAlignMode = 2 )
type BoxContainerImplementer ¶
type BoxContainerImplementer interface { ContainerImplementer AddSpacer(begin gdnative.Bool) SetAlignment(alignment gdnative.Int) }
BoxContainerImplementer is an interface that implements the methods of the BoxContainer class.
type BoxShape ¶
type BoxShape struct { Shape // contains filtered or unexported fields }
3D box shape that can be a child of a PhysicsBody or Area.
func (*BoxShape) GetExtents ¶
Undocumented Args: [], Returns: Vector3
func (*BoxShape) SetExtents ¶
Undocumented Args: [{ false extents Vector3}], Returns: void
type BoxShapeImplementer ¶
type BoxShapeImplementer interface { ShapeImplementer GetExtents() gdnative.Vector3 SetExtents(extents gdnative.Vector3) }
BoxShapeImplementer is an interface that implements the methods of the BoxShape class.
type BulletPhysicsDirectBodyState ¶
type BulletPhysicsDirectBodyState struct { PhysicsDirectBodyState // contains filtered or unexported fields }
Undocumented
func (*BulletPhysicsDirectBodyState) BaseClass ¶
func (o *BulletPhysicsDirectBodyState) BaseClass() string
type BulletPhysicsDirectBodyStateImplementer ¶
type BulletPhysicsDirectBodyStateImplementer interface { PhysicsDirectBodyStateImplementer }
BulletPhysicsDirectBodyStateImplementer is an interface that implements the methods of the BulletPhysicsDirectBodyState class.
type BulletPhysicsServer ¶
type BulletPhysicsServer struct {
// contains filtered or unexported fields
}
Undocumented
func (*BulletPhysicsServer) AreaAddShape ¶
func (o *BulletPhysicsServer) AreaAddShape(area gdnative.Rid, shape gdnative.Rid, transform gdnative.Transform)
Adds a shape to the area, along with a transform matrix. Shapes are usually referenced by their index, so you should track which shape has a given index. Args: [{ false area RID} { false shape RID} {1, 0, 0, 0, 1, 0, 0, 0, 1 - 0, 0, 0 true transform Transform}], Returns: void
func (*BulletPhysicsServer) AreaAttachObjectInstanceId ¶
Assigns the area to a descendant of [Object], so it can exist in the node tree. Args: [{ false area RID} { false id int}], Returns: void
func (*BulletPhysicsServer) AreaClearShapes ¶
Removes all shapes from an area. It does not delete the shapes, so they can be reassigned later. Args: [{ false area RID}], Returns: void
func (*BulletPhysicsServer) AreaCreate ¶
Creates an [Area]. Args: [], Returns: RID
func (*BulletPhysicsServer) AreaGetObjectInstanceId ¶
Gets the instance ID of the object the area is assigned to. Args: [{ false area RID}], Returns: int
func (*BulletPhysicsServer) AreaGetParam ¶
Returns an area parameter value. A list of available parameters is on the AREA_PARAM_* constants. Args: [{ false area RID} { false param int}], Returns: Variant
func (*BulletPhysicsServer) AreaGetShape ¶
Returns the [RID] of the nth shape of an area. Args: [{ false area RID} { false shape_idx int}], Returns: RID
func (*BulletPhysicsServer) AreaGetShapeCount ¶
Returns the number of shapes assigned to an area. Args: [{ false area RID}], Returns: int
func (*BulletPhysicsServer) AreaGetShapeTransform ¶
func (o *BulletPhysicsServer) AreaGetShapeTransform(area gdnative.Rid, shapeIdx gdnative.Int) gdnative.Transform
Returns the transform matrix of a shape within an area. Args: [{ false area RID} { false shape_idx int}], Returns: Transform
func (*BulletPhysicsServer) AreaGetSpace ¶
Returns the space assigned to the area. Args: [{ false area RID}], Returns: RID
func (*BulletPhysicsServer) AreaGetSpaceOverrideMode ¶
func (o *BulletPhysicsServer) AreaGetSpaceOverrideMode(area gdnative.Rid) PhysicsServerAreaSpaceOverrideMode
Returns the space override mode for the area. Args: [{ false area RID}], Returns: enum.PhysicsServer::AreaSpaceOverrideMode
func (*BulletPhysicsServer) AreaGetTransform ¶
Returns the transform matrix for an area. Args: [{ false area RID}], Returns: Transform
func (*BulletPhysicsServer) AreaIsRayPickable ¶
If [code]true[/code] area collides with rays. Args: [{ false area RID}], Returns: bool
func (*BulletPhysicsServer) AreaRemoveShape ¶
Removes a shape from an area. It does not delete the shape, so it can be reassigned later. Args: [{ false area RID} { false shape_idx int}], Returns: void
func (*BulletPhysicsServer) AreaSetCollisionLayer ¶
Assigns the area to one or many physics layers. Args: [{ false area RID} { false layer int}], Returns: void
func (*BulletPhysicsServer) AreaSetCollisionMask ¶
Sets which physics layers the area will monitor. Args: [{ false area RID} { false mask int}], Returns: void
func (*BulletPhysicsServer) AreaSetMonitorCallback ¶
func (o *BulletPhysicsServer) AreaSetMonitorCallback(area gdnative.Rid, receiver ObjectImplementer, method gdnative.String)
Sets the function to call when any body/area enters or exits the area. This callback will be called for any object interacting with the area, and takes five parameters: 1: AREA_BODY_ADDED or AREA_BODY_REMOVED, depending on whether the object entered or exited the area. 2: [RID] of the object that entered/exited the area. 3: Instance ID of the object that entered/exited the area. 4: The shape index of the object that entered/exited the area. 5: The shape index of the area where the object entered/exited. Args: [{ false area RID} { false receiver Object} { false method String}], Returns: void
func (*BulletPhysicsServer) AreaSetParam ¶
func (o *BulletPhysicsServer) AreaSetParam(area gdnative.Rid, param gdnative.Int, value gdnative.Variant)
Sets the value for an area parameter. A list of available parameters is on the AREA_PARAM_* constants. Args: [{ false area RID} { false param int} { false value Variant}], Returns: void
func (*BulletPhysicsServer) AreaSetRayPickable ¶
Sets object pickable with rays. Args: [{ false area RID} { false enable bool}], Returns: void
func (*BulletPhysicsServer) AreaSetShape ¶
func (o *BulletPhysicsServer) AreaSetShape(area gdnative.Rid, shapeIdx gdnative.Int, shape gdnative.Rid)
Substitutes a given area shape by another. The old shape is selected by its index, the new one by its [RID]. Args: [{ false area RID} { false shape_idx int} { false shape RID}], Returns: void
func (*BulletPhysicsServer) AreaSetShapeTransform ¶
func (o *BulletPhysicsServer) AreaSetShapeTransform(area gdnative.Rid, shapeIdx gdnative.Int, transform gdnative.Transform)
Sets the transform matrix for an area shape. Args: [{ false area RID} { false shape_idx int} { false transform Transform}], Returns: void
func (*BulletPhysicsServer) AreaSetSpace ¶
Assigns a space to the area. Args: [{ false area RID} { false space RID}], Returns: void
func (*BulletPhysicsServer) AreaSetSpaceOverrideMode ¶
Sets the space override mode for the area. The modes are described in the constants AREA_SPACE_OVERRIDE_*. Args: [{ false area RID} { false mode int}], Returns: void
func (*BulletPhysicsServer) AreaSetTransform ¶
Sets the transform matrix for an area. Args: [{ false area RID} { false transform Transform}], Returns: void
func (*BulletPhysicsServer) BaseClass ¶
func (o *BulletPhysicsServer) BaseClass() string
func (*BulletPhysicsServer) BodyAddCollisionException ¶
func (o *BulletPhysicsServer) BodyAddCollisionException(body gdnative.Rid, exceptedBody gdnative.Rid)
Adds a body to the list of bodies exempt from collisions. Args: [{ false body RID} { false excepted_body RID}], Returns: void
func (*BulletPhysicsServer) BodyAddShape ¶
func (o *BulletPhysicsServer) BodyAddShape(body gdnative.Rid, shape gdnative.Rid, transform gdnative.Transform)
Adds a shape to the body, along with a transform matrix. Shapes are usually referenced by their index, so you should track which shape has a given index. Args: [{ false body RID} { false shape RID} {1, 0, 0, 0, 1, 0, 0, 0, 1 - 0, 0, 0 true transform Transform}], Returns: void
func (*BulletPhysicsServer) BodyApplyImpulse ¶
func (o *BulletPhysicsServer) BodyApplyImpulse(body gdnative.Rid, position gdnative.Vector3, impulse gdnative.Vector3)
Gives the body a push at a [code]position[/code] in the direction of the [code]impulse[/code]. Args: [{ false body RID} { false position Vector3} { false impulse Vector3}], Returns: void
func (*BulletPhysicsServer) BodyApplyTorqueImpulse ¶
Gives the body a push to rotate it. Args: [{ false body RID} { false impulse Vector3}], Returns: void
func (*BulletPhysicsServer) BodyAttachObjectInstanceId ¶
Assigns the area to a descendant of [Object], so it can exist in the node tree. Args: [{ false body RID} { false id int}], Returns: void
func (*BulletPhysicsServer) BodyClearShapes ¶
Removes all shapes from a body. Args: [{ false body RID}], Returns: void
func (*BulletPhysicsServer) BodyCreate ¶
func (o *BulletPhysicsServer) BodyCreate(mode gdnative.Int, initSleeping gdnative.Bool) gdnative.Rid
Creates a physics body. The first parameter can be any value from constants BODY_MODE*, for the type of body created. Additionally, the body can be created in sleeping state to save processing time. Args: [{2 true mode int} {False true init_sleeping bool}], Returns: RID
func (*BulletPhysicsServer) BodyGetCollisionLayer ¶
Returns the physics layer or layers a body belongs to. Args: [{ false body RID}], Returns: int
func (*BulletPhysicsServer) BodyGetCollisionMask ¶
Returns the physics layer or layers a body can collide with.
-
Args: [{ false body RID}], Returns: int
func (*BulletPhysicsServer) BodyGetDirectState ¶
func (o *BulletPhysicsServer) BodyGetDirectState(body gdnative.Rid) PhysicsDirectBodyStateImplementer
Returns the [PhysicsDirectBodyState] of the body. Args: [{ false body RID}], Returns: PhysicsDirectBodyState
func (*BulletPhysicsServer) BodyGetKinematicSafeMargin ¶
Args: [{ false body RID}], Returns: float
func (*BulletPhysicsServer) BodyGetMaxContactsReported ¶
Returns the maximum contacts that can be reported. See [method body_set_max_contacts_reported]. Args: [{ false body RID}], Returns: int
func (*BulletPhysicsServer) BodyGetMode ¶
func (o *BulletPhysicsServer) BodyGetMode(body gdnative.Rid) PhysicsServerBodyMode
Returns the body mode. Args: [{ false body RID}], Returns: enum.PhysicsServer::BodyMode
func (*BulletPhysicsServer) BodyGetObjectInstanceId ¶
Gets the instance ID of the object the area is assigned to. Args: [{ false body RID}], Returns: int
func (*BulletPhysicsServer) BodyGetParam ¶
Returns the value of a body parameter. A list of available parameters is on the BODY_PARAM_* constants. Args: [{ false body RID} { false param int}], Returns: float
func (*BulletPhysicsServer) BodyGetShape ¶
Returns the [RID] of the nth shape of a body. Args: [{ false body RID} { false shape_idx int}], Returns: RID
func (*BulletPhysicsServer) BodyGetShapeCount ¶
Returns the number of shapes assigned to a body. Args: [{ false body RID}], Returns: int
func (*BulletPhysicsServer) BodyGetShapeTransform ¶
func (o *BulletPhysicsServer) BodyGetShapeTransform(body gdnative.Rid, shapeIdx gdnative.Int) gdnative.Transform
Returns the transform matrix of a body shape. Args: [{ false body RID} { false shape_idx int}], Returns: Transform
func (*BulletPhysicsServer) BodyGetSpace ¶
Returns the [RID] of the space assigned to a body. Args: [{ false body RID}], Returns: RID
func (*BulletPhysicsServer) BodyGetState ¶
Returns a body state. Args: [{ false body RID} { false state int}], Returns: Variant
func (*BulletPhysicsServer) BodyIsAxisLocked ¶
Args: [{ false body RID} { false axis int}], Returns: bool
func (*BulletPhysicsServer) BodyIsContinuousCollisionDetectionEnabled ¶
func (o *BulletPhysicsServer) BodyIsContinuousCollisionDetectionEnabled(body gdnative.Rid) gdnative.Bool
If [code]true[/code] the continuous collision detection mode is enabled. Args: [{ false body RID}], Returns: bool
func (*BulletPhysicsServer) BodyIsOmittingForceIntegration ¶
Returns whether a body uses a callback function to calculate its own physics (see [method body_set_force_integration_callback]). Args: [{ false body RID}], Returns: bool
func (*BulletPhysicsServer) BodyIsRayPickable ¶
If [code]true[/code] the body can be detected by rays Args: [{ false body RID}], Returns: bool
func (*BulletPhysicsServer) BodyRemoveCollisionException ¶
func (o *BulletPhysicsServer) BodyRemoveCollisionException(body gdnative.Rid, exceptedBody gdnative.Rid)
Removes a body from the list of bodies exempt from collisions. Continuous collision detection tries to predict where a moving body will collide, instead of moving it and correcting its movement if it collided. Args: [{ false body RID} { false excepted_body RID}], Returns: void
func (*BulletPhysicsServer) BodyRemoveShape ¶
Removes a shape from a body. The shape is not deleted, so it can be reused afterwards. Args: [{ false body RID} { false shape_idx int}], Returns: void
func (*BulletPhysicsServer) BodySetAxisLock ¶
func (o *BulletPhysicsServer) BodySetAxisLock(body gdnative.Rid, axis gdnative.Int, lock gdnative.Bool)
Args: [{ false body RID} { false axis int} { false lock bool}], Returns: void
func (*BulletPhysicsServer) BodySetAxisVelocity ¶
Sets an axis velocity. The velocity in the given vector axis will be set as the given vector length. This is useful for jumping behavior. Args: [{ false body RID} { false axis_velocity Vector3}], Returns: void
func (*BulletPhysicsServer) BodySetCollisionLayer ¶
Sets the physics layer or layers a body belongs to. Args: [{ false body RID} { false layer int}], Returns: void
func (*BulletPhysicsServer) BodySetCollisionMask ¶
Sets the physics layer or layers a body can collide with. Args: [{ false body RID} { false mask int}], Returns: void
func (*BulletPhysicsServer) BodySetEnableContinuousCollisionDetection ¶
func (o *BulletPhysicsServer) BodySetEnableContinuousCollisionDetection(body gdnative.Rid, enable gdnative.Bool)
If [code]true[/code] the continuous collision detection mode is enabled. Continuous collision detection tries to predict where a moving body will collide, instead of moving it and correcting its movement if it collided. Args: [{ false body RID} { false enable bool}], Returns: void
func (*BulletPhysicsServer) BodySetForceIntegrationCallback ¶
func (o *BulletPhysicsServer) BodySetForceIntegrationCallback(body gdnative.Rid, receiver ObjectImplementer, method gdnative.String, userdata gdnative.Variant)
Sets the function used to calculate physics for an object, if that object allows it (see [method body_set_omit_force integration]). Args: [{ false body RID} { false receiver Object} { false method String} {Null true userdata Variant}], Returns: void
func (*BulletPhysicsServer) BodySetKinematicSafeMargin ¶
Args: [{ false body RID} { false margin float}], Returns: void
func (*BulletPhysicsServer) BodySetMaxContactsReported ¶
Sets the maximum contacts to report. Bodies can keep a log of the contacts with other bodies, this is enabled by setting the maximum amount of contacts reported to a number greater than 0. Args: [{ false body RID} { false amount int}], Returns: void
func (*BulletPhysicsServer) BodySetMode ¶
Sets the body mode, from one of the constants BODY_MODE*. Args: [{ false body RID} { false mode int}], Returns: void
func (*BulletPhysicsServer) BodySetOmitForceIntegration ¶
Sets whether a body uses a callback function to calculate its own physics (see [method body_set_force_integration_callback]). Args: [{ false body RID} { false enable bool}], Returns: void
func (*BulletPhysicsServer) BodySetParam ¶
func (o *BulletPhysicsServer) BodySetParam(body gdnative.Rid, param gdnative.Int, value gdnative.Real)
Sets a body parameter. A list of available parameters is on the BODY_PARAM_* constants. Args: [{ false body RID} { false param int} { false value float}], Returns: void
func (*BulletPhysicsServer) BodySetRayPickable ¶
Sets the body pickable with rays if [code]enabled[/code] is set. Args: [{ false body RID} { false enable bool}], Returns: void
func (*BulletPhysicsServer) BodySetShape ¶
func (o *BulletPhysicsServer) BodySetShape(body gdnative.Rid, shapeIdx gdnative.Int, shape gdnative.Rid)
Substitutes a given body shape by another. The old shape is selected by its index, the new one by its [RID]. Args: [{ false body RID} { false shape_idx int} { false shape RID}], Returns: void
func (*BulletPhysicsServer) BodySetShapeTransform ¶
func (o *BulletPhysicsServer) BodySetShapeTransform(body gdnative.Rid, shapeIdx gdnative.Int, transform gdnative.Transform)
Sets the transform matrix for a body shape. Args: [{ false body RID} { false shape_idx int} { false transform Transform}], Returns: void
func (*BulletPhysicsServer) BodySetSpace ¶
Assigns a space to the body (see [method create_space]). Args: [{ false body RID} { false space RID}], Returns: void
func (*BulletPhysicsServer) BodySetState ¶
func (o *BulletPhysicsServer) BodySetState(body gdnative.Rid, state gdnative.Int, value gdnative.Variant)
Sets a body state (see BODY_STATE* constants). Args: [{ false body RID} { false state int} { false value Variant}], Returns: void
func (*BulletPhysicsServer) ConeTwistJointGetParam ¶
func (o *BulletPhysicsServer) ConeTwistJointGetParam(joint gdnative.Rid, param gdnative.Int) gdnative.Real
Gets a cone_twist_joint parameter (see CONE_TWIST_JOINT* constants). Args: [{ false joint RID} { false param int}], Returns: float
func (*BulletPhysicsServer) ConeTwistJointSetParam ¶
func (o *BulletPhysicsServer) ConeTwistJointSetParam(joint gdnative.Rid, param gdnative.Int, value gdnative.Real)
Sets a cone_twist_joint parameter (see CONE_TWIST_JOINT* constants). Args: [{ false joint RID} { false param int} { false value float}], Returns: void
func (*BulletPhysicsServer) FreeRid ¶
Destroys any of the objects created by PhysicsServer. If the [RID] passed is not one of the objects that can be created by PhysicsServer, an error will be sent to the console. Args: [{ false rid RID}], Returns: void
func (*BulletPhysicsServer) Generic6DofJointGetFlag ¶
func (o *BulletPhysicsServer) Generic6DofJointGetFlag(joint gdnative.Rid, axis gdnative.Int, flag gdnative.Int) gdnative.Bool
Gets a generic_6_DOF_joint flag (see G6DOF_JOINT_FLAG* constants). Args: [{ false joint RID} { false axis int} { false flag int}], Returns: bool
func (*BulletPhysicsServer) Generic6DofJointGetParam ¶
func (o *BulletPhysicsServer) Generic6DofJointGetParam(joint gdnative.Rid, axis gdnative.Int, param gdnative.Int) gdnative.Real
Gets a generic_6_DOF_joint parameter (see G6DOF_JOINT* constants without the G6DOF_JOINT_FLAG*). Args: [{ false joint RID} { false axis int} { false param int}], Returns: float
func (*BulletPhysicsServer) Generic6DofJointSetFlag ¶
func (o *BulletPhysicsServer) Generic6DofJointSetFlag(joint gdnative.Rid, axis gdnative.Int, flag gdnative.Int, enable gdnative.Bool)
Sets a generic_6_DOF_joint flag (see G6DOF_JOINT_FLAG* constants). Args: [{ false joint RID} { false axis int} { false flag int} { false enable bool}], Returns: void
func (*BulletPhysicsServer) Generic6DofJointSetParam ¶
func (o *BulletPhysicsServer) Generic6DofJointSetParam(joint gdnative.Rid, axis gdnative.Int, param gdnative.Int, value gdnative.Real)
Sets a generic_6_DOF_joint parameter (see G6DOF_JOINT* constants without the G6DOF_JOINT_FLAG*). Args: [{ false joint RID} { false axis int} { false param int} { false value float}], Returns: void
func (*BulletPhysicsServer) GetProcessInfo ¶
Returns an Info defined by the [ProcessInfo] input given. Args: [{ false process_info int}], Returns: int
func (*BulletPhysicsServer) HingeJointGetFlag ¶
func (o *BulletPhysicsServer) HingeJointGetFlag(joint gdnative.Rid, flag gdnative.Int) gdnative.Bool
Gets a hinge_joint flag (see HINGE_JOINT_FLAG* constants). Args: [{ false joint RID} { false flag int}], Returns: bool
func (*BulletPhysicsServer) HingeJointGetParam ¶
func (o *BulletPhysicsServer) HingeJointGetParam(joint gdnative.Rid, param gdnative.Int) gdnative.Real
Gets a hinge_joint parameter (see HINGE_JOINT* constants without the HINGE_JOINT_FLAG*). Args: [{ false joint RID} { false param int}], Returns: float
func (*BulletPhysicsServer) HingeJointSetFlag ¶
func (o *BulletPhysicsServer) HingeJointSetFlag(joint gdnative.Rid, flag gdnative.Int, enabled gdnative.Bool)
Sets a hinge_joint flag (see HINGE_JOINT_FLAG* constants). Args: [{ false joint RID} { false flag int} { false enabled bool}], Returns: void
func (*BulletPhysicsServer) HingeJointSetParam ¶
func (o *BulletPhysicsServer) HingeJointSetParam(joint gdnative.Rid, param gdnative.Int, value gdnative.Real)
Sets a hinge_joint parameter (see HINGE_JOINT* constants without the HINGE_JOINT_FLAG*). Args: [{ false joint RID} { false param int} { false value float}], Returns: void
func (*BulletPhysicsServer) JointCreateConeTwist ¶
func (o *BulletPhysicsServer) JointCreateConeTwist(bodyA gdnative.Rid, localRefA gdnative.Transform, bodyB gdnative.Rid, localRefB gdnative.Transform) gdnative.Rid
Creates a [ConeTwistJoint]. Args: [{ false body_A RID} { false local_ref_A Transform} { false body_B RID} { false local_ref_B Transform}], Returns: RID
func (*BulletPhysicsServer) JointCreateGeneric6Dof ¶
func (o *BulletPhysicsServer) JointCreateGeneric6Dof(bodyA gdnative.Rid, localRefA gdnative.Transform, bodyB gdnative.Rid, localRefB gdnative.Transform) gdnative.Rid
Creates a [Generic6DOFJoint]. Args: [{ false body_A RID} { false local_ref_A Transform} { false body_B RID} { false local_ref_B Transform}], Returns: RID
func (*BulletPhysicsServer) JointCreateHinge ¶
func (o *BulletPhysicsServer) JointCreateHinge(bodyA gdnative.Rid, hingeA gdnative.Transform, bodyB gdnative.Rid, hingeB gdnative.Transform) gdnative.Rid
Creates a [HingeJoint]. Args: [{ false body_A RID} { false hinge_A Transform} { false body_B RID} { false hinge_B Transform}], Returns: RID
func (*BulletPhysicsServer) JointCreatePin ¶
func (o *BulletPhysicsServer) JointCreatePin(bodyA gdnative.Rid, localA gdnative.Vector3, bodyB gdnative.Rid, localB gdnative.Vector3) gdnative.Rid
Creates a [PinJoint]. Args: [{ false body_A RID} { false local_A Vector3} { false body_B RID} { false local_B Vector3}], Returns: RID
func (*BulletPhysicsServer) JointCreateSlider ¶
func (o *BulletPhysicsServer) JointCreateSlider(bodyA gdnative.Rid, localRefA gdnative.Transform, bodyB gdnative.Rid, localRefB gdnative.Transform) gdnative.Rid
Creates a [SliderJoint]. Args: [{ false body_A RID} { false local_ref_A Transform} { false body_B RID} { false local_ref_B Transform}], Returns: RID
func (*BulletPhysicsServer) JointGetSolverPriority ¶
Gets the priority value of the Joint. Args: [{ false joint RID}], Returns: int
func (*BulletPhysicsServer) JointGetType ¶
func (o *BulletPhysicsServer) JointGetType(joint gdnative.Rid) PhysicsServerJointType
Returns the type of the Joint. Args: [{ false joint RID}], Returns: enum.PhysicsServer::JointType
func (*BulletPhysicsServer) JointSetSolverPriority ¶
Sets the priority value of the Joint. Args: [{ false joint RID} { false priority int}], Returns: void
func (*BulletPhysicsServer) PinJointGetLocalA ¶
Returns position of the joint in the local space of body a of the joint. Args: [{ false joint RID}], Returns: Vector3
func (*BulletPhysicsServer) PinJointGetLocalB ¶
Returns position of the joint in the local space of body b of the joint. Args: [{ false joint RID}], Returns: Vector3
func (*BulletPhysicsServer) PinJointGetParam ¶
func (o *BulletPhysicsServer) PinJointGetParam(joint gdnative.Rid, param gdnative.Int) gdnative.Real
Gets a pin_joint parameter (see PIN_JOINT* constants). Args: [{ false joint RID} { false param int}], Returns: float
func (*BulletPhysicsServer) PinJointSetLocalA ¶
Sets position of the joint in the local space of body a of the joint. Args: [{ false joint RID} { false local_A Vector3}], Returns: void
func (*BulletPhysicsServer) PinJointSetLocalB ¶
Sets position of the joint in the local space of body b of the joint. Args: [{ false joint RID} { false local_B Vector3}], Returns: void
func (*BulletPhysicsServer) PinJointSetParam ¶
func (o *BulletPhysicsServer) PinJointSetParam(joint gdnative.Rid, param gdnative.Int, value gdnative.Real)
Sets a pin_joint parameter (see PIN_JOINT* constants). Args: [{ false joint RID} { false param int} { false value float}], Returns: void
func (*BulletPhysicsServer) SetActive ¶
Activates or deactivates the 3D physics engine. Args: [{ false active bool}], Returns: void
func (*BulletPhysicsServer) ShapeCreate ¶
Creates a shape of type SHAPE_*. Does not assign it to a body or an area. To do so, you must use [method area_set_shape] or [method body_set_shape]. Args: [{ false type int}], Returns: RID
func (*BulletPhysicsServer) ShapeGetData ¶
Returns the shape data. Args: [{ false shape RID}], Returns: Variant
func (*BulletPhysicsServer) ShapeGetType ¶
func (o *BulletPhysicsServer) ShapeGetType(shape gdnative.Rid) PhysicsServerShapeType
Returns the type of shape (see SHAPE_* constants). Args: [{ false shape RID}], Returns: enum.PhysicsServer::ShapeType
func (*BulletPhysicsServer) ShapeSetData ¶
Sets the shape data that defines its shape and size. The data to be passed depends on the kind of shape created [method shape_get_type]. Args: [{ false shape RID} { false data Variant}], Returns: void
func (*BulletPhysicsServer) SliderJointGetParam ¶
func (o *BulletPhysicsServer) SliderJointGetParam(joint gdnative.Rid, param gdnative.Int) gdnative.Real
Gets a slider_joint parameter (see SLIDER_JOINT* constants). Args: [{ false joint RID} { false param int}], Returns: float
func (*BulletPhysicsServer) SliderJointSetParam ¶
func (o *BulletPhysicsServer) SliderJointSetParam(joint gdnative.Rid, param gdnative.Int, value gdnative.Real)
Gets a slider_joint parameter (see SLIDER_JOINT* constants). Args: [{ false joint RID} { false param int} { false value float}], Returns: void
func (*BulletPhysicsServer) SpaceCreate ¶
Creates a space. A space is a collection of parameters for the physics engine that can be assigned to an area or a body. It can be assigned to an area with [method area_set_space], or to a body with [method body_set_space]. Args: [], Returns: RID
func (*BulletPhysicsServer) SpaceGetDirectState ¶
func (o *BulletPhysicsServer) SpaceGetDirectState(space gdnative.Rid) PhysicsDirectSpaceStateImplementer
Returns the state of a space, a [PhysicsDirectSpaceState]. This object can be used to make collision/intersection queries. Args: [{ false space RID}], Returns: PhysicsDirectSpaceState
func (*BulletPhysicsServer) SpaceGetParam ¶
Returns the value of a space parameter. Args: [{ false space RID} { false param int}], Returns: float
func (*BulletPhysicsServer) SpaceIsActive ¶
Returns whether the space is active. Args: [{ false space RID}], Returns: bool
func (*BulletPhysicsServer) SpaceSetActive ¶
Marks a space as active. It will not have an effect, unless it is assigned to an area or body. Args: [{ false space RID} { false active bool}], Returns: void
func (*BulletPhysicsServer) SpaceSetParam ¶
func (o *BulletPhysicsServer) SpaceSetParam(space gdnative.Rid, param gdnative.Int, value gdnative.Real)
Sets the value for a space parameter. A list of available parameters is on the SPACE_PARAM_* constants. Args: [{ false space RID} { false param int} { false value float}], Returns: void
type BulletPhysicsServerImplementer ¶
type BulletPhysicsServerImplementer interface { PhysicsServerImplementer }
BulletPhysicsServerImplementer is an interface that implements the methods of the BulletPhysicsServer class.
type Button ¶
type Button struct { BaseButton // contains filtered or unexported fields }
Button is the standard themed button. It can contain text and an icon, and will display them according to the current Theme.
func (*Button) GetButtonIcon ¶
func (o *Button) GetButtonIcon() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*Button) GetClipText ¶
Undocumented Args: [], Returns: bool
func (*Button) GetTextAlign ¶
func (o *Button) GetTextAlign() ButtonTextAlign
Undocumented Args: [], Returns: enum.Button::TextAlign
func (*Button) SetButtonIcon ¶
func (o *Button) SetButtonIcon(texture TextureImplementer)
Undocumented Args: [{ false texture Texture}], Returns: void
func (*Button) SetClipText ¶
Undocumented Args: [{ false enabled bool}], Returns: void
func (*Button) SetTextAlign ¶
Undocumented Args: [{ false align int}], Returns: void
type ButtonGroup ¶
type ButtonGroup struct { Resource // contains filtered or unexported fields }
Group of Button. All direct and indirect children buttons become radios. Only one allows being pressed. [member BaseButton.toggle_mode] should be [code]true[/code].
func (*ButtonGroup) BaseClass ¶
func (o *ButtonGroup) BaseClass() string
func (*ButtonGroup) GetPressedButton ¶
func (o *ButtonGroup) GetPressedButton() BaseButtonImplementer
Return the pressed button. Args: [], Returns: BaseButton
type ButtonGroupImplementer ¶
type ButtonGroupImplementer interface { ResourceImplementer GetPressedButton() BaseButtonImplementer }
ButtonGroupImplementer is an interface that implements the methods of the ButtonGroup class.
type ButtonImplementer ¶
type ButtonImplementer interface { BaseButtonImplementer GetButtonIcon() TextureImplementer GetClipText() gdnative.Bool GetText() gdnative.String IsFlat() gdnative.Bool SetButtonIcon(texture TextureImplementer) SetClipText(enabled gdnative.Bool) SetFlat(enabled gdnative.Bool) SetText(text gdnative.String) SetTextAlign(align gdnative.Int) }
ButtonImplementer is an interface that implements the methods of the Button class.
type ButtonTextAlign ¶
type ButtonTextAlign int
ButtonTextAlign is an enum for TextAlign values.
const ( ButtonAlignCenter ButtonTextAlign = 1 ButtonAlignLeft ButtonTextAlign = 0 ButtonAlignRight ButtonTextAlign = 2 )
type Camera ¶
type Camera struct { Spatial // contains filtered or unexported fields }
Camera is a special node that displays what is visible from its current location. Cameras register themselves in the nearest Viewport node (when ascending the tree). Only one camera can be active per viewport. If no viewport is available ascending the tree, the Camera will register in the global viewport. In other words, a Camera just provides [i]3D[/i] display capabilities to a Viewport, and, without one, a scene registered in that Viewport (or higher viewports) can't be displayed.
func (*Camera) ClearCurrent ¶
func (o *Camera) ClearCurrent()
If this is the current Camera, remove it from being current. If it is inside the node tree, request to make the next Camera current, if any. Args: [], Returns: void
func (*Camera) GetCameraTransform ¶
Get the camera transform. Subclassed cameras (such as CharacterCamera) may provide different transforms than the [Node] transform. Args: [], Returns: Transform
func (*Camera) GetCullMask ¶
Undocumented Args: [], Returns: int
func (*Camera) GetDopplerTracking ¶
func (o *Camera) GetDopplerTracking() CameraDopplerTracking
Undocumented Args: [], Returns: enum.Camera::DopplerTracking
func (*Camera) GetEnvironment ¶
func (o *Camera) GetEnvironment() EnvironmentImplementer
Undocumented Args: [], Returns: Environment
func (*Camera) GetHOffset ¶
Undocumented Args: [], Returns: float
func (*Camera) GetKeepAspectMode ¶
func (o *Camera) GetKeepAspectMode() CameraKeepAspect
Undocumented Args: [], Returns: enum.Camera::KeepAspect
func (*Camera) GetProjection ¶
func (o *Camera) GetProjection() CameraProjection
Undocumented Args: [], Returns: enum.Camera::Projection
func (*Camera) GetVOffset ¶
Undocumented Args: [], Returns: float
func (*Camera) IsPositionBehind ¶
Returns [code]true[/code] if the given position is behind the Camera. Args: [{ false world_point Vector3}], Returns: bool
func (*Camera) MakeCurrent ¶
func (o *Camera) MakeCurrent()
Make this camera the current Camera for the [Viewport] (see class description). If the Camera Node is outside the scene tree, it will attempt to become current once it's added. Args: [], Returns: void
func (*Camera) ProjectLocalRayNormal ¶
Returns a normal vector from the screen point location directed along the camera. Orthogonal cameras are normalized. Perspective cameras account for perspective, screen width/height, etc. Args: [{ false screen_point Vector2}], Returns: Vector3
func (*Camera) ProjectPosition ¶
Returns how a 2D coordinate in the Viewport rectangle maps to a 3D point in worldspace. Args: [{ false screen_point Vector2}], Returns: Vector3
func (*Camera) ProjectRayNormal ¶
Returns a normal vector in worldspace, that is the result of projecting a point on the [Viewport] rectangle by the camera projection. This is useful for casting rays in the form of (origin, normal) for object intersection or picking. Args: [{ false screen_point Vector2}], Returns: Vector3
func (*Camera) ProjectRayOrigin ¶
Returns a 3D position in worldspace, that is the result of projecting a point on the [Viewport] rectangle by the camera projection. This is useful for casting rays in the form of (origin, normal) for object intersection or picking. Args: [{ false screen_point Vector2}], Returns: Vector3
func (*Camera) SetCullMask ¶
Undocumented Args: [{ false mask int}], Returns: void
func (*Camera) SetCurrent ¶
Undocumented Args: [{ false arg0 bool}], Returns: void
func (*Camera) SetDopplerTracking ¶
Undocumented Args: [{ false mode int}], Returns: void
func (*Camera) SetEnvironment ¶
func (o *Camera) SetEnvironment(env EnvironmentImplementer)
Undocumented Args: [{ false env Environment}], Returns: void
func (*Camera) SetHOffset ¶
Undocumented Args: [{ false ofs float}], Returns: void
func (*Camera) SetKeepAspectMode ¶
Undocumented Args: [{ false mode int}], Returns: void
func (*Camera) SetOrthogonal ¶
Set the camera projection to orthogonal mode, by specifying a width and the [i]near[/i] and [i]far[/i] clip planes in worldspace units. (As a hint, 2D games often use this projection, with values specified in pixels) Args: [{ false size float} { false z_near float} { false z_far float}], Returns: void
func (*Camera) SetPerspective ¶
Set the camera projection to perspective mode, by specifying a [i]FOV[/i] Y angle in degrees (FOV means Field of View), and the [i]near[/i] and [i]far[/i] clip planes in worldspace units. Args: [{ false fov float} { false z_near float} { false z_far float}], Returns: void
func (*Camera) SetProjection ¶
Undocumented Args: [{ false arg0 int}], Returns: void
func (*Camera) SetVOffset ¶
Undocumented Args: [{ false ofs float}], Returns: void
type Camera2D ¶
type Camera2D struct { Node2D // contains filtered or unexported fields }
Camera node for 2D scenes. It forces the screen (current layer) to scroll following this node. This makes it easier (and faster) to program scrollable scenes than manually changing the position of CanvasItem based nodes. This node is intended to be a simple helper to get things going quickly and it may happen often that more functionality is desired to change how the camera works. To make your own custom camera node, simply inherit from Node2D and change the transform of the canvas by calling get_viewport().set_canvas_transform(m) in Viewport.
func (*Camera2D) Align ¶
func (o *Camera2D) Align()
Align the camera to the tracked node Args: [], Returns: void
func (*Camera2D) ClearCurrent ¶
func (o *Camera2D) ClearCurrent()
Removes any [code]Camera2D[/code] from the ancestor [Viewport]'s internal currently-assigned camera. Args: [], Returns: void
func (*Camera2D) ForceUpdateScroll ¶
func (o *Camera2D) ForceUpdateScroll()
Force the camera to update scroll immediately. Args: [], Returns: void
func (*Camera2D) GetAnchorMode ¶
func (o *Camera2D) GetAnchorMode() Camera2DAnchorMode
Undocumented Args: [], Returns: enum.Camera2D::AnchorMode
func (*Camera2D) GetCameraPosition ¶
Return the camera position. Args: [], Returns: Vector2
func (*Camera2D) GetCameraScreenCenter ¶
Returns the location of the [code]Camera2D[/code]'s screen-center, relative to the origin. Args: [], Returns: Vector2
func (*Camera2D) GetCustomViewport ¶
func (o *Camera2D) GetCustomViewport() NodeImplementer
Undocumented Args: [], Returns: Node
func (*Camera2D) GetDragMargin ¶
Undocumented Args: [{ false margin int}], Returns: float
func (*Camera2D) GetFollowSmoothing ¶
Undocumented Args: [], Returns: float
func (*Camera2D) GetHOffset ¶
Undocumented Args: [], Returns: float
func (*Camera2D) GetVOffset ¶
Undocumented Args: [], Returns: float
func (*Camera2D) IsFollowSmoothingEnabled ¶
Undocumented Args: [], Returns: bool
func (*Camera2D) IsHDragEnabled ¶
Undocumented Args: [], Returns: bool
func (*Camera2D) IsLimitDrawingEnabled ¶
Undocumented Args: [], Returns: bool
func (*Camera2D) IsLimitSmoothingEnabled ¶
Undocumented Args: [], Returns: bool
func (*Camera2D) IsMarginDrawingEnabled ¶
Undocumented Args: [], Returns: bool
func (*Camera2D) IsRotating ¶
Undocumented Args: [], Returns: bool
func (*Camera2D) IsScreenDrawingEnabled ¶
Undocumented Args: [], Returns: bool
func (*Camera2D) IsVDragEnabled ¶
Undocumented Args: [], Returns: bool
func (*Camera2D) MakeCurrent ¶
func (o *Camera2D) MakeCurrent()
Make this the current 2D camera for the scene (viewport and layer), in case there's many cameras in the scene. Args: [], Returns: void
func (*Camera2D) ResetSmoothing ¶
func (o *Camera2D) ResetSmoothing()
Set the camera's position immediately to its current smoothing destination. This has no effect if smoothing is disabled. Args: [], Returns: void
func (*Camera2D) SetAnchorMode ¶
Undocumented Args: [{ false anchor_mode int}], Returns: void
func (*Camera2D) SetCustomViewport ¶
func (o *Camera2D) SetCustomViewport(viewport ObjectImplementer)
Undocumented Args: [{ false viewport Object}], Returns: void
func (*Camera2D) SetDragMargin ¶
Undocumented Args: [{ false margin int} { false drag_margin float}], Returns: void
func (*Camera2D) SetEnableFollowSmoothing ¶
Undocumented Args: [{ false follow_smoothing bool}], Returns: void
func (*Camera2D) SetFollowSmoothing ¶
Undocumented Args: [{ false follow_smoothing float}], Returns: void
func (*Camera2D) SetHDragEnabled ¶
Undocumented Args: [{ false enabled bool}], Returns: void
func (*Camera2D) SetHOffset ¶
Undocumented Args: [{ false ofs float}], Returns: void
func (*Camera2D) SetLimit ¶
Undocumented Args: [{ false margin int} { false limit int}], Returns: void
func (*Camera2D) SetLimitDrawingEnabled ¶
Undocumented Args: [{ false limit_drawing_enabled bool}], Returns: void
func (*Camera2D) SetLimitSmoothingEnabled ¶
Undocumented Args: [{ false limit_smoothing_enabled bool}], Returns: void
func (*Camera2D) SetMarginDrawingEnabled ¶
Undocumented Args: [{ false margin_drawing_enabled bool}], Returns: void
func (*Camera2D) SetRotating ¶
Undocumented Args: [{ false rotating bool}], Returns: void
func (*Camera2D) SetScreenDrawingEnabled ¶
Undocumented Args: [{ false screen_drawing_enabled bool}], Returns: void
func (*Camera2D) SetVDragEnabled ¶
Undocumented Args: [{ false enabled bool}], Returns: void
func (*Camera2D) SetVOffset ¶
Undocumented Args: [{ false ofs float}], Returns: void
func (*Camera2D) X_MakeCurrent ¶
func (o *Camera2D) X_MakeCurrent(arg0 ObjectImplementer)
Undocumented Args: [{ false arg0 Object}], Returns: void
func (*Camera2D) X_SetCurrent ¶
Undocumented Args: [{ false current bool}], Returns: void
func (*Camera2D) X_SetOldSmoothing ¶
Undocumented Args: [{ false follow_smoothing float}], Returns: void
func (*Camera2D) X_UpdateScroll ¶
func (o *Camera2D) X_UpdateScroll()
Undocumented Args: [], Returns: void
type Camera2DAnchorMode ¶
type Camera2DAnchorMode int
Camera2DAnchorMode is an enum for AnchorMode values.
const ( Camera2DAnchorModeDragCenter Camera2DAnchorMode = 1 Camera2DAnchorModeFixedTopLeft Camera2DAnchorMode = 0 )
type Camera2DImplementer ¶
type Camera2DImplementer interface { Node2DImplementer X_MakeCurrent(arg0 ObjectImplementer) X_SetCurrent(current gdnative.Bool) X_SetOldSmoothing(followSmoothing gdnative.Real) X_UpdateScroll() Align() ClearCurrent() ForceUpdateScroll() GetCameraPosition() gdnative.Vector2 GetCameraScreenCenter() gdnative.Vector2 GetCustomViewport() NodeImplementer GetDragMargin(margin gdnative.Int) gdnative.Real GetFollowSmoothing() gdnative.Real GetHOffset() gdnative.Real GetLimit(margin gdnative.Int) gdnative.Int GetOffset() gdnative.Vector2 GetVOffset() gdnative.Real GetZoom() gdnative.Vector2 IsCurrent() gdnative.Bool IsFollowSmoothingEnabled() gdnative.Bool IsHDragEnabled() gdnative.Bool IsLimitDrawingEnabled() gdnative.Bool IsLimitSmoothingEnabled() gdnative.Bool IsMarginDrawingEnabled() gdnative.Bool IsRotating() gdnative.Bool IsScreenDrawingEnabled() gdnative.Bool IsVDragEnabled() gdnative.Bool MakeCurrent() ResetSmoothing() SetAnchorMode(anchorMode gdnative.Int) SetCustomViewport(viewport ObjectImplementer) SetDragMargin(margin gdnative.Int, dragMargin gdnative.Real) SetEnableFollowSmoothing(followSmoothing gdnative.Bool) SetFollowSmoothing(followSmoothing gdnative.Real) SetHDragEnabled(enabled gdnative.Bool) SetHOffset(ofs gdnative.Real) SetLimit(margin gdnative.Int, limit gdnative.Int) SetLimitDrawingEnabled(limitDrawingEnabled gdnative.Bool) SetLimitSmoothingEnabled(limitSmoothingEnabled gdnative.Bool) SetMarginDrawingEnabled(marginDrawingEnabled gdnative.Bool) SetOffset(offset gdnative.Vector2) SetRotating(rotating gdnative.Bool) SetScreenDrawingEnabled(screenDrawingEnabled gdnative.Bool) SetVDragEnabled(enabled gdnative.Bool) SetVOffset(ofs gdnative.Real) SetZoom(zoom gdnative.Vector2) }
Camera2DImplementer is an interface that implements the methods of the Camera2D class.
type CameraDopplerTracking ¶
type CameraDopplerTracking int
CameraDopplerTracking is an enum for DopplerTracking values.
const ( CameraDopplerTrackingDisabled CameraDopplerTracking = 0 CameraDopplerTrackingIdleStep CameraDopplerTracking = 1 CameraDopplerTrackingPhysicsStep CameraDopplerTracking = 2 )
type CameraImplementer ¶
type CameraImplementer interface { SpatialImplementer ClearCurrent() GetCameraTransform() gdnative.Transform GetCullMask() gdnative.Int GetEnvironment() EnvironmentImplementer GetFov() gdnative.Real GetHOffset() gdnative.Real GetSize() gdnative.Real GetVOffset() gdnative.Real GetZfar() gdnative.Real GetZnear() gdnative.Real IsCurrent() gdnative.Bool IsPositionBehind(worldPoint gdnative.Vector3) gdnative.Bool MakeCurrent() ProjectLocalRayNormal(screenPoint gdnative.Vector2) gdnative.Vector3 ProjectPosition(screenPoint gdnative.Vector2) gdnative.Vector3 ProjectRayNormal(screenPoint gdnative.Vector2) gdnative.Vector3 ProjectRayOrigin(screenPoint gdnative.Vector2) gdnative.Vector3 SetCullMask(mask gdnative.Int) SetCurrent(arg0 gdnative.Bool) SetDopplerTracking(mode gdnative.Int) SetEnvironment(env EnvironmentImplementer) SetFov(arg0 gdnative.Real) SetHOffset(ofs gdnative.Real) SetKeepAspectMode(mode gdnative.Int) SetOrthogonal(size gdnative.Real, zNear gdnative.Real, zFar gdnative.Real) SetPerspective(fov gdnative.Real, zNear gdnative.Real, zFar gdnative.Real) SetProjection(arg0 gdnative.Int) SetSize(arg0 gdnative.Real) SetVOffset(ofs gdnative.Real) SetZfar(arg0 gdnative.Real) SetZnear(arg0 gdnative.Real) UnprojectPosition(worldPoint gdnative.Vector3) gdnative.Vector2 }
CameraImplementer is an interface that implements the methods of the Camera class.
type CameraKeepAspect ¶
type CameraKeepAspect int
CameraKeepAspect is an enum for KeepAspect values.
const ( CameraKeepHeight CameraKeepAspect = 1 CameraKeepWidth CameraKeepAspect = 0 )
type CameraProjection ¶
type CameraProjection int
CameraProjection is an enum for Projection values.
const ( CameraProjectionOrthogonal CameraProjection = 1 CameraProjectionPerspective CameraProjection = 0 )
type CanvasItem ¶
type CanvasItem struct { Node // contains filtered or unexported fields }
Base class of anything 2D. Canvas items are laid out in a tree and children inherit and extend the transform of their parent. CanvasItem is extended by Control, for anything GUI related, and by Node2D for anything 2D engine related. Any CanvasItem can draw. For this, the "update" function must be called, then NOTIFICATION_DRAW will be received on idle time to request redraw. Because of this, canvas items don't need to be redraw on every frame, improving the performance significantly. Several functions for drawing on the CanvasItem are provided (see draw_* functions). They can only be used inside the notification, signal or _draw() overrides function, though. Canvas items are draw in tree order. By default, children are on top of their parents so a root CanvasItem will be drawn behind everything (this can be changed per item though). Canvas items can also be hidden (hiding also their subtree). They provide many means for changing standard parameters such as opacity (for it and the subtree) and self opacity, blend mode. Ultimately, a transform notification can be requested, which will notify the node that its global position changed in case the parent tree changed.
func (*CanvasItem) BaseClass ¶
func (o *CanvasItem) BaseClass() string
func (*CanvasItem) DrawChar ¶
func (o *CanvasItem) DrawChar(font FontImplementer, position gdnative.Vector2, char gdnative.String, next gdnative.String, modulate gdnative.Color) gdnative.Real
Draws a string character using a custom font. Returns the advance, depending on the char width and kerning with an optional next char. Args: [{ false font Font} { false position Vector2} { false char String} { false next String} {1,1,1,1 true modulate Color}], Returns: float
func (*CanvasItem) DrawCircle ¶
func (o *CanvasItem) DrawCircle(position gdnative.Vector2, radius gdnative.Real, color gdnative.Color)
Draws a colored circle. Args: [{ false position Vector2} { false radius float} { false color Color}], Returns: void
func (*CanvasItem) DrawColoredPolygon ¶
func (o *CanvasItem) DrawColoredPolygon(points gdnative.PoolVector2Array, color gdnative.Color, uvs gdnative.PoolVector2Array, texture TextureImplementer, normalMap TextureImplementer, antialiased gdnative.Bool)
Draws a colored polygon of any amount of points, convex or concave. Args: [{ false points PoolVector2Array} { false color Color} {[] true uvs PoolVector2Array} {Null true texture Texture} {Null true normal_map Texture} {False true antialiased bool}], Returns: void
func (*CanvasItem) DrawLine ¶
func (o *CanvasItem) DrawLine(from gdnative.Vector2, to gdnative.Vector2, color gdnative.Color, width gdnative.Real, antialiased gdnative.Bool)
Draws a line from a 2D point to another, with a given color and width. It can be optionally antialiased. Args: [{ false from Vector2} { false to Vector2} { false color Color} {1 true width float} {False true antialiased bool}], Returns: void
func (*CanvasItem) DrawMultiline ¶
func (o *CanvasItem) DrawMultiline(points gdnative.PoolVector2Array, color gdnative.Color, width gdnative.Real, antialiased gdnative.Bool)
Draws multiple, parallel lines with a uniform [code]color[/code] and [code]width[/code] and optional antialiasing. Args: [{ false points PoolVector2Array} { false color Color} {1 true width float} {False true antialiased bool}], Returns: void
func (*CanvasItem) DrawMultilineColors ¶
func (o *CanvasItem) DrawMultilineColors(points gdnative.PoolVector2Array, colors gdnative.PoolColorArray, width gdnative.Real, antialiased gdnative.Bool)
Draws multiple, parallel lines with a uniform [code]width[/code], segment-by-segment coloring, and optional antialiasing. Colors assigned to line segments match by index between [code]points[/code] and [code]colors[/code]. Args: [{ false points PoolVector2Array} { false colors PoolColorArray} {1 true width float} {False true antialiased bool}], Returns: void
func (*CanvasItem) DrawPolygon ¶
func (o *CanvasItem) DrawPolygon(points gdnative.PoolVector2Array, colors gdnative.PoolColorArray, uvs gdnative.PoolVector2Array, texture TextureImplementer, normalMap TextureImplementer, antialiased gdnative.Bool)
Draws a polygon of any amount of points, convex or concave. Args: [{ false points PoolVector2Array} { false colors PoolColorArray} {[] true uvs PoolVector2Array} {Null true texture Texture} {Null true normal_map Texture} {False true antialiased bool}], Returns: void
func (*CanvasItem) DrawPolyline ¶
func (o *CanvasItem) DrawPolyline(points gdnative.PoolVector2Array, color gdnative.Color, width gdnative.Real, antialiased gdnative.Bool)
Draws interconnected line segments with a uniform [code]color[/code] and [code]width[/code] and optional antialiasing. Args: [{ false points PoolVector2Array} { false color Color} {1 true width float} {False true antialiased bool}], Returns: void
func (*CanvasItem) DrawPolylineColors ¶
func (o *CanvasItem) DrawPolylineColors(points gdnative.PoolVector2Array, colors gdnative.PoolColorArray, width gdnative.Real, antialiased gdnative.Bool)
Draws interconnected line segments with a uniform [code]width[/code], segment-by-segment coloring, and optional antialiasing. Colors assigned to line segments match by index between [code]points[/code] and [code]colors[/code]. Args: [{ false points PoolVector2Array} { false colors PoolColorArray} {1 true width float} {False true antialiased bool}], Returns: void
func (*CanvasItem) DrawPrimitive ¶
func (o *CanvasItem) DrawPrimitive(points gdnative.PoolVector2Array, colors gdnative.PoolColorArray, uvs gdnative.PoolVector2Array, texture TextureImplementer, width gdnative.Real, normalMap TextureImplementer)
Draws a custom primitive, 1 point for a point, 2 points for a line, 3 points for a triangle and 4 points for a quad. Args: [{ false points PoolVector2Array} { false colors PoolColorArray} { false uvs PoolVector2Array} {Null true texture Texture} {1 true width float} {Null true normal_map Texture}], Returns: void
func (*CanvasItem) DrawRect ¶
Draws a colored rectangle. Args: [{ false rect Rect2} { false color Color} {True true filled bool}], Returns: void
func (*CanvasItem) DrawSetTransform ¶
func (o *CanvasItem) DrawSetTransform(position gdnative.Vector2, rotation gdnative.Real, scale gdnative.Vector2)
Sets a custom transform for drawing via components. Anything drawn afterwards will be transformed by this. Args: [{ false position Vector2} { false rotation float} { false scale Vector2}], Returns: void
func (*CanvasItem) DrawSetTransformMatrix ¶
func (o *CanvasItem) DrawSetTransformMatrix(xform gdnative.Transform2D)
Sets a custom transform for drawing via matrix. Anything drawn afterwards will be transformed by this. Args: [{ false xform Transform2D}], Returns: void
func (*CanvasItem) DrawString ¶
func (o *CanvasItem) DrawString(font FontImplementer, position gdnative.Vector2, text gdnative.String, modulate gdnative.Color, clipW gdnative.Int)
Draws a string using a custom font. Args: [{ false font Font} { false position Vector2} { false text String} {1,1,1,1 true modulate Color} {-1 true clip_w int}], Returns: void
func (*CanvasItem) DrawStyleBox ¶
func (o *CanvasItem) DrawStyleBox(styleBox StyleBoxImplementer, rect gdnative.Rect2)
Draws a styled rectangle. Args: [{ false style_box StyleBox} { false rect Rect2}], Returns: void
func (*CanvasItem) DrawTexture ¶
func (o *CanvasItem) DrawTexture(texture TextureImplementer, position gdnative.Vector2, modulate gdnative.Color, normalMap TextureImplementer)
Draws a texture at a given position. Args: [{ false texture Texture} { false position Vector2} {1,1,1,1 true modulate Color} {Null true normal_map Texture}], Returns: void
func (*CanvasItem) DrawTextureRect ¶
func (o *CanvasItem) DrawTextureRect(texture TextureImplementer, rect gdnative.Rect2, tile gdnative.Bool, modulate gdnative.Color, transpose gdnative.Bool, normalMap TextureImplementer)
Draws a textured rectangle at a given position, optionally modulated by a color. Transpose swaps the x and y coordinates when reading the texture. Args: [{ false texture Texture} { false rect Rect2} { false tile bool} {1,1,1,1 true modulate Color} {False true transpose bool} {Null true normal_map Texture}], Returns: void
func (*CanvasItem) DrawTextureRectRegion ¶
func (o *CanvasItem) DrawTextureRectRegion(texture TextureImplementer, rect gdnative.Rect2, srcRect gdnative.Rect2, modulate gdnative.Color, transpose gdnative.Bool, normalMap TextureImplementer, clipUv gdnative.Bool)
Draws a textured rectangle region at a given position, optionally modulated by a color. Transpose swaps the x and y coordinates when reading the texture. Args: [{ false texture Texture} { false rect Rect2} { false src_rect Rect2} {1,1,1,1 true modulate Color} {False true transpose bool} {Null true normal_map Texture} {True true clip_uv bool}], Returns: void
func (*CanvasItem) GetCanvas ¶
func (o *CanvasItem) GetCanvas() gdnative.Rid
Return the [RID] of the [World2D] canvas where this item is in. Args: [], Returns: RID
func (*CanvasItem) GetCanvasItem ¶
func (o *CanvasItem) GetCanvasItem() gdnative.Rid
Return the canvas item RID used by [VisualServer] for this item. Args: [], Returns: RID
func (*CanvasItem) GetCanvasTransform ¶
func (o *CanvasItem) GetCanvasTransform() gdnative.Transform2D
Get the transform matrix of this item's canvas. Args: [], Returns: Transform2D
func (*CanvasItem) GetGlobalMousePosition ¶
func (o *CanvasItem) GetGlobalMousePosition() gdnative.Vector2
Get the global position of the mouse. Args: [], Returns: Vector2
func (*CanvasItem) GetGlobalTransform ¶
func (o *CanvasItem) GetGlobalTransform() gdnative.Transform2D
Get the global transform matrix of this item. Args: [], Returns: Transform2D
func (*CanvasItem) GetGlobalTransformWithCanvas ¶
func (o *CanvasItem) GetGlobalTransformWithCanvas() gdnative.Transform2D
Get the global transform matrix of this item in relation to the canvas. Args: [], Returns: Transform2D
func (*CanvasItem) GetLightMask ¶
func (o *CanvasItem) GetLightMask() gdnative.Int
Undocumented Args: [], Returns: int
func (*CanvasItem) GetLocalMousePosition ¶
func (o *CanvasItem) GetLocalMousePosition() gdnative.Vector2
Get the mouse position relative to this item's position. Args: [], Returns: Vector2
func (*CanvasItem) GetMaterial ¶
func (o *CanvasItem) GetMaterial() MaterialImplementer
Undocumented Args: [], Returns: Material
func (*CanvasItem) GetModulate ¶
func (o *CanvasItem) GetModulate() gdnative.Color
Undocumented Args: [], Returns: Color
func (*CanvasItem) GetSelfModulate ¶
func (o *CanvasItem) GetSelfModulate() gdnative.Color
Undocumented Args: [], Returns: Color
func (*CanvasItem) GetTransform ¶
func (o *CanvasItem) GetTransform() gdnative.Transform2D
Get the transform matrix of this item. Args: [], Returns: Transform2D
func (*CanvasItem) GetUseParentMaterial ¶
func (o *CanvasItem) GetUseParentMaterial() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*CanvasItem) GetViewportRect ¶
func (o *CanvasItem) GetViewportRect() gdnative.Rect2
Get the viewport's boundaries as a [Rect2]. Args: [], Returns: Rect2
func (*CanvasItem) GetViewportTransform ¶
func (o *CanvasItem) GetViewportTransform() gdnative.Transform2D
Get this item's transform in relation to the viewport. Args: [], Returns: Transform2D
func (*CanvasItem) GetWorld2D ¶
func (o *CanvasItem) GetWorld2D() World2DImplementer
Get the [World2D] where this item is in. Args: [], Returns: World2D
func (*CanvasItem) Hide ¶
func (o *CanvasItem) Hide()
Hide the CanvasItem currently visible. Args: [], Returns: void
func (*CanvasItem) IsDrawBehindParentEnabled ¶
func (o *CanvasItem) IsDrawBehindParentEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*CanvasItem) IsLocalTransformNotificationEnabled ¶
func (o *CanvasItem) IsLocalTransformNotificationEnabled() gdnative.Bool
Returns [code]true[/code] if local transform notifications are communicated to children. Args: [], Returns: bool
func (*CanvasItem) IsSetAsToplevel ¶
func (o *CanvasItem) IsSetAsToplevel() gdnative.Bool
Return if set as toplevel. See [method set_as_toplevel]. Args: [], Returns: bool
func (*CanvasItem) IsTransformNotificationEnabled ¶
func (o *CanvasItem) IsTransformNotificationEnabled() gdnative.Bool
Returns [code]true[/code] if global transform notifications are communicated to children. Args: [], Returns: bool
func (*CanvasItem) IsVisible ¶
func (o *CanvasItem) IsVisible() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*CanvasItem) IsVisibleInTree ¶
func (o *CanvasItem) IsVisibleInTree() gdnative.Bool
Returns [code]true[/code] if the node is present in the [SceneTree], its [member visible] property is [code]true[/code] and its inherited visibility is also [code]true[/code]. Args: [], Returns: bool
func (*CanvasItem) MakeCanvasPositionLocal ¶
func (o *CanvasItem) MakeCanvasPositionLocal(screenPoint gdnative.Vector2) gdnative.Vector2
Assigns [code]screen_point[/code] as this node's new local transform. Args: [{ false screen_point Vector2}], Returns: Vector2
func (*CanvasItem) MakeInputLocal ¶
func (o *CanvasItem) MakeInputLocal(event InputEventImplementer) InputEventImplementer
Transformations issued by [code]event[/code]'s inputs are applied in local space instead of global space. Args: [{ false event InputEvent}], Returns: InputEvent
func (*CanvasItem) SetAsToplevel ¶
func (o *CanvasItem) SetAsToplevel(enable gdnative.Bool)
Sets as top level. This means that it will not inherit transform from parent canvas items. Args: [{ false enable bool}], Returns: void
func (*CanvasItem) SetDrawBehindParent ¶
func (o *CanvasItem) SetDrawBehindParent(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*CanvasItem) SetLightMask ¶
func (o *CanvasItem) SetLightMask(lightMask gdnative.Int)
Undocumented Args: [{ false light_mask int}], Returns: void
func (*CanvasItem) SetMaterial ¶
func (o *CanvasItem) SetMaterial(material MaterialImplementer)
Undocumented Args: [{ false material Material}], Returns: void
func (*CanvasItem) SetModulate ¶
func (o *CanvasItem) SetModulate(modulate gdnative.Color)
Undocumented Args: [{ false modulate Color}], Returns: void
func (*CanvasItem) SetNotifyLocalTransform ¶
func (o *CanvasItem) SetNotifyLocalTransform(enable gdnative.Bool)
If [code]enable[/code] is [code]true[/code], children will be updated with local transform data. Args: [{ false enable bool}], Returns: void
func (*CanvasItem) SetNotifyTransform ¶
func (o *CanvasItem) SetNotifyTransform(enable gdnative.Bool)
If [code]enable[/code] is [code]true[/code], children will be updated with global transform data. Args: [{ false enable bool}], Returns: void
func (*CanvasItem) SetSelfModulate ¶
func (o *CanvasItem) SetSelfModulate(selfModulate gdnative.Color)
Undocumented Args: [{ false self_modulate Color}], Returns: void
func (*CanvasItem) SetUseParentMaterial ¶
func (o *CanvasItem) SetUseParentMaterial(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*CanvasItem) SetVisible ¶
func (o *CanvasItem) SetVisible(visible gdnative.Bool)
Undocumented Args: [{ false visible bool}], Returns: void
func (*CanvasItem) Show ¶
func (o *CanvasItem) Show()
Show the CanvasItem currently hidden. Args: [], Returns: void
func (*CanvasItem) Update ¶
func (o *CanvasItem) Update()
Queue the CanvasItem for update. [code]NOTIFICATION_DRAW[/code] will be called on idle time to request redraw. Args: [], Returns: void
func (*CanvasItem) X_Draw ¶
func (o *CanvasItem) X_Draw()
Called (if exists) to draw the canvas item. Args: [], Returns: void
func (*CanvasItem) X_EditGetItemAndChildrenRect ¶
func (o *CanvasItem) X_EditGetItemAndChildrenRect() gdnative.Rect2
Undocumented Args: [], Returns: Rect2
func (*CanvasItem) X_EditGetPivot ¶
func (o *CanvasItem) X_EditGetPivot() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*CanvasItem) X_EditGetPosition ¶
func (o *CanvasItem) X_EditGetPosition() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*CanvasItem) X_EditGetRect ¶
func (o *CanvasItem) X_EditGetRect() gdnative.Rect2
Undocumented Args: [], Returns: Rect2
func (*CanvasItem) X_EditGetRotation ¶
func (o *CanvasItem) X_EditGetRotation() gdnative.Real
Undocumented Args: [], Returns: float
func (*CanvasItem) X_EditGetState ¶
func (o *CanvasItem) X_EditGetState() gdnative.Dictionary
Undocumented Args: [], Returns: Dictionary
func (*CanvasItem) X_EditSetPivot ¶
func (o *CanvasItem) X_EditSetPivot(pivot gdnative.Vector2)
Undocumented Args: [{ false pivot Vector2}], Returns: void
func (*CanvasItem) X_EditSetPosition ¶
func (o *CanvasItem) X_EditSetPosition(position gdnative.Vector2)
Undocumented Args: [{ false position Vector2}], Returns: void
func (*CanvasItem) X_EditSetRect ¶
func (o *CanvasItem) X_EditSetRect(rect gdnative.Rect2)
Undocumented Args: [{ false rect Rect2}], Returns: void
func (*CanvasItem) X_EditSetRotation ¶
func (o *CanvasItem) X_EditSetRotation(degrees gdnative.Real)
Undocumented Args: [{ false degrees float}], Returns: void
func (*CanvasItem) X_EditSetState ¶
func (o *CanvasItem) X_EditSetState(state gdnative.Dictionary)
Undocumented Args: [{ false state Dictionary}], Returns: void
func (*CanvasItem) X_EditUsePivot ¶
func (o *CanvasItem) X_EditUsePivot() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*CanvasItem) X_EditUsePosition ¶
func (o *CanvasItem) X_EditUsePosition() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*CanvasItem) X_EditUseRect ¶
func (o *CanvasItem) X_EditUseRect() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*CanvasItem) X_EditUseRotation ¶
func (o *CanvasItem) X_EditUseRotation() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*CanvasItem) X_IsOnTop ¶
func (o *CanvasItem) X_IsOnTop() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*CanvasItem) X_SetOnTop ¶
func (o *CanvasItem) X_SetOnTop(onTop gdnative.Bool)
Undocumented Args: [{ false on_top bool}], Returns: void
func (*CanvasItem) X_ToplevelRaiseSelf ¶
func (o *CanvasItem) X_ToplevelRaiseSelf()
Undocumented Args: [], Returns: void
func (*CanvasItem) X_UpdateCallback ¶
func (o *CanvasItem) X_UpdateCallback()
Undocumented Args: [], Returns: void
type CanvasItemBlendMode ¶
type CanvasItemBlendMode int
CanvasItemBlendMode is an enum for BlendMode values.
const ( CanvasItemBlendModeAdd CanvasItemBlendMode = 1 CanvasItemBlendModeMix CanvasItemBlendMode = 0 CanvasItemBlendModeMul CanvasItemBlendMode = 3 CanvasItemBlendModePremultAlpha CanvasItemBlendMode = 4 CanvasItemBlendModeSub CanvasItemBlendMode = 2 )
type CanvasItemImplementer ¶
type CanvasItemImplementer interface { NodeImplementer X_Draw() X_EditGetItemAndChildrenRect() gdnative.Rect2 X_EditGetPivot() gdnative.Vector2 X_EditGetPosition() gdnative.Vector2 X_EditGetRect() gdnative.Rect2 X_EditGetRotation() gdnative.Real X_EditGetState() gdnative.Dictionary X_EditSetPivot(pivot gdnative.Vector2) X_EditSetPosition(position gdnative.Vector2) X_EditSetRect(rect gdnative.Rect2) X_EditSetRotation(degrees gdnative.Real) X_EditSetState(state gdnative.Dictionary) X_EditUsePivot() gdnative.Bool X_EditUsePosition() gdnative.Bool X_EditUseRect() gdnative.Bool X_EditUseRotation() gdnative.Bool X_IsOnTop() gdnative.Bool X_SetOnTop(onTop gdnative.Bool) X_ToplevelRaiseSelf() X_UpdateCallback() DrawChar(font FontImplementer, position gdnative.Vector2, char gdnative.String, next gdnative.String, modulate gdnative.Color) gdnative.Real DrawCircle(position gdnative.Vector2, radius gdnative.Real, color gdnative.Color) DrawColoredPolygon(points gdnative.PoolVector2Array, color gdnative.Color, uvs gdnative.PoolVector2Array, texture TextureImplementer, normalMap TextureImplementer, antialiased gdnative.Bool) DrawLine(from gdnative.Vector2, to gdnative.Vector2, color gdnative.Color, width gdnative.Real, antialiased gdnative.Bool) DrawMultiline(points gdnative.PoolVector2Array, color gdnative.Color, width gdnative.Real, antialiased gdnative.Bool) DrawMultilineColors(points gdnative.PoolVector2Array, colors gdnative.PoolColorArray, width gdnative.Real, antialiased gdnative.Bool) DrawPolygon(points gdnative.PoolVector2Array, colors gdnative.PoolColorArray, uvs gdnative.PoolVector2Array, texture TextureImplementer, normalMap TextureImplementer, antialiased gdnative.Bool) DrawPolyline(points gdnative.PoolVector2Array, color gdnative.Color, width gdnative.Real, antialiased gdnative.Bool) DrawPolylineColors(points gdnative.PoolVector2Array, colors gdnative.PoolColorArray, width gdnative.Real, antialiased gdnative.Bool) DrawPrimitive(points gdnative.PoolVector2Array, colors gdnative.PoolColorArray, uvs gdnative.PoolVector2Array, texture TextureImplementer, width gdnative.Real, normalMap TextureImplementer) DrawRect(rect gdnative.Rect2, color gdnative.Color, filled gdnative.Bool) DrawSetTransform(position gdnative.Vector2, rotation gdnative.Real, scale gdnative.Vector2) DrawSetTransformMatrix(xform gdnative.Transform2D) DrawString(font FontImplementer, position gdnative.Vector2, text gdnative.String, modulate gdnative.Color, clipW gdnative.Int) DrawStyleBox(styleBox StyleBoxImplementer, rect gdnative.Rect2) DrawTexture(texture TextureImplementer, position gdnative.Vector2, modulate gdnative.Color, normalMap TextureImplementer) DrawTextureRect(texture TextureImplementer, rect gdnative.Rect2, tile gdnative.Bool, modulate gdnative.Color, transpose gdnative.Bool, normalMap TextureImplementer) DrawTextureRectRegion(texture TextureImplementer, rect gdnative.Rect2, srcRect gdnative.Rect2, modulate gdnative.Color, transpose gdnative.Bool, normalMap TextureImplementer, clipUv gdnative.Bool) GetCanvas() gdnative.Rid GetCanvasItem() gdnative.Rid GetCanvasTransform() gdnative.Transform2D GetGlobalMousePosition() gdnative.Vector2 GetGlobalTransform() gdnative.Transform2D GetGlobalTransformWithCanvas() gdnative.Transform2D GetLightMask() gdnative.Int GetLocalMousePosition() gdnative.Vector2 GetMaterial() MaterialImplementer GetModulate() gdnative.Color GetSelfModulate() gdnative.Color GetTransform() gdnative.Transform2D GetUseParentMaterial() gdnative.Bool GetViewportRect() gdnative.Rect2 GetViewportTransform() gdnative.Transform2D GetWorld2D() World2DImplementer Hide() IsDrawBehindParentEnabled() gdnative.Bool IsLocalTransformNotificationEnabled() gdnative.Bool IsSetAsToplevel() gdnative.Bool IsTransformNotificationEnabled() gdnative.Bool IsVisible() gdnative.Bool IsVisibleInTree() gdnative.Bool MakeCanvasPositionLocal(screenPoint gdnative.Vector2) gdnative.Vector2 MakeInputLocal(event InputEventImplementer) InputEventImplementer SetAsToplevel(enable gdnative.Bool) SetDrawBehindParent(enable gdnative.Bool) SetLightMask(lightMask gdnative.Int) SetMaterial(material MaterialImplementer) SetModulate(modulate gdnative.Color) SetNotifyLocalTransform(enable gdnative.Bool) SetNotifyTransform(enable gdnative.Bool) SetSelfModulate(selfModulate gdnative.Color) SetUseParentMaterial(enable gdnative.Bool) SetVisible(visible gdnative.Bool) Show() Update() }
CanvasItemImplementer is an interface that implements the methods of the CanvasItem class.
type CanvasItemMaterial ¶
type CanvasItemMaterial struct { Material // contains filtered or unexported fields }
[code]CanvasItemMaterial[/code]s provide a means of modifying the textures associated with a CanvasItem. They specialize in describing blend and lighting behaviors for textures. Use a ShaderMaterial to more fully customize a material's interactions with a CanvasItem.
func (*CanvasItemMaterial) BaseClass ¶
func (o *CanvasItemMaterial) BaseClass() string
func (*CanvasItemMaterial) GetBlendMode ¶
func (o *CanvasItemMaterial) GetBlendMode() CanvasItemMaterialBlendMode
Undocumented Args: [], Returns: enum.CanvasItemMaterial::BlendMode
func (*CanvasItemMaterial) GetLightMode ¶
func (o *CanvasItemMaterial) GetLightMode() CanvasItemMaterialLightMode
Undocumented Args: [], Returns: enum.CanvasItemMaterial::LightMode
func (*CanvasItemMaterial) SetBlendMode ¶
func (o *CanvasItemMaterial) SetBlendMode(blendMode gdnative.Int)
Undocumented Args: [{ false blend_mode int}], Returns: void
func (*CanvasItemMaterial) SetLightMode ¶
func (o *CanvasItemMaterial) SetLightMode(lightMode gdnative.Int)
Undocumented Args: [{ false light_mode int}], Returns: void
type CanvasItemMaterialBlendMode ¶
type CanvasItemMaterialBlendMode int
CanvasItemMaterialBlendMode is an enum for BlendMode values.
const ( CanvasItemMaterialBlendModeAdd CanvasItemMaterialBlendMode = 1 CanvasItemMaterialBlendModeMix CanvasItemMaterialBlendMode = 0 CanvasItemMaterialBlendModeMul CanvasItemMaterialBlendMode = 3 CanvasItemMaterialBlendModePremultAlpha CanvasItemMaterialBlendMode = 4 CanvasItemMaterialBlendModeSub CanvasItemMaterialBlendMode = 2 )
type CanvasItemMaterialImplementer ¶
type CanvasItemMaterialImplementer interface { MaterialImplementer SetBlendMode(blendMode gdnative.Int) SetLightMode(lightMode gdnative.Int) }
CanvasItemMaterialImplementer is an interface that implements the methods of the CanvasItemMaterial class.
type CanvasItemMaterialLightMode ¶
type CanvasItemMaterialLightMode int
CanvasItemMaterialLightMode is an enum for LightMode values.
const ( CanvasItemMaterialLightModeLightOnly CanvasItemMaterialLightMode = 2 CanvasItemMaterialLightModeNormal CanvasItemMaterialLightMode = 0 CanvasItemMaterialLightModeUnshaded CanvasItemMaterialLightMode = 1 )
type CanvasLayer ¶
type CanvasLayer struct { Node // contains filtered or unexported fields }
Canvas drawing layer. CanvasItem nodes that are direct or indirect children of a [code]CanvasLayer[/code] will be drawn in that layer. The layer is a numeric index that defines the draw order. The default 2D scene renders with index 0, so a [code]CanvasLayer[/code] with index -1 will be drawn below, and one with index 1 will be drawn above. This is very useful for HUDs (in layer 1+ or above), or backgrounds (in layer -1 or below).
func (*CanvasLayer) BaseClass ¶
func (o *CanvasLayer) BaseClass() string
func (*CanvasLayer) GetCustomViewport ¶
func (o *CanvasLayer) GetCustomViewport() NodeImplementer
Undocumented Args: [], Returns: Node
func (*CanvasLayer) GetLayer ¶
func (o *CanvasLayer) GetLayer() gdnative.Int
Undocumented Args: [], Returns: int
func (*CanvasLayer) GetOffset ¶
func (o *CanvasLayer) GetOffset() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*CanvasLayer) GetRotation ¶
func (o *CanvasLayer) GetRotation() gdnative.Real
Undocumented Args: [], Returns: float
func (*CanvasLayer) GetRotationDegrees ¶
func (o *CanvasLayer) GetRotationDegrees() gdnative.Real
Undocumented Args: [], Returns: float
func (*CanvasLayer) GetScale ¶
func (o *CanvasLayer) GetScale() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*CanvasLayer) GetTransform ¶
func (o *CanvasLayer) GetTransform() gdnative.Transform2D
Undocumented Args: [], Returns: Transform2D
func (*CanvasLayer) GetWorld2D ¶
func (o *CanvasLayer) GetWorld2D() World2DImplementer
Return the [World2D] used by this layer. Args: [], Returns: World2D
func (*CanvasLayer) SetCustomViewport ¶
func (o *CanvasLayer) SetCustomViewport(viewport ObjectImplementer)
Undocumented Args: [{ false viewport Object}], Returns: void
func (*CanvasLayer) SetLayer ¶
func (o *CanvasLayer) SetLayer(layer gdnative.Int)
Undocumented Args: [{ false layer int}], Returns: void
func (*CanvasLayer) SetOffset ¶
func (o *CanvasLayer) SetOffset(offset gdnative.Vector2)
Undocumented Args: [{ false offset Vector2}], Returns: void
func (*CanvasLayer) SetRotation ¶
func (o *CanvasLayer) SetRotation(radians gdnative.Real)
Undocumented Args: [{ false radians float}], Returns: void
func (*CanvasLayer) SetRotationDegrees ¶
func (o *CanvasLayer) SetRotationDegrees(degrees gdnative.Real)
Undocumented Args: [{ false degrees float}], Returns: void
func (*CanvasLayer) SetScale ¶
func (o *CanvasLayer) SetScale(scale gdnative.Vector2)
Undocumented Args: [{ false scale Vector2}], Returns: void
func (*CanvasLayer) SetTransform ¶
func (o *CanvasLayer) SetTransform(transform gdnative.Transform2D)
Undocumented Args: [{ false transform Transform2D}], Returns: void
type CanvasLayerImplementer ¶
type CanvasLayerImplementer interface { NodeImplementer GetCustomViewport() NodeImplementer GetLayer() gdnative.Int GetOffset() gdnative.Vector2 GetRotation() gdnative.Real GetRotationDegrees() gdnative.Real GetScale() gdnative.Vector2 GetTransform() gdnative.Transform2D GetWorld2D() World2DImplementer SetCustomViewport(viewport ObjectImplementer) SetLayer(layer gdnative.Int) SetOffset(offset gdnative.Vector2) SetRotation(radians gdnative.Real) SetRotationDegrees(degrees gdnative.Real) SetScale(scale gdnative.Vector2) SetTransform(transform gdnative.Transform2D) }
CanvasLayerImplementer is an interface that implements the methods of the CanvasLayer class.
type CanvasModulate ¶
type CanvasModulate struct { Node2D // contains filtered or unexported fields }
[code]CanvasModulate[/code] tints the canvas elements using its assigned [code]color[/code].
func (*CanvasModulate) BaseClass ¶
func (o *CanvasModulate) BaseClass() string
func (*CanvasModulate) GetColor ¶
func (o *CanvasModulate) GetColor() gdnative.Color
Undocumented Args: [], Returns: Color
func (*CanvasModulate) SetColor ¶
func (o *CanvasModulate) SetColor(color gdnative.Color)
Undocumented Args: [{ false color Color}], Returns: void
type CanvasModulateImplementer ¶
type CanvasModulateImplementer interface { Node2DImplementer GetColor() gdnative.Color SetColor(color gdnative.Color) }
CanvasModulateImplementer is an interface that implements the methods of the CanvasModulate class.
type CapsuleMesh ¶
type CapsuleMesh struct { PrimitiveMesh // contains filtered or unexported fields }
Class representing a capsule-shaped PrimitiveMesh.
func (*CapsuleMesh) BaseClass ¶
func (o *CapsuleMesh) BaseClass() string
func (*CapsuleMesh) GetMidHeight ¶
func (o *CapsuleMesh) GetMidHeight() gdnative.Real
Undocumented Args: [], Returns: float
func (*CapsuleMesh) GetRadialSegments ¶
func (o *CapsuleMesh) GetRadialSegments() gdnative.Int
Undocumented Args: [], Returns: int
func (*CapsuleMesh) GetRadius ¶
func (o *CapsuleMesh) GetRadius() gdnative.Real
Undocumented Args: [], Returns: float
func (*CapsuleMesh) GetRings ¶
func (o *CapsuleMesh) GetRings() gdnative.Int
Undocumented Args: [], Returns: int
func (*CapsuleMesh) SetMidHeight ¶
func (o *CapsuleMesh) SetMidHeight(midHeight gdnative.Real)
Undocumented Args: [{ false mid_height float}], Returns: void
func (*CapsuleMesh) SetRadialSegments ¶
func (o *CapsuleMesh) SetRadialSegments(segments gdnative.Int)
Undocumented Args: [{ false segments int}], Returns: void
func (*CapsuleMesh) SetRadius ¶
func (o *CapsuleMesh) SetRadius(radius gdnative.Real)
Undocumented Args: [{ false radius float}], Returns: void
func (*CapsuleMesh) SetRings ¶
func (o *CapsuleMesh) SetRings(rings gdnative.Int)
Undocumented Args: [{ false rings int}], Returns: void
type CapsuleMeshImplementer ¶
type CapsuleMeshImplementer interface { PrimitiveMeshImplementer GetMidHeight() gdnative.Real GetRadialSegments() gdnative.Int GetRadius() gdnative.Real GetRings() gdnative.Int SetMidHeight(midHeight gdnative.Real) SetRadialSegments(segments gdnative.Int) SetRadius(radius gdnative.Real) SetRings(rings gdnative.Int) }
CapsuleMeshImplementer is an interface that implements the methods of the CapsuleMesh class.
type CapsuleShape ¶
type CapsuleShape struct { Shape // contains filtered or unexported fields }
Capsule shape for collisions.
func (*CapsuleShape) BaseClass ¶
func (o *CapsuleShape) BaseClass() string
func (*CapsuleShape) GetHeight ¶
func (o *CapsuleShape) GetHeight() gdnative.Real
Undocumented Args: [], Returns: float
func (*CapsuleShape) GetRadius ¶
func (o *CapsuleShape) GetRadius() gdnative.Real
Undocumented Args: [], Returns: float
func (*CapsuleShape) SetHeight ¶
func (o *CapsuleShape) SetHeight(height gdnative.Real)
Undocumented Args: [{ false height float}], Returns: void
func (*CapsuleShape) SetRadius ¶
func (o *CapsuleShape) SetRadius(radius gdnative.Real)
Undocumented Args: [{ false radius float}], Returns: void
type CapsuleShape2D ¶
type CapsuleShape2D struct { Shape2D // contains filtered or unexported fields }
Capsule shape for 2D collisions.
func (*CapsuleShape2D) BaseClass ¶
func (o *CapsuleShape2D) BaseClass() string
func (*CapsuleShape2D) GetHeight ¶
func (o *CapsuleShape2D) GetHeight() gdnative.Real
Undocumented Args: [], Returns: float
func (*CapsuleShape2D) GetRadius ¶
func (o *CapsuleShape2D) GetRadius() gdnative.Real
Undocumented Args: [], Returns: float
func (*CapsuleShape2D) SetHeight ¶
func (o *CapsuleShape2D) SetHeight(height gdnative.Real)
Undocumented Args: [{ false height float}], Returns: void
func (*CapsuleShape2D) SetRadius ¶
func (o *CapsuleShape2D) SetRadius(radius gdnative.Real)
Undocumented Args: [{ false radius float}], Returns: void
type CapsuleShape2DImplementer ¶
type CapsuleShape2DImplementer interface { Shape2DImplementer GetHeight() gdnative.Real GetRadius() gdnative.Real SetHeight(height gdnative.Real) SetRadius(radius gdnative.Real) }
CapsuleShape2DImplementer is an interface that implements the methods of the CapsuleShape2D class.
type CapsuleShapeImplementer ¶
type CapsuleShapeImplementer interface { ShapeImplementer GetHeight() gdnative.Real GetRadius() gdnative.Real SetHeight(height gdnative.Real) SetRadius(radius gdnative.Real) }
CapsuleShapeImplementer is an interface that implements the methods of the CapsuleShape class.
type CenterContainer ¶
type CenterContainer struct { Container // contains filtered or unexported fields }
CenterContainer Keeps children controls centered. This container keeps all children to their minimum size, in the center.
func (*CenterContainer) BaseClass ¶
func (o *CenterContainer) BaseClass() string
func (*CenterContainer) IsUsingTopLeft ¶
func (o *CenterContainer) IsUsingTopLeft() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*CenterContainer) SetUseTopLeft ¶
func (o *CenterContainer) SetUseTopLeft(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
type CenterContainerImplementer ¶
type CenterContainerImplementer interface { ContainerImplementer IsUsingTopLeft() gdnative.Bool SetUseTopLeft(enable gdnative.Bool) }
CenterContainerImplementer is an interface that implements the methods of the CenterContainer class.
type CheckBox ¶
type CheckBox struct { Button // contains filtered or unexported fields }
A checkbox allows the user to make a binary choice (choosing only one of two possible options), for example Answer 'yes' or 'no'.
type CheckBoxImplementer ¶
type CheckBoxImplementer interface { ButtonImplementer }
CheckBoxImplementer is an interface that implements the methods of the CheckBox class.
type CheckButton ¶
type CheckButton struct { Button // contains filtered or unexported fields }
CheckButton is a toggle button displayed as a check field.
func (*CheckButton) BaseClass ¶
func (o *CheckButton) BaseClass() string
type CheckButtonImplementer ¶
type CheckButtonImplementer interface { ButtonImplementer }
CheckButtonImplementer is an interface that implements the methods of the CheckButton class.
type CircleShape2D ¶
type CircleShape2D struct { Shape2D // contains filtered or unexported fields }
Circular shape for 2D collisions. This shape is useful for modeling balls or small characters and its collision detection with everything else is very fast.
func (*CircleShape2D) BaseClass ¶
func (o *CircleShape2D) BaseClass() string
func (*CircleShape2D) GetRadius ¶
func (o *CircleShape2D) GetRadius() gdnative.Real
Undocumented Args: [], Returns: float
func (*CircleShape2D) SetRadius ¶
func (o *CircleShape2D) SetRadius(radius gdnative.Real)
Undocumented Args: [{ false radius float}], Returns: void
type CircleShape2DImplementer ¶
type CircleShape2DImplementer interface { Shape2DImplementer GetRadius() gdnative.Real SetRadius(radius gdnative.Real) }
CircleShape2DImplementer is an interface that implements the methods of the CircleShape2D class.
type Class ¶
type Class interface { BaseClass() string SetBaseObject(object gdnative.Object) GetBaseObject() gdnative.Object }
Class is an interface for any objects that can have Godot inheritance.
type ClassConstructor ¶
type ClassConstructor func() Class
ClassConstructor is any function that will build and return a class to be registered with Godot.
type ClassDBImplementer ¶
type ClassDBImplementer interface { ObjectImplementer CanInstance(class gdnative.String) gdnative.Bool ClassExists(class gdnative.String) gdnative.Bool ClassGetCategory(class gdnative.String) gdnative.String ClassGetIntegerConstant(class gdnative.String, name gdnative.String) gdnative.Int ClassGetIntegerConstantList(class gdnative.String, noInheritance gdnative.Bool) gdnative.PoolStringArray ClassGetMethodList(class gdnative.String, noInheritance gdnative.Bool) gdnative.Array ClassGetProperty(object ObjectImplementer, property gdnative.String) gdnative.Variant ClassGetPropertyList(class gdnative.String, noInheritance gdnative.Bool) gdnative.Array ClassGetSignal(class gdnative.String, signal gdnative.String) gdnative.Dictionary ClassGetSignalList(class gdnative.String, noInheritance gdnative.Bool) gdnative.Array ClassHasIntegerConstant(class gdnative.String, name gdnative.String) gdnative.Bool ClassHasMethod(class gdnative.String, method gdnative.String, noInheritance gdnative.Bool) gdnative.Bool ClassHasSignal(class gdnative.String, signal gdnative.String) gdnative.Bool GetClassList() gdnative.PoolStringArray GetInheritersFromClass(class gdnative.String) gdnative.PoolStringArray GetParentClass(class gdnative.String) gdnative.String Instance(class gdnative.String) gdnative.Variant IsClassEnabled(class gdnative.String) gdnative.Bool IsParentClass(class gdnative.String, inherits gdnative.String) gdnative.Bool }
ClassDBImplementer is an interface that implements the methods of the ClassDB class.
type CollisionObject ¶
type CollisionObject struct { Spatial // contains filtered or unexported fields }
CollisionObject is the base class for physics objects. It can hold any number of collision [Shape]s. Each shape must be assigned to a [i]shape owner[/i]. The CollisionObject can have any number of shape owners. Shape owners are not nodes and do not appear in the editor, but are accessible through code using the [code]shape_owner_*[/code] methods.
func (*CollisionObject) BaseClass ¶
func (o *CollisionObject) BaseClass() string
func (*CollisionObject) CreateShapeOwner ¶
func (o *CollisionObject) CreateShapeOwner(owner ObjectImplementer) gdnative.Int
Creates a new shape owner for the given object. Returns [code]owner_id[/code] of the new owner for future reference. Args: [{ false owner Object}], Returns: int
func (*CollisionObject) GetCaptureInputOnDrag ¶
func (o *CollisionObject) GetCaptureInputOnDrag() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*CollisionObject) GetRid ¶
func (o *CollisionObject) GetRid() gdnative.Rid
Returns the object's [RID]. Args: [], Returns: RID
func (*CollisionObject) GetShapeOwners ¶
func (o *CollisionObject) GetShapeOwners() gdnative.Array
Returns an [Array] of [code]owner_id[/code] identifiers. You can use these ids in other methods that take [code]owner_id[/code] as an argument. Args: [], Returns: Array
func (*CollisionObject) IsRayPickable ¶
func (o *CollisionObject) IsRayPickable() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*CollisionObject) IsShapeOwnerDisabled ¶
func (o *CollisionObject) IsShapeOwnerDisabled(ownerId gdnative.Int) gdnative.Bool
If [code]true[/code] the shape owner and its shapes are disabled. Args: [{ false owner_id int}], Returns: bool
func (*CollisionObject) RemoveShapeOwner ¶
func (o *CollisionObject) RemoveShapeOwner(ownerId gdnative.Int)
Removes the given shape owner. Args: [{ false owner_id int}], Returns: void
func (*CollisionObject) SetCaptureInputOnDrag ¶
func (o *CollisionObject) SetCaptureInputOnDrag(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*CollisionObject) SetRayPickable ¶
func (o *CollisionObject) SetRayPickable(rayPickable gdnative.Bool)
Undocumented Args: [{ false ray_pickable bool}], Returns: void
func (*CollisionObject) ShapeFindOwner ¶
func (o *CollisionObject) ShapeFindOwner(shapeIndex gdnative.Int) gdnative.Int
Returns the [code]owner_id[/code] of the given shape. Args: [{ false shape_index int}], Returns: int
func (*CollisionObject) ShapeOwnerAddShape ¶
func (o *CollisionObject) ShapeOwnerAddShape(ownerId gdnative.Int, shape ShapeImplementer)
Adds a [Shape] to the shape owner. Args: [{ false owner_id int} { false shape Shape}], Returns: void
func (*CollisionObject) ShapeOwnerClearShapes ¶
func (o *CollisionObject) ShapeOwnerClearShapes(ownerId gdnative.Int)
Removes all shapes from the shape owner. Args: [{ false owner_id int}], Returns: void
func (*CollisionObject) ShapeOwnerGetOwner ¶
func (o *CollisionObject) ShapeOwnerGetOwner(ownerId gdnative.Int) ObjectImplementer
Returns the parent object of the given shape owner. Args: [{ false owner_id int}], Returns: Object
func (*CollisionObject) ShapeOwnerGetShape ¶
func (o *CollisionObject) ShapeOwnerGetShape(ownerId gdnative.Int, shapeId gdnative.Int) ShapeImplementer
Returns the [Shape] with the given id from the given shape owner. Args: [{ false owner_id int} { false shape_id int}], Returns: Shape
func (*CollisionObject) ShapeOwnerGetShapeCount ¶
func (o *CollisionObject) ShapeOwnerGetShapeCount(ownerId gdnative.Int) gdnative.Int
Returns the number of shapes the given shape owner contains. Args: [{ false owner_id int}], Returns: int
func (*CollisionObject) ShapeOwnerGetShapeIndex ¶
func (o *CollisionObject) ShapeOwnerGetShapeIndex(ownerId gdnative.Int, shapeId gdnative.Int) gdnative.Int
Returns the child index of the [Shape] with the given id from the given shape owner. Args: [{ false owner_id int} { false shape_id int}], Returns: int
func (*CollisionObject) ShapeOwnerGetTransform ¶
func (o *CollisionObject) ShapeOwnerGetTransform(ownerId gdnative.Int) gdnative.Transform
Returns the shape owner's [Transform]. Args: [{ false owner_id int}], Returns: Transform
func (*CollisionObject) ShapeOwnerRemoveShape ¶
func (o *CollisionObject) ShapeOwnerRemoveShape(ownerId gdnative.Int, shapeId gdnative.Int)
Removes a shape from the given shape owner. Args: [{ false owner_id int} { false shape_id int}], Returns: void
func (*CollisionObject) ShapeOwnerSetDisabled ¶
func (o *CollisionObject) ShapeOwnerSetDisabled(ownerId gdnative.Int, disabled gdnative.Bool)
If [code]true[/code] disables the given shape owner. Args: [{ false owner_id int} { false disabled bool}], Returns: void
func (*CollisionObject) ShapeOwnerSetTransform ¶
func (o *CollisionObject) ShapeOwnerSetTransform(ownerId gdnative.Int, transform gdnative.Transform)
Sets the [Transform] of the given shape owner. Args: [{ false owner_id int} { false transform Transform}], Returns: void
func (*CollisionObject) X_InputEvent ¶
func (o *CollisionObject) X_InputEvent(camera ObjectImplementer, event InputEventImplementer, clickPosition gdnative.Vector3, clickNormal gdnative.Vector3, shapeIdx gdnative.Int)
Accepts unhandled [InputEvent]s. [code]click_position[/code] is the clicked location in world space and [code]click_normal[/code] is the normal vector extending from the clicked surface of the [Shape] at [code]shape_idx[/code]. Connect to the [code]input_event[/code] signal to easily pick up these events. Args: [{ false camera Object} { false event InputEvent} { false click_position Vector3} { false click_normal Vector3} { false shape_idx int}], Returns: void
type CollisionObject2D ¶
type CollisionObject2D struct { Node2D // contains filtered or unexported fields }
CollisionObject2D is the base class for 2D physics objects. It can hold any number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape owner[/i]. The CollisionObject2D can have any number of shape owners. Shape owners are not nodes and do not appear in the editor, but are accessible through code using the [code]shape_owner_*[/code] methods.
func (*CollisionObject2D) BaseClass ¶
func (o *CollisionObject2D) BaseClass() string
func (*CollisionObject2D) CreateShapeOwner ¶
func (o *CollisionObject2D) CreateShapeOwner(owner ObjectImplementer) gdnative.Int
Creates a new shape owner for the given object. Returns [code]owner_id[/code] of the new owner for future reference. Args: [{ false owner Object}], Returns: int
func (*CollisionObject2D) GetRid ¶
func (o *CollisionObject2D) GetRid() gdnative.Rid
Returns the object's [RID]. Args: [], Returns: RID
func (*CollisionObject2D) GetShapeOwners ¶
func (o *CollisionObject2D) GetShapeOwners() gdnative.Array
Returns an [Array] of [code]owner_id[/code] identifiers. You can use these ids in other methods that take [code]owner_id[/code] as an argument. Args: [], Returns: Array
func (*CollisionObject2D) IsPickable ¶
func (o *CollisionObject2D) IsPickable() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*CollisionObject2D) IsShapeOwnerDisabled ¶
func (o *CollisionObject2D) IsShapeOwnerDisabled(ownerId gdnative.Int) gdnative.Bool
If [code]true[/code] the shape owner and its shapes are disabled. Args: [{ false owner_id int}], Returns: bool
func (*CollisionObject2D) IsShapeOwnerOneWayCollisionEnabled ¶
func (o *CollisionObject2D) IsShapeOwnerOneWayCollisionEnabled(ownerId gdnative.Int) gdnative.Bool
Returns [code]true[/code] if collisions for the shape owner originating from this [code]CollisionObject2D[/code] will not be reported to collided with [code]CollisionObject2D[/code]s. Args: [{ false owner_id int}], Returns: bool
func (*CollisionObject2D) RemoveShapeOwner ¶
func (o *CollisionObject2D) RemoveShapeOwner(ownerId gdnative.Int)
Removes the given shape owner. Args: [{ false owner_id int}], Returns: void
func (*CollisionObject2D) SetPickable ¶
func (o *CollisionObject2D) SetPickable(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*CollisionObject2D) ShapeFindOwner ¶
func (o *CollisionObject2D) ShapeFindOwner(shapeIndex gdnative.Int) gdnative.Int
Returns the [code]owner_id[/code] of the given shape. Args: [{ false shape_index int}], Returns: int
func (*CollisionObject2D) ShapeOwnerAddShape ¶
func (o *CollisionObject2D) ShapeOwnerAddShape(ownerId gdnative.Int, shape Shape2DImplementer)
Adds a [Shape2D] to the shape owner. Args: [{ false owner_id int} { false shape Shape2D}], Returns: void
func (*CollisionObject2D) ShapeOwnerClearShapes ¶
func (o *CollisionObject2D) ShapeOwnerClearShapes(ownerId gdnative.Int)
Removes all shapes from the shape owner. Args: [{ false owner_id int}], Returns: void
func (*CollisionObject2D) ShapeOwnerGetOwner ¶
func (o *CollisionObject2D) ShapeOwnerGetOwner(ownerId gdnative.Int) ObjectImplementer
Returns the parent object of the given shape owner. Args: [{ false owner_id int}], Returns: Object
func (*CollisionObject2D) ShapeOwnerGetShape ¶
func (o *CollisionObject2D) ShapeOwnerGetShape(ownerId gdnative.Int, shapeId gdnative.Int) Shape2DImplementer
Returns the [Shape2D] with the given id from the given shape owner. Args: [{ false owner_id int} { false shape_id int}], Returns: Shape2D
func (*CollisionObject2D) ShapeOwnerGetShapeCount ¶
func (o *CollisionObject2D) ShapeOwnerGetShapeCount(ownerId gdnative.Int) gdnative.Int
Returns the number of shapes the given shape owner contains. Args: [{ false owner_id int}], Returns: int
func (*CollisionObject2D) ShapeOwnerGetShapeIndex ¶
func (o *CollisionObject2D) ShapeOwnerGetShapeIndex(ownerId gdnative.Int, shapeId gdnative.Int) gdnative.Int
Returns the child index of the [Shape2D] with the given id from the given shape owner. Args: [{ false owner_id int} { false shape_id int}], Returns: int
func (*CollisionObject2D) ShapeOwnerGetTransform ¶
func (o *CollisionObject2D) ShapeOwnerGetTransform(ownerId gdnative.Int) gdnative.Transform2D
Returns the shape owner's [Transform2D]. Args: [{ false owner_id int}], Returns: Transform2D
func (*CollisionObject2D) ShapeOwnerRemoveShape ¶
func (o *CollisionObject2D) ShapeOwnerRemoveShape(ownerId gdnative.Int, shapeId gdnative.Int)
Removes a shape from the given shape owner. Args: [{ false owner_id int} { false shape_id int}], Returns: void
func (*CollisionObject2D) ShapeOwnerSetDisabled ¶
func (o *CollisionObject2D) ShapeOwnerSetDisabled(ownerId gdnative.Int, disabled gdnative.Bool)
If [code]true[/code] disables the given shape owner. Args: [{ false owner_id int} { false disabled bool}], Returns: void
func (*CollisionObject2D) ShapeOwnerSetOneWayCollision ¶
func (o *CollisionObject2D) ShapeOwnerSetOneWayCollision(ownerId gdnative.Int, enable gdnative.Bool)
If [code]enable[/code] is [code]true[/code], collisions for the shape owner originating from this [code]CollisionObject2D[/code] will not be reported to collided with [code]CollisionObject2D[/code]s. Args: [{ false owner_id int} { false enable bool}], Returns: void
func (*CollisionObject2D) ShapeOwnerSetTransform ¶
func (o *CollisionObject2D) ShapeOwnerSetTransform(ownerId gdnative.Int, transform gdnative.Transform2D)
Sets the [Transform2D] of the given shape owner. Args: [{ false owner_id int} { false transform Transform2D}], Returns: void
func (*CollisionObject2D) X_InputEvent ¶
func (o *CollisionObject2D) X_InputEvent(viewport ObjectImplementer, event InputEventImplementer, shapeIdx gdnative.Int)
Accepts unhandled [InputEvent]s. [code]shape_idx[/code] is the child index of the clicked [Shape2D]. Connect to the [code]input_event[/code] signal to easily pick up these events. Args: [{ false viewport Object} { false event InputEvent} { false shape_idx int}], Returns: void
type CollisionObject2DImplementer ¶
type CollisionObject2DImplementer interface { Node2DImplementer X_InputEvent(viewport ObjectImplementer, event InputEventImplementer, shapeIdx gdnative.Int) CreateShapeOwner(owner ObjectImplementer) gdnative.Int GetRid() gdnative.Rid GetShapeOwners() gdnative.Array IsPickable() gdnative.Bool IsShapeOwnerDisabled(ownerId gdnative.Int) gdnative.Bool IsShapeOwnerOneWayCollisionEnabled(ownerId gdnative.Int) gdnative.Bool RemoveShapeOwner(ownerId gdnative.Int) SetPickable(enabled gdnative.Bool) ShapeFindOwner(shapeIndex gdnative.Int) gdnative.Int ShapeOwnerAddShape(ownerId gdnative.Int, shape Shape2DImplementer) ShapeOwnerClearShapes(ownerId gdnative.Int) ShapeOwnerGetOwner(ownerId gdnative.Int) ObjectImplementer ShapeOwnerGetShape(ownerId gdnative.Int, shapeId gdnative.Int) Shape2DImplementer ShapeOwnerGetShapeCount(ownerId gdnative.Int) gdnative.Int ShapeOwnerGetShapeIndex(ownerId gdnative.Int, shapeId gdnative.Int) gdnative.Int ShapeOwnerGetTransform(ownerId gdnative.Int) gdnative.Transform2D ShapeOwnerRemoveShape(ownerId gdnative.Int, shapeId gdnative.Int) ShapeOwnerSetDisabled(ownerId gdnative.Int, disabled gdnative.Bool) ShapeOwnerSetOneWayCollision(ownerId gdnative.Int, enable gdnative.Bool) ShapeOwnerSetTransform(ownerId gdnative.Int, transform gdnative.Transform2D) }
CollisionObject2DImplementer is an interface that implements the methods of the CollisionObject2D class.
type CollisionObjectImplementer ¶
type CollisionObjectImplementer interface { SpatialImplementer X_InputEvent(camera ObjectImplementer, event InputEventImplementer, clickPosition gdnative.Vector3, clickNormal gdnative.Vector3, shapeIdx gdnative.Int) CreateShapeOwner(owner ObjectImplementer) gdnative.Int GetCaptureInputOnDrag() gdnative.Bool GetRid() gdnative.Rid GetShapeOwners() gdnative.Array IsRayPickable() gdnative.Bool IsShapeOwnerDisabled(ownerId gdnative.Int) gdnative.Bool RemoveShapeOwner(ownerId gdnative.Int) SetCaptureInputOnDrag(enable gdnative.Bool) SetRayPickable(rayPickable gdnative.Bool) ShapeFindOwner(shapeIndex gdnative.Int) gdnative.Int ShapeOwnerAddShape(ownerId gdnative.Int, shape ShapeImplementer) ShapeOwnerClearShapes(ownerId gdnative.Int) ShapeOwnerGetOwner(ownerId gdnative.Int) ObjectImplementer ShapeOwnerGetShape(ownerId gdnative.Int, shapeId gdnative.Int) ShapeImplementer ShapeOwnerGetShapeCount(ownerId gdnative.Int) gdnative.Int ShapeOwnerGetShapeIndex(ownerId gdnative.Int, shapeId gdnative.Int) gdnative.Int ShapeOwnerGetTransform(ownerId gdnative.Int) gdnative.Transform ShapeOwnerRemoveShape(ownerId gdnative.Int, shapeId gdnative.Int) ShapeOwnerSetDisabled(ownerId gdnative.Int, disabled gdnative.Bool) ShapeOwnerSetTransform(ownerId gdnative.Int, transform gdnative.Transform) }
CollisionObjectImplementer is an interface that implements the methods of the CollisionObject class.
type CollisionPolygon ¶
type CollisionPolygon struct { Spatial // contains filtered or unexported fields }
Allows editing a collision polygon's vertices on a selected plane. Can also set a depth perpendicular to that plane. This class is only available in the editor. It will not appear in the scene tree at runtime. Creates a Shape for gameplay. Properties modified during gameplay will have no effect.
func (*CollisionPolygon) BaseClass ¶
func (o *CollisionPolygon) BaseClass() string
func (*CollisionPolygon) GetDepth ¶
func (o *CollisionPolygon) GetDepth() gdnative.Real
Undocumented Args: [], Returns: float
func (*CollisionPolygon) GetPolygon ¶
func (o *CollisionPolygon) GetPolygon() gdnative.PoolVector2Array
Undocumented Args: [], Returns: PoolVector2Array
func (*CollisionPolygon) IsDisabled ¶
func (o *CollisionPolygon) IsDisabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*CollisionPolygon) SetDepth ¶
func (o *CollisionPolygon) SetDepth(depth gdnative.Real)
Undocumented Args: [{ false depth float}], Returns: void
func (*CollisionPolygon) SetDisabled ¶
func (o *CollisionPolygon) SetDisabled(disabled gdnative.Bool)
Undocumented Args: [{ false disabled bool}], Returns: void
func (*CollisionPolygon) SetPolygon ¶
func (o *CollisionPolygon) SetPolygon(polygon gdnative.PoolVector2Array)
Undocumented Args: [{ false polygon PoolVector2Array}], Returns: void
type CollisionPolygon2D ¶
type CollisionPolygon2D struct { Node2D // contains filtered or unexported fields }
Provides a 2D collision polygon to a CollisionObject2D parent. Polygon can be drawn in the editor or specified by a list of vertices.
func (*CollisionPolygon2D) BaseClass ¶
func (o *CollisionPolygon2D) BaseClass() string
func (*CollisionPolygon2D) GetBuildMode ¶
func (o *CollisionPolygon2D) GetBuildMode() CollisionPolygon2DBuildMode
Undocumented Args: [], Returns: enum.CollisionPolygon2D::BuildMode
func (*CollisionPolygon2D) GetPolygon ¶
func (o *CollisionPolygon2D) GetPolygon() gdnative.PoolVector2Array
Undocumented Args: [], Returns: PoolVector2Array
func (*CollisionPolygon2D) IsDisabled ¶
func (o *CollisionPolygon2D) IsDisabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*CollisionPolygon2D) IsOneWayCollisionEnabled ¶
func (o *CollisionPolygon2D) IsOneWayCollisionEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*CollisionPolygon2D) SetBuildMode ¶
func (o *CollisionPolygon2D) SetBuildMode(buildMode gdnative.Int)
Undocumented Args: [{ false build_mode int}], Returns: void
func (*CollisionPolygon2D) SetDisabled ¶
func (o *CollisionPolygon2D) SetDisabled(disabled gdnative.Bool)
Undocumented Args: [{ false disabled bool}], Returns: void
func (*CollisionPolygon2D) SetOneWayCollision ¶
func (o *CollisionPolygon2D) SetOneWayCollision(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*CollisionPolygon2D) SetPolygon ¶
func (o *CollisionPolygon2D) SetPolygon(polygon gdnative.PoolVector2Array)
Undocumented Args: [{ false polygon PoolVector2Array}], Returns: void
type CollisionPolygon2DBuildMode ¶
type CollisionPolygon2DBuildMode int
CollisionPolygon2DBuildMode is an enum for BuildMode values.
const ( CollisionPolygon2DBuildSegments CollisionPolygon2DBuildMode = 1 CollisionPolygon2DBuildSolids CollisionPolygon2DBuildMode = 0 )
type CollisionPolygon2DImplementer ¶
type CollisionPolygon2DImplementer interface { Node2DImplementer GetPolygon() gdnative.PoolVector2Array IsDisabled() gdnative.Bool IsOneWayCollisionEnabled() gdnative.Bool SetBuildMode(buildMode gdnative.Int) SetDisabled(disabled gdnative.Bool) SetOneWayCollision(enabled gdnative.Bool) SetPolygon(polygon gdnative.PoolVector2Array) }
CollisionPolygon2DImplementer is an interface that implements the methods of the CollisionPolygon2D class.
type CollisionPolygonImplementer ¶
type CollisionPolygonImplementer interface { SpatialImplementer GetDepth() gdnative.Real GetPolygon() gdnative.PoolVector2Array IsDisabled() gdnative.Bool SetDepth(depth gdnative.Real) SetDisabled(disabled gdnative.Bool) SetPolygon(polygon gdnative.PoolVector2Array) }
CollisionPolygonImplementer is an interface that implements the methods of the CollisionPolygon class.
type CollisionShape ¶
type CollisionShape struct { Spatial // contains filtered or unexported fields }
Editor facility for creating and editing collision shapes in 3D space. You can use this node to represent all sorts of collision shapes, for example, add this to an Area to give it a detection shape, or add it to a PhysicsBody to give create solid object. [b]IMPORTANT[/b]: this is an Editor-only helper to create shapes, use [method get_shape] to get the actual shape.
func (*CollisionShape) BaseClass ¶
func (o *CollisionShape) BaseClass() string
func (*CollisionShape) GetShape ¶
func (o *CollisionShape) GetShape() ShapeImplementer
Undocumented Args: [], Returns: Shape
func (*CollisionShape) IsDisabled ¶
func (o *CollisionShape) IsDisabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*CollisionShape) MakeConvexFromBrothers ¶
func (o *CollisionShape) MakeConvexFromBrothers()
Sets the collision shape's shape to the addition of all its convexed [MeshInstance] siblings geometry. Args: [], Returns: void
func (*CollisionShape) ResourceChanged ¶
func (o *CollisionShape) ResourceChanged(resource ResourceImplementer)
If this method exists within a script it will be called whenever the shape resource has been modified. Args: [{ false resource Resource}], Returns: void
func (*CollisionShape) SetDisabled ¶
func (o *CollisionShape) SetDisabled(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*CollisionShape) SetShape ¶
func (o *CollisionShape) SetShape(shape ShapeImplementer)
Undocumented Args: [{ false shape Shape}], Returns: void
type CollisionShape2D ¶
type CollisionShape2D struct { Node2D // contains filtered or unexported fields }
Editor facility for creating and editing collision shapes in 2D space. You can use this node to represent all sorts of collision shapes, for example, add this to an Area2D to give it a detection shape, or add it to a PhysicsBody2D to give create solid object. [b]IMPORTANT[/b]: this is an Editor-only helper to create shapes, use [method get_shape] to get the actual shape.
func (*CollisionShape2D) BaseClass ¶
func (o *CollisionShape2D) BaseClass() string
func (*CollisionShape2D) GetShape ¶
func (o *CollisionShape2D) GetShape() Shape2DImplementer
Undocumented Args: [], Returns: Shape2D
func (*CollisionShape2D) IsDisabled ¶
func (o *CollisionShape2D) IsDisabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*CollisionShape2D) IsOneWayCollisionEnabled ¶
func (o *CollisionShape2D) IsOneWayCollisionEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*CollisionShape2D) SetDisabled ¶
func (o *CollisionShape2D) SetDisabled(disabled gdnative.Bool)
Undocumented Args: [{ false disabled bool}], Returns: void
func (*CollisionShape2D) SetOneWayCollision ¶
func (o *CollisionShape2D) SetOneWayCollision(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*CollisionShape2D) SetShape ¶
func (o *CollisionShape2D) SetShape(shape Shape2DImplementer)
Undocumented Args: [{ false shape Shape2D}], Returns: void
func (*CollisionShape2D) X_ShapeChanged ¶
func (o *CollisionShape2D) X_ShapeChanged()
Undocumented Args: [], Returns: void
type CollisionShape2DImplementer ¶
type CollisionShape2DImplementer interface { Node2DImplementer X_ShapeChanged() GetShape() Shape2DImplementer IsDisabled() gdnative.Bool IsOneWayCollisionEnabled() gdnative.Bool SetDisabled(disabled gdnative.Bool) SetOneWayCollision(enabled gdnative.Bool) SetShape(shape Shape2DImplementer) }
CollisionShape2DImplementer is an interface that implements the methods of the CollisionShape2D class.
type CollisionShapeImplementer ¶
type CollisionShapeImplementer interface { SpatialImplementer GetShape() ShapeImplementer IsDisabled() gdnative.Bool MakeConvexFromBrothers() ResourceChanged(resource ResourceImplementer) SetDisabled(enable gdnative.Bool) SetShape(shape ShapeImplementer) }
CollisionShapeImplementer is an interface that implements the methods of the CollisionShape class.
type ColorPicker ¶
type ColorPicker struct { BoxContainer // contains filtered or unexported fields }
This is a simple color picker Control. It's useful for selecting a color from an RGB/RGBA colorspace.
func (*ColorPicker) AddPreset ¶
func (o *ColorPicker) AddPreset(color gdnative.Color)
Adds the current selected to color to a list of colors (presets), the presets will be displayed in the color picker and the user will be able to select them, notice that the presets list is only for this color picker. Args: [{ false color Color}], Returns: void
func (*ColorPicker) BaseClass ¶
func (o *ColorPicker) BaseClass() string
func (*ColorPicker) GetPickColor ¶
func (o *ColorPicker) GetPickColor() gdnative.Color
Undocumented Args: [], Returns: Color
func (*ColorPicker) IsEditingAlpha ¶
func (o *ColorPicker) IsEditingAlpha() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*ColorPicker) IsRawMode ¶
func (o *ColorPicker) IsRawMode() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*ColorPicker) SetEditAlpha ¶
func (o *ColorPicker) SetEditAlpha(show gdnative.Bool)
Undocumented Args: [{ false show bool}], Returns: void
func (*ColorPicker) SetPickColor ¶
func (o *ColorPicker) SetPickColor(color gdnative.Color)
Undocumented Args: [{ false color Color}], Returns: void
func (*ColorPicker) SetRawMode ¶
func (o *ColorPicker) SetRawMode(mode gdnative.Bool)
Undocumented Args: [{ false mode bool}], Returns: void
func (*ColorPicker) X_AddPresetPressed ¶
func (o *ColorPicker) X_AddPresetPressed()
Undocumented Args: [], Returns: void
func (*ColorPicker) X_HsvDraw ¶
func (o *ColorPicker) X_HsvDraw(arg0 gdnative.Int, arg1 ObjectImplementer)
Undocumented Args: [{ false arg0 int} { false arg1 Object}], Returns: void
func (*ColorPicker) X_HtmlEntered ¶
func (o *ColorPicker) X_HtmlEntered(arg0 gdnative.String)
Undocumented Args: [{ false arg0 String}], Returns: void
func (*ColorPicker) X_PresetInput ¶
func (o *ColorPicker) X_PresetInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
func (*ColorPicker) X_SampleDraw ¶
func (o *ColorPicker) X_SampleDraw()
Undocumented Args: [], Returns: void
func (*ColorPicker) X_ScreenInput ¶
func (o *ColorPicker) X_ScreenInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
func (*ColorPicker) X_ScreenPickPressed ¶
func (o *ColorPicker) X_ScreenPickPressed()
Undocumented Args: [], Returns: void
func (*ColorPicker) X_TextTypeToggled ¶
func (o *ColorPicker) X_TextTypeToggled()
Undocumented Args: [], Returns: void
func (*ColorPicker) X_UpdatePresets ¶
func (o *ColorPicker) X_UpdatePresets()
Undocumented Args: [], Returns: void
func (*ColorPicker) X_UvInput ¶
func (o *ColorPicker) X_UvInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
func (*ColorPicker) X_ValueChanged ¶
func (o *ColorPicker) X_ValueChanged(arg0 gdnative.Real)
Undocumented Args: [{ false arg0 float}], Returns: void
func (*ColorPicker) X_WInput ¶
func (o *ColorPicker) X_WInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
type ColorPickerButton ¶
type ColorPickerButton struct { Button // contains filtered or unexported fields }
Encapsulates a ColorPicker making it accesible by pressing a button, pressing the button will toggle the ColorPicker visibility
func (*ColorPickerButton) BaseClass ¶
func (o *ColorPickerButton) BaseClass() string
func (*ColorPickerButton) GetPickColor ¶
func (o *ColorPickerButton) GetPickColor() gdnative.Color
Undocumented Args: [], Returns: Color
func (*ColorPickerButton) GetPicker ¶
func (o *ColorPickerButton) GetPicker() ColorPickerImplementer
Returns the [code]ColorPicker[/code] that this [code]ColorPickerButton[/code] toggles. Args: [], Returns: ColorPicker
func (*ColorPickerButton) GetPopup ¶
func (o *ColorPickerButton) GetPopup() PopupPanelImplementer
Returns the control's [PopupPanel] which allows you to connect to Popup Signals. This allows you to handle events when the ColorPicker is shown or hidden. Args: [], Returns: PopupPanel
func (*ColorPickerButton) IsEditingAlpha ¶
func (o *ColorPickerButton) IsEditingAlpha() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*ColorPickerButton) SetEditAlpha ¶
func (o *ColorPickerButton) SetEditAlpha(show gdnative.Bool)
Undocumented Args: [{ false show bool}], Returns: void
func (*ColorPickerButton) SetPickColor ¶
func (o *ColorPickerButton) SetPickColor(color gdnative.Color)
Undocumented Args: [{ false color Color}], Returns: void
func (*ColorPickerButton) X_ColorChanged ¶
func (o *ColorPickerButton) X_ColorChanged(arg0 gdnative.Color)
Undocumented Args: [{ false arg0 Color}], Returns: void
type ColorPickerButtonImplementer ¶
type ColorPickerButtonImplementer interface { ButtonImplementer X_ColorChanged(arg0 gdnative.Color) GetPickColor() gdnative.Color GetPicker() ColorPickerImplementer GetPopup() PopupPanelImplementer IsEditingAlpha() gdnative.Bool SetEditAlpha(show gdnative.Bool) SetPickColor(color gdnative.Color) }
ColorPickerButtonImplementer is an interface that implements the methods of the ColorPickerButton class.
type ColorPickerImplementer ¶
type ColorPickerImplementer interface { BoxContainerImplementer X_AddPresetPressed() X_HsvDraw(arg0 gdnative.Int, arg1 ObjectImplementer) X_HtmlEntered(arg0 gdnative.String) X_PresetInput(arg0 InputEventImplementer) X_SampleDraw() X_ScreenInput(arg0 InputEventImplementer) X_ScreenPickPressed() X_TextTypeToggled() X_UpdatePresets() X_UvInput(arg0 InputEventImplementer) X_ValueChanged(arg0 gdnative.Real) X_WInput(arg0 InputEventImplementer) AddPreset(color gdnative.Color) GetPickColor() gdnative.Color IsEditingAlpha() gdnative.Bool IsRawMode() gdnative.Bool SetEditAlpha(show gdnative.Bool) SetPickColor(color gdnative.Color) SetRawMode(mode gdnative.Bool) }
ColorPickerImplementer is an interface that implements the methods of the ColorPicker class.
type ColorRect ¶
type ColorRect struct { Control // contains filtered or unexported fields }
An object that is represented on the canvas as a rect with color. [Color] is used to set or get color info for the rect.
func (*ColorRect) GetFrameColor ¶
Undocumented Args: [], Returns: Color
func (*ColorRect) SetFrameColor ¶
Undocumented Args: [{ false color Color}], Returns: void
type ColorRectImplementer ¶
type ColorRectImplementer interface { ControlImplementer GetFrameColor() gdnative.Color SetFrameColor(color gdnative.Color) }
ColorRectImplementer is an interface that implements the methods of the ColorRect class.
type ConcavePolygonShape ¶
type ConcavePolygonShape struct { Shape // contains filtered or unexported fields }
Concave polygon shape resource, which can be set into a PhysicsBody or area. This shape is created by feeding a list of triangles.
func (*ConcavePolygonShape) BaseClass ¶
func (o *ConcavePolygonShape) BaseClass() string
func (*ConcavePolygonShape) GetFaces ¶
func (o *ConcavePolygonShape) GetFaces() gdnative.PoolVector3Array
Return the faces (an array of triangles). Args: [], Returns: PoolVector3Array
func (*ConcavePolygonShape) SetFaces ¶
func (o *ConcavePolygonShape) SetFaces(faces gdnative.PoolVector3Array)
Set the faces (an array of triangles). Args: [{ false faces PoolVector3Array}], Returns: void
type ConcavePolygonShape2D ¶
type ConcavePolygonShape2D struct { Shape2D // contains filtered or unexported fields }
Concave polygon 2D shape resource for physics. It is made out of segments and is very optimal for complex polygonal concave collisions. It is really not advised to use for RigidBody2D nodes. A CollisionPolygon2D in convex decomposition mode (solids) or several convex objects are advised for that instead. Otherwise, a concave polygon 2D shape is better for static collisions. The main difference between a ConvexPolygonShape2D and a [code]ConcavePolygonShape2D[/code] is that a concave polygon assumes it is concave and uses a more complex method of collision detection, and a convex one forces itself to be convex in order to speed up collision detection.
func (*ConcavePolygonShape2D) BaseClass ¶
func (o *ConcavePolygonShape2D) BaseClass() string
func (*ConcavePolygonShape2D) GetSegments ¶
func (o *ConcavePolygonShape2D) GetSegments() gdnative.PoolVector2Array
Undocumented Args: [], Returns: PoolVector2Array
func (*ConcavePolygonShape2D) SetSegments ¶
func (o *ConcavePolygonShape2D) SetSegments(segments gdnative.PoolVector2Array)
Undocumented Args: [{ false segments PoolVector2Array}], Returns: void
type ConcavePolygonShape2DImplementer ¶
type ConcavePolygonShape2DImplementer interface { Shape2DImplementer GetSegments() gdnative.PoolVector2Array SetSegments(segments gdnative.PoolVector2Array) }
ConcavePolygonShape2DImplementer is an interface that implements the methods of the ConcavePolygonShape2D class.
type ConcavePolygonShapeImplementer ¶
type ConcavePolygonShapeImplementer interface { ShapeImplementer GetFaces() gdnative.PoolVector3Array SetFaces(faces gdnative.PoolVector3Array) }
ConcavePolygonShapeImplementer is an interface that implements the methods of the ConcavePolygonShape class.
type ConeTwistJoint ¶
type ConeTwistJoint struct { Joint // contains filtered or unexported fields }
The joint can rotate the bodies across an axis defined by the local x-axes of the Joint. The twist axis is initiated as the x-axis of the Joint. Once the Bodies swing, the twist axis is calculated as the middle of the x-axes of the Joint in the local space of the two Bodies.
func (*ConeTwistJoint) BaseClass ¶
func (o *ConeTwistJoint) BaseClass() string
func (*ConeTwistJoint) GetParam ¶
func (o *ConeTwistJoint) GetParam(param gdnative.Int) gdnative.Real
Undocumented Args: [{ false param int}], Returns: float
func (*ConeTwistJoint) SetParam ¶
func (o *ConeTwistJoint) SetParam(param gdnative.Int, value gdnative.Real)
Undocumented Args: [{ false param int} { false value float}], Returns: void
func (*ConeTwistJoint) X_GetSwingSpan ¶
func (o *ConeTwistJoint) X_GetSwingSpan() gdnative.Real
Undocumented Args: [], Returns: float
func (*ConeTwistJoint) X_GetTwistSpan ¶
func (o *ConeTwistJoint) X_GetTwistSpan() gdnative.Real
Undocumented Args: [], Returns: float
func (*ConeTwistJoint) X_SetSwingSpan ¶
func (o *ConeTwistJoint) X_SetSwingSpan(swingSpan gdnative.Real)
Undocumented Args: [{ false swing_span float}], Returns: void
func (*ConeTwistJoint) X_SetTwistSpan ¶
func (o *ConeTwistJoint) X_SetTwistSpan(twistSpan gdnative.Real)
Undocumented Args: [{ false twist_span float}], Returns: void
type ConeTwistJointImplementer ¶
type ConeTwistJointImplementer interface { JointImplementer X_GetSwingSpan() gdnative.Real X_GetTwistSpan() gdnative.Real X_SetSwingSpan(swingSpan gdnative.Real) X_SetTwistSpan(twistSpan gdnative.Real) GetParam(param gdnative.Int) gdnative.Real SetParam(param gdnative.Int, value gdnative.Real) }
ConeTwistJointImplementer is an interface that implements the methods of the ConeTwistJoint class.
type ConeTwistJointParam ¶
type ConeTwistJointParam int
ConeTwistJointParam is an enum for Param values.
const ( ConeTwistJointParamBias ConeTwistJointParam = 2 ConeTwistJointParamMax ConeTwistJointParam = 5 ConeTwistJointParamRelaxation ConeTwistJointParam = 4 ConeTwistJointParamSoftness ConeTwistJointParam = 3 ConeTwistJointParamSwingSpan ConeTwistJointParam = 0 ConeTwistJointParamTwistSpan ConeTwistJointParam = 1 )
type ConfigFile ¶
type ConfigFile struct { Reference // contains filtered or unexported fields }
This helper class can be used to store [Variant] values on the filesystem using INI-style formatting. The stored values are identified by a section and a key: [codeblock] [section] some_key=42 string_example="Hello World!" a_vector=Vector3( 1, 0, 2 ) [/codeblock] The stored data can be saved to or parsed from a file, though ConfigFile objects can also be used directly without accessing the filesystem. The following example shows how to parse an INI-style file from the system, read its contents and store new values in it: [codeblock] var config = ConfigFile.new() var err = config.load("user://settings.cfg") if err == OK: # if not, something went wrong with the file loading # Look for the display/width pair, and default to 1024 if missing var screen_width = get_value("display", "width", 1024) # Store a variable if and only if it hasn't been defined yet if not config.has_section_key("audio", "mute"): config.set_value("audio", "mute", false) # Save the changes by overwriting the previous file config.save("user://settings.cfg") [/codeblock]
func (*ConfigFile) BaseClass ¶
func (o *ConfigFile) BaseClass() string
func (*ConfigFile) EraseSection ¶
func (o *ConfigFile) EraseSection(section gdnative.String)
Deletes the specified section along with all the key-value pairs inside. Args: [{ false section String}], Returns: void
func (*ConfigFile) GetSectionKeys ¶
func (o *ConfigFile) GetSectionKeys(section gdnative.String) gdnative.PoolStringArray
Returns an array of all defined key identifiers in the specified section. Args: [{ false section String}], Returns: PoolStringArray
func (*ConfigFile) GetSections ¶
func (o *ConfigFile) GetSections() gdnative.PoolStringArray
Returns an array of all defined section identifiers. Args: [], Returns: PoolStringArray
func (*ConfigFile) GetValue ¶
func (o *ConfigFile) GetValue(section gdnative.String, key gdnative.String, aDefault gdnative.Variant) gdnative.Variant
Returns the current value for the specified section and key. If the section and/or the key do not exist, the method returns the value of the optional [code]default[/code] argument, or [code]null[/code] if it is omitted. Args: [{ false section String} { false key String} {Null true default Variant}], Returns: Variant
func (*ConfigFile) HasSection ¶
func (o *ConfigFile) HasSection(section gdnative.String) gdnative.Bool
Returns [code]true[/code] if the specified section exists. Args: [{ false section String}], Returns: bool
func (*ConfigFile) HasSectionKey ¶
Returns [code]true[/code] if the specified section-key pair exists. Args: [{ false section String} { false key String}], Returns: bool
func (*ConfigFile) Load ¶
func (o *ConfigFile) Load(path gdnative.String) gdnative.Error
Loads the config file specified as a parameter. The file's contents are parsed and loaded in the ConfigFile object which the method was called on. Returns one of the [code]OK[/code], [code]FAILED[/code] or [code]ERR_*[/code] constants listed in [@GlobalScope]. If the load was successful, the return value is [code]OK[/code]. Args: [{ false path String}], Returns: enum.Error
func (*ConfigFile) Save ¶
func (o *ConfigFile) Save(path gdnative.String) gdnative.Error
Saves the contents of the ConfigFile object to the file specified as a parameter. The output file uses an INI-style structure. Returns one of the [code]OK[/code], [code]FAILED[/code] or [code]ERR_*[/code] constants listed in [@GlobalScope]. If the load was successful, the return value is [code]OK[/code]. Args: [{ false path String}], Returns: enum.Error
func (*ConfigFile) SetValue ¶
Assigns a value to the specified key of the the specified section. If the section and/or the key do not exist, they are created. Passing a [code]null[/code] value deletes the specified key if it exists, and deletes the section if it ends up empty once the key has been removed. Args: [{ false section String} { false key String} { false value Variant}], Returns: void
type ConfigFileImplementer ¶
type ConfigFileImplementer interface { ReferenceImplementer EraseSection(section gdnative.String) GetSectionKeys(section gdnative.String) gdnative.PoolStringArray GetSections() gdnative.PoolStringArray GetValue(section gdnative.String, key gdnative.String, aDefault gdnative.Variant) gdnative.Variant HasSection(section gdnative.String) gdnative.Bool HasSectionKey(section gdnative.String, key gdnative.String) gdnative.Bool SetValue(section gdnative.String, key gdnative.String, value gdnative.Variant) }
ConfigFileImplementer is an interface that implements the methods of the ConfigFile class.
type ConfirmationDialog ¶
type ConfirmationDialog struct { AcceptDialog // contains filtered or unexported fields }
Dialog for confirmation of actions. This dialog inherits from AcceptDialog, but has by default an OK and Cancel button (in host OS order).
func (*ConfirmationDialog) BaseClass ¶
func (o *ConfirmationDialog) BaseClass() string
func (*ConfirmationDialog) GetCancel ¶
func (o *ConfirmationDialog) GetCancel() ButtonImplementer
Return the cancel button. Args: [], Returns: Button
type ConfirmationDialogImplementer ¶
type ConfirmationDialogImplementer interface { AcceptDialogImplementer GetCancel() ButtonImplementer }
ConfirmationDialogImplementer is an interface that implements the methods of the ConfirmationDialog class.
type Container ¶
type Container struct { Control // contains filtered or unexported fields }
Base node for containers. A [code]Container[/code] contains other controls and automatically arranges them in a certain way. A Control can inherit this to create custom container classes.
func (*Container) FitChildInRect ¶
func (o *Container) FitChildInRect(child ObjectImplementer, rect gdnative.Rect2)
Fit a child control in a given rect. This is mainly a helper for creating custom container classes. Args: [{ false child Object} { false rect Rect2}], Returns: void
func (*Container) QueueSort ¶
func (o *Container) QueueSort()
Queue resort of the contained children. This is called automatically anyway, but can be called upon request. Args: [], Returns: void
func (*Container) X_ChildMinsizeChanged ¶
func (o *Container) X_ChildMinsizeChanged()
Undocumented Args: [], Returns: void
func (*Container) X_SortChildren ¶
func (o *Container) X_SortChildren()
Undocumented Args: [], Returns: void
type ContainerImplementer ¶
type ContainerImplementer interface { ControlImplementer X_ChildMinsizeChanged() X_SortChildren() FitChildInRect(child ObjectImplementer, rect gdnative.Rect2) QueueSort() }
ContainerImplementer is an interface that implements the methods of the Container class.
type Control ¶
type Control struct { CanvasItem // contains filtered or unexported fields }
Base class for all User Interface or [i]UI[/i] related nodes. [code]Control[/code] features a bounding rectangle that defines its extents, an anchor position relative to its parent and margins that represent an offset to the anchor. The margins update automatically when the node, any of its parents, or the screen size change. For more information on Godot's UI system, anchors, margins, and containers, see the related tutorials in the manual. To build flexible UIs, you'll need a mix of UI elements that inherit from [code]Control[/code] and Container nodes. [b]User Interface nodes and input[/b] Godot sends input events to the scene's root node first, by calling [method Node._input]. [method Node._input] forwards the event down the node tree to the nodes under the mouse cursor, or on keyboard focus. To do so, it calls [method MainLoop._input_event]. Call [method accept_event] so no other node receives the event. Once you accepted an input, it becomes handled so [method Node._unhandled_input] will not process it. Only one [code]Control[/code] node can be in keyboard focus. Only the node in focus will receive keyboard events. To get the focus, call [method grab_focus]. [code]Control[/code] nodes lose focus when another node grabs it, or if you hide the node in focus. Set [member mouse_filter] to MOUSE_FILTER_IGNORE to tell a [code]Control[/code] node to ignore mouse or touch events. You'll need it if you place an icon on top of a button. Theme resources change the Control's appearance. If you change the Theme on a [code]Control[/code] node, it affects all of its children. To override some of the theme's parameters, call one of the [code]add_*_override[/code] methods, like [method add_font_override]. You can override the theme with the inspector.
func (*Control) AcceptEvent ¶
func (o *Control) AcceptEvent()
Marks an input event as handled. Once you accept an input event, it stops propagating, even to nodes listening to [method Node._unhandled_input] or [method Node._unhandled_key_input]. Args: [], Returns: void
func (*Control) AddColorOverride ¶
Overrides the color in the [theme] resource the node uses. Args: [{ false name String} { false color Color}], Returns: void
func (*Control) AddConstantOverride ¶
Overrides an integer constant in the [Theme] resource the node uses. If the [code]constant[/code] is invalid, Godot clears the override. See [member Theme.INVALID_CONSTANT] for more information. Args: [{ false name String} { false constant int}], Returns: void
func (*Control) AddFontOverride ¶
func (o *Control) AddFontOverride(name gdnative.String, font FontImplementer)
Overrides the [code]name[/code] font in the [theme] resource the node uses. If [code]font[/code] is empty, Godot clears the override. Args: [{ false name String} { false font Font}], Returns: void
func (*Control) AddIconOverride ¶
func (o *Control) AddIconOverride(name gdnative.String, texture TextureImplementer)
Overrides the [code]name[/code] icon in the [theme] resource the node uses. If [code]icon[/code] is empty, Godot clears the override. Args: [{ false name String} { false texture Texture}], Returns: void
func (*Control) AddShaderOverride ¶
func (o *Control) AddShaderOverride(name gdnative.String, shader ShaderImplementer)
Overrides the [code]name[/code] shader in the [theme] resource the node uses. If [code]shader[/code] is empty, Godot clears the override. Args: [{ false name String} { false shader Shader}], Returns: void
func (*Control) AddStyleboxOverride ¶
func (o *Control) AddStyleboxOverride(name gdnative.String, stylebox StyleBoxImplementer)
Overrides the [code]name[/code] [Stylebox] in the [theme] resource the node uses. If [code]stylebox[/code] is empty, Godot clears the override. Args: [{ false name String} { false stylebox StyleBox}], Returns: void
func (*Control) CanDropData ¶
Godot calls this method to test if [code]data[/code] from a control's [method get_drag_data] can be dropped at [code]position[/code]. [code]position[/code] is local to this control. This method should only be used to test the data. Process the data in [method drop_data]. [codeblock] extends Control func can_drop_data(position, data): # check position if it is relevant to you # otherwise just check data return typeof(data) == TYPE_DICTIONARY and data.has('expected') [/codeblock] Args: [{ false position Vector2} { false data Variant}], Returns: bool
func (*Control) DropData ¶
Godot calls this method to pass you the [code]data[/code] from a control's [method get_drag_data] result. Godot first calls [method can_drop_data] to test if [code]data[/code] is allowed to drop at [code]position[/code] where [code]position[/code] is local to this control. [codeblock] extends ColorRect func can_drop_data(position, data): return typeof(data) == TYPE_DICTIONARY and data.has('color') func drop_data(position, data): color = data['color'] [/codeblock] Args: [{ false position Vector2} { false data Variant}], Returns: void
func (*Control) ForceDrag ¶
func (o *Control) ForceDrag(data gdnative.Variant, preview ObjectImplementer)
Forces drag and bypasses [method get_drag_data] and [method set_drag_preview] by passing [code]data[/code] and [code]preview[/code]. Drag will start even if the mouse is neither over nor pressed on this control. The methods [method can_drop_data] and [method drop_data] must be implemented on controls that want to recieve drop data. Args: [{ false data Variant} { false preview Object}], Returns: void
func (*Control) GetCombinedMinimumSize ¶
Args: [], Returns: Vector2
func (*Control) GetConstant ¶
Args: [{ false name String} { true type String}], Returns: int
func (*Control) GetCursorShape ¶
func (o *Control) GetCursorShape(position gdnative.Vector2) ControlCursorShape
Returns the mouse cursor shape the control displays on mouse hover, one of the [code]CURSOR_*[/code] constants. Args: [{(0, 0) true position Vector2}], Returns: enum.Control::CursorShape
func (*Control) GetCustomMinimumSize ¶
Undocumented Args: [], Returns: Vector2
func (*Control) GetDefaultCursorShape ¶
func (o *Control) GetDefaultCursorShape() ControlCursorShape
Undocumented Args: [], Returns: enum.Control::CursorShape
func (*Control) GetDragData ¶
func (o *Control) GetDragData(position gdnative.Vector2) ObjectImplementer
Godot calls this method to get data that can be dragged and dropped onto controls that expect drop data. Return null if there is no data to drag. Controls that want to recieve drop data should implement [method can_drop_data] and [method drop_data]. [code]position[/code] is local to this control. Drag may be forced with [method force_drag]. A preview that will follow the mouse that should represent the data can be set with [method set_drag_preview]. A good time to set the preview is in this method. [codeblock] extends Control func get_drag_data(position): var mydata = make_data() set_drag_preview(make_preview(mydata)) return mydata [/codeblock] Args: [{ false position Vector2}], Returns: Object
func (*Control) GetEnd ¶
Returns MARGIN_LEFT and MARGIN_TOP at the same time. This is a helper (see [method set_margin]). Args: [], Returns: Vector2
func (*Control) GetFocusMode ¶
func (o *Control) GetFocusMode() ControlFocusMode
Undocumented Args: [], Returns: enum.Control::FocusMode
func (*Control) GetFocusNeighbour ¶
Undocumented Args: [{ false margin int}], Returns: NodePath
func (*Control) GetFocusNext ¶
Undocumented Args: [], Returns: NodePath
func (*Control) GetFocusOwner ¶
func (o *Control) GetFocusOwner() ControlImplementer
Return which control is owning the keyboard focus, or null if no one. Args: [], Returns: Control
func (*Control) GetFocusPrevious ¶
Undocumented Args: [], Returns: NodePath
func (*Control) GetGlobalPosition ¶
Undocumented Args: [], Returns: Vector2
func (*Control) GetGlobalRect ¶
Return position and size of the Control, relative to the top-left corner of the [i]window[/i] Control. This is a helper (see [method get_global_position], [method get_size]). Args: [], Returns: Rect2
func (*Control) GetHGrowDirection ¶
func (o *Control) GetHGrowDirection() ControlGrowDirection
Undocumented Args: [], Returns: enum.Control::GrowDirection
func (*Control) GetHSizeFlags ¶
Undocumented Args: [], Returns: int
func (*Control) GetMinimumSize ¶
Return the minimum size this Control can shrink to. A control will never be displayed or resized smaller than its minimum size. Args: [], Returns: Vector2
func (*Control) GetMouseFilter ¶
func (o *Control) GetMouseFilter() ControlMouseFilter
Undocumented Args: [], Returns: enum.Control::MouseFilter
func (*Control) GetParentAreaSize ¶
Args: [], Returns: Vector2
func (*Control) GetParentControl ¶
func (o *Control) GetParentControl() ControlImplementer
Args: [], Returns: Control
func (*Control) GetPivotOffset ¶
Undocumented Args: [], Returns: Vector2
func (*Control) GetPosition ¶
Undocumented Args: [], Returns: Vector2
func (*Control) GetRect ¶
Return position and size of the Control, relative to the top-left corner of the parent Control. This is a helper (see [method get_position], [method get_size]). Args: [], Returns: Rect2
func (*Control) GetRotation ¶
Return the rotation (in radians) Args: [], Returns: float
func (*Control) GetRotationDegrees ¶
Undocumented Args: [], Returns: float
func (*Control) GetStretchRatio ¶
Undocumented Args: [], Returns: float
func (*Control) GetStylebox ¶
Args: [{ false name String} { true type String}], Returns: StyleBox
func (*Control) GetTheme ¶
func (o *Control) GetTheme() ThemeImplementer
Undocumented Args: [], Returns: Theme
func (*Control) GetTooltip ¶
Return the tooltip, which will appear when the cursor is resting over this control. Args: [{(0, 0) true at_position Vector2}], Returns: String
func (*Control) GetVGrowDirection ¶
func (o *Control) GetVGrowDirection() ControlGrowDirection
Undocumented Args: [], Returns: enum.Control::GrowDirection
func (*Control) GetVSizeFlags ¶
Undocumented Args: [], Returns: int
func (*Control) GrabFocus ¶
func (o *Control) GrabFocus()
Steal the focus from another control and become the focused control (see [method set_focus_mode]). Args: [], Returns: void
func (*Control) HasColorOverride ¶
Args: [{ false name String}], Returns: bool
func (*Control) HasConstant ¶
Args: [{ false name String} { true type String}], Returns: bool
func (*Control) HasConstantOverride ¶
Args: [{ false name String}], Returns: bool
func (*Control) HasFocus ¶
Return whether the Control is the current focused control (see [method set_focus_mode]). Args: [], Returns: bool
func (*Control) HasFontOverride ¶
Args: [{ false name String}], Returns: bool
func (*Control) HasIconOverride ¶
Args: [{ false name String}], Returns: bool
func (*Control) HasShaderOverride ¶
Args: [{ false name String}], Returns: bool
func (*Control) HasStylebox ¶
Args: [{ false name String} { true type String}], Returns: bool
func (*Control) HasStyleboxOverride ¶
Args: [{ false name String}], Returns: bool
func (*Control) IsClippingContents ¶
Undocumented Args: [], Returns: bool
func (*Control) MinimumSizeChanged ¶
func (o *Control) MinimumSizeChanged()
Args: [], Returns: void
func (*Control) ReleaseFocus ¶
func (o *Control) ReleaseFocus()
Give up the focus, no other control will be able to receive keyboard input. Args: [], Returns: void
func (*Control) SetAnchor ¶
func (o *Control) SetAnchor(margin gdnative.Int, anchor gdnative.Real, keepMargin gdnative.Bool, pushOppositeAnchor gdnative.Bool)
Args: [{ false margin int} { false anchor float} {False true keep_margin bool} {True true push_opposite_anchor bool}], Returns: void
func (*Control) SetAnchorAndMargin ¶
func (o *Control) SetAnchorAndMargin(margin gdnative.Int, anchor gdnative.Real, offset gdnative.Real, pushOppositeAnchor gdnative.Bool)
Args: [{ false margin int} { false anchor float} { false offset float} {False true push_opposite_anchor bool}], Returns: void
func (*Control) SetAnchorsAndMarginsPreset ¶
func (o *Control) SetAnchorsAndMarginsPreset(preset gdnative.Int, resizeMode gdnative.Int, margin gdnative.Int)
Args: [{ false preset int} {0 true resize_mode int} {0 true margin int}], Returns: void
func (*Control) SetAnchorsPreset ¶
Args: [{ false preset int} {False true keep_margin bool}], Returns: void
func (*Control) SetBegin ¶
Sets MARGIN_LEFT and MARGIN_TOP at the same time. This is a helper (see [method set_margin]). Args: [{ false position Vector2}], Returns: void
func (*Control) SetClipContents ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Control) SetCustomMinimumSize ¶
Undocumented Args: [{ false size Vector2}], Returns: void
func (*Control) SetDefaultCursorShape ¶
Undocumented Args: [{ false shape int}], Returns: void
func (*Control) SetDragForwarding ¶
func (o *Control) SetDragForwarding(target ObjectImplementer)
Forwards the handling of this control's drag and drop to [code]target[/code] control. Forwarding can be implemented in the target control similar to the methods [method get_drag_data], [method can_drop_data], and [method drop_data] but with two differences: 1. The function name must be suffixed with [b]_fw[/b] 2. The function must take an extra argument that is the control doing the forwarding [codeblock] # ThisControl.gd extends Control func _ready(): set_drag_forwarding(target_control) # TargetControl.gd extends Control func can_drop_data_fw(position, data, from_control): return true func drop_data_fw(position, data, from_control): my_handle_data(data) func get_drag_data_fw(position, from_control): set_drag_preview(my_preview) return my_data() [/codeblock] Args: [{ false target Object}], Returns: void
func (*Control) SetDragPreview ¶
func (o *Control) SetDragPreview(control ObjectImplementer)
Shows the given control at the mouse pointer. A good time to call this method is in [method get_drag_data]. Args: [{ false control Object}], Returns: void
func (*Control) SetEnd ¶
Sets MARGIN_RIGHT and MARGIN_BOTTOM at the same time. This is a helper (see [method set_margin]). Args: [{ false position Vector2}], Returns: void
func (*Control) SetFocusMode ¶
Undocumented Args: [{ false mode int}], Returns: void
func (*Control) SetFocusNeighbour ¶
Undocumented Args: [{ false margin int} { false neighbour NodePath}], Returns: void
func (*Control) SetFocusNext ¶
Undocumented Args: [{ false next NodePath}], Returns: void
func (*Control) SetFocusPrevious ¶
Undocumented Args: [{ false previous NodePath}], Returns: void
func (*Control) SetGlobalPosition ¶
Undocumented Args: [{ false position Vector2}], Returns: void
func (*Control) SetHGrowDirection ¶
Undocumented Args: [{ false direction int}], Returns: void
func (*Control) SetHSizeFlags ¶
Undocumented Args: [{ false flags int}], Returns: void
func (*Control) SetMargin ¶
Undocumented Args: [{ false margin int} { false offset float}], Returns: void
func (*Control) SetMarginsPreset ¶
func (o *Control) SetMarginsPreset(preset gdnative.Int, resizeMode gdnative.Int, margin gdnative.Int)
Args: [{ false preset int} {0 true resize_mode int} {0 true margin int}], Returns: void
func (*Control) SetMouseFilter ¶
Undocumented Args: [{ false filter int}], Returns: void
func (*Control) SetPivotOffset ¶
Undocumented Args: [{ false pivot_offset Vector2}], Returns: void
func (*Control) SetPosition ¶
Undocumented Args: [{ false position Vector2}], Returns: void
func (*Control) SetRotation ¶
Set the rotation (in radians). Args: [{ false radians float}], Returns: void
func (*Control) SetRotationDegrees ¶
Undocumented Args: [{ false degrees float}], Returns: void
func (*Control) SetStretchRatio ¶
Undocumented Args: [{ false ratio float}], Returns: void
func (*Control) SetTheme ¶
func (o *Control) SetTheme(theme ThemeImplementer)
Undocumented Args: [{ false theme Theme}], Returns: void
func (*Control) SetTooltip ¶
Undocumented Args: [{ false tooltip String}], Returns: void
func (*Control) SetVGrowDirection ¶
Undocumented Args: [{ false direction int}], Returns: void
func (*Control) SetVSizeFlags ¶
Undocumented Args: [{ false flags int}], Returns: void
func (*Control) ShowModal ¶
Display a Control as modal. Control must be a subwindow. Modal controls capture the input signals until closed or the area outside them is accessed. When a modal control loses focus, or the ESC key is pressed, they automatically hide. Modal controls are used extensively for popup dialogs and menus. Args: [{False true exclusive bool}], Returns: void
func (*Control) X_FontChanged ¶
func (o *Control) X_FontChanged()
Undocumented Args: [], Returns: void
func (*Control) X_GetMinimumSize ¶
Returns the minimum size this Control can shrink to. The node can never be smaller than this minimum size. Args: [], Returns: Vector2
func (*Control) X_GetTooltip ¶
Undocumented Args: [], Returns: String
func (*Control) X_GuiInput ¶
func (o *Control) X_GuiInput(event InputEventImplementer)
The node's parent forwards input events to this method. Use it to process and accept inputs on UI elements. See [method accept_event]. Replaces Godot 2's [code]_input_event[/code]. Args: [{ false event InputEvent}], Returns: void
func (*Control) X_SetAnchor ¶
Undocumented Args: [{ false margin int} { false anchor float}], Returns: void
func (*Control) X_SizeChanged ¶
func (o *Control) X_SizeChanged()
Undocumented Args: [], Returns: void
func (*Control) X_ThemeChanged ¶
func (o *Control) X_ThemeChanged()
Undocumented Args: [], Returns: void
func (*Control) X_UpdateMinimumSize ¶
func (o *Control) X_UpdateMinimumSize()
Undocumented Args: [], Returns: void
type ControlAnchor ¶
type ControlAnchor int
ControlAnchor is an enum for Anchor values.
const ( ControlAnchorBegin ControlAnchor = 0 ControlAnchorEnd ControlAnchor = 1 )
type ControlCursorShape ¶
type ControlCursorShape int
ControlCursorShape is an enum for CursorShape values.
const ( ControlCursorArrow ControlCursorShape = 0 ControlCursorBdiagsize ControlCursorShape = 11 ControlCursorBusy ControlCursorShape = 5 ControlCursorCanDrop ControlCursorShape = 7 ControlCursorCross ControlCursorShape = 3 ControlCursorDrag ControlCursorShape = 6 ControlCursorFdiagsize ControlCursorShape = 12 ControlCursorForbidden ControlCursorShape = 8 ControlCursorHelp ControlCursorShape = 16 ControlCursorHsize ControlCursorShape = 10 ControlCursorHsplit ControlCursorShape = 15 ControlCursorIbeam ControlCursorShape = 1 ControlCursorMove ControlCursorShape = 13 ControlCursorPointingHand ControlCursorShape = 2 ControlCursorVsize ControlCursorShape = 9 ControlCursorVsplit ControlCursorShape = 14 ControlCursorWait ControlCursorShape = 4 )
type ControlFocusMode ¶
type ControlFocusMode int
ControlFocusMode is an enum for FocusMode values.
const ( ControlFocusAll ControlFocusMode = 2 ControlFocusClick ControlFocusMode = 1 ControlFocusNone ControlFocusMode = 0 )
type ControlGrowDirection ¶
type ControlGrowDirection int
ControlGrowDirection is an enum for GrowDirection values.
const ( ControlGrowDirectionBegin ControlGrowDirection = 0 ControlGrowDirectionEnd ControlGrowDirection = 1 )
type ControlImplementer ¶
type ControlImplementer interface { CanvasItemImplementer X_FontChanged() X_GetMinimumSize() gdnative.Vector2 X_GetTooltip() gdnative.String X_GuiInput(event InputEventImplementer) X_SetAnchor(margin gdnative.Int, anchor gdnative.Real) X_SizeChanged() X_ThemeChanged() X_UpdateMinimumSize() AcceptEvent() AddColorOverride(name gdnative.String, color gdnative.Color) AddConstantOverride(name gdnative.String, constant gdnative.Int) AddFontOverride(name gdnative.String, font FontImplementer) AddIconOverride(name gdnative.String, texture TextureImplementer) AddShaderOverride(name gdnative.String, shader ShaderImplementer) AddStyleboxOverride(name gdnative.String, stylebox StyleBoxImplementer) CanDropData(position gdnative.Vector2, data gdnative.Variant) gdnative.Bool DropData(position gdnative.Vector2, data gdnative.Variant) ForceDrag(data gdnative.Variant, preview ObjectImplementer) GetAnchor(margin gdnative.Int) gdnative.Real GetBegin() gdnative.Vector2 GetColor(name gdnative.String, aType gdnative.String) gdnative.Color GetCombinedMinimumSize() gdnative.Vector2 GetConstant(name gdnative.String, aType gdnative.String) gdnative.Int GetCustomMinimumSize() gdnative.Vector2 GetDragData(position gdnative.Vector2) ObjectImplementer GetEnd() gdnative.Vector2 GetFocusNeighbour(margin gdnative.Int) gdnative.NodePath GetFocusNext() gdnative.NodePath GetFocusOwner() ControlImplementer GetFocusPrevious() gdnative.NodePath GetFont(name gdnative.String, aType gdnative.String) FontImplementer GetGlobalPosition() gdnative.Vector2 GetGlobalRect() gdnative.Rect2 GetHSizeFlags() gdnative.Int GetIcon(name gdnative.String, aType gdnative.String) TextureImplementer GetMargin(margin gdnative.Int) gdnative.Real GetMinimumSize() gdnative.Vector2 GetParentAreaSize() gdnative.Vector2 GetParentControl() ControlImplementer GetPivotOffset() gdnative.Vector2 GetPosition() gdnative.Vector2 GetRect() gdnative.Rect2 GetRotation() gdnative.Real GetRotationDegrees() gdnative.Real GetScale() gdnative.Vector2 GetSize() gdnative.Vector2 GetStretchRatio() gdnative.Real GetStylebox(name gdnative.String, aType gdnative.String) StyleBoxImplementer GetTheme() ThemeImplementer GetTooltip(atPosition gdnative.Vector2) gdnative.String GetVSizeFlags() gdnative.Int GrabClickFocus() GrabFocus() HasColor(name gdnative.String, aType gdnative.String) gdnative.Bool HasColorOverride(name gdnative.String) gdnative.Bool HasConstant(name gdnative.String, aType gdnative.String) gdnative.Bool HasConstantOverride(name gdnative.String) gdnative.Bool HasFocus() gdnative.Bool HasFont(name gdnative.String, aType gdnative.String) gdnative.Bool HasFontOverride(name gdnative.String) gdnative.Bool HasIcon(name gdnative.String, aType gdnative.String) gdnative.Bool HasIconOverride(name gdnative.String) gdnative.Bool HasPoint(point gdnative.Vector2) gdnative.Bool HasShaderOverride(name gdnative.String) gdnative.Bool HasStylebox(name gdnative.String, aType gdnative.String) gdnative.Bool HasStyleboxOverride(name gdnative.String) gdnative.Bool IsClippingContents() gdnative.Bool MinimumSizeChanged() ReleaseFocus() SetAnchor(margin gdnative.Int, anchor gdnative.Real, keepMargin gdnative.Bool, pushOppositeAnchor gdnative.Bool) SetAnchorAndMargin(margin gdnative.Int, anchor gdnative.Real, offset gdnative.Real, pushOppositeAnchor gdnative.Bool) SetAnchorsAndMarginsPreset(preset gdnative.Int, resizeMode gdnative.Int, margin gdnative.Int) SetAnchorsPreset(preset gdnative.Int, keepMargin gdnative.Bool) SetBegin(position gdnative.Vector2) SetClipContents(enable gdnative.Bool) SetCustomMinimumSize(size gdnative.Vector2) SetDefaultCursorShape(shape gdnative.Int) SetDragForwarding(target ObjectImplementer) SetDragPreview(control ObjectImplementer) SetEnd(position gdnative.Vector2) SetFocusMode(mode gdnative.Int) SetFocusNeighbour(margin gdnative.Int, neighbour gdnative.NodePath) SetFocusNext(next gdnative.NodePath) SetFocusPrevious(previous gdnative.NodePath) SetGlobalPosition(position gdnative.Vector2) SetHGrowDirection(direction gdnative.Int) SetHSizeFlags(flags gdnative.Int) SetMargin(margin gdnative.Int, offset gdnative.Real) SetMarginsPreset(preset gdnative.Int, resizeMode gdnative.Int, margin gdnative.Int) SetMouseFilter(filter gdnative.Int) SetPivotOffset(pivotOffset gdnative.Vector2) SetPosition(position gdnative.Vector2) SetRotation(radians gdnative.Real) SetRotationDegrees(degrees gdnative.Real) SetScale(scale gdnative.Vector2) SetSize(size gdnative.Vector2) SetStretchRatio(ratio gdnative.Real) SetTheme(theme ThemeImplementer) SetTooltip(tooltip gdnative.String) SetVGrowDirection(direction gdnative.Int) SetVSizeFlags(flags gdnative.Int) ShowModal(exclusive gdnative.Bool) WarpMouse(toPosition gdnative.Vector2) }
ControlImplementer is an interface that implements the methods of the Control class.
type ControlLayoutPreset ¶
type ControlLayoutPreset int
ControlLayoutPreset is an enum for LayoutPreset values.
const ( ControlPresetBottomLeft ControlLayoutPreset = 2 ControlPresetBottomRight ControlLayoutPreset = 3 ControlPresetBottomWide ControlLayoutPreset = 12 ControlPresetCenter ControlLayoutPreset = 8 ControlPresetCenterBottom ControlLayoutPreset = 7 ControlPresetCenterLeft ControlLayoutPreset = 4 ControlPresetCenterRight ControlLayoutPreset = 6 ControlPresetCenterTop ControlLayoutPreset = 5 ControlPresetHcenterWide ControlLayoutPreset = 14 ControlPresetLeftWide ControlLayoutPreset = 9 ControlPresetRightWide ControlLayoutPreset = 11 ControlPresetTopLeft ControlLayoutPreset = 0 ControlPresetTopRight ControlLayoutPreset = 1 ControlPresetTopWide ControlLayoutPreset = 10 ControlPresetVcenterWide ControlLayoutPreset = 13 ControlPresetWide ControlLayoutPreset = 15 )
type ControlLayoutPresetMode ¶
type ControlLayoutPresetMode int
ControlLayoutPresetMode is an enum for LayoutPresetMode values.
const ( ControlPresetModeKeepHeight ControlLayoutPresetMode = 2 ControlPresetModeKeepSize ControlLayoutPresetMode = 3 ControlPresetModeKeepWidth ControlLayoutPresetMode = 1 ControlPresetModeMinsize ControlLayoutPresetMode = 0 )
type ControlMouseFilter ¶
type ControlMouseFilter int
ControlMouseFilter is an enum for MouseFilter values.
const ( ControlMouseFilterIgnore ControlMouseFilter = 2 ControlMouseFilterPass ControlMouseFilter = 1 ControlMouseFilterStop ControlMouseFilter = 0 )
type ControlSizeFlags ¶
type ControlSizeFlags int
ControlSizeFlags is an enum for SizeFlags values.
const ( ControlSizeExpand ControlSizeFlags = 2 ControlSizeExpandFill ControlSizeFlags = 3 ControlSizeFill ControlSizeFlags = 1 ControlSizeShrinkCenter ControlSizeFlags = 4 ControlSizeShrinkEnd ControlSizeFlags = 8 )
type ConvexPolygonShape ¶
type ConvexPolygonShape struct { Shape // contains filtered or unexported fields }
Convex polygon shape resource, which can be added to a PhysicsBody or area.
func (*ConvexPolygonShape) BaseClass ¶
func (o *ConvexPolygonShape) BaseClass() string
func (*ConvexPolygonShape) GetPoints ¶
func (o *ConvexPolygonShape) GetPoints() gdnative.PoolVector3Array
Undocumented Args: [], Returns: PoolVector3Array
func (*ConvexPolygonShape) SetPoints ¶
func (o *ConvexPolygonShape) SetPoints(points gdnative.PoolVector3Array)
Undocumented Args: [{ false points PoolVector3Array}], Returns: void
type ConvexPolygonShape2D ¶
type ConvexPolygonShape2D struct { Shape2D // contains filtered or unexported fields }
Convex Polygon Shape for 2D physics. A convex polygon, whatever its shape, is internally decomposed into as many convex polygons as needed to ensure all collision checks against it are always done on convex polygons (which are faster to check). The main difference between a [code]ConvexPolygonShape2D[/code] and a ConcavePolygonShape2D is that a concave polygon assumes it is concave and uses a more complex method of collision detection, and a convex one forces itself to be convex in order to speed up collision detection.
func (*ConvexPolygonShape2D) BaseClass ¶
func (o *ConvexPolygonShape2D) BaseClass() string
func (*ConvexPolygonShape2D) GetPoints ¶
func (o *ConvexPolygonShape2D) GetPoints() gdnative.PoolVector2Array
Undocumented Args: [], Returns: PoolVector2Array
func (*ConvexPolygonShape2D) SetPointCloud ¶
func (o *ConvexPolygonShape2D) SetPointCloud(pointCloud gdnative.PoolVector2Array)
Currently, this method does nothing. Args: [{ false point_cloud PoolVector2Array}], Returns: void
func (*ConvexPolygonShape2D) SetPoints ¶
func (o *ConvexPolygonShape2D) SetPoints(points gdnative.PoolVector2Array)
Undocumented Args: [{ false points PoolVector2Array}], Returns: void
type ConvexPolygonShape2DImplementer ¶
type ConvexPolygonShape2DImplementer interface { Shape2DImplementer GetPoints() gdnative.PoolVector2Array SetPointCloud(pointCloud gdnative.PoolVector2Array) SetPoints(points gdnative.PoolVector2Array) }
ConvexPolygonShape2DImplementer is an interface that implements the methods of the ConvexPolygonShape2D class.
type ConvexPolygonShapeImplementer ¶
type ConvexPolygonShapeImplementer interface { ShapeImplementer GetPoints() gdnative.PoolVector3Array SetPoints(points gdnative.PoolVector3Array) }
ConvexPolygonShapeImplementer is an interface that implements the methods of the ConvexPolygonShape class.
type CubeMap ¶
type CubeMap struct { Resource // contains filtered or unexported fields }
A 6-sided 3D texture typically used for faking reflections. It can be used to make an object look as if it's reflecting its surroundings. This usually delivers much better performance than other reflection methods.
func (*CubeMap) GetLossyStorageQuality ¶
Undocumented Args: [], Returns: float
func (*CubeMap) GetSide ¶
func (o *CubeMap) GetSide(side gdnative.Int) ImageImplementer
Returns an [Image] for a side of the [code]CubeMap[/code] using one of the [code]SIDE_*[/code] constants or an integer 0-5. Args: [{ false side int}], Returns: Image
func (*CubeMap) GetStorage ¶
func (o *CubeMap) GetStorage() CubeMapStorage
Undocumented Args: [], Returns: enum.CubeMap::Storage
func (*CubeMap) SetLossyStorageQuality ¶
Undocumented Args: [{ false quality float}], Returns: void
func (*CubeMap) SetSide ¶
func (o *CubeMap) SetSide(side gdnative.Int, image ImageImplementer)
Sets an [Image] for a side of the [code]CubeMap[/code] using one of the [code]SIDE_*[/code] constants or an integer 0-5. Args: [{ false side int} { false image Image}], Returns: void
func (*CubeMap) SetStorage ¶
Undocumented Args: [{ false mode int}], Returns: void
type CubeMapFlags ¶
type CubeMapFlags int
CubeMapFlags is an enum for Flags values.
const ( CubeMapFlagsDefault CubeMapFlags = 7 CubeMapFlagFilter CubeMapFlags = 4 CubeMapFlagMipmaps CubeMapFlags = 1 CubeMapFlagRepeat CubeMapFlags = 2 )
type CubeMapImplementer ¶
type CubeMapImplementer interface { ResourceImplementer GetFlags() gdnative.Int GetHeight() gdnative.Int GetLossyStorageQuality() gdnative.Real GetSide(side gdnative.Int) ImageImplementer GetWidth() gdnative.Int SetFlags(flags gdnative.Int) SetLossyStorageQuality(quality gdnative.Real) SetSide(side gdnative.Int, image ImageImplementer) SetStorage(mode gdnative.Int) }
CubeMapImplementer is an interface that implements the methods of the CubeMap class.
type CubeMapSide ¶
type CubeMapSide int
CubeMapSide is an enum for Side values.
const ( CubeMapSideBack CubeMapSide = 5 CubeMapSideBottom CubeMapSide = 2 CubeMapSideFront CubeMapSide = 4 CubeMapSideLeft CubeMapSide = 0 CubeMapSideRight CubeMapSide = 1 CubeMapSideTop CubeMapSide = 3 )
type CubeMapStorage ¶
type CubeMapStorage int
CubeMapStorage is an enum for Storage values.
const ( CubeMapStorageCompressLossless CubeMapStorage = 2 CubeMapStorageCompressLossy CubeMapStorage = 1 CubeMapStorageRaw CubeMapStorage = 0 )
type CubeMesh ¶
type CubeMesh struct { PrimitiveMesh // contains filtered or unexported fields }
Generate an axis-aligned cuboid PrimitiveMesh.
func (*CubeMesh) GetSubdivideDepth ¶
Undocumented Args: [], Returns: int
func (*CubeMesh) GetSubdivideHeight ¶
Undocumented Args: [], Returns: int
func (*CubeMesh) GetSubdivideWidth ¶
Undocumented Args: [], Returns: int
func (*CubeMesh) SetSubdivideDepth ¶
Undocumented Args: [{ false divisions int}], Returns: void
func (*CubeMesh) SetSubdivideHeight ¶
Undocumented Args: [{ false divisions int}], Returns: void
func (*CubeMesh) SetSubdivideWidth ¶
Undocumented Args: [{ false subdivide int}], Returns: void
type CubeMeshImplementer ¶
type CubeMeshImplementer interface { PrimitiveMeshImplementer GetSize() gdnative.Vector3 GetSubdivideDepth() gdnative.Int GetSubdivideHeight() gdnative.Int GetSubdivideWidth() gdnative.Int SetSize(size gdnative.Vector3) SetSubdivideDepth(divisions gdnative.Int) SetSubdivideHeight(divisions gdnative.Int) SetSubdivideWidth(subdivide gdnative.Int) }
CubeMeshImplementer is an interface that implements the methods of the CubeMesh class.
type Curve ¶
type Curve struct { Resource // contains filtered or unexported fields }
A curve that can be saved and re-used for other objects. By default it ranges between [code]0[/code] and [code]1[/code] on the y-axis and positions points relative to the [code]0.5[/code] y-position.
func (*Curve) AddPoint ¶
func (o *Curve) AddPoint(position gdnative.Vector2, leftTangent gdnative.Real, rightTangent gdnative.Real, leftMode gdnative.Int, rightMode gdnative.Int) gdnative.Int
Adds a point to the curve. For each side, if the [code]*_mode[/code] is [code]TANGENT_LINEAR[/code], the [code]*_tangent[/code] angle (in degrees) uses the slope of the curve halfway to the adjacent point. Allows custom assignments to the [code]*_tangent[/code] angle if [code]*_mode[/code] is set to [code]TANGENT_FREE[/code]. Args: [{ false position Vector2} {0 true left_tangent float} {0 true right_tangent float} {0 true left_mode int} {0 true right_mode int}], Returns: int
func (*Curve) Bake ¶
func (o *Curve) Bake()
Recomputes the baked cache of points for the curve. Args: [], Returns: void
func (*Curve) CleanDupes ¶
func (o *Curve) CleanDupes()
Removes points that are closer than [code]CMP_EPSILON[/code] (0.00001) units to their neighbor on the curve. Args: [], Returns: void
func (*Curve) ClearPoints ¶
func (o *Curve) ClearPoints()
Removes all points from the curve. Args: [], Returns: void
func (*Curve) GetBakeResolution ¶
Undocumented Args: [], Returns: int
func (*Curve) GetMaxValue ¶
Undocumented Args: [], Returns: float
func (*Curve) GetMinValue ¶
Undocumented Args: [], Returns: float
func (*Curve) GetPointLeftMode ¶
func (o *Curve) GetPointLeftMode(index gdnative.Int) CurveTangentMode
Returns the left [code]TangentMode[/code] for the point at [code]index[/code]. Args: [{ false index int}], Returns: enum.Curve::TangentMode
func (*Curve) GetPointLeftTangent ¶
Returns the left tangent angle (in degrees) for the point at [code]index[/code]. Args: [{ false index int}], Returns: float
func (*Curve) GetPointPosition ¶
Returns the curve coordinates for the point at [code]index[/code]. Args: [{ false index int}], Returns: Vector2
func (*Curve) GetPointRightMode ¶
func (o *Curve) GetPointRightMode(index gdnative.Int) CurveTangentMode
Returns the right [code]TangentMode[/code] for the point at [code]index[/code]. Args: [{ false index int}], Returns: enum.Curve::TangentMode
func (*Curve) GetPointRightTangent ¶
Returns the right tangent angle (in degrees) for the point at [code]index[/code]. Args: [{ false index int}], Returns: float
func (*Curve) Interpolate ¶
Returns the y value for the point that would exist at x-position [code]offset[/code] along the curve. Args: [{ false offset float}], Returns: float
func (*Curve) InterpolateBaked ¶
Returns the y value for the point that would exist at x-position [code]offset[/code] along the curve using the baked cache. Bakes the curve's points if not already baked. Args: [{ false offset float}], Returns: float
func (*Curve) RemovePoint ¶
Removes the point at [code]index[/code] from the curve. Args: [{ false index int}], Returns: void
func (*Curve) SetBakeResolution ¶
Undocumented Args: [{ false resolution int}], Returns: void
func (*Curve) SetMaxValue ¶
Undocumented Args: [{ false max float}], Returns: void
func (*Curve) SetMinValue ¶
Undocumented Args: [{ false min float}], Returns: void
func (*Curve) SetPointLeftMode ¶
Sets the left [code]TangentMode[/code] for the point at [code]index[/code] to [code]mode[/code]. Args: [{ false index int} { false mode int}], Returns: void
func (*Curve) SetPointLeftTangent ¶
Sets the left tangent angle for the point at [code]index[/code] to [code]tangent[/code]. Args: [{ false index int} { false tangent float}], Returns: void
func (*Curve) SetPointOffset ¶
Sets the offset from [code]0.5[/code] Args: [{ false index int} { false offset float}], Returns: int
func (*Curve) SetPointRightMode ¶
Sets the right [code]TangentMode[/code] for the point at [code]index[/code] to [code]mode[/code]. Args: [{ false index int} { false mode int}], Returns: void
func (*Curve) SetPointRightTangent ¶
Sets the right tangent angle for the point at [code]index[/code] to [code]tangent[/code]. Args: [{ false index int} { false tangent float}], Returns: void
func (*Curve) SetPointValue ¶
Assigns the vertical position [code]y[/code] to the point at [code]index[/code]. Args: [{ false index int} { false y float}], Returns: void
type Curve2D ¶
type Curve2D struct { Resource // contains filtered or unexported fields }
This class describes a Bezier curve in 2D space. It is mainly used to give a shape to a Path2D, but can be manually sampled for other purposes. It keeps a cache of precalculated points along the curve, to speed further calculations up.
func (*Curve2D) AddPoint ¶
func (o *Curve2D) AddPoint(position gdnative.Vector2, in gdnative.Vector2, out gdnative.Vector2, atPosition gdnative.Int)
Adds a point to a curve, at "position", with control points "in" and "out". If "at_position" is given, the point is inserted before the point number "at_position", moving that point (and every point after) after the inserted point. If "at_position" is not given, or is an illegal value (at_position <0 or at_position >= [method get_point_count]), the point will be appended at the end of the point list. Args: [{ false position Vector2} {(0, 0) true in Vector2} {(0, 0) true out Vector2} {-1 true at_position int}], Returns: void
func (*Curve2D) ClearPoints ¶
func (o *Curve2D) ClearPoints()
Removes all points from the curve. Args: [], Returns: void
func (*Curve2D) GetBakeInterval ¶
Undocumented Args: [], Returns: float
func (*Curve2D) GetBakedLength ¶
Returns the total length of the curve, based on the cached points. Given enough density (see [method set_bake_interval]), it should be approximate enough. Args: [], Returns: float
func (*Curve2D) GetBakedPoints ¶
func (o *Curve2D) GetBakedPoints() gdnative.PoolVector2Array
Returns the cache of points as a [PoolVector2Array]. Args: [], Returns: PoolVector2Array
func (*Curve2D) GetPointCount ¶
Returns the number of points describing the curve. Args: [], Returns: int
func (*Curve2D) GetPointIn ¶
Returns the position of the control point leading to the vertex "idx". If the index is out of bounds, the function sends an error to the console, and returns (0, 0). Args: [{ false idx int}], Returns: Vector2
func (*Curve2D) GetPointOut ¶
Returns the position of the control point leading out of the vertex "idx". If the index is out of bounds, the function sends an error to the console, and returns (0, 0). Args: [{ false idx int}], Returns: Vector2
func (*Curve2D) GetPointPosition ¶
Returns the position of the vertex "idx". If the index is out of bounds, the function sends an error to the console, and returns (0, 0). Args: [{ false idx int}], Returns: Vector2
func (*Curve2D) Interpolate ¶
Returns the position between the vertex "idx" and the vertex "idx"+1, where "t" controls if the point is the first vertex (t = 0.0), the last vertex (t = 1.0), or in between. Values of "t" outside the range (0.0 >= t <=1) give strange, but predictable results. If "idx" is out of bounds it is truncated to the first or last vertex, and "t" is ignored. If the curve has no points, the function sends an error to the console, and returns (0, 0). Args: [{ false idx int} { false t float}], Returns: Vector2
func (*Curve2D) InterpolateBaked ¶
Returns a point within the curve at position "offset", where "offset" is measured as a pixel distance along the curve. To do that, it finds the two cached points where the "offset" lies between, then interpolates the values. This interpolation is cubic if "cubic" is set to true, or linear if set to false. Cubic interpolation tends to follow the curves better, but linear is faster (and often, precise enough). Args: [{ false offset float} {False true cubic bool}], Returns: Vector2
func (*Curve2D) Interpolatef ¶
Returns the position at the vertex "fofs". It calls [method interpolate] using the integer part of fofs as "idx", and its fractional part as "t". Args: [{ false fofs float}], Returns: Vector2
func (*Curve2D) RemovePoint ¶
Deletes the point "idx" from the curve. Sends an error to the console if "idx" is out of bounds. Args: [{ false idx int}], Returns: void
func (*Curve2D) SetBakeInterval ¶
Undocumented Args: [{ false distance float}], Returns: void
func (*Curve2D) SetPointIn ¶
Sets the position of the control point leading to the vertex "idx". If the index is out of bounds, the function sends an error to the console. Args: [{ false idx int} { false position Vector2}], Returns: void
func (*Curve2D) SetPointOut ¶
Sets the position of the control point leading out of the vertex "idx". If the index is out of bounds, the function sends an error to the console. Args: [{ false idx int} { false position Vector2}], Returns: void
func (*Curve2D) SetPointPosition ¶
Sets the position for the vertex "idx". If the index is out of bounds, the function sends an error to the console. Args: [{ false idx int} { false position Vector2}], Returns: void
func (*Curve2D) Tessellate ¶
func (o *Curve2D) Tessellate(maxStages gdnative.Int, toleranceDegrees gdnative.Real) gdnative.PoolVector2Array
Returns a list of points along the curve, with a curvature controlled point density. That is, the curvier parts will have more points than the straighter parts. This approximation makes straight segments between each point, then subdivides those segments until the resulting shape is similar enough. "max_stages" controls how many subdivisions a curve segment may face before it is considered approximate enough. Each subdivision splits the segment in half, so the default 5 stages may mean up to 32 subdivisions per curve segment. Increase with care! "tolerance_degrees" controls how many degrees the midpoint of a segment may deviate from the real curve, before the segment has to be subdivided. Args: [{5 true max_stages int} {4 true tolerance_degrees float}], Returns: PoolVector2Array
func (*Curve2D) X_GetData ¶
func (o *Curve2D) X_GetData() gdnative.Dictionary
Undocumented Args: [], Returns: Dictionary
func (*Curve2D) X_SetData ¶
func (o *Curve2D) X_SetData(arg0 gdnative.Dictionary)
Undocumented Args: [{ false arg0 Dictionary}], Returns: void
type Curve2DImplementer ¶
type Curve2DImplementer interface { ResourceImplementer X_GetData() gdnative.Dictionary X_SetData(arg0 gdnative.Dictionary) AddPoint(position gdnative.Vector2, in gdnative.Vector2, out gdnative.Vector2, atPosition gdnative.Int) ClearPoints() GetBakeInterval() gdnative.Real GetBakedLength() gdnative.Real GetBakedPoints() gdnative.PoolVector2Array GetPointCount() gdnative.Int GetPointIn(idx gdnative.Int) gdnative.Vector2 GetPointOut(idx gdnative.Int) gdnative.Vector2 GetPointPosition(idx gdnative.Int) gdnative.Vector2 Interpolate(idx gdnative.Int, t gdnative.Real) gdnative.Vector2 InterpolateBaked(offset gdnative.Real, cubic gdnative.Bool) gdnative.Vector2 Interpolatef(fofs gdnative.Real) gdnative.Vector2 RemovePoint(idx gdnative.Int) SetBakeInterval(distance gdnative.Real) SetPointIn(idx gdnative.Int, position gdnative.Vector2) SetPointOut(idx gdnative.Int, position gdnative.Vector2) SetPointPosition(idx gdnative.Int, position gdnative.Vector2) Tessellate(maxStages gdnative.Int, toleranceDegrees gdnative.Real) gdnative.PoolVector2Array }
Curve2DImplementer is an interface that implements the methods of the Curve2D class.
type Curve3D ¶
type Curve3D struct { Resource // contains filtered or unexported fields }
This class describes a Bezier curve in 3D space. It is mainly used to give a shape to a Path, but can be manually sampled for other purposes. It keeps a cache of precalculated points along the curve, to speed further calculations up.
func (*Curve3D) AddPoint ¶
func (o *Curve3D) AddPoint(position gdnative.Vector3, in gdnative.Vector3, out gdnative.Vector3, atPosition gdnative.Int)
Adds a point to a curve, at "position", with control points "in" and "out". If "at_position" is given, the point is inserted before the point number "at_position", moving that point (and every point after) after the inserted point. If "at_position" is not given, or is an illegal value (at_position <0 or at_position >= [method get_point_count]), the point will be appended at the end of the point list. Args: [{ false position Vector3} {(0, 0, 0) true in Vector3} {(0, 0, 0) true out Vector3} {-1 true at_position int}], Returns: void
func (*Curve3D) ClearPoints ¶
func (o *Curve3D) ClearPoints()
Removes all points from the curve. Args: [], Returns: void
func (*Curve3D) GetBakeInterval ¶
Undocumented Args: [], Returns: float
func (*Curve3D) GetBakedLength ¶
Returns the total length of the curve, based on the cached points. Given enough density (see [method set_bake_interval]), it should be approximate enough. Args: [], Returns: float
func (*Curve3D) GetBakedPoints ¶
func (o *Curve3D) GetBakedPoints() gdnative.PoolVector3Array
Returns the cache of points as a [PoolVector3Array]. Args: [], Returns: PoolVector3Array
func (*Curve3D) GetBakedTilts ¶
func (o *Curve3D) GetBakedTilts() gdnative.PoolRealArray
Returns the cache of tilts as a [RealArray]. Args: [], Returns: PoolRealArray
func (*Curve3D) GetPointCount ¶
Returns the number of points describing the curve. Args: [], Returns: int
func (*Curve3D) GetPointIn ¶
Returns the position of the control point leading to the vertex "idx". If the index is out of bounds, the function sends an error to the console, and returns (0, 0, 0). Args: [{ false idx int}], Returns: Vector3
func (*Curve3D) GetPointOut ¶
Returns the position of the control point leading out of the vertex "idx". If the index is out of bounds, the function sends an error to the console, and returns (0, 0, 0). Args: [{ false idx int}], Returns: Vector3
func (*Curve3D) GetPointPosition ¶
Returns the position of the vertex "idx". If the index is out of bounds, the function sends an error to the console, and returns (0, 0, 0). Args: [{ false idx int}], Returns: Vector3
func (*Curve3D) GetPointTilt ¶
Returns the tilt angle in radians for the point "idx". If the index is out of bounds, the function sends an error to the console, and returns 0. Args: [{ false idx int}], Returns: float
func (*Curve3D) Interpolate ¶
Returns the position between the vertex "idx" and the vertex "idx"+1, where "t" controls if the point is the first vertex (t = 0.0), the last vertex (t = 1.0), or in between. Values of "t" outside the range (0.0 >= t <=1) give strange, but predictable results. If "idx" is out of bounds it is truncated to the first or last vertex, and "t" is ignored. If the curve has no points, the function sends an error to the console, and returns (0, 0, 0). Args: [{ false idx int} { false t float}], Returns: Vector3
func (*Curve3D) InterpolateBaked ¶
Returns a point within the curve at position "offset", where "offset" is measured as a distance in 3D units along the curve. To do that, it finds the two cached points where the "offset" lies between, then interpolates the values. This interpolation is cubic if "cubic" is set to true, or linear if set to false. Cubic interpolation tends to follow the curves better, but linear is faster (and often, precise enough). Args: [{ false offset float} {False true cubic bool}], Returns: Vector3
func (*Curve3D) Interpolatef ¶
Returns the position at the vertex "fofs". It calls [method interpolate] using the integer part of fofs as "idx", and its fractional part as "t". Args: [{ false fofs float}], Returns: Vector3
func (*Curve3D) RemovePoint ¶
Deletes the point "idx" from the curve. Sends an error to the console if "idx" is out of bounds. Args: [{ false idx int}], Returns: void
func (*Curve3D) SetBakeInterval ¶
Undocumented Args: [{ false distance float}], Returns: void
func (*Curve3D) SetPointIn ¶
Sets the position of the control point leading to the vertex "idx". If the index is out of bounds, the function sends an error to the console. Args: [{ false idx int} { false position Vector3}], Returns: void
func (*Curve3D) SetPointOut ¶
Sets the position of the control point leading out of the vertex "idx". If the index is out of bounds, the function sends an error to the console. Args: [{ false idx int} { false position Vector3}], Returns: void
func (*Curve3D) SetPointPosition ¶
Sets the position for the vertex "idx". If the index is out of bounds, the function sends an error to the console. Args: [{ false idx int} { false position Vector3}], Returns: void
func (*Curve3D) SetPointTilt ¶
Sets the tilt angle in radians for the point "idx". If the index is out of bounds, the function sends an error to the console. The tilt controls the rotation along the look-at axis an object traveling the path would have. In the case of a curve controlling a [PathFollow], this tilt is an offset over the natural tilt the PathFollow calculates. Args: [{ false idx int} { false tilt float}], Returns: void
func (*Curve3D) Tessellate ¶
func (o *Curve3D) Tessellate(maxStages gdnative.Int, toleranceDegrees gdnative.Real) gdnative.PoolVector3Array
Returns a list of points along the curve, with a curvature controlled point density. That is, the curvier parts will have more points than the straighter parts. This approximation makes straight segments between each point, then subdivides those segments until the resulting shape is similar enough. "max_stages" controls how many subdivisions a curve segment may face before it is considered approximate enough. Each subdivision splits the segment in half, so the default 5 stages may mean up to 32 subdivisions per curve segment. Increase with care! "tolerance_degrees" controls how many degrees the midpoint of a segment may deviate from the real curve, before the segment has to be subdivided. Args: [{5 true max_stages int} {4 true tolerance_degrees float}], Returns: PoolVector3Array
func (*Curve3D) X_GetData ¶
func (o *Curve3D) X_GetData() gdnative.Dictionary
Undocumented Args: [], Returns: Dictionary
func (*Curve3D) X_SetData ¶
func (o *Curve3D) X_SetData(arg0 gdnative.Dictionary)
Undocumented Args: [{ false arg0 Dictionary}], Returns: void
type Curve3DImplementer ¶
type Curve3DImplementer interface { ResourceImplementer X_GetData() gdnative.Dictionary X_SetData(arg0 gdnative.Dictionary) AddPoint(position gdnative.Vector3, in gdnative.Vector3, out gdnative.Vector3, atPosition gdnative.Int) ClearPoints() GetBakeInterval() gdnative.Real GetBakedLength() gdnative.Real GetBakedPoints() gdnative.PoolVector3Array GetBakedTilts() gdnative.PoolRealArray GetPointCount() gdnative.Int GetPointIn(idx gdnative.Int) gdnative.Vector3 GetPointOut(idx gdnative.Int) gdnative.Vector3 GetPointPosition(idx gdnative.Int) gdnative.Vector3 GetPointTilt(idx gdnative.Int) gdnative.Real Interpolate(idx gdnative.Int, t gdnative.Real) gdnative.Vector3 InterpolateBaked(offset gdnative.Real, cubic gdnative.Bool) gdnative.Vector3 Interpolatef(fofs gdnative.Real) gdnative.Vector3 RemovePoint(idx gdnative.Int) SetBakeInterval(distance gdnative.Real) SetPointIn(idx gdnative.Int, position gdnative.Vector3) SetPointOut(idx gdnative.Int, position gdnative.Vector3) SetPointPosition(idx gdnative.Int, position gdnative.Vector3) SetPointTilt(idx gdnative.Int, tilt gdnative.Real) Tessellate(maxStages gdnative.Int, toleranceDegrees gdnative.Real) gdnative.PoolVector3Array }
Curve3DImplementer is an interface that implements the methods of the Curve3D class.
type CurveImplementer ¶
type CurveImplementer interface { ResourceImplementer X_GetData() gdnative.Array X_SetData(data gdnative.Array) AddPoint(position gdnative.Vector2, leftTangent gdnative.Real, rightTangent gdnative.Real, leftMode gdnative.Int, rightMode gdnative.Int) gdnative.Int Bake() CleanDupes() ClearPoints() GetBakeResolution() gdnative.Int GetMaxValue() gdnative.Real GetMinValue() gdnative.Real GetPointLeftTangent(index gdnative.Int) gdnative.Real GetPointPosition(index gdnative.Int) gdnative.Vector2 GetPointRightTangent(index gdnative.Int) gdnative.Real Interpolate(offset gdnative.Real) gdnative.Real InterpolateBaked(offset gdnative.Real) gdnative.Real RemovePoint(index gdnative.Int) SetBakeResolution(resolution gdnative.Int) SetMaxValue(max gdnative.Real) SetMinValue(min gdnative.Real) SetPointLeftMode(index gdnative.Int, mode gdnative.Int) SetPointLeftTangent(index gdnative.Int, tangent gdnative.Real) SetPointOffset(index gdnative.Int, offset gdnative.Real) gdnative.Int SetPointRightMode(index gdnative.Int, mode gdnative.Int) SetPointRightTangent(index gdnative.Int, tangent gdnative.Real) SetPointValue(index gdnative.Int, y gdnative.Real) }
CurveImplementer is an interface that implements the methods of the Curve class.
type CurveTangentMode ¶
type CurveTangentMode int
CurveTangentMode is an enum for TangentMode values.
const ( CurveTangentFree CurveTangentMode = 0 CurveTangentLinear CurveTangentMode = 1 CurveTangentModeCount CurveTangentMode = 2 )
type CurveTexture ¶
type CurveTexture struct { Texture // contains filtered or unexported fields }
Renders a given Curve provided to it. Simplifies the task of drawing curves and/or saving them as image files.
func (*CurveTexture) BaseClass ¶
func (o *CurveTexture) BaseClass() string
func (*CurveTexture) GetCurve ¶
func (o *CurveTexture) GetCurve() CurveImplementer
Undocumented Args: [], Returns: Curve
func (*CurveTexture) SetCurve ¶
func (o *CurveTexture) SetCurve(curve CurveImplementer)
Undocumented Args: [{ false curve Curve}], Returns: void
func (*CurveTexture) SetWidth ¶
func (o *CurveTexture) SetWidth(width gdnative.Int)
Undocumented Args: [{ false width int}], Returns: void
func (*CurveTexture) X_Update ¶
func (o *CurveTexture) X_Update()
Undocumented Args: [], Returns: void
type CurveTextureImplementer ¶
type CurveTextureImplementer interface { TextureImplementer X_Update() GetCurve() CurveImplementer SetCurve(curve CurveImplementer) SetWidth(width gdnative.Int) }
CurveTextureImplementer is an interface that implements the methods of the CurveTexture class.
type CylinderMesh ¶
type CylinderMesh struct { PrimitiveMesh // contains filtered or unexported fields }
Class representing a cylindrical PrimitiveMesh.
func (*CylinderMesh) BaseClass ¶
func (o *CylinderMesh) BaseClass() string
func (*CylinderMesh) GetBottomRadius ¶
func (o *CylinderMesh) GetBottomRadius() gdnative.Real
Undocumented Args: [], Returns: float
func (*CylinderMesh) GetHeight ¶
func (o *CylinderMesh) GetHeight() gdnative.Real
Undocumented Args: [], Returns: float
func (*CylinderMesh) GetRadialSegments ¶
func (o *CylinderMesh) GetRadialSegments() gdnative.Int
Undocumented Args: [], Returns: int
func (*CylinderMesh) GetRings ¶
func (o *CylinderMesh) GetRings() gdnative.Int
Undocumented Args: [], Returns: int
func (*CylinderMesh) GetTopRadius ¶
func (o *CylinderMesh) GetTopRadius() gdnative.Real
Undocumented Args: [], Returns: float
func (*CylinderMesh) SetBottomRadius ¶
func (o *CylinderMesh) SetBottomRadius(radius gdnative.Real)
Undocumented Args: [{ false radius float}], Returns: void
func (*CylinderMesh) SetHeight ¶
func (o *CylinderMesh) SetHeight(height gdnative.Real)
Undocumented Args: [{ false height float}], Returns: void
func (*CylinderMesh) SetRadialSegments ¶
func (o *CylinderMesh) SetRadialSegments(segments gdnative.Int)
Undocumented Args: [{ false segments int}], Returns: void
func (*CylinderMesh) SetRings ¶
func (o *CylinderMesh) SetRings(rings gdnative.Int)
Undocumented Args: [{ false rings int}], Returns: void
func (*CylinderMesh) SetTopRadius ¶
func (o *CylinderMesh) SetTopRadius(radius gdnative.Real)
Undocumented Args: [{ false radius float}], Returns: void
type CylinderMeshImplementer ¶
type CylinderMeshImplementer interface { PrimitiveMeshImplementer GetBottomRadius() gdnative.Real GetHeight() gdnative.Real GetRadialSegments() gdnative.Int GetRings() gdnative.Int GetTopRadius() gdnative.Real SetBottomRadius(radius gdnative.Real) SetHeight(height gdnative.Real) SetRadialSegments(segments gdnative.Int) SetRings(rings gdnative.Int) SetTopRadius(radius gdnative.Real) }
CylinderMeshImplementer is an interface that implements the methods of the CylinderMesh class.
type DampedSpringJoint2D ¶
type DampedSpringJoint2D struct { Joint2D // contains filtered or unexported fields }
Damped spring constraint for 2D physics. This resembles a spring joint that always wants to go back to a given length.
func (*DampedSpringJoint2D) BaseClass ¶
func (o *DampedSpringJoint2D) BaseClass() string
func (*DampedSpringJoint2D) GetDamping ¶
func (o *DampedSpringJoint2D) GetDamping() gdnative.Real
Undocumented Args: [], Returns: float
func (*DampedSpringJoint2D) GetLength ¶
func (o *DampedSpringJoint2D) GetLength() gdnative.Real
Undocumented Args: [], Returns: float
func (*DampedSpringJoint2D) GetRestLength ¶
func (o *DampedSpringJoint2D) GetRestLength() gdnative.Real
Undocumented Args: [], Returns: float
func (*DampedSpringJoint2D) GetStiffness ¶
func (o *DampedSpringJoint2D) GetStiffness() gdnative.Real
Undocumented Args: [], Returns: float
func (*DampedSpringJoint2D) SetDamping ¶
func (o *DampedSpringJoint2D) SetDamping(damping gdnative.Real)
Undocumented Args: [{ false damping float}], Returns: void
func (*DampedSpringJoint2D) SetLength ¶
func (o *DampedSpringJoint2D) SetLength(length gdnative.Real)
Undocumented Args: [{ false length float}], Returns: void
func (*DampedSpringJoint2D) SetRestLength ¶
func (o *DampedSpringJoint2D) SetRestLength(restLength gdnative.Real)
Undocumented Args: [{ false rest_length float}], Returns: void
func (*DampedSpringJoint2D) SetStiffness ¶
func (o *DampedSpringJoint2D) SetStiffness(stiffness gdnative.Real)
Undocumented Args: [{ false stiffness float}], Returns: void
type DampedSpringJoint2DImplementer ¶
type DampedSpringJoint2DImplementer interface { Joint2DImplementer GetDamping() gdnative.Real GetLength() gdnative.Real GetRestLength() gdnative.Real GetStiffness() gdnative.Real SetDamping(damping gdnative.Real) SetLength(length gdnative.Real) SetRestLength(restLength gdnative.Real) SetStiffness(stiffness gdnative.Real) }
DampedSpringJoint2DImplementer is an interface that implements the methods of the DampedSpringJoint2D class.
type DirectionalLight ¶
type DirectionalLight struct { Light // contains filtered or unexported fields }
A DirectionalLight is a type of Light node that emits light constantly in one direction (the negative z axis of the node). It is used lights with strong intensity that are located far away from the scene to model sunlight or moonlight. The worldspace location of the DirectionalLight transform (origin) is ignored, only the basis is used do determine light direction.
func (*DirectionalLight) BaseClass ¶
func (o *DirectionalLight) BaseClass() string
func (*DirectionalLight) GetShadowDepthRange ¶
func (o *DirectionalLight) GetShadowDepthRange() DirectionalLightShadowDepthRange
Undocumented Args: [], Returns: enum.DirectionalLight::ShadowDepthRange
func (*DirectionalLight) GetShadowMode ¶
func (o *DirectionalLight) GetShadowMode() DirectionalLightShadowMode
Undocumented Args: [], Returns: enum.DirectionalLight::ShadowMode
func (*DirectionalLight) IsBlendSplitsEnabled ¶
func (o *DirectionalLight) IsBlendSplitsEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*DirectionalLight) SetBlendSplits ¶
func (o *DirectionalLight) SetBlendSplits(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*DirectionalLight) SetShadowDepthRange ¶
func (o *DirectionalLight) SetShadowDepthRange(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*DirectionalLight) SetShadowMode ¶
func (o *DirectionalLight) SetShadowMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
type DirectionalLightImplementer ¶
type DirectionalLightImplementer interface { LightImplementer IsBlendSplitsEnabled() gdnative.Bool SetBlendSplits(enabled gdnative.Bool) SetShadowDepthRange(mode gdnative.Int) SetShadowMode(mode gdnative.Int) }
DirectionalLightImplementer is an interface that implements the methods of the DirectionalLight class.
type DirectionalLightShadowDepthRange ¶
type DirectionalLightShadowDepthRange int
DirectionalLightShadowDepthRange is an enum for ShadowDepthRange values.
const ( DirectionalLightShadowDepthRangeOptimized DirectionalLightShadowDepthRange = 1 DirectionalLightShadowDepthRangeStable DirectionalLightShadowDepthRange = 0 )
type DirectionalLightShadowMode ¶
type DirectionalLightShadowMode int
DirectionalLightShadowMode is an enum for ShadowMode values.
const ( DirectionalLightShadowOrthogonal DirectionalLightShadowMode = 0 DirectionalLightShadowParallel2Splits DirectionalLightShadowMode = 1 DirectionalLightShadowParallel4Splits DirectionalLightShadowMode = 2 )
type Directory ¶
type Directory struct { Reference // contains filtered or unexported fields }
Directory type. It is used to manage directories and their content (not restricted to the project folder). Here is an example on how to iterate through the files of a directory: [codeblock] func dir_contents(path): var dir = Directory.new() if dir.open(path) == OK: dir.list_dir_begin() var file_name = dir.get_next() while (file_name != ""): if dir.current_is_dir(): print("Found directory: " + file_name) else: print("Found file: " + file_name) file_name = dir.get_next() else: print("An error occurred when trying to access the path.") [/codeblock]
func (*Directory) Copy ¶
Undocumented Args: [{ false from String} { false to String}], Returns: enum.Error
func (*Directory) CurrentIsDir ¶
Undocumented Args: [], Returns: bool
func (*Directory) FileExists ¶
Undocumented Args: [{ false path String}], Returns: bool
func (*Directory) GetCurrentDir ¶
Undocumented Args: [], Returns: String
func (*Directory) GetCurrentDrive ¶
Undocumented Args: [], Returns: int
func (*Directory) GetDriveCount ¶
Undocumented Args: [], Returns: int
func (*Directory) GetSpaceLeft ¶
Undocumented Args: [], Returns: int
func (*Directory) ListDirBegin ¶
func (o *Directory) ListDirBegin(skipNavigational gdnative.Bool, skipHidden gdnative.Bool) gdnative.Error
Undocumented Args: [{False true skip_navigational bool} {False true skip_hidden bool}], Returns: enum.Error
func (*Directory) ListDirEnd ¶
func (o *Directory) ListDirEnd()
Undocumented Args: [], Returns: void
func (*Directory) MakeDirRecursive ¶
Undocumented Args: [{ false path String}], Returns: enum.Error
type DirectoryImplementer ¶
type DirectoryImplementer interface { ReferenceImplementer CurrentIsDir() gdnative.Bool DirExists(path gdnative.String) gdnative.Bool FileExists(path gdnative.String) gdnative.Bool GetCurrentDir() gdnative.String GetCurrentDrive() gdnative.Int GetDrive(idx gdnative.Int) gdnative.String GetDriveCount() gdnative.Int GetNext() gdnative.String GetSpaceLeft() gdnative.Int ListDirEnd() }
DirectoryImplementer is an interface that implements the methods of the Directory class.
type DynamicFont ¶
type DynamicFont struct { Font // contains filtered or unexported fields }
DynamicFont renders vector font files (such as TTF or OTF) dynamically at runtime instead of using a prerendered texture atlas like BitmapFont. This trades the faster loading time of [BitmapFont]s for the ability to change font parameters like size and spacing during runtime. DynamicFontData is used for referencing the font file paths.
func (*DynamicFont) AddFallback ¶
func (o *DynamicFont) AddFallback(data DynamicFontDataImplementer)
Adds a fallback font. Args: [{ false data DynamicFontData}], Returns: void
func (*DynamicFont) BaseClass ¶
func (o *DynamicFont) BaseClass() string
func (*DynamicFont) GetFallback ¶
func (o *DynamicFont) GetFallback(idx gdnative.Int) DynamicFontDataImplementer
Returns the fallback font at index [code]idx[/code]. Args: [{ false idx int}], Returns: DynamicFontData
func (*DynamicFont) GetFallbackCount ¶
func (o *DynamicFont) GetFallbackCount() gdnative.Int
Returns the number of fallback fonts. Args: [], Returns: int
func (*DynamicFont) GetFontData ¶
func (o *DynamicFont) GetFontData() DynamicFontDataImplementer
Undocumented Args: [], Returns: DynamicFontData
func (*DynamicFont) GetSize ¶
func (o *DynamicFont) GetSize() gdnative.Int
Undocumented Args: [], Returns: int
func (*DynamicFont) GetSpacing ¶
func (o *DynamicFont) GetSpacing(aType gdnative.Int) gdnative.Int
Undocumented Args: [{ false type int}], Returns: int
func (*DynamicFont) GetUseFilter ¶
func (o *DynamicFont) GetUseFilter() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*DynamicFont) GetUseMipmaps ¶
func (o *DynamicFont) GetUseMipmaps() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*DynamicFont) RemoveFallback ¶
func (o *DynamicFont) RemoveFallback(idx gdnative.Int)
Removes the fallback font at index [code]idx[/code]. Args: [{ false idx int}], Returns: void
func (*DynamicFont) SetFallback ¶
func (o *DynamicFont) SetFallback(idx gdnative.Int, data DynamicFontDataImplementer)
Sets the fallback font at index [code]idx[/code]. Args: [{ false idx int} { false data DynamicFontData}], Returns: void
func (*DynamicFont) SetFontData ¶
func (o *DynamicFont) SetFontData(data DynamicFontDataImplementer)
Undocumented Args: [{ false data DynamicFontData}], Returns: void
func (*DynamicFont) SetSize ¶
func (o *DynamicFont) SetSize(data gdnative.Int)
Undocumented Args: [{ false data int}], Returns: void
func (*DynamicFont) SetSpacing ¶
func (o *DynamicFont) SetSpacing(aType gdnative.Int, value gdnative.Int)
Undocumented Args: [{ false type int} { false value int}], Returns: void
func (*DynamicFont) SetUseFilter ¶
func (o *DynamicFont) SetUseFilter(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*DynamicFont) SetUseMipmaps ¶
func (o *DynamicFont) SetUseMipmaps(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
type DynamicFontData ¶
type DynamicFontData struct { Resource // contains filtered or unexported fields }
Used with DynamicFont to describe the location of a vector font file for dynamic rendering at runtime.
func (*DynamicFontData) BaseClass ¶
func (o *DynamicFontData) BaseClass() string
func (*DynamicFontData) GetFontPath ¶
func (o *DynamicFontData) GetFontPath() gdnative.String
Undocumented Args: [], Returns: String
func (*DynamicFontData) SetFontPath ¶
func (o *DynamicFontData) SetFontPath(path gdnative.String)
Undocumented Args: [{ false path String}], Returns: void
type DynamicFontDataImplementer ¶
type DynamicFontDataImplementer interface { ResourceImplementer GetFontPath() gdnative.String SetFontPath(path gdnative.String) }
DynamicFontDataImplementer is an interface that implements the methods of the DynamicFontData class.
type DynamicFontImplementer ¶
type DynamicFontImplementer interface { FontImplementer AddFallback(data DynamicFontDataImplementer) GetFallback(idx gdnative.Int) DynamicFontDataImplementer GetFallbackCount() gdnative.Int GetFontData() DynamicFontDataImplementer GetSize() gdnative.Int GetSpacing(aType gdnative.Int) gdnative.Int GetUseFilter() gdnative.Bool GetUseMipmaps() gdnative.Bool RemoveFallback(idx gdnative.Int) SetFallback(idx gdnative.Int, data DynamicFontDataImplementer) SetFontData(data DynamicFontDataImplementer) SetSize(data gdnative.Int) SetSpacing(aType gdnative.Int, value gdnative.Int) SetUseFilter(enable gdnative.Bool) SetUseMipmaps(enable gdnative.Bool) }
DynamicFontImplementer is an interface that implements the methods of the DynamicFont class.
type DynamicFontSpacingType ¶
type DynamicFontSpacingType int
DynamicFontSpacingType is an enum for SpacingType values.
const ( DynamicFontSpacingBottom DynamicFontSpacingType = 1 DynamicFontSpacingChar DynamicFontSpacingType = 2 DynamicFontSpacingSpace DynamicFontSpacingType = 3 DynamicFontSpacingTop DynamicFontSpacingType = 0 )
type EditorExportPlugin ¶
type EditorExportPlugin struct { Reference // contains filtered or unexported fields }
func (*EditorExportPlugin) AddFile ¶
func (o *EditorExportPlugin) AddFile(path gdnative.String, file gdnative.PoolByteArray, remap gdnative.Bool)
Args: [{ false path String} { false file PoolByteArray} { false remap bool}], Returns: void
func (*EditorExportPlugin) AddIosBundleFile ¶
func (o *EditorExportPlugin) AddIosBundleFile(path gdnative.String)
Args: [{ false path String}], Returns: void
func (*EditorExportPlugin) AddIosCppCode ¶
func (o *EditorExportPlugin) AddIosCppCode(code gdnative.String)
Args: [{ false code String}], Returns: void
func (*EditorExportPlugin) AddIosFramework ¶
func (o *EditorExportPlugin) AddIosFramework(path gdnative.String)
Args: [{ false path String}], Returns: void
func (*EditorExportPlugin) AddIosLinkerFlags ¶
func (o *EditorExportPlugin) AddIosLinkerFlags(flags gdnative.String)
Args: [{ false flags String}], Returns: void
func (*EditorExportPlugin) AddIosPlistContent ¶
func (o *EditorExportPlugin) AddIosPlistContent(plistContent gdnative.String)
Args: [{ false plist_content String}], Returns: void
func (*EditorExportPlugin) AddSharedObject ¶
func (o *EditorExportPlugin) AddSharedObject(path gdnative.String, tags gdnative.PoolStringArray)
Args: [{ false path String} { false tags PoolStringArray}], Returns: void
func (*EditorExportPlugin) BaseClass ¶
func (o *EditorExportPlugin) BaseClass() string
func (*EditorExportPlugin) X_ExportBegin ¶
func (o *EditorExportPlugin) X_ExportBegin(features gdnative.PoolStringArray, isDebug gdnative.Bool, path gdnative.String, flags gdnative.Int)
Args: [{ false features PoolStringArray} { false is_debug bool} { false path String} { false flags int}], Returns: void
func (*EditorExportPlugin) X_ExportFile ¶
func (o *EditorExportPlugin) X_ExportFile(path gdnative.String, aType gdnative.String, features gdnative.PoolStringArray)
Args: [{ false path String} { false type String} { false features PoolStringArray}], Returns: void
type EditorExportPluginImplementer ¶
type EditorExportPluginImplementer interface { ReferenceImplementer X_ExportBegin(features gdnative.PoolStringArray, isDebug gdnative.Bool, path gdnative.String, flags gdnative.Int) X_ExportFile(path gdnative.String, aType gdnative.String, features gdnative.PoolStringArray) AddFile(path gdnative.String, file gdnative.PoolByteArray, remap gdnative.Bool) AddIosBundleFile(path gdnative.String) AddIosCppCode(code gdnative.String) AddIosFramework(path gdnative.String) AddIosLinkerFlags(flags gdnative.String) AddIosPlistContent(plistContent gdnative.String) Skip() }
EditorExportPluginImplementer is an interface that implements the methods of the EditorExportPlugin class.
type EditorFileDialog ¶
type EditorFileDialog struct { ConfirmationDialog // contains filtered or unexported fields }
func (*EditorFileDialog) AddFilter ¶
func (o *EditorFileDialog) AddFilter(filter gdnative.String)
Adds a comma-delimited file extension filter option to the [code]EditorFileDialog[/code] with an optional semi-colon-delimited label. Example: "*.tscn, *.scn; Scenes", results in filter text "Scenes (*.tscn, *.scn)". Args: [{ false filter String}], Returns: void
func (*EditorFileDialog) BaseClass ¶
func (o *EditorFileDialog) BaseClass() string
func (*EditorFileDialog) ClearFilters ¶
func (o *EditorFileDialog) ClearFilters()
Removes all filters except for "All Files (*)". Args: [], Returns: void
func (*EditorFileDialog) GetAccess ¶
func (o *EditorFileDialog) GetAccess() EditorFileDialogAccess
Undocumented Args: [], Returns: enum.EditorFileDialog::Access
func (*EditorFileDialog) GetCurrentDir ¶
func (o *EditorFileDialog) GetCurrentDir() gdnative.String
Undocumented Args: [], Returns: String
func (*EditorFileDialog) GetCurrentFile ¶
func (o *EditorFileDialog) GetCurrentFile() gdnative.String
Undocumented Args: [], Returns: String
func (*EditorFileDialog) GetCurrentPath ¶
func (o *EditorFileDialog) GetCurrentPath() gdnative.String
Undocumented Args: [], Returns: String
func (*EditorFileDialog) GetDisplayMode ¶
func (o *EditorFileDialog) GetDisplayMode() EditorFileDialogDisplayMode
Undocumented Args: [], Returns: enum.EditorFileDialog::DisplayMode
func (*EditorFileDialog) GetMode ¶
func (o *EditorFileDialog) GetMode() EditorFileDialogMode
Undocumented Args: [], Returns: enum.EditorFileDialog::Mode
func (*EditorFileDialog) GetVbox ¶
func (o *EditorFileDialog) GetVbox() VBoxContainerImplementer
Returns the [code]VBoxContainer[/code] used to display the file system. Args: [], Returns: VBoxContainer
func (*EditorFileDialog) Invalidate ¶
func (o *EditorFileDialog) Invalidate()
Notify the [code]EditorFileDialog[/code] that its view of the data is no longer accurate. Updates the view contents on next view update. Args: [], Returns: void
func (*EditorFileDialog) IsOverwriteWarningDisabled ¶
func (o *EditorFileDialog) IsOverwriteWarningDisabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*EditorFileDialog) IsShowingHiddenFiles ¶
func (o *EditorFileDialog) IsShowingHiddenFiles() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*EditorFileDialog) SetAccess ¶
func (o *EditorFileDialog) SetAccess(access gdnative.Int)
Undocumented Args: [{ false access int}], Returns: void
func (*EditorFileDialog) SetCurrentDir ¶
func (o *EditorFileDialog) SetCurrentDir(dir gdnative.String)
Undocumented Args: [{ false dir String}], Returns: void
func (*EditorFileDialog) SetCurrentFile ¶
func (o *EditorFileDialog) SetCurrentFile(file gdnative.String)
Undocumented Args: [{ false file String}], Returns: void
func (*EditorFileDialog) SetCurrentPath ¶
func (o *EditorFileDialog) SetCurrentPath(path gdnative.String)
Undocumented Args: [{ false path String}], Returns: void
func (*EditorFileDialog) SetDisableOverwriteWarning ¶
func (o *EditorFileDialog) SetDisableOverwriteWarning(disable gdnative.Bool)
Undocumented Args: [{ false disable bool}], Returns: void
func (*EditorFileDialog) SetDisplayMode ¶
func (o *EditorFileDialog) SetDisplayMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*EditorFileDialog) SetMode ¶
func (o *EditorFileDialog) SetMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*EditorFileDialog) SetShowHiddenFiles ¶
func (o *EditorFileDialog) SetShowHiddenFiles(show gdnative.Bool)
Undocumented Args: [{ false show bool}], Returns: void
func (*EditorFileDialog) X_ActionPressed ¶
func (o *EditorFileDialog) X_ActionPressed()
Undocumented Args: [], Returns: void
func (*EditorFileDialog) X_CancelPressed ¶
func (o *EditorFileDialog) X_CancelPressed()
Undocumented Args: [], Returns: void
func (*EditorFileDialog) X_DirEntered ¶
func (o *EditorFileDialog) X_DirEntered(arg0 gdnative.String)
Undocumented Args: [{ false arg0 String}], Returns: void
func (*EditorFileDialog) X_FavoriteMoveDown ¶
func (o *EditorFileDialog) X_FavoriteMoveDown()
Undocumented Args: [], Returns: void
func (*EditorFileDialog) X_FavoriteMoveUp ¶
func (o *EditorFileDialog) X_FavoriteMoveUp()
Undocumented Args: [], Returns: void
func (*EditorFileDialog) X_FavoriteSelected ¶
func (o *EditorFileDialog) X_FavoriteSelected(arg0 gdnative.Int)
Undocumented Args: [{ false arg0 int}], Returns: void
func (*EditorFileDialog) X_FavoriteToggled ¶
func (o *EditorFileDialog) X_FavoriteToggled(arg0 gdnative.Bool)
Undocumented Args: [{ false arg0 bool}], Returns: void
func (*EditorFileDialog) X_FileEntered ¶
func (o *EditorFileDialog) X_FileEntered(arg0 gdnative.String)
Undocumented Args: [{ false arg0 String}], Returns: void
func (*EditorFileDialog) X_FilterSelected ¶
func (o *EditorFileDialog) X_FilterSelected(arg0 gdnative.Int)
Undocumented Args: [{ false arg0 int}], Returns: void
func (*EditorFileDialog) X_GoBack ¶
func (o *EditorFileDialog) X_GoBack()
Undocumented Args: [], Returns: void
func (*EditorFileDialog) X_GoForward ¶
func (o *EditorFileDialog) X_GoForward()
Undocumented Args: [], Returns: void
func (*EditorFileDialog) X_GoUp ¶
func (o *EditorFileDialog) X_GoUp()
Undocumented Args: [], Returns: void
func (*EditorFileDialog) X_ItemDbSelected ¶
func (o *EditorFileDialog) X_ItemDbSelected(arg0 gdnative.Int)
Undocumented Args: [{ false arg0 int}], Returns: void
func (*EditorFileDialog) X_ItemListItemRmbSelected ¶
func (o *EditorFileDialog) X_ItemListItemRmbSelected(arg0 gdnative.Int, arg1 gdnative.Vector2)
Undocumented Args: [{ false arg0 int} { false arg1 Vector2}], Returns: void
func (*EditorFileDialog) X_ItemListRmbClicked ¶
func (o *EditorFileDialog) X_ItemListRmbClicked(arg0 gdnative.Vector2)
Undocumented Args: [{ false arg0 Vector2}], Returns: void
func (*EditorFileDialog) X_ItemMenuIdPressed ¶
func (o *EditorFileDialog) X_ItemMenuIdPressed(arg0 gdnative.Int)
Undocumented Args: [{ false arg0 int}], Returns: void
func (*EditorFileDialog) X_ItemSelected ¶
func (o *EditorFileDialog) X_ItemSelected(arg0 gdnative.Int)
Undocumented Args: [{ false arg0 int}], Returns: void
func (*EditorFileDialog) X_ItemsClearSelection ¶
func (o *EditorFileDialog) X_ItemsClearSelection()
Undocumented Args: [], Returns: void
func (*EditorFileDialog) X_MakeDir ¶
func (o *EditorFileDialog) X_MakeDir()
Undocumented Args: [], Returns: void
func (*EditorFileDialog) X_MakeDirConfirm ¶
func (o *EditorFileDialog) X_MakeDirConfirm()
Undocumented Args: [], Returns: void
func (*EditorFileDialog) X_MultiSelected ¶
func (o *EditorFileDialog) X_MultiSelected(arg0 gdnative.Int, arg1 gdnative.Bool)
Undocumented Args: [{ false arg0 int} { false arg1 bool}], Returns: void
func (*EditorFileDialog) X_RecentSelected ¶
func (o *EditorFileDialog) X_RecentSelected(arg0 gdnative.Int)
Undocumented Args: [{ false arg0 int}], Returns: void
func (*EditorFileDialog) X_SaveConfirmPressed ¶
func (o *EditorFileDialog) X_SaveConfirmPressed()
Undocumented Args: [], Returns: void
func (*EditorFileDialog) X_SelectDrive ¶
func (o *EditorFileDialog) X_SelectDrive(arg0 gdnative.Int)
Undocumented Args: [{ false arg0 int}], Returns: void
func (*EditorFileDialog) X_ThumbnailDone ¶
func (o *EditorFileDialog) X_ThumbnailDone(arg0 gdnative.String, arg1 TextureImplementer, arg2 gdnative.Variant)
Undocumented Args: [{ false arg0 String} { false arg1 Texture} { false arg2 Variant}], Returns: void
func (*EditorFileDialog) X_ThumbnailResult ¶
func (o *EditorFileDialog) X_ThumbnailResult(arg0 gdnative.String, arg1 TextureImplementer, arg2 gdnative.Variant)
Undocumented Args: [{ false arg0 String} { false arg1 Texture} { false arg2 Variant}], Returns: void
func (*EditorFileDialog) X_UnhandledInput ¶
func (o *EditorFileDialog) X_UnhandledInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
func (*EditorFileDialog) X_UpdateDir ¶
func (o *EditorFileDialog) X_UpdateDir()
Undocumented Args: [], Returns: void
func (*EditorFileDialog) X_UpdateFileList ¶
func (o *EditorFileDialog) X_UpdateFileList()
Undocumented Args: [], Returns: void
type EditorFileDialogAccess ¶
type EditorFileDialogAccess int
EditorFileDialogAccess is an enum for Access values.
const ( EditorFileDialogAccessFilesystem EditorFileDialogAccess = 2 EditorFileDialogAccessResources EditorFileDialogAccess = 0 EditorFileDialogAccessUserdata EditorFileDialogAccess = 1 )
type EditorFileDialogDisplayMode ¶
type EditorFileDialogDisplayMode int
EditorFileDialogDisplayMode is an enum for DisplayMode values.
const ( EditorFileDialogDisplayList EditorFileDialogDisplayMode = 1 EditorFileDialogDisplayThumbnails EditorFileDialogDisplayMode = 0 )
type EditorFileDialogImplementer ¶
type EditorFileDialogImplementer interface { ConfirmationDialogImplementer X_ActionPressed() X_CancelPressed() X_DirEntered(arg0 gdnative.String) X_FavoriteMoveDown() X_FavoriteMoveUp() X_FavoriteSelected(arg0 gdnative.Int) X_FavoriteToggled(arg0 gdnative.Bool) X_FileEntered(arg0 gdnative.String) X_FilterSelected(arg0 gdnative.Int) X_GoBack() X_GoForward() X_GoUp() X_ItemDbSelected(arg0 gdnative.Int) X_ItemListItemRmbSelected(arg0 gdnative.Int, arg1 gdnative.Vector2) X_ItemListRmbClicked(arg0 gdnative.Vector2) X_ItemMenuIdPressed(arg0 gdnative.Int) X_ItemSelected(arg0 gdnative.Int) X_ItemsClearSelection() X_MakeDir() X_MakeDirConfirm() X_MultiSelected(arg0 gdnative.Int, arg1 gdnative.Bool) X_RecentSelected(arg0 gdnative.Int) X_SaveConfirmPressed() X_SelectDrive(arg0 gdnative.Int) X_ThumbnailDone(arg0 gdnative.String, arg1 TextureImplementer, arg2 gdnative.Variant) X_ThumbnailResult(arg0 gdnative.String, arg1 TextureImplementer, arg2 gdnative.Variant) X_UpdateDir() X_UpdateFileList() AddFilter(filter gdnative.String) ClearFilters() GetCurrentDir() gdnative.String GetCurrentFile() gdnative.String GetCurrentPath() gdnative.String GetVbox() VBoxContainerImplementer Invalidate() IsOverwriteWarningDisabled() gdnative.Bool IsShowingHiddenFiles() gdnative.Bool SetAccess(access gdnative.Int) SetCurrentDir(dir gdnative.String) SetCurrentFile(file gdnative.String) SetCurrentPath(path gdnative.String) SetDisableOverwriteWarning(disable gdnative.Bool) SetDisplayMode(mode gdnative.Int) SetMode(mode gdnative.Int) SetShowHiddenFiles(show gdnative.Bool) }
EditorFileDialogImplementer is an interface that implements the methods of the EditorFileDialog class.
type EditorFileDialogMode ¶
type EditorFileDialogMode int
EditorFileDialogMode is an enum for Mode values.
const ( EditorFileDialogModeOpenAny EditorFileDialogMode = 3 EditorFileDialogModeOpenDir EditorFileDialogMode = 2 EditorFileDialogModeOpenFile EditorFileDialogMode = 0 EditorFileDialogModeOpenFiles EditorFileDialogMode = 1 EditorFileDialogModeSaveFile EditorFileDialogMode = 4 )
type EditorFileSystem ¶
type EditorFileSystem struct { Node // contains filtered or unexported fields }
This object holds information of all resources in the filesystem, their types, etc.
func (*EditorFileSystem) BaseClass ¶
func (o *EditorFileSystem) BaseClass() string
func (*EditorFileSystem) GetFileType ¶
func (o *EditorFileSystem) GetFileType(path gdnative.String) gdnative.String
Get the type of the file, given the full path. Args: [{ false path String}], Returns: String
func (*EditorFileSystem) GetFilesystem ¶
func (o *EditorFileSystem) GetFilesystem() EditorFileSystemDirectoryImplementer
Get the root directory object. Args: [], Returns: EditorFileSystemDirectory
func (*EditorFileSystem) GetFilesystemPath ¶
func (o *EditorFileSystem) GetFilesystemPath(path gdnative.String) EditorFileSystemDirectoryImplementer
Returns a view into the filesystem at [code]path[/code]. Args: [{ false path String}], Returns: EditorFileSystemDirectory
func (*EditorFileSystem) GetScanningProgress ¶
func (o *EditorFileSystem) GetScanningProgress() gdnative.Real
Return the scan progress for 0 to 1 if the FS is being scanned. Args: [], Returns: float
func (*EditorFileSystem) IsScanning ¶
func (o *EditorFileSystem) IsScanning() gdnative.Bool
Return true of the filesystem is being scanned. Args: [], Returns: bool
func (*EditorFileSystem) Scan ¶
func (o *EditorFileSystem) Scan()
Scan the filesystem for changes. Args: [], Returns: void
func (*EditorFileSystem) ScanSources ¶
func (o *EditorFileSystem) ScanSources()
Check if the source of any imported resource changed. Args: [], Returns: void
func (*EditorFileSystem) UpdateFile ¶
func (o *EditorFileSystem) UpdateFile(path gdnative.String)
Update a file information. Call this if an external program (not Godot) modified the file. Args: [{ false path String}], Returns: void
type EditorFileSystemDirectory ¶
type EditorFileSystemDirectory struct { Object // contains filtered or unexported fields }
A more generalized, low-level variation of the directory concept.
func (*EditorFileSystemDirectory) BaseClass ¶
func (o *EditorFileSystemDirectory) BaseClass() string
func (*EditorFileSystemDirectory) FindDirIndex ¶
func (o *EditorFileSystemDirectory) FindDirIndex(name gdnative.String) gdnative.Int
Returns the index of the directory with name [code]name[/code] or [code]-1[/code] if not found. Args: [{ false name String}], Returns: int
func (*EditorFileSystemDirectory) FindFileIndex ¶
func (o *EditorFileSystemDirectory) FindFileIndex(name gdnative.String) gdnative.Int
Returns the index of the file with name [code]name[/code] or [code]-1[/code] if not found. Args: [{ false name String}], Returns: int
func (*EditorFileSystemDirectory) GetFile ¶
func (o *EditorFileSystemDirectory) GetFile(idx gdnative.Int) gdnative.String
Returns the name of the file at index [code]idx[/code]. Args: [{ false idx int}], Returns: String
func (*EditorFileSystemDirectory) GetFileCount ¶
func (o *EditorFileSystemDirectory) GetFileCount() gdnative.Int
Returns the number of files in this directory. Args: [], Returns: int
func (*EditorFileSystemDirectory) GetFileImportIsValid ¶
func (o *EditorFileSystemDirectory) GetFileImportIsValid(idx gdnative.Int) gdnative.Bool
Returns [code]true[/code] if the file at index [code]idx[/code] imported properly. Args: [{ false idx int}], Returns: bool
func (*EditorFileSystemDirectory) GetFilePath ¶
func (o *EditorFileSystemDirectory) GetFilePath(idx gdnative.Int) gdnative.String
Returns the path to the file at index [code]idx[/code]. Args: [{ false idx int}], Returns: String
func (*EditorFileSystemDirectory) GetFileType ¶
func (o *EditorFileSystemDirectory) GetFileType(idx gdnative.Int) gdnative.String
Returns the file extension of the file at index [code]idx[/code]. Args: [{ false idx int}], Returns: String
func (*EditorFileSystemDirectory) GetName ¶
func (o *EditorFileSystemDirectory) GetName() gdnative.String
Returns the name of this directory. Args: [], Returns: String
func (*EditorFileSystemDirectory) GetParent ¶
func (o *EditorFileSystemDirectory) GetParent() EditorFileSystemDirectoryImplementer
Returns the parent directory for this directory or null if called on a directory at [code]res://[/code] or [code]user://[/code]. Args: [], Returns: EditorFileSystemDirectory
func (*EditorFileSystemDirectory) GetPath ¶
func (o *EditorFileSystemDirectory) GetPath() gdnative.String
Returns the path to this directory. Args: [], Returns: String
func (*EditorFileSystemDirectory) GetSubdir ¶
func (o *EditorFileSystemDirectory) GetSubdir(idx gdnative.Int) EditorFileSystemDirectoryImplementer
Returns the subdirectory at index [code]idx[/code]. Args: [{ false idx int}], Returns: EditorFileSystemDirectory
func (*EditorFileSystemDirectory) GetSubdirCount ¶
func (o *EditorFileSystemDirectory) GetSubdirCount() gdnative.Int
Returns the number of subdirectories in this directory. Args: [], Returns: int
type EditorFileSystemDirectoryImplementer ¶
type EditorFileSystemDirectoryImplementer interface { ObjectImplementer FindDirIndex(name gdnative.String) gdnative.Int FindFileIndex(name gdnative.String) gdnative.Int GetFile(idx gdnative.Int) gdnative.String GetFileCount() gdnative.Int GetFileImportIsValid(idx gdnative.Int) gdnative.Bool GetFilePath(idx gdnative.Int) gdnative.String GetFileType(idx gdnative.Int) gdnative.String GetName() gdnative.String GetParent() EditorFileSystemDirectoryImplementer GetPath() gdnative.String GetSubdir(idx gdnative.Int) EditorFileSystemDirectoryImplementer GetSubdirCount() gdnative.Int }
EditorFileSystemDirectoryImplementer is an interface that implements the methods of the EditorFileSystemDirectory class.
type EditorFileSystemImplementer ¶
type EditorFileSystemImplementer interface { NodeImplementer GetFileType(path gdnative.String) gdnative.String GetFilesystem() EditorFileSystemDirectoryImplementer GetFilesystemPath(path gdnative.String) EditorFileSystemDirectoryImplementer GetScanningProgress() gdnative.Real IsScanning() gdnative.Bool Scan() ScanSources() UpdateFile(path gdnative.String) }
EditorFileSystemImplementer is an interface that implements the methods of the EditorFileSystem class.
type EditorImportPlugin ¶
type EditorImportPlugin struct { Reference // contains filtered or unexported fields }
EditorImportPlugins provide a way to extend the editor's resource import functionality. Use them to import resources from custom files or to provide alternatives to the editor's existing importers. Register your EditorPlugin with [method EditorPlugin.add_import_plugin]. EditorImportPlugins work by associating with specific file extensions and a resource type. See [method get_recognized_extension] and [method get_resource_type]). They may optionally specify some import presets that affect the import process. EditorImportPlugins are responsible for creating the resources and saving them in the [code].import[/code] directory. Below is an example EditorImportPlugin that imports a Mesh from a file with the extension ".special" or ".spec": [codeblock] tool extends EditorImportPlugin func get_importer_name(): return "my.special.plugin" func get_visible_name(): return "Special Mesh Importer" func get_recognized_extensions(): return ["special", "spec"] func get_save_extension(): return "mesh" func get_resource_type(): return "Mesh" func get_preset_count(): return 1 func get_preset_name(i): return "Default" func get_import_options(i): return [{"name": "my_option", "default_value": false}] func load(src, dst, opts, r_platform_variants, r_gen_files): var file = File.new() if file.open(src, File.READ) != OK: return FAILED var mesh = Mesh.new() var save = dst + "." + get_save_extension() ResourceSaver.save(file, mesh) return OK [/codeblock]
func (*EditorImportPlugin) BaseClass ¶
func (o *EditorImportPlugin) BaseClass() string
func (*EditorImportPlugin) GetImportOptions ¶
func (o *EditorImportPlugin) GetImportOptions(preset gdnative.Int) gdnative.Array
Get the options and default values for the preset at this index. Returns an Array of Dictionaries with the following keys: "name", "default_value", "property_hint" (optional), "hint_string" (optional), "usage" (optional). Args: [{ false preset int}], Returns: Array
func (*EditorImportPlugin) GetImportOrder ¶
func (o *EditorImportPlugin) GetImportOrder() gdnative.Int
Get the order of this importer to be run when importing resources. Higher values will be called later. Use this to ensure the importer runs after the dependencies are already imported. Args: [], Returns: int
func (*EditorImportPlugin) GetImporterName ¶
func (o *EditorImportPlugin) GetImporterName() gdnative.String
Get the unique name of the importer. Args: [], Returns: String
func (*EditorImportPlugin) GetOptionVisibility ¶
func (o *EditorImportPlugin) GetOptionVisibility(option gdnative.String, options gdnative.Dictionary) gdnative.Bool
Args: [{ false option String} { false options Dictionary}], Returns: bool
func (*EditorImportPlugin) GetPresetCount ¶
func (o *EditorImportPlugin) GetPresetCount() gdnative.Int
Get the number of initial presets defined by the plugin. Use [method get_import_options] to get the default options for the preset and [method get_preset_name] to get the name of the preset. Args: [], Returns: int
func (*EditorImportPlugin) GetPresetName ¶
func (o *EditorImportPlugin) GetPresetName(preset gdnative.Int) gdnative.String
Get the name of the options preset at this index. Args: [{ false preset int}], Returns: String
func (*EditorImportPlugin) GetPriority ¶
func (o *EditorImportPlugin) GetPriority() gdnative.Real
Get the priority of this plugin for the recognized extension. Higher priority plugins will be preferred. Default value is 1.0. Args: [], Returns: float
func (*EditorImportPlugin) GetRecognizedExtensions ¶
func (o *EditorImportPlugin) GetRecognizedExtensions() gdnative.Array
Get the list of file extensions to associate with this loader (case insensitive). e.g. ["obj"]. Args: [], Returns: Array
func (*EditorImportPlugin) GetResourceType ¶
func (o *EditorImportPlugin) GetResourceType() gdnative.String
Get the godot resource type associated with this loader. e.g. "Mesh" or "Animation". Args: [], Returns: String
func (*EditorImportPlugin) GetSaveExtension ¶
func (o *EditorImportPlugin) GetSaveExtension() gdnative.String
Get the extension used to save this resource in the [code].import[/code] directory. Args: [], Returns: String
func (*EditorImportPlugin) GetVisibleName ¶
func (o *EditorImportPlugin) GetVisibleName() gdnative.String
Get the name to display in the import window. Args: [], Returns: String
func (*EditorImportPlugin) Import ¶
func (o *EditorImportPlugin) Import(sourceFile gdnative.String, savePath gdnative.String, options gdnative.Dictionary, rPlatformVariants gdnative.Array, rGenFiles gdnative.Array) gdnative.Int
Args: [{ false source_file String} { false save_path String} { false options Dictionary} { false r_platform_variants Array} { false r_gen_files Array}], Returns: int
type EditorImportPluginImplementer ¶
type EditorImportPluginImplementer interface { ReferenceImplementer GetImportOptions(preset gdnative.Int) gdnative.Array GetImportOrder() gdnative.Int GetImporterName() gdnative.String GetOptionVisibility(option gdnative.String, options gdnative.Dictionary) gdnative.Bool GetPresetCount() gdnative.Int GetPresetName(preset gdnative.Int) gdnative.String GetPriority() gdnative.Real GetRecognizedExtensions() gdnative.Array GetResourceType() gdnative.String GetSaveExtension() gdnative.String GetVisibleName() gdnative.String Import(sourceFile gdnative.String, savePath gdnative.String, options gdnative.Dictionary, rPlatformVariants gdnative.Array, rGenFiles gdnative.Array) gdnative.Int }
EditorImportPluginImplementer is an interface that implements the methods of the EditorImportPlugin class.
type EditorInterface ¶
type EditorInterface struct { Node // contains filtered or unexported fields }
Editor interface. Allows saving and (re-)loading scenes, rendering mesh previews, inspecting and editing resources and objects and provides access to EditorSettings, EditorFileSystem, EditorResourcePreview\ er, ScriptEditor, the editor viewport, as well as information about scenes. Also see EditorPlugin and EditorScript.
func (*EditorInterface) BaseClass ¶
func (o *EditorInterface) BaseClass() string
func (*EditorInterface) EditResource ¶
func (o *EditorInterface) EditResource(resource ResourceImplementer)
Edits the given [Resource]. Args: [{ false resource Resource}], Returns: void
func (*EditorInterface) GetBaseControl ¶
func (o *EditorInterface) GetBaseControl() ControlImplementer
Returns the base [Control]. Args: [], Returns: Control
func (*EditorInterface) GetEditedSceneRoot ¶
func (o *EditorInterface) GetEditedSceneRoot() NodeImplementer
Returns the edited scene's root [Node]. Args: [], Returns: Node
func (*EditorInterface) GetEditorSettings ¶
func (o *EditorInterface) GetEditorSettings() EditorSettingsImplementer
Returns the [EditorSettings]. Args: [], Returns: EditorSettings
func (*EditorInterface) GetEditorViewport ¶
func (o *EditorInterface) GetEditorViewport() ControlImplementer
Returns the editor [Viewport]. Args: [], Returns: Control
func (*EditorInterface) GetOpenScenes ¶
func (o *EditorInterface) GetOpenScenes() gdnative.Array
Returns an [Array] of the currently opened scenes. Args: [], Returns: Array
func (*EditorInterface) GetResourceFilesystem ¶
func (o *EditorInterface) GetResourceFilesystem() EditorFileSystemImplementer
Returns the [EditorFileSystem]. Args: [], Returns: EditorFileSystem
func (*EditorInterface) GetResourcePreviewer ¶
func (o *EditorInterface) GetResourcePreviewer() EditorResourcePreviewImplementer
Returns the [EditorResourcePreview]\ er. Args: [], Returns: EditorResourcePreview
func (*EditorInterface) GetScriptEditor ¶
func (o *EditorInterface) GetScriptEditor() ScriptEditorImplementer
Returns the [ScriptEditor]. Args: [], Returns: ScriptEditor
func (*EditorInterface) GetSelectedPath ¶
func (o *EditorInterface) GetSelectedPath() gdnative.String
Args: [], Returns: String
func (*EditorInterface) GetSelection ¶
func (o *EditorInterface) GetSelection() EditorSelectionImplementer
Returns the [EditorSelection]. Args: [], Returns: EditorSelection
func (*EditorInterface) InspectObject ¶
func (o *EditorInterface) InspectObject(object ObjectImplementer, forProperty gdnative.String)
Shows the given property on the given [code]object[/code] in the Editor's Inspector dock. Args: [{ false object Object} { true for_property String}], Returns: void
func (*EditorInterface) IsPluginEnabled ¶
func (o *EditorInterface) IsPluginEnabled(plugin gdnative.String) gdnative.Bool
Returns the enabled status of a plugin. The plugin name is the same as its directory name. Args: [{ false plugin String}], Returns: bool
func (*EditorInterface) MakeMeshPreviews ¶
func (o *EditorInterface) MakeMeshPreviews(meshes gdnative.Array, previewSize gdnative.Int) gdnative.Array
Returns mesh previews rendered at the given size as an [Array] of [Texture]s. Args: [{ false meshes Array} { false preview_size int}], Returns: Array
func (*EditorInterface) OpenSceneFromPath ¶
func (o *EditorInterface) OpenSceneFromPath(sceneFilepath gdnative.String)
Opens the scene at the given path. Args: [{ false scene_filepath String}], Returns: void
func (*EditorInterface) ReloadSceneFromPath ¶
func (o *EditorInterface) ReloadSceneFromPath(sceneFilepath gdnative.String)
Reloads the scene at the given path. Args: [{ false scene_filepath String}], Returns: void
func (*EditorInterface) SaveScene ¶
func (o *EditorInterface) SaveScene() gdnative.Error
Saves the scene. Returns either OK or ERR_CANT_CREATE. See [@GlobalScope] constants. Args: [], Returns: enum.Error
func (*EditorInterface) SaveSceneAs ¶
func (o *EditorInterface) SaveSceneAs(path gdnative.String, withPreview gdnative.Bool)
Saves the scene as a file at [code]path[/code]. Args: [{ false path String} {True true with_preview bool}], Returns: void
func (*EditorInterface) SelectFile ¶
func (o *EditorInterface) SelectFile(pFile gdnative.String)
Args: [{ false p_file String}], Returns: void
func (*EditorInterface) SetPluginEnabled ¶
func (o *EditorInterface) SetPluginEnabled(plugin gdnative.String, enabled gdnative.Bool)
Sets the enabled status of a plugin. The plugin name is the same as its directory name. Args: [{ false plugin String} { false enabled bool}], Returns: void
type EditorInterfaceImplementer ¶
type EditorInterfaceImplementer interface { NodeImplementer EditResource(resource ResourceImplementer) GetBaseControl() ControlImplementer GetEditedSceneRoot() NodeImplementer GetEditorSettings() EditorSettingsImplementer GetEditorViewport() ControlImplementer GetOpenScenes() gdnative.Array GetResourceFilesystem() EditorFileSystemImplementer GetResourcePreviewer() EditorResourcePreviewImplementer GetScriptEditor() ScriptEditorImplementer GetSelectedPath() gdnative.String GetSelection() EditorSelectionImplementer InspectObject(object ObjectImplementer, forProperty gdnative.String) IsPluginEnabled(plugin gdnative.String) gdnative.Bool MakeMeshPreviews(meshes gdnative.Array, previewSize gdnative.Int) gdnative.Array OpenSceneFromPath(sceneFilepath gdnative.String) ReloadSceneFromPath(sceneFilepath gdnative.String) SaveSceneAs(path gdnative.String, withPreview gdnative.Bool) SelectFile(pFile gdnative.String) SetPluginEnabled(plugin gdnative.String, enabled gdnative.Bool) }
EditorInterfaceImplementer is an interface that implements the methods of the EditorInterface class.
type EditorPlugin ¶
type EditorPlugin struct { Node // contains filtered or unexported fields }
Plugins are used by the editor to extend functionality. The most common types of plugins are those which edit a given node or resource type, import plugins and export plugins.
func (*EditorPlugin) AddControlToBottomPanel ¶
func (o *EditorPlugin) AddControlToBottomPanel(control ObjectImplementer, title gdnative.String) ToolButtonImplementer
Add a control to the bottom panel (together with Output, Debug, Animation, etc). Returns a reference to the button added. It's up to you to hide/show the button when needed. If your plugin is being removed, also make sure to remove your control by calling [method remove_control_from_bottom_panel]. Args: [{ false control Object} { false title String}], Returns: ToolButton
func (*EditorPlugin) AddControlToContainer ¶
func (o *EditorPlugin) AddControlToContainer(container gdnative.Int, control ObjectImplementer)
Add a custom control to a container (see CONTAINER_* enum). There are many locations where custom controls can be added in the editor UI. Please remember that you have to manage the visibility of your custom controls yourself (and likely hide it after adding it). If your plugin is being removed, also make sure to remove your custom controls too. Args: [{ false container int} { false control Object}], Returns: void
func (*EditorPlugin) AddControlToDock ¶
func (o *EditorPlugin) AddControlToDock(slot gdnative.Int, control ObjectImplementer)
Add the control to a specific dock slot (see DOCK_* enum for options). If the dock is repositioned and as long as the plugin is active, the editor will save the dock position on further sessions. If your plugin is being removed, also make sure to remove your control by calling [method remove_control_from_docks]. Args: [{ false slot int} { false control Object}], Returns: void
func (*EditorPlugin) AddCustomType ¶
func (o *EditorPlugin) AddCustomType(aType gdnative.String, base gdnative.String, script ScriptImplementer, icon TextureImplementer)
Add a custom type, which will appear in the list of nodes or resources. An icon can be optionally passed. When given node or resource is selected, the base type will be instanced (ie, "Spatial", "Control", "Resource"), then the script will be loaded and set to this object. You can use the [method EditorPlugin.handles] to check if your custom object is being edited by checking the script or using 'is' keyword. During run-time, this will be a simple object with a script so this function does not need to be called then. Args: [{ false type String} { false base String} { false script Script} { false icon Texture}], Returns: void
func (*EditorPlugin) AddExportPlugin ¶
func (o *EditorPlugin) AddExportPlugin(exporter EditorExportPluginImplementer)
Args: [{ false exporter EditorExportPlugin}], Returns: void
func (*EditorPlugin) AddImportPlugin ¶
func (o *EditorPlugin) AddImportPlugin(importer EditorImportPluginImplementer)
Args: [{ false importer EditorImportPlugin}], Returns: void
func (*EditorPlugin) AddSceneImportPlugin ¶
func (o *EditorPlugin) AddSceneImportPlugin(sceneImporter EditorSceneImporterImplementer)
Args: [{ false scene_importer EditorSceneImporter}], Returns: void
func (*EditorPlugin) AddToolSubmenuItem ¶
func (o *EditorPlugin) AddToolSubmenuItem(name gdnative.String, submenu ObjectImplementer)
Args: [{ false name String} { false submenu Object}], Returns: void
func (*EditorPlugin) ApplyChanges ¶
func (o *EditorPlugin) ApplyChanges()
This method is called when the editor is about to save the project, switch to another tab, etc. It asks the plugin to apply any pending state changes to ensure consistency. This is used, for example, in shader editors to let the plugin know that it must apply the shader code being written by the user to the object. Args: [], Returns: void
func (*EditorPlugin) BaseClass ¶
func (o *EditorPlugin) BaseClass() string
func (*EditorPlugin) Clear ¶
func (o *EditorPlugin) Clear()
Clear all the state and reset the object being edited to zero. This ensures your plugin does not keep editing a currently existing node, or a node from the wrong scene. Args: [], Returns: void
func (*EditorPlugin) CreateSpatialGizmo ¶
func (o *EditorPlugin) CreateSpatialGizmo(forSpatial SpatialImplementer) EditorSpatialGizmoImplementer
This is used for plugins that create gizmos used by the spatial editor. Just check that the node passed in the "for_spatial" argument matches your plugin. Args: [{ false for_spatial Spatial}], Returns: EditorSpatialGizmo
func (*EditorPlugin) Edit ¶
func (o *EditorPlugin) Edit(object ObjectImplementer)
This function is used for plugins that edit specific object types (nodes or resources). It requests the editor to edit the given object. Args: [{ false object Object}], Returns: void
func (*EditorPlugin) ForwardCanvasGuiInput ¶
func (o *EditorPlugin) ForwardCanvasGuiInput(event InputEventImplementer) gdnative.Bool
Args: [{ false event InputEvent}], Returns: bool
func (*EditorPlugin) ForwardDrawOverViewport ¶
func (o *EditorPlugin) ForwardDrawOverViewport(overlay ControlImplementer)
Args: [{ false overlay Control}], Returns: void
func (*EditorPlugin) ForwardForceDrawOverViewport ¶
func (o *EditorPlugin) ForwardForceDrawOverViewport(overlay ControlImplementer)
Args: [{ false overlay Control}], Returns: void
func (*EditorPlugin) ForwardSpatialGuiInput ¶
func (o *EditorPlugin) ForwardSpatialGuiInput(camera CameraImplementer, event InputEventImplementer) gdnative.Bool
Implement this function if you are interested in 3D view screen input events. It will be called only if currently selected node is handled by your plugin. If you would like to always gets those input events then additionally use [method set_input_forwarding_always_enabled]. Args: [{ false camera Camera} { false event InputEvent}], Returns: bool
func (*EditorPlugin) GetBreakpoints ¶
func (o *EditorPlugin) GetBreakpoints() gdnative.PoolStringArray
This is for editors that edit script based objects. You can return a list of breakpoints in the format (script:line), for example: res://path_to_script.gd:25 Args: [], Returns: PoolStringArray
func (*EditorPlugin) GetEditorInterface ¶
func (o *EditorPlugin) GetEditorInterface() EditorInterfaceImplementer
Args: [], Returns: EditorInterface
func (*EditorPlugin) GetPluginIcon ¶
func (o *EditorPlugin) GetPluginIcon() ObjectImplementer
Args: [], Returns: Object
func (*EditorPlugin) GetPluginName ¶
func (o *EditorPlugin) GetPluginName() gdnative.String
Args: [], Returns: String
func (*EditorPlugin) GetState ¶
func (o *EditorPlugin) GetState() gdnative.Dictionary
Get the state of your plugin editor. This is used when saving the scene (so state is kept when opening it again) and for switching tabs (so state can be restored when the tab returns). Args: [], Returns: Dictionary
func (*EditorPlugin) GetUndoRedo ¶
func (o *EditorPlugin) GetUndoRedo() UndoRedoImplementer
Get the undo/redo object. Most actions in the editor can be undoable, so use this object to make sure this happens when it's worth it. Args: [], Returns: UndoRedo
func (*EditorPlugin) GetWindowLayout ¶
func (o *EditorPlugin) GetWindowLayout(layout ConfigFileImplementer)
Get the GUI layout of the plugin. This is used to save the project's editor layout when the [method EditorPlugin.queue_save_layout] is called or the editor layout was changed(For example changing the position of a dock). Args: [{ false layout ConfigFile}], Returns: void
func (*EditorPlugin) Handles ¶
func (o *EditorPlugin) Handles(object ObjectImplementer) gdnative.Bool
Implement this function if your plugin edits a specific type of object (Resource or Node). If you return true, then you will get the functions [method EditorPlugin.edit] and [method EditorPlugin.make_visible] called when the editor requests them. Args: [{ false object Object}], Returns: bool
func (*EditorPlugin) HasMainScreen ¶
func (o *EditorPlugin) HasMainScreen() gdnative.Bool
Return true if this is a main screen editor plugin (it goes in the main screen selector together with 2D, 3D, Script). Args: [], Returns: bool
func (*EditorPlugin) HideBottomPanel ¶
func (o *EditorPlugin) HideBottomPanel()
Args: [], Returns: void
func (*EditorPlugin) MakeBottomPanelItemVisible ¶
func (o *EditorPlugin) MakeBottomPanelItemVisible(item ObjectImplementer)
Args: [{ false item Object}], Returns: void
func (*EditorPlugin) MakeVisible ¶
func (o *EditorPlugin) MakeVisible(visible gdnative.Bool)
This function will be called when the editor is requested to become visible. It is used for plugins that edit a specific object type. Remember that you have to manage the visibility of all your editor controls manually. Args: [{ false visible bool}], Returns: void
func (*EditorPlugin) QueueSaveLayout ¶
func (o *EditorPlugin) QueueSaveLayout()
Queue save the project's editor layout. Args: [], Returns: void
func (*EditorPlugin) RemoveControlFromBottomPanel ¶
func (o *EditorPlugin) RemoveControlFromBottomPanel(control ObjectImplementer)
Remove the control from the bottom panel. Don't forget to call this if you added one, so the editor can remove it cleanly. Args: [{ false control Object}], Returns: void
func (*EditorPlugin) RemoveControlFromContainer ¶
func (o *EditorPlugin) RemoveControlFromContainer(container gdnative.Int, control ObjectImplementer)
Remove the control from the specified container. Use it when cleaning up after adding a control with [method add_control_to_container]. Note that you can simply free the control if you won't use it anymore. Args: [{ false container int} { false control Object}], Returns: void
func (*EditorPlugin) RemoveControlFromDocks ¶
func (o *EditorPlugin) RemoveControlFromDocks(control ObjectImplementer)
Remove the control from the dock. Don't forget to call this if you added one, so the editor can save the layout and remove it cleanly. Args: [{ false control Object}], Returns: void
func (*EditorPlugin) RemoveCustomType ¶
func (o *EditorPlugin) RemoveCustomType(aType gdnative.String)
Remove a custom type added by [method EditorPlugin.add_custom_type] Args: [{ false type String}], Returns: void
func (*EditorPlugin) RemoveExportPlugin ¶
func (o *EditorPlugin) RemoveExportPlugin(exporter EditorExportPluginImplementer)
Args: [{ false exporter EditorExportPlugin}], Returns: void
func (*EditorPlugin) RemoveImportPlugin ¶
func (o *EditorPlugin) RemoveImportPlugin(importer EditorImportPluginImplementer)
Args: [{ false importer EditorImportPlugin}], Returns: void
func (*EditorPlugin) RemoveSceneImportPlugin ¶
func (o *EditorPlugin) RemoveSceneImportPlugin(sceneImporter EditorSceneImporterImplementer)
Args: [{ false scene_importer EditorSceneImporter}], Returns: void
func (*EditorPlugin) SaveExternalData ¶
func (o *EditorPlugin) SaveExternalData()
This method is called after the editor saves the project or when it's closed. It asks the plugin to save edited external scenes/resources. Args: [], Returns: void
func (*EditorPlugin) SetForceDrawOverForwardingEnabled ¶
func (o *EditorPlugin) SetForceDrawOverForwardingEnabled()
Args: [], Returns: void
func (*EditorPlugin) SetInputEventForwardingAlwaysEnabled ¶
func (o *EditorPlugin) SetInputEventForwardingAlwaysEnabled()
Use this method if you always want to receive inputs from 3D view screen inside [method forward_spatial_gui_input]. It might be especially usable if your plugin will want to use raycast in the scene. Args: [], Returns: void
func (*EditorPlugin) SetState ¶
func (o *EditorPlugin) SetState(state gdnative.Dictionary)
Restore the state saved by [method EditorPlugin.get_state]. Args: [{ false state Dictionary}], Returns: void
func (*EditorPlugin) SetWindowLayout ¶
func (o *EditorPlugin) SetWindowLayout(layout ConfigFileImplementer)
Restore the plugin GUI layout saved by [method EditorPlugin.get_window_layout]. Args: [{ false layout ConfigFile}], Returns: void
func (*EditorPlugin) UpdateOverlays ¶
func (o *EditorPlugin) UpdateOverlays() gdnative.Int
Args: [], Returns: int
type EditorPluginCustomControlContainer ¶
type EditorPluginCustomControlContainer int
EditorPluginCustomControlContainer is an enum for CustomControlContainer values.
const ( EditorPluginContainerCanvasEditorBottom EditorPluginCustomControlContainer = 6 EditorPluginContainerCanvasEditorMenu EditorPluginCustomControlContainer = 4 EditorPluginContainerCanvasEditorSide EditorPluginCustomControlContainer = 5 EditorPluginContainerPropertyEditorBottom EditorPluginCustomControlContainer = 7 EditorPluginContainerSpatialEditorBottom EditorPluginCustomControlContainer = 3 EditorPluginContainerSpatialEditorMenu EditorPluginCustomControlContainer = 1 EditorPluginContainerSpatialEditorSide EditorPluginCustomControlContainer = 2 EditorPluginContainerToolbar EditorPluginCustomControlContainer = 0 )
type EditorPluginDockSlot ¶
type EditorPluginDockSlot int
EditorPluginDockSlot is an enum for DockSlot values.
const ( EditorPluginDockSlotLeftBl EditorPluginDockSlot = 1 EditorPluginDockSlotLeftBr EditorPluginDockSlot = 3 EditorPluginDockSlotLeftUl EditorPluginDockSlot = 0 EditorPluginDockSlotLeftUr EditorPluginDockSlot = 2 EditorPluginDockSlotMax EditorPluginDockSlot = 8 EditorPluginDockSlotRightBl EditorPluginDockSlot = 5 EditorPluginDockSlotRightBr EditorPluginDockSlot = 7 EditorPluginDockSlotRightUl EditorPluginDockSlot = 4 EditorPluginDockSlotRightUr EditorPluginDockSlot = 6 )
type EditorPluginImplementer ¶
type EditorPluginImplementer interface { NodeImplementer AddControlToBottomPanel(control ObjectImplementer, title gdnative.String) ToolButtonImplementer AddControlToContainer(container gdnative.Int, control ObjectImplementer) AddControlToDock(slot gdnative.Int, control ObjectImplementer) AddCustomType(aType gdnative.String, base gdnative.String, script ScriptImplementer, icon TextureImplementer) AddExportPlugin(exporter EditorExportPluginImplementer) AddImportPlugin(importer EditorImportPluginImplementer) AddSceneImportPlugin(sceneImporter EditorSceneImporterImplementer) ApplyChanges() Clear() CreateSpatialGizmo(forSpatial SpatialImplementer) EditorSpatialGizmoImplementer Edit(object ObjectImplementer) ForwardCanvasGuiInput(event InputEventImplementer) gdnative.Bool ForwardDrawOverViewport(overlay ControlImplementer) ForwardForceDrawOverViewport(overlay ControlImplementer) ForwardSpatialGuiInput(camera CameraImplementer, event InputEventImplementer) gdnative.Bool GetBreakpoints() gdnative.PoolStringArray GetEditorInterface() EditorInterfaceImplementer GetPluginIcon() ObjectImplementer GetPluginName() gdnative.String GetState() gdnative.Dictionary GetUndoRedo() UndoRedoImplementer GetWindowLayout(layout ConfigFileImplementer) Handles(object ObjectImplementer) gdnative.Bool HasMainScreen() gdnative.Bool HideBottomPanel() MakeBottomPanelItemVisible(item ObjectImplementer) MakeVisible(visible gdnative.Bool) QueueSaveLayout() RemoveControlFromBottomPanel(control ObjectImplementer) RemoveControlFromContainer(container gdnative.Int, control ObjectImplementer) RemoveControlFromDocks(control ObjectImplementer) RemoveCustomType(aType gdnative.String) RemoveExportPlugin(exporter EditorExportPluginImplementer) RemoveImportPlugin(importer EditorImportPluginImplementer) RemoveSceneImportPlugin(sceneImporter EditorSceneImporterImplementer) SaveExternalData() SetForceDrawOverForwardingEnabled() SetInputEventForwardingAlwaysEnabled() SetState(state gdnative.Dictionary) SetWindowLayout(layout ConfigFileImplementer) UpdateOverlays() gdnative.Int }
EditorPluginImplementer is an interface that implements the methods of the EditorPlugin class.
type EditorResourceConversionPlugin ¶
type EditorResourceConversionPlugin struct { Reference // contains filtered or unexported fields }
func (*EditorResourceConversionPlugin) BaseClass ¶
func (o *EditorResourceConversionPlugin) BaseClass() string
func (*EditorResourceConversionPlugin) X_Convert ¶
func (o *EditorResourceConversionPlugin) X_Convert(resource ResourceImplementer) ResourceImplementer
Args: [{ false resource Resource}], Returns: Resource
func (*EditorResourceConversionPlugin) X_ConvertsTo ¶
func (o *EditorResourceConversionPlugin) X_ConvertsTo() gdnative.String
Args: [], Returns: String
type EditorResourceConversionPluginImplementer ¶
type EditorResourceConversionPluginImplementer interface { ReferenceImplementer X_Convert(resource ResourceImplementer) ResourceImplementer X_ConvertsTo() gdnative.String }
EditorResourceConversionPluginImplementer is an interface that implements the methods of the EditorResourceConversionPlugin class.
type EditorResourcePreview ¶
type EditorResourcePreview struct { Node // contains filtered or unexported fields }
This object is used to generate previews for resources of files.
func (*EditorResourcePreview) AddPreviewGenerator ¶
func (o *EditorResourcePreview) AddPreviewGenerator(generator EditorResourcePreviewGeneratorImplementer)
Create an own, custom preview generator. Args: [{ false generator EditorResourcePreviewGenerator}], Returns: void
func (*EditorResourcePreview) BaseClass ¶
func (o *EditorResourcePreview) BaseClass() string
func (*EditorResourcePreview) CheckForInvalidation ¶
func (o *EditorResourcePreview) CheckForInvalidation(path gdnative.String)
Check if the resource changed, if so it will be invalidated and the corresponding signal emitted. Args: [{ false path String}], Returns: void
func (*EditorResourcePreview) QueueEditedResourcePreview ¶
func (o *EditorResourcePreview) QueueEditedResourcePreview(resource ResourceImplementer, receiver ObjectImplementer, receiverFunc gdnative.String, userdata gdnative.Variant)
Queue a resource being edited for preview (using an instance). Once the preview is ready, your receiver.receiver_func will be called either containing the preview texture or an empty texture (if no preview was possible). Callback must have the format: (path,texture,userdata). Userdata can be anything. Args: [{ false resource Resource} { false receiver Object} { false receiver_func String} { false userdata Variant}], Returns: void
func (*EditorResourcePreview) QueueResourcePreview ¶
func (o *EditorResourcePreview) QueueResourcePreview(path gdnative.String, receiver ObjectImplementer, receiverFunc gdnative.String, userdata gdnative.Variant)
Queue a resource file for preview (using a path). Once the preview is ready, your receiver.receiver_func will be called either containing the preview texture or an empty texture (if no preview was possible). Callback must have the format: (path,texture,userdata). Userdata can be anything. Args: [{ false path String} { false receiver Object} { false receiver_func String} { false userdata Variant}], Returns: void
func (*EditorResourcePreview) RemovePreviewGenerator ¶
func (o *EditorResourcePreview) RemovePreviewGenerator(generator EditorResourcePreviewGeneratorImplementer)
Remove a custom preview generator. Args: [{ false generator EditorResourcePreviewGenerator}], Returns: void
func (*EditorResourcePreview) X_PreviewReady ¶
func (o *EditorResourcePreview) X_PreviewReady(arg0 gdnative.String, arg1 TextureImplementer, arg2 gdnative.Int, arg3 gdnative.String, arg4 gdnative.Variant)
Undocumented Args: [{ false arg0 String} { false arg1 Texture} { false arg2 int} { false arg3 String} { false arg4 Variant}], Returns: void
type EditorResourcePreviewGenerator ¶
type EditorResourcePreviewGenerator struct { Reference // contains filtered or unexported fields }
Custom code to generate previews. Please check "file_dialog/thumbnail_size" in EditorSettings to find out the right size to do previews at.
func (*EditorResourcePreviewGenerator) BaseClass ¶
func (o *EditorResourcePreviewGenerator) BaseClass() string
func (*EditorResourcePreviewGenerator) Generate ¶
func (o *EditorResourcePreviewGenerator) Generate(from ResourceImplementer) TextureImplementer
Generate a preview from a given resource. This must be always implemented. Returning an empty texture is an OK way to fail and let another generator take care. Care must be taken because this function is always called from a thread (not the main thread). Args: [{ false from Resource}], Returns: Texture
func (*EditorResourcePreviewGenerator) GenerateFromPath ¶
func (o *EditorResourcePreviewGenerator) GenerateFromPath(path gdnative.String) TextureImplementer
Generate a preview directly from a path, implementing this is optional, as default code will load and call generate() Returning an empty texture is an OK way to fail and let another generator take care. Care must be taken because this function is always called from a thread (not the main thread). Args: [{ false path String}], Returns: Texture
type EditorResourcePreviewGeneratorImplementer ¶
type EditorResourcePreviewGeneratorImplementer interface { ReferenceImplementer Generate(from ResourceImplementer) TextureImplementer GenerateFromPath(path gdnative.String) TextureImplementer Handles(aType gdnative.String) gdnative.Bool }
EditorResourcePreviewGeneratorImplementer is an interface that implements the methods of the EditorResourcePreviewGenerator class.
type EditorResourcePreviewImplementer ¶
type EditorResourcePreviewImplementer interface { NodeImplementer X_PreviewReady(arg0 gdnative.String, arg1 TextureImplementer, arg2 gdnative.Int, arg3 gdnative.String, arg4 gdnative.Variant) AddPreviewGenerator(generator EditorResourcePreviewGeneratorImplementer) CheckForInvalidation(path gdnative.String) QueueEditedResourcePreview(resource ResourceImplementer, receiver ObjectImplementer, receiverFunc gdnative.String, userdata gdnative.Variant) QueueResourcePreview(path gdnative.String, receiver ObjectImplementer, receiverFunc gdnative.String, userdata gdnative.Variant) RemovePreviewGenerator(generator EditorResourcePreviewGeneratorImplementer) }
EditorResourcePreviewImplementer is an interface that implements the methods of the EditorResourcePreview class.
type EditorSceneImporter ¶
type EditorSceneImporter struct { Reference // contains filtered or unexported fields }
func (*EditorSceneImporter) BaseClass ¶
func (o *EditorSceneImporter) BaseClass() string
func (*EditorSceneImporter) ImportAnimationFromOtherImporter ¶
func (o *EditorSceneImporter) ImportAnimationFromOtherImporter(path gdnative.String, flags gdnative.Int, bakeFps gdnative.Int) AnimationImplementer
Args: [{ false path String} { false flags int} { false bake_fps int}], Returns: Animation
func (*EditorSceneImporter) ImportSceneFromOtherImporter ¶
func (o *EditorSceneImporter) ImportSceneFromOtherImporter(path gdnative.String, flags gdnative.Int, bakeFps gdnative.Int) NodeImplementer
Args: [{ false path String} { false flags int} { false bake_fps int}], Returns: Node
func (*EditorSceneImporter) X_GetExtensions ¶
func (o *EditorSceneImporter) X_GetExtensions() gdnative.Array
Args: [], Returns: Array
func (*EditorSceneImporter) X_GetImportFlags ¶
func (o *EditorSceneImporter) X_GetImportFlags() gdnative.Int
Args: [], Returns: int
func (*EditorSceneImporter) X_ImportAnimation ¶
func (o *EditorSceneImporter) X_ImportAnimation(path gdnative.String, flags gdnative.Int, bakeFps gdnative.Int) AnimationImplementer
Args: [{ false path String} { false flags int} { false bake_fps int}], Returns: Animation
func (*EditorSceneImporter) X_ImportScene ¶
func (o *EditorSceneImporter) X_ImportScene(path gdnative.String, flags gdnative.Int, bakeFps gdnative.Int) NodeImplementer
Args: [{ false path String} { false flags int} { false bake_fps int}], Returns: Node
type EditorSceneImporterImplementer ¶
type EditorSceneImporterImplementer interface { ReferenceImplementer X_GetExtensions() gdnative.Array X_GetImportFlags() gdnative.Int X_ImportAnimation(path gdnative.String, flags gdnative.Int, bakeFps gdnative.Int) AnimationImplementer X_ImportScene(path gdnative.String, flags gdnative.Int, bakeFps gdnative.Int) NodeImplementer ImportAnimationFromOtherImporter(path gdnative.String, flags gdnative.Int, bakeFps gdnative.Int) AnimationImplementer ImportSceneFromOtherImporter(path gdnative.String, flags gdnative.Int, bakeFps gdnative.Int) NodeImplementer }
EditorSceneImporterImplementer is an interface that implements the methods of the EditorSceneImporter class.
type EditorScenePostImport ¶
type EditorScenePostImport struct { Reference // contains filtered or unexported fields }
func (*EditorScenePostImport) BaseClass ¶
func (o *EditorScenePostImport) BaseClass() string
func (*EditorScenePostImport) PostImport ¶
func (o *EditorScenePostImport) PostImport(scene ObjectImplementer)
Args: [{ false scene Object}], Returns: void
type EditorScenePostImportImplementer ¶
type EditorScenePostImportImplementer interface { ReferenceImplementer PostImport(scene ObjectImplementer) }
EditorScenePostImportImplementer is an interface that implements the methods of the EditorScenePostImport class.
type EditorScript ¶
type EditorScript struct { Reference // contains filtered or unexported fields }
Scripts extending this class and implementing its [code]_run()[/code] method can be executed from the Script Editor's [code]File -> Run[/code] menu option (or by pressing [code]CTRL+Shift+X[/code]) while the editor is running. This is useful for adding custom in-editor functionality to Godot. For more complex additions, consider using [EditorPlugin]s instead. Note that extending scripts need to have [code]tool mode[/code] enabled. Example script: [codeblock] tool extends EditorScript func _run(): print("Hello from the Godot Editor!") [/codeblock] Note that the script is run in the Editor context, which means the output is visible in the console window started with the Editor (STDOUT) instead of the usual Godot [i]Output[/i] dock.
func (*EditorScript) AddRootNode ¶
func (o *EditorScript) AddRootNode(node ObjectImplementer)
Adds [code]node[/code] as a child of the root node in the editor context. WARNING: The implementation of this method is currently disabled. Args: [{ false node Object}], Returns: void
func (*EditorScript) BaseClass ¶
func (o *EditorScript) BaseClass() string
func (*EditorScript) GetEditorInterface ¶
func (o *EditorScript) GetEditorInterface() EditorInterfaceImplementer
Returns the [EditorInterface] singleton instance. Args: [], Returns: EditorInterface
func (*EditorScript) GetScene ¶
func (o *EditorScript) GetScene() NodeImplementer
Returns the Editor's currently active scene. Args: [], Returns: Node
func (*EditorScript) X_Run ¶
func (o *EditorScript) X_Run()
This method is executed by the Editor when [code]File -> Run[/code] is used. Args: [], Returns: void
type EditorScriptImplementer ¶
type EditorScriptImplementer interface { ReferenceImplementer X_Run() AddRootNode(node ObjectImplementer) GetEditorInterface() EditorInterfaceImplementer GetScene() NodeImplementer }
EditorScriptImplementer is an interface that implements the methods of the EditorScript class.
type EditorSelection ¶
type EditorSelection struct { Object // contains filtered or unexported fields }
This object manages the SceneTree selection in the editor.
func (*EditorSelection) AddNode ¶
func (o *EditorSelection) AddNode(node ObjectImplementer)
Add a node to the selection. Args: [{ false node Object}], Returns: void
func (*EditorSelection) BaseClass ¶
func (o *EditorSelection) BaseClass() string
func (*EditorSelection) Clear ¶
func (o *EditorSelection) Clear()
Clear the selection. Args: [], Returns: void
func (*EditorSelection) GetSelectedNodes ¶
func (o *EditorSelection) GetSelectedNodes() gdnative.Array
Get the list of selected nodes. Args: [], Returns: Array
func (*EditorSelection) GetTransformableSelectedNodes ¶
func (o *EditorSelection) GetTransformableSelectedNodes() gdnative.Array
Get the list of selected nodes, optimized for transform operations (ie, moving them, rotating, etc). This list avoids situations where a node is selected and also chid/grandchild. Args: [], Returns: Array
func (*EditorSelection) RemoveNode ¶
func (o *EditorSelection) RemoveNode(node ObjectImplementer)
Remove a node from the selection. Args: [{ false node Object}], Returns: void
func (*EditorSelection) X_EmitChange ¶
func (o *EditorSelection) X_EmitChange()
Undocumented Args: [], Returns: void
func (*EditorSelection) X_NodeRemoved ¶
func (o *EditorSelection) X_NodeRemoved(arg0 ObjectImplementer)
Undocumented Args: [{ false arg0 Object}], Returns: void
type EditorSelectionImplementer ¶
type EditorSelectionImplementer interface { ObjectImplementer X_EmitChange() X_NodeRemoved(arg0 ObjectImplementer) AddNode(node ObjectImplementer) Clear() GetSelectedNodes() gdnative.Array GetTransformableSelectedNodes() gdnative.Array RemoveNode(node ObjectImplementer) }
EditorSelectionImplementer is an interface that implements the methods of the EditorSelection class.
type EditorSettings ¶
type EditorSettings struct { Resource // contains filtered or unexported fields }
Object that holds the project-independent editor settings. These settings are generally visible in the Editor Settings menu. Accessing the settings is done by using the regular Object API, such as: [codeblock] settings.set(prop,value) settings.get(prop) list_of_settings = settings.get_property_list() [/codeblock]
func (*EditorSettings) AddPropertyInfo ¶
func (o *EditorSettings) AddPropertyInfo(info gdnative.Dictionary)
Add a custom property info to a property. The dictionary must contain: name:[String](the name of the property) and type:[int](see TYPE_* in [@GlobalScope]), and optionally hint:[int](see PROPERTY_HINT_* in [@GlobalScope]), hint_string:[String]. Example: [codeblock] editor_settings.set("category/property_name", 0) var property_info = { "name": "category/property_name", "type": TYPE_INT, "hint": PROPERTY_HINT_ENUM, "hint_string": "one,two,three" } editor_settings.add_property_info(property_info) [/codeblock] Args: [{ false info Dictionary}], Returns: void
func (*EditorSettings) BaseClass ¶
func (o *EditorSettings) BaseClass() string
func (*EditorSettings) Erase ¶
func (o *EditorSettings) Erase(property gdnative.String)
Erase a given setting (pass full property path). Args: [{ false property String}], Returns: void
func (*EditorSettings) GetFavoriteDirs ¶
func (o *EditorSettings) GetFavoriteDirs() gdnative.PoolStringArray
Get the list of favorite directories for this project. Args: [], Returns: PoolStringArray
func (*EditorSettings) GetProjectSettingsDir ¶
func (o *EditorSettings) GetProjectSettingsDir() gdnative.String
Get the specific project settings path. Projects all have a unique sub-directory inside the settings path where project specific settings are saved. Args: [], Returns: String
func (*EditorSettings) GetRecentDirs ¶
func (o *EditorSettings) GetRecentDirs() gdnative.PoolStringArray
Get the list of recently visited folders in the file dialog for this project. Args: [], Returns: PoolStringArray
func (*EditorSettings) GetSetting ¶
func (o *EditorSettings) GetSetting(name gdnative.String) gdnative.Variant
Args: [{ false name String}], Returns: Variant
func (*EditorSettings) GetSettingsDir ¶
func (o *EditorSettings) GetSettingsDir() gdnative.String
Get the global settings path for the engine. Inside this path you can find some standard paths such as: settings/tmp - used for temporary storage of files settings/templates - where export templates are located Args: [], Returns: String
func (*EditorSettings) HasSetting ¶
func (o *EditorSettings) HasSetting(name gdnative.String) gdnative.Bool
Args: [{ false name String}], Returns: bool
func (*EditorSettings) PropertyCanRevert ¶
func (o *EditorSettings) PropertyCanRevert(name gdnative.String) gdnative.Bool
Args: [{ false name String}], Returns: bool
func (*EditorSettings) PropertyGetRevert ¶
func (o *EditorSettings) PropertyGetRevert(name gdnative.String) gdnative.Variant
Args: [{ false name String}], Returns: Variant
func (*EditorSettings) SetFavoriteDirs ¶
func (o *EditorSettings) SetFavoriteDirs(dirs gdnative.PoolStringArray)
Set the list of favorite directories for this project. Args: [{ false dirs PoolStringArray}], Returns: void
func (*EditorSettings) SetInitialValue ¶
func (o *EditorSettings) SetInitialValue(name gdnative.String, value gdnative.Variant, updateCurrent gdnative.Bool)
Args: [{ false name String} { false value Variant} { false update_current bool}], Returns: void
func (*EditorSettings) SetRecentDirs ¶
func (o *EditorSettings) SetRecentDirs(dirs gdnative.PoolStringArray)
Set the list of recently visited folders in the file dialog for this project. Args: [{ false dirs PoolStringArray}], Returns: void
func (*EditorSettings) SetSetting ¶
func (o *EditorSettings) SetSetting(name gdnative.String, value gdnative.Variant)
Args: [{ false name String} { false value Variant}], Returns: void
type EditorSettingsImplementer ¶
type EditorSettingsImplementer interface { ResourceImplementer AddPropertyInfo(info gdnative.Dictionary) Erase(property gdnative.String) GetFavoriteDirs() gdnative.PoolStringArray GetProjectSettingsDir() gdnative.String GetRecentDirs() gdnative.PoolStringArray GetSetting(name gdnative.String) gdnative.Variant GetSettingsDir() gdnative.String HasSetting(name gdnative.String) gdnative.Bool PropertyCanRevert(name gdnative.String) gdnative.Bool PropertyGetRevert(name gdnative.String) gdnative.Variant SetFavoriteDirs(dirs gdnative.PoolStringArray) SetInitialValue(name gdnative.String, value gdnative.Variant, updateCurrent gdnative.Bool) SetRecentDirs(dirs gdnative.PoolStringArray) SetSetting(name gdnative.String, value gdnative.Variant) }
EditorSettingsImplementer is an interface that implements the methods of the EditorSettings class.
type EditorSpatialGizmo ¶
type EditorSpatialGizmo struct { SpatialGizmo // contains filtered or unexported fields }
Custom gizmo that is used for providing custom visualization and editing (handles) for 3D Spatial objects. These are created by [method EditorPlugin.create_spatial_gizmo].
func (*EditorSpatialGizmo) AddCollisionSegments ¶
func (o *EditorSpatialGizmo) AddCollisionSegments(segments gdnative.PoolVector3Array)
Args: [{ false segments PoolVector3Array}], Returns: void
func (*EditorSpatialGizmo) AddCollisionTriangles ¶
func (o *EditorSpatialGizmo) AddCollisionTriangles(triangles TriangleMeshImplementer, bounds gdnative.Aabb)
Add collision triangles to the gizmo for picking. A [TriangleMesh] can be generated from a regular [Mesh] too. Call this function during [method redraw]. Args: [{ false triangles TriangleMesh} { false bounds AABB}], Returns: void
func (*EditorSpatialGizmo) AddHandles ¶
func (o *EditorSpatialGizmo) AddHandles(handles gdnative.PoolVector3Array, billboard gdnative.Bool, secondary gdnative.Bool)
Add a list of handles (points) which can be used to deform the object being edited. There are virtual functions which will be called upon editing of these handles. Call this function during [method redraw]. Args: [{ false handles PoolVector3Array} {False true billboard bool} {False true secondary bool}], Returns: void
func (*EditorSpatialGizmo) AddLines ¶
func (o *EditorSpatialGizmo) AddLines(lines gdnative.PoolVector3Array, material MaterialImplementer, billboard gdnative.Bool)
Add lines to the gizmo (as sets of 2 points), with a given material. The lines are used for visualizing the gizmo. Call this function during [method redraw]. Args: [{ false lines PoolVector3Array} { false material Material} {False true billboard bool}], Returns: void
func (*EditorSpatialGizmo) AddMesh ¶
func (o *EditorSpatialGizmo) AddMesh(mesh ArrayMeshImplementer, billboard gdnative.Bool, skeleton gdnative.Rid)
Args: [{ false mesh ArrayMesh} {False true billboard bool} {[RID] true skeleton RID}], Returns: void
func (*EditorSpatialGizmo) AddUnscaledBillboard ¶
func (o *EditorSpatialGizmo) AddUnscaledBillboard(material MaterialImplementer, defaultScale gdnative.Real)
Add an unscaled billboard for visualization. Call this function during [method redraw]. Args: [{ false material Material} {1 true default_scale float}], Returns: void
func (*EditorSpatialGizmo) BaseClass ¶
func (o *EditorSpatialGizmo) BaseClass() string
func (*EditorSpatialGizmo) CommitHandle ¶
func (o *EditorSpatialGizmo) CommitHandle(index gdnative.Int, restore gdnative.Variant, cancel gdnative.Bool)
Commit a handle being edited (handles must have been previously added by [method add_handles]). If the cancel parameter is true, an option to restore the edited value to the original is provided. Args: [{ false index int} { false restore Variant} { false cancel bool}], Returns: void
func (*EditorSpatialGizmo) GetHandleName ¶
func (o *EditorSpatialGizmo) GetHandleName(index gdnative.Int) gdnative.String
Get the name of an edited handle (handles must have been previously added by [method add_handles]). Handles can be named for reference to the user when editing. Args: [{ false index int}], Returns: String
func (*EditorSpatialGizmo) GetHandleValue ¶
func (o *EditorSpatialGizmo) GetHandleValue(index gdnative.Int) gdnative.Variant
Get actual value of a handle. This value can be anything and used for eventually undoing the motion when calling [method commit_handle] Args: [{ false index int}], Returns: Variant
func (*EditorSpatialGizmo) Redraw ¶
func (o *EditorSpatialGizmo) Redraw()
This function is called when the Spatial this gizmo refers to changes (the [method Spatial.update_gizmo] is called). Args: [], Returns: void
func (*EditorSpatialGizmo) SetHandle ¶
func (o *EditorSpatialGizmo) SetHandle(index gdnative.Int, camera CameraImplementer, point gdnative.Vector2)
This function is used when the user drags a gizmo handle (previously added with [method add_handles]) in screen coordinates. The [Camera] is also provided so screen coordinates can be converted to raycasts. Args: [{ false index int} { false camera Camera} { false point Vector2}], Returns: void
func (*EditorSpatialGizmo) SetSpatialNode ¶
func (o *EditorSpatialGizmo) SetSpatialNode(node ObjectImplementer)
Args: [{ false node Object}], Returns: void
type EditorSpatialGizmoImplementer ¶
type EditorSpatialGizmoImplementer interface { SpatialGizmoImplementer AddCollisionSegments(segments gdnative.PoolVector3Array) AddCollisionTriangles(triangles TriangleMeshImplementer, bounds gdnative.Aabb) AddHandles(handles gdnative.PoolVector3Array, billboard gdnative.Bool, secondary gdnative.Bool) AddLines(lines gdnative.PoolVector3Array, material MaterialImplementer, billboard gdnative.Bool) AddMesh(mesh ArrayMeshImplementer, billboard gdnative.Bool, skeleton gdnative.Rid) AddUnscaledBillboard(material MaterialImplementer, defaultScale gdnative.Real) Clear() CommitHandle(index gdnative.Int, restore gdnative.Variant, cancel gdnative.Bool) GetHandleName(index gdnative.Int) gdnative.String GetHandleValue(index gdnative.Int) gdnative.Variant Redraw() SetHandle(index gdnative.Int, camera CameraImplementer, point gdnative.Vector2) SetSpatialNode(node ObjectImplementer) }
EditorSpatialGizmoImplementer is an interface that implements the methods of the EditorSpatialGizmo class.
type EncodedObjectAsID ¶
type EncodedObjectAsID struct { Reference // contains filtered or unexported fields }
func (*EncodedObjectAsID) BaseClass ¶
func (o *EncodedObjectAsID) BaseClass() string
func (*EncodedObjectAsID) GetObjectId ¶
func (o *EncodedObjectAsID) GetObjectId() gdnative.Int
Args: [], Returns: int
func (*EncodedObjectAsID) SetObjectId ¶
func (o *EncodedObjectAsID) SetObjectId(id gdnative.Int)
Args: [{ false id int}], Returns: void
type EncodedObjectAsIDImplementer ¶
type EncodedObjectAsIDImplementer interface { ReferenceImplementer GetObjectId() gdnative.Int SetObjectId(id gdnative.Int) }
EncodedObjectAsIDImplementer is an interface that implements the methods of the EncodedObjectAsID class.
type EngineImplementer ¶
type EngineImplementer interface { ObjectImplementer GetFramesDrawn() gdnative.Int GetFramesPerSecond() gdnative.Real GetIterationsPerSecond() gdnative.Int GetMainLoop() MainLoopImplementer GetSingleton(name gdnative.String) ObjectImplementer GetTargetFps() gdnative.Int GetTimeScale() gdnative.Real GetVersionInfo() gdnative.Dictionary HasSingleton(name gdnative.String) gdnative.Bool IsEditorHint() gdnative.Bool IsInPhysicsFrame() gdnative.Bool SetEditorHint(enabled gdnative.Bool) SetIterationsPerSecond(iterationsPerSecond gdnative.Int) SetTargetFps(targetFps gdnative.Int) SetTimeScale(timeScale gdnative.Real) }
EngineImplementer is an interface that implements the methods of the Engine class.
type Environment ¶
type Environment struct { Resource // contains filtered or unexported fields }
Resource for environment nodes (like WorldEnvironment) that define multiple environment operations (such as background Sky or [Color], ambient light, fog, depth-of-field...). These parameters affect the final render of the scene. The order of these operations is: - DOF Blur - Motion Blur - Bloom - Tonemap (auto exposure) - Adjustments
func (*Environment) BaseClass ¶
func (o *Environment) BaseClass() string
func (*Environment) GetAdjustmentBrightness ¶
func (o *Environment) GetAdjustmentBrightness() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetAdjustmentColorCorrection ¶
func (o *Environment) GetAdjustmentColorCorrection() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*Environment) GetAdjustmentContrast ¶
func (o *Environment) GetAdjustmentContrast() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetAdjustmentSaturation ¶
func (o *Environment) GetAdjustmentSaturation() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetAmbientLightColor ¶
func (o *Environment) GetAmbientLightColor() gdnative.Color
Undocumented Args: [], Returns: Color
func (*Environment) GetAmbientLightEnergy ¶
func (o *Environment) GetAmbientLightEnergy() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetAmbientLightSkyContribution ¶
func (o *Environment) GetAmbientLightSkyContribution() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetBackground ¶
func (o *Environment) GetBackground() EnvironmentBGMode
Undocumented Args: [], Returns: enum.Environment::BGMode
func (*Environment) GetBgColor ¶
func (o *Environment) GetBgColor() gdnative.Color
Undocumented Args: [], Returns: Color
func (*Environment) GetBgEnergy ¶
func (o *Environment) GetBgEnergy() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetCanvasMaxLayer ¶
func (o *Environment) GetCanvasMaxLayer() gdnative.Int
Undocumented Args: [], Returns: int
func (*Environment) GetDofBlurFarAmount ¶
func (o *Environment) GetDofBlurFarAmount() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetDofBlurFarDistance ¶
func (o *Environment) GetDofBlurFarDistance() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetDofBlurFarQuality ¶
func (o *Environment) GetDofBlurFarQuality() EnvironmentDOFBlurQuality
Undocumented Args: [], Returns: enum.Environment::DOFBlurQuality
func (*Environment) GetDofBlurFarTransition ¶
func (o *Environment) GetDofBlurFarTransition() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetDofBlurNearAmount ¶
func (o *Environment) GetDofBlurNearAmount() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetDofBlurNearDistance ¶
func (o *Environment) GetDofBlurNearDistance() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetDofBlurNearQuality ¶
func (o *Environment) GetDofBlurNearQuality() EnvironmentDOFBlurQuality
Undocumented Args: [], Returns: enum.Environment::DOFBlurQuality
func (*Environment) GetDofBlurNearTransition ¶
func (o *Environment) GetDofBlurNearTransition() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetFogColor ¶
func (o *Environment) GetFogColor() gdnative.Color
Undocumented Args: [], Returns: Color
func (*Environment) GetFogDepthBegin ¶
func (o *Environment) GetFogDepthBegin() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetFogDepthCurve ¶
func (o *Environment) GetFogDepthCurve() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetFogHeightCurve ¶
func (o *Environment) GetFogHeightCurve() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetFogHeightMax ¶
func (o *Environment) GetFogHeightMax() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetFogHeightMin ¶
func (o *Environment) GetFogHeightMin() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetFogSunAmount ¶
func (o *Environment) GetFogSunAmount() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetFogSunColor ¶
func (o *Environment) GetFogSunColor() gdnative.Color
Undocumented Args: [], Returns: Color
func (*Environment) GetFogTransmitCurve ¶
func (o *Environment) GetFogTransmitCurve() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetGlowBlendMode ¶
func (o *Environment) GetGlowBlendMode() EnvironmentGlowBlendMode
Undocumented Args: [], Returns: enum.Environment::GlowBlendMode
func (*Environment) GetGlowBloom ¶
func (o *Environment) GetGlowBloom() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetGlowHdrBleedScale ¶
func (o *Environment) GetGlowHdrBleedScale() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetGlowHdrBleedThreshold ¶
func (o *Environment) GetGlowHdrBleedThreshold() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetGlowIntensity ¶
func (o *Environment) GetGlowIntensity() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetGlowStrength ¶
func (o *Environment) GetGlowStrength() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetSky ¶
func (o *Environment) GetSky() SkyImplementer
Undocumented Args: [], Returns: Sky
func (*Environment) GetSkyCustomFov ¶
func (o *Environment) GetSkyCustomFov() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetSsaoBias ¶
func (o *Environment) GetSsaoBias() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetSsaoBlur ¶
func (o *Environment) GetSsaoBlur() EnvironmentSSAOBlur
Undocumented Args: [], Returns: enum.Environment::SSAOBlur
func (*Environment) GetSsaoColor ¶
func (o *Environment) GetSsaoColor() gdnative.Color
Undocumented Args: [], Returns: Color
func (*Environment) GetSsaoDirectLightAffect ¶
func (o *Environment) GetSsaoDirectLightAffect() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetSsaoEdgeSharpness ¶
func (o *Environment) GetSsaoEdgeSharpness() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetSsaoIntensity ¶
func (o *Environment) GetSsaoIntensity() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetSsaoIntensity2 ¶
func (o *Environment) GetSsaoIntensity2() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetSsaoQuality ¶
func (o *Environment) GetSsaoQuality() EnvironmentSSAOQuality
Undocumented Args: [], Returns: enum.Environment::SSAOQuality
func (*Environment) GetSsaoRadius ¶
func (o *Environment) GetSsaoRadius() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetSsaoRadius2 ¶
func (o *Environment) GetSsaoRadius2() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetSsrDepthTolerance ¶
func (o *Environment) GetSsrDepthTolerance() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetSsrFadeIn ¶
func (o *Environment) GetSsrFadeIn() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetSsrFadeOut ¶
func (o *Environment) GetSsrFadeOut() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetSsrMaxSteps ¶
func (o *Environment) GetSsrMaxSteps() gdnative.Int
Undocumented Args: [], Returns: int
func (*Environment) GetTonemapAutoExposure ¶
func (o *Environment) GetTonemapAutoExposure() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*Environment) GetTonemapAutoExposureGrey ¶
func (o *Environment) GetTonemapAutoExposureGrey() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetTonemapAutoExposureMax ¶
func (o *Environment) GetTonemapAutoExposureMax() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetTonemapAutoExposureMin ¶
func (o *Environment) GetTonemapAutoExposureMin() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetTonemapAutoExposureSpeed ¶
func (o *Environment) GetTonemapAutoExposureSpeed() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetTonemapExposure ¶
func (o *Environment) GetTonemapExposure() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetTonemapWhite ¶
func (o *Environment) GetTonemapWhite() gdnative.Real
Undocumented Args: [], Returns: float
func (*Environment) GetTonemapper ¶
func (o *Environment) GetTonemapper() EnvironmentToneMapper
Undocumented Args: [], Returns: enum.Environment::ToneMapper
func (*Environment) IsAdjustmentEnabled ¶
func (o *Environment) IsAdjustmentEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*Environment) IsDofBlurFarEnabled ¶
func (o *Environment) IsDofBlurFarEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*Environment) IsDofBlurNearEnabled ¶
func (o *Environment) IsDofBlurNearEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*Environment) IsFogDepthEnabled ¶
func (o *Environment) IsFogDepthEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*Environment) IsFogEnabled ¶
func (o *Environment) IsFogEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*Environment) IsFogHeightEnabled ¶
func (o *Environment) IsFogHeightEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*Environment) IsFogTransmitEnabled ¶
func (o *Environment) IsFogTransmitEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*Environment) IsGlowBicubicUpscaleEnabled ¶
func (o *Environment) IsGlowBicubicUpscaleEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*Environment) IsGlowEnabled ¶
func (o *Environment) IsGlowEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*Environment) IsGlowLevelEnabled ¶
func (o *Environment) IsGlowLevelEnabled(idx gdnative.Int) gdnative.Bool
Undocumented Args: [{ false idx int}], Returns: bool
func (*Environment) IsSsaoEnabled ¶
func (o *Environment) IsSsaoEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*Environment) IsSsrEnabled ¶
func (o *Environment) IsSsrEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*Environment) IsSsrRough ¶
func (o *Environment) IsSsrRough() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*Environment) SetAdjustmentBrightness ¶
func (o *Environment) SetAdjustmentBrightness(brightness gdnative.Real)
Undocumented Args: [{ false brightness float}], Returns: void
func (*Environment) SetAdjustmentColorCorrection ¶
func (o *Environment) SetAdjustmentColorCorrection(colorCorrection TextureImplementer)
Undocumented Args: [{ false color_correction Texture}], Returns: void
func (*Environment) SetAdjustmentContrast ¶
func (o *Environment) SetAdjustmentContrast(contrast gdnative.Real)
Undocumented Args: [{ false contrast float}], Returns: void
func (*Environment) SetAdjustmentEnable ¶
func (o *Environment) SetAdjustmentEnable(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*Environment) SetAdjustmentSaturation ¶
func (o *Environment) SetAdjustmentSaturation(saturation gdnative.Real)
Undocumented Args: [{ false saturation float}], Returns: void
func (*Environment) SetAmbientLightColor ¶
func (o *Environment) SetAmbientLightColor(color gdnative.Color)
Undocumented Args: [{ false color Color}], Returns: void
func (*Environment) SetAmbientLightEnergy ¶
func (o *Environment) SetAmbientLightEnergy(energy gdnative.Real)
Undocumented Args: [{ false energy float}], Returns: void
func (*Environment) SetAmbientLightSkyContribution ¶
func (o *Environment) SetAmbientLightSkyContribution(energy gdnative.Real)
Undocumented Args: [{ false energy float}], Returns: void
func (*Environment) SetBackground ¶
func (o *Environment) SetBackground(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*Environment) SetBgColor ¶
func (o *Environment) SetBgColor(color gdnative.Color)
Undocumented Args: [{ false color Color}], Returns: void
func (*Environment) SetBgEnergy ¶
func (o *Environment) SetBgEnergy(energy gdnative.Real)
Undocumented Args: [{ false energy float}], Returns: void
func (*Environment) SetCanvasMaxLayer ¶
func (o *Environment) SetCanvasMaxLayer(layer gdnative.Int)
Undocumented Args: [{ false layer int}], Returns: void
func (*Environment) SetDofBlurFarAmount ¶
func (o *Environment) SetDofBlurFarAmount(intensity gdnative.Real)
Undocumented Args: [{ false intensity float}], Returns: void
func (*Environment) SetDofBlurFarDistance ¶
func (o *Environment) SetDofBlurFarDistance(intensity gdnative.Real)
Undocumented Args: [{ false intensity float}], Returns: void
func (*Environment) SetDofBlurFarEnabled ¶
func (o *Environment) SetDofBlurFarEnabled(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*Environment) SetDofBlurFarQuality ¶
func (o *Environment) SetDofBlurFarQuality(intensity gdnative.Int)
Undocumented Args: [{ false intensity int}], Returns: void
func (*Environment) SetDofBlurFarTransition ¶
func (o *Environment) SetDofBlurFarTransition(intensity gdnative.Real)
Undocumented Args: [{ false intensity float}], Returns: void
func (*Environment) SetDofBlurNearAmount ¶
func (o *Environment) SetDofBlurNearAmount(intensity gdnative.Real)
Undocumented Args: [{ false intensity float}], Returns: void
func (*Environment) SetDofBlurNearDistance ¶
func (o *Environment) SetDofBlurNearDistance(intensity gdnative.Real)
Undocumented Args: [{ false intensity float}], Returns: void
func (*Environment) SetDofBlurNearEnabled ¶
func (o *Environment) SetDofBlurNearEnabled(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*Environment) SetDofBlurNearQuality ¶
func (o *Environment) SetDofBlurNearQuality(level gdnative.Int)
Undocumented Args: [{ false level int}], Returns: void
func (*Environment) SetDofBlurNearTransition ¶
func (o *Environment) SetDofBlurNearTransition(intensity gdnative.Real)
Undocumented Args: [{ false intensity float}], Returns: void
func (*Environment) SetFogColor ¶
func (o *Environment) SetFogColor(color gdnative.Color)
Undocumented Args: [{ false color Color}], Returns: void
func (*Environment) SetFogDepthBegin ¶
func (o *Environment) SetFogDepthBegin(distance gdnative.Real)
Undocumented Args: [{ false distance float}], Returns: void
func (*Environment) SetFogDepthCurve ¶
func (o *Environment) SetFogDepthCurve(curve gdnative.Real)
Undocumented Args: [{ false curve float}], Returns: void
func (*Environment) SetFogDepthEnabled ¶
func (o *Environment) SetFogDepthEnabled(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*Environment) SetFogEnabled ¶
func (o *Environment) SetFogEnabled(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*Environment) SetFogHeightCurve ¶
func (o *Environment) SetFogHeightCurve(curve gdnative.Real)
Undocumented Args: [{ false curve float}], Returns: void
func (*Environment) SetFogHeightEnabled ¶
func (o *Environment) SetFogHeightEnabled(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*Environment) SetFogHeightMax ¶
func (o *Environment) SetFogHeightMax(height gdnative.Real)
Undocumented Args: [{ false height float}], Returns: void
func (*Environment) SetFogHeightMin ¶
func (o *Environment) SetFogHeightMin(height gdnative.Real)
Undocumented Args: [{ false height float}], Returns: void
func (*Environment) SetFogSunAmount ¶
func (o *Environment) SetFogSunAmount(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
func (*Environment) SetFogSunColor ¶
func (o *Environment) SetFogSunColor(color gdnative.Color)
Undocumented Args: [{ false color Color}], Returns: void
func (*Environment) SetFogTransmitCurve ¶
func (o *Environment) SetFogTransmitCurve(curve gdnative.Real)
Undocumented Args: [{ false curve float}], Returns: void
func (*Environment) SetFogTransmitEnabled ¶
func (o *Environment) SetFogTransmitEnabled(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*Environment) SetGlowBicubicUpscale ¶
func (o *Environment) SetGlowBicubicUpscale(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*Environment) SetGlowBlendMode ¶
func (o *Environment) SetGlowBlendMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*Environment) SetGlowBloom ¶
func (o *Environment) SetGlowBloom(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
func (*Environment) SetGlowEnabled ¶
func (o *Environment) SetGlowEnabled(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*Environment) SetGlowHdrBleedScale ¶
func (o *Environment) SetGlowHdrBleedScale(scale gdnative.Real)
Undocumented Args: [{ false scale float}], Returns: void
func (*Environment) SetGlowHdrBleedThreshold ¶
func (o *Environment) SetGlowHdrBleedThreshold(threshold gdnative.Real)
Undocumented Args: [{ false threshold float}], Returns: void
func (*Environment) SetGlowIntensity ¶
func (o *Environment) SetGlowIntensity(intensity gdnative.Real)
Undocumented Args: [{ false intensity float}], Returns: void
func (*Environment) SetGlowLevel ¶
func (o *Environment) SetGlowLevel(idx gdnative.Int, enabled gdnative.Bool)
Undocumented Args: [{ false idx int} { false enabled bool}], Returns: void
func (*Environment) SetGlowStrength ¶
func (o *Environment) SetGlowStrength(strength gdnative.Real)
Undocumented Args: [{ false strength float}], Returns: void
func (*Environment) SetSky ¶
func (o *Environment) SetSky(sky SkyImplementer)
Undocumented Args: [{ false sky Sky}], Returns: void
func (*Environment) SetSkyCustomFov ¶
func (o *Environment) SetSkyCustomFov(scale gdnative.Real)
Undocumented Args: [{ false scale float}], Returns: void
func (*Environment) SetSsaoBias ¶
func (o *Environment) SetSsaoBias(bias gdnative.Real)
Undocumented Args: [{ false bias float}], Returns: void
func (*Environment) SetSsaoBlur ¶
func (o *Environment) SetSsaoBlur(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*Environment) SetSsaoColor ¶
func (o *Environment) SetSsaoColor(color gdnative.Color)
Undocumented Args: [{ false color Color}], Returns: void
func (*Environment) SetSsaoDirectLightAffect ¶
func (o *Environment) SetSsaoDirectLightAffect(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
func (*Environment) SetSsaoEdgeSharpness ¶
func (o *Environment) SetSsaoEdgeSharpness(edgeSharpness gdnative.Real)
Undocumented Args: [{ false edge_sharpness float}], Returns: void
func (*Environment) SetSsaoEnabled ¶
func (o *Environment) SetSsaoEnabled(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*Environment) SetSsaoIntensity ¶
func (o *Environment) SetSsaoIntensity(intensity gdnative.Real)
Undocumented Args: [{ false intensity float}], Returns: void
func (*Environment) SetSsaoIntensity2 ¶
func (o *Environment) SetSsaoIntensity2(intensity gdnative.Real)
Undocumented Args: [{ false intensity float}], Returns: void
func (*Environment) SetSsaoQuality ¶
func (o *Environment) SetSsaoQuality(quality gdnative.Int)
Undocumented Args: [{ false quality int}], Returns: void
func (*Environment) SetSsaoRadius ¶
func (o *Environment) SetSsaoRadius(radius gdnative.Real)
Undocumented Args: [{ false radius float}], Returns: void
func (*Environment) SetSsaoRadius2 ¶
func (o *Environment) SetSsaoRadius2(radius gdnative.Real)
Undocumented Args: [{ false radius float}], Returns: void
func (*Environment) SetSsrDepthTolerance ¶
func (o *Environment) SetSsrDepthTolerance(depthTolerance gdnative.Real)
Undocumented Args: [{ false depth_tolerance float}], Returns: void
func (*Environment) SetSsrEnabled ¶
func (o *Environment) SetSsrEnabled(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*Environment) SetSsrFadeIn ¶
func (o *Environment) SetSsrFadeIn(fadeIn gdnative.Real)
Undocumented Args: [{ false fade_in float}], Returns: void
func (*Environment) SetSsrFadeOut ¶
func (o *Environment) SetSsrFadeOut(fadeOut gdnative.Real)
Undocumented Args: [{ false fade_out float}], Returns: void
func (*Environment) SetSsrMaxSteps ¶
func (o *Environment) SetSsrMaxSteps(maxSteps gdnative.Int)
Undocumented Args: [{ false max_steps int}], Returns: void
func (*Environment) SetSsrRough ¶
func (o *Environment) SetSsrRough(rough gdnative.Bool)
Undocumented Args: [{ false rough bool}], Returns: void
func (*Environment) SetTonemapAutoExposure ¶
func (o *Environment) SetTonemapAutoExposure(autoExposure gdnative.Bool)
Undocumented Args: [{ false auto_exposure bool}], Returns: void
func (*Environment) SetTonemapAutoExposureGrey ¶
func (o *Environment) SetTonemapAutoExposureGrey(exposureGrey gdnative.Real)
Undocumented Args: [{ false exposure_grey float}], Returns: void
func (*Environment) SetTonemapAutoExposureMax ¶
func (o *Environment) SetTonemapAutoExposureMax(exposureMax gdnative.Real)
Undocumented Args: [{ false exposure_max float}], Returns: void
func (*Environment) SetTonemapAutoExposureMin ¶
func (o *Environment) SetTonemapAutoExposureMin(exposureMin gdnative.Real)
Undocumented Args: [{ false exposure_min float}], Returns: void
func (*Environment) SetTonemapAutoExposureSpeed ¶
func (o *Environment) SetTonemapAutoExposureSpeed(exposureSpeed gdnative.Real)
Undocumented Args: [{ false exposure_speed float}], Returns: void
func (*Environment) SetTonemapExposure ¶
func (o *Environment) SetTonemapExposure(exposure gdnative.Real)
Undocumented Args: [{ false exposure float}], Returns: void
func (*Environment) SetTonemapWhite ¶
func (o *Environment) SetTonemapWhite(white gdnative.Real)
Undocumented Args: [{ false white float}], Returns: void
func (*Environment) SetTonemapper ¶
func (o *Environment) SetTonemapper(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
type EnvironmentBGMode ¶
type EnvironmentBGMode int
EnvironmentBGMode is an enum for BGMode values.
const ( EnvironmentBgCanvas EnvironmentBGMode = 4 EnvironmentBgClearColor EnvironmentBGMode = 0 EnvironmentBgColor EnvironmentBGMode = 1 EnvironmentBgColorSky EnvironmentBGMode = 3 EnvironmentBgKeep EnvironmentBGMode = 5 EnvironmentBgMax EnvironmentBGMode = 6 EnvironmentBgSky EnvironmentBGMode = 2 )
type EnvironmentDOFBlurQuality ¶
type EnvironmentDOFBlurQuality int
EnvironmentDOFBlurQuality is an enum for DOFBlurQuality values.
const ( EnvironmentDofBlurQualityHigh EnvironmentDOFBlurQuality = 2 EnvironmentDofBlurQualityLow EnvironmentDOFBlurQuality = 0 EnvironmentDofBlurQualityMedium EnvironmentDOFBlurQuality = 1 )
type EnvironmentGlowBlendMode ¶
type EnvironmentGlowBlendMode int
EnvironmentGlowBlendMode is an enum for GlowBlendMode values.
const ( EnvironmentGlowBlendModeAdditive EnvironmentGlowBlendMode = 0 EnvironmentGlowBlendModeReplace EnvironmentGlowBlendMode = 3 EnvironmentGlowBlendModeScreen EnvironmentGlowBlendMode = 1 EnvironmentGlowBlendModeSoftlight EnvironmentGlowBlendMode = 2 )
type EnvironmentImplementer ¶
type EnvironmentImplementer interface { ResourceImplementer GetAdjustmentBrightness() gdnative.Real GetAdjustmentColorCorrection() TextureImplementer GetAdjustmentContrast() gdnative.Real GetAdjustmentSaturation() gdnative.Real GetAmbientLightColor() gdnative.Color GetAmbientLightEnergy() gdnative.Real GetAmbientLightSkyContribution() gdnative.Real GetBgColor() gdnative.Color GetBgEnergy() gdnative.Real GetCanvasMaxLayer() gdnative.Int GetDofBlurFarAmount() gdnative.Real GetDofBlurFarDistance() gdnative.Real GetDofBlurFarTransition() gdnative.Real GetDofBlurNearAmount() gdnative.Real GetDofBlurNearDistance() gdnative.Real GetDofBlurNearTransition() gdnative.Real GetFogColor() gdnative.Color GetFogDepthBegin() gdnative.Real GetFogDepthCurve() gdnative.Real GetFogHeightCurve() gdnative.Real GetFogHeightMax() gdnative.Real GetFogHeightMin() gdnative.Real GetFogSunAmount() gdnative.Real GetFogSunColor() gdnative.Color GetFogTransmitCurve() gdnative.Real GetGlowBloom() gdnative.Real GetGlowHdrBleedScale() gdnative.Real GetGlowHdrBleedThreshold() gdnative.Real GetGlowIntensity() gdnative.Real GetGlowStrength() gdnative.Real GetSky() SkyImplementer GetSkyCustomFov() gdnative.Real GetSsaoBias() gdnative.Real GetSsaoColor() gdnative.Color GetSsaoDirectLightAffect() gdnative.Real GetSsaoEdgeSharpness() gdnative.Real GetSsaoIntensity() gdnative.Real GetSsaoIntensity2() gdnative.Real GetSsaoRadius() gdnative.Real GetSsaoRadius2() gdnative.Real GetSsrDepthTolerance() gdnative.Real GetSsrFadeIn() gdnative.Real GetSsrFadeOut() gdnative.Real GetSsrMaxSteps() gdnative.Int GetTonemapAutoExposure() gdnative.Bool GetTonemapAutoExposureGrey() gdnative.Real GetTonemapAutoExposureMax() gdnative.Real GetTonemapAutoExposureMin() gdnative.Real GetTonemapAutoExposureSpeed() gdnative.Real GetTonemapExposure() gdnative.Real GetTonemapWhite() gdnative.Real IsAdjustmentEnabled() gdnative.Bool IsDofBlurFarEnabled() gdnative.Bool IsDofBlurNearEnabled() gdnative.Bool IsFogDepthEnabled() gdnative.Bool IsFogEnabled() gdnative.Bool IsFogHeightEnabled() gdnative.Bool IsFogTransmitEnabled() gdnative.Bool IsGlowBicubicUpscaleEnabled() gdnative.Bool IsGlowEnabled() gdnative.Bool IsGlowLevelEnabled(idx gdnative.Int) gdnative.Bool IsSsaoEnabled() gdnative.Bool IsSsrEnabled() gdnative.Bool IsSsrRough() gdnative.Bool SetAdjustmentBrightness(brightness gdnative.Real) SetAdjustmentColorCorrection(colorCorrection TextureImplementer) SetAdjustmentContrast(contrast gdnative.Real) SetAdjustmentEnable(enabled gdnative.Bool) SetAdjustmentSaturation(saturation gdnative.Real) SetAmbientLightColor(color gdnative.Color) SetAmbientLightEnergy(energy gdnative.Real) SetAmbientLightSkyContribution(energy gdnative.Real) SetBackground(mode gdnative.Int) SetBgColor(color gdnative.Color) SetBgEnergy(energy gdnative.Real) SetCanvasMaxLayer(layer gdnative.Int) SetDofBlurFarAmount(intensity gdnative.Real) SetDofBlurFarDistance(intensity gdnative.Real) SetDofBlurFarEnabled(enabled gdnative.Bool) SetDofBlurFarQuality(intensity gdnative.Int) SetDofBlurFarTransition(intensity gdnative.Real) SetDofBlurNearAmount(intensity gdnative.Real) SetDofBlurNearDistance(intensity gdnative.Real) SetDofBlurNearEnabled(enabled gdnative.Bool) SetDofBlurNearQuality(level gdnative.Int) SetDofBlurNearTransition(intensity gdnative.Real) SetFogColor(color gdnative.Color) SetFogDepthBegin(distance gdnative.Real) SetFogDepthCurve(curve gdnative.Real) SetFogDepthEnabled(enabled gdnative.Bool) SetFogEnabled(enabled gdnative.Bool) SetFogHeightCurve(curve gdnative.Real) SetFogHeightEnabled(enabled gdnative.Bool) SetFogHeightMax(height gdnative.Real) SetFogHeightMin(height gdnative.Real) SetFogSunAmount(amount gdnative.Real) SetFogSunColor(color gdnative.Color) SetFogTransmitCurve(curve gdnative.Real) SetFogTransmitEnabled(enabled gdnative.Bool) SetGlowBicubicUpscale(enabled gdnative.Bool) SetGlowBlendMode(mode gdnative.Int) SetGlowBloom(amount gdnative.Real) SetGlowEnabled(enabled gdnative.Bool) SetGlowHdrBleedScale(scale gdnative.Real) SetGlowHdrBleedThreshold(threshold gdnative.Real) SetGlowIntensity(intensity gdnative.Real) SetGlowLevel(idx gdnative.Int, enabled gdnative.Bool) SetGlowStrength(strength gdnative.Real) SetSky(sky SkyImplementer) SetSkyCustomFov(scale gdnative.Real) SetSsaoBias(bias gdnative.Real) SetSsaoBlur(mode gdnative.Int) SetSsaoColor(color gdnative.Color) SetSsaoDirectLightAffect(amount gdnative.Real) SetSsaoEdgeSharpness(edgeSharpness gdnative.Real) SetSsaoEnabled(enabled gdnative.Bool) SetSsaoIntensity(intensity gdnative.Real) SetSsaoIntensity2(intensity gdnative.Real) SetSsaoQuality(quality gdnative.Int) SetSsaoRadius(radius gdnative.Real) SetSsaoRadius2(radius gdnative.Real) SetSsrDepthTolerance(depthTolerance gdnative.Real) SetSsrEnabled(enabled gdnative.Bool) SetSsrFadeIn(fadeIn gdnative.Real) SetSsrFadeOut(fadeOut gdnative.Real) SetSsrMaxSteps(maxSteps gdnative.Int) SetSsrRough(rough gdnative.Bool) SetTonemapAutoExposure(autoExposure gdnative.Bool) SetTonemapAutoExposureGrey(exposureGrey gdnative.Real) SetTonemapAutoExposureMax(exposureMax gdnative.Real) SetTonemapAutoExposureMin(exposureMin gdnative.Real) SetTonemapAutoExposureSpeed(exposureSpeed gdnative.Real) SetTonemapExposure(exposure gdnative.Real) SetTonemapWhite(white gdnative.Real) SetTonemapper(mode gdnative.Int) }
EnvironmentImplementer is an interface that implements the methods of the Environment class.
type EnvironmentSSAOBlur ¶
type EnvironmentSSAOBlur int
EnvironmentSSAOBlur is an enum for SSAOBlur values.
const ( EnvironmentSsaoBlur1X1 EnvironmentSSAOBlur = 1 EnvironmentSsaoBlur2X2 EnvironmentSSAOBlur = 2 EnvironmentSsaoBlur3X3 EnvironmentSSAOBlur = 3 EnvironmentSsaoBlurDisabled EnvironmentSSAOBlur = 0 )
type EnvironmentSSAOQuality ¶
type EnvironmentSSAOQuality int
EnvironmentSSAOQuality is an enum for SSAOQuality values.
const ( EnvironmentSsaoQualityHigh EnvironmentSSAOQuality = 2 EnvironmentSsaoQualityLow EnvironmentSSAOQuality = 0 EnvironmentSsaoQualityMedium EnvironmentSSAOQuality = 1 )
type EnvironmentToneMapper ¶
type EnvironmentToneMapper int
EnvironmentToneMapper is an enum for ToneMapper values.
const ( EnvironmentToneMapperAces EnvironmentToneMapper = 3 EnvironmentToneMapperFilmic EnvironmentToneMapper = 2 EnvironmentToneMapperLinear EnvironmentToneMapper = 0 EnvironmentToneMapperReinhardt EnvironmentToneMapper = 1 )
type File ¶
type File struct { Reference // contains filtered or unexported fields }
File type. This is used to permanently store data into the user device's file system and to read from it. This can be used to store game save data or player configuration files, for example. Here's a sample on how to write and read from a file: [codeblock] func save(content): var file = File.new() file.open("user://save_game.dat", file.WRITE) file.store_string(content) file.close() func load(): var file = File.new() file.open("user://save_game.dat", file.READ) var content = file.get_as_text() file.close() return content [/codeblock]
func (*File) EofReached ¶
Undocumented Args: [], Returns: bool
func (*File) FileExists ¶
Undocumented Args: [{ false path String}], Returns: bool
func (*File) GetBuffer ¶
func (o *File) GetBuffer(len gdnative.Int) gdnative.PoolByteArray
Undocumented Args: [{ false len int}], Returns: PoolByteArray
func (*File) GetCsvLine ¶
func (o *File) GetCsvLine(delim gdnative.String) gdnative.PoolStringArray
Undocumented Args: [{, true delim String}], Returns: PoolStringArray
func (*File) GetEndianSwap ¶
Undocumented Args: [], Returns: bool
func (*File) GetModifiedTime ¶
Undocumented Args: [{ false file String}], Returns: int
func (*File) GetPascalString ¶
Undocumented Args: [], Returns: String
func (*File) GetPosition ¶
Undocumented Args: [], Returns: int
func (*File) Open ¶
Undocumented Args: [{ false path String} { false flags int}], Returns: enum.Error
func (*File) OpenCompressed ¶
func (o *File) OpenCompressed(path gdnative.String, modeFlags gdnative.Int, compressionMode gdnative.Int) gdnative.Error
Undocumented Args: [{ false path String} { false mode_flags int} {0 true compression_mode int}], Returns: enum.Error
func (*File) OpenEncrypted ¶
func (o *File) OpenEncrypted(path gdnative.String, modeFlags gdnative.Int, key gdnative.PoolByteArray) gdnative.Error
Undocumented Args: [{ false path String} { false mode_flags int} { false key PoolByteArray}], Returns: enum.Error
func (*File) OpenEncryptedWithPass ¶
func (o *File) OpenEncryptedWithPass(path gdnative.String, modeFlags gdnative.Int, pass gdnative.String) gdnative.Error
Undocumented Args: [{ false path String} { false mode_flags int} { false pass String}], Returns: enum.Error
func (*File) SetEndianSwap ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*File) StoreBuffer ¶
func (o *File) StoreBuffer(buffer gdnative.PoolByteArray)
Undocumented Args: [{ false buffer PoolByteArray}], Returns: void
func (*File) StoreDouble ¶
Undocumented Args: [{ false value float}], Returns: void
func (*File) StoreFloat ¶
Undocumented Args: [{ false value float}], Returns: void
func (*File) StorePascalString ¶
Undocumented Args: [{ false string String}], Returns: void
func (*File) StoreString ¶
Undocumented Args: [{ false string String}], Returns: void
type FileDialog ¶
type FileDialog struct { ConfirmationDialog // contains filtered or unexported fields }
FileDialog is a preset dialog used to choose files and directories in the filesystem. It supports filter masks.
func (*FileDialog) AddFilter ¶
func (o *FileDialog) AddFilter(filter gdnative.String)
Add a custom filter. Filter format is: "mask ; description", example (C++): dialog->add_filter("*.png ; PNG Images"); Args: [{ false filter String}], Returns: void
func (*FileDialog) BaseClass ¶
func (o *FileDialog) BaseClass() string
func (*FileDialog) ClearFilters ¶
func (o *FileDialog) ClearFilters()
Clear all the added filters in the dialog. Args: [], Returns: void
func (*FileDialog) GetAccess ¶
func (o *FileDialog) GetAccess() FileDialogAccess
Undocumented Args: [], Returns: enum.FileDialog::Access
func (*FileDialog) GetCurrentDir ¶
func (o *FileDialog) GetCurrentDir() gdnative.String
Undocumented Args: [], Returns: String
func (*FileDialog) GetCurrentFile ¶
func (o *FileDialog) GetCurrentFile() gdnative.String
Undocumented Args: [], Returns: String
func (*FileDialog) GetCurrentPath ¶
func (o *FileDialog) GetCurrentPath() gdnative.String
Undocumented Args: [], Returns: String
func (*FileDialog) GetFilters ¶
func (o *FileDialog) GetFilters() gdnative.PoolStringArray
Undocumented Args: [], Returns: PoolStringArray
func (*FileDialog) GetMode ¶
func (o *FileDialog) GetMode() FileDialogMode
Undocumented Args: [], Returns: enum.FileDialog::Mode
func (*FileDialog) GetVbox ¶
func (o *FileDialog) GetVbox() VBoxContainerImplementer
Return the vertical box container of the dialog, custom controls can be added to it. Args: [], Returns: VBoxContainer
func (*FileDialog) Invalidate ¶
func (o *FileDialog) Invalidate()
Invalidate and update the current dialog content list. Args: [], Returns: void
func (*FileDialog) IsModeOverridingTitle ¶
func (o *FileDialog) IsModeOverridingTitle() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*FileDialog) IsShowingHiddenFiles ¶
func (o *FileDialog) IsShowingHiddenFiles() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*FileDialog) SetAccess ¶
func (o *FileDialog) SetAccess(access gdnative.Int)
Undocumented Args: [{ false access int}], Returns: void
func (*FileDialog) SetCurrentDir ¶
func (o *FileDialog) SetCurrentDir(dir gdnative.String)
Undocumented Args: [{ false dir String}], Returns: void
func (*FileDialog) SetCurrentFile ¶
func (o *FileDialog) SetCurrentFile(file gdnative.String)
Undocumented Args: [{ false file String}], Returns: void
func (*FileDialog) SetCurrentPath ¶
func (o *FileDialog) SetCurrentPath(path gdnative.String)
Undocumented Args: [{ false path String}], Returns: void
func (*FileDialog) SetFilters ¶
func (o *FileDialog) SetFilters(filters gdnative.PoolStringArray)
Undocumented Args: [{ false filters PoolStringArray}], Returns: void
func (*FileDialog) SetMode ¶
func (o *FileDialog) SetMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*FileDialog) SetModeOverridesTitle ¶
func (o *FileDialog) SetModeOverridesTitle(override gdnative.Bool)
Undocumented Args: [{ false override bool}], Returns: void
func (*FileDialog) SetShowHiddenFiles ¶
func (o *FileDialog) SetShowHiddenFiles(show gdnative.Bool)
Undocumented Args: [{ false show bool}], Returns: void
func (*FileDialog) X_ActionPressed ¶
func (o *FileDialog) X_ActionPressed()
Undocumented Args: [], Returns: void
func (*FileDialog) X_CancelPressed ¶
func (o *FileDialog) X_CancelPressed()
Undocumented Args: [], Returns: void
func (*FileDialog) X_DirEntered ¶
func (o *FileDialog) X_DirEntered(arg0 gdnative.String)
Undocumented Args: [{ false arg0 String}], Returns: void
func (*FileDialog) X_FileEntered ¶
func (o *FileDialog) X_FileEntered(arg0 gdnative.String)
Undocumented Args: [{ false arg0 String}], Returns: void
func (*FileDialog) X_FilterSelected ¶
func (o *FileDialog) X_FilterSelected(arg0 gdnative.Int)
Undocumented Args: [{ false arg0 int}], Returns: void
func (*FileDialog) X_MakeDir ¶
func (o *FileDialog) X_MakeDir()
Undocumented Args: [], Returns: void
func (*FileDialog) X_MakeDirConfirm ¶
func (o *FileDialog) X_MakeDirConfirm()
Undocumented Args: [], Returns: void
func (*FileDialog) X_SaveConfirmPressed ¶
func (o *FileDialog) X_SaveConfirmPressed()
Undocumented Args: [], Returns: void
func (*FileDialog) X_SelectDrive ¶
func (o *FileDialog) X_SelectDrive(arg0 gdnative.Int)
Undocumented Args: [{ false arg0 int}], Returns: void
func (*FileDialog) X_TreeDbSelected ¶
func (o *FileDialog) X_TreeDbSelected()
Undocumented Args: [], Returns: void
func (*FileDialog) X_TreeSelected ¶
func (o *FileDialog) X_TreeSelected()
Undocumented Args: [], Returns: void
func (*FileDialog) X_UnhandledInput ¶
func (o *FileDialog) X_UnhandledInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
func (*FileDialog) X_UpdateDir ¶
func (o *FileDialog) X_UpdateDir()
Undocumented Args: [], Returns: void
func (*FileDialog) X_UpdateFileList ¶
func (o *FileDialog) X_UpdateFileList()
Undocumented Args: [], Returns: void
type FileDialogAccess ¶
type FileDialogAccess int
FileDialogAccess is an enum for Access values.
const ( FileDialogAccessFilesystem FileDialogAccess = 2 FileDialogAccessResources FileDialogAccess = 0 FileDialogAccessUserdata FileDialogAccess = 1 )
type FileDialogImplementer ¶
type FileDialogImplementer interface { ConfirmationDialogImplementer X_ActionPressed() X_CancelPressed() X_DirEntered(arg0 gdnative.String) X_FileEntered(arg0 gdnative.String) X_FilterSelected(arg0 gdnative.Int) X_GoUp() X_MakeDir() X_MakeDirConfirm() X_SaveConfirmPressed() X_SelectDrive(arg0 gdnative.Int) X_TreeDbSelected() X_TreeSelected() X_UpdateDir() X_UpdateFileList() AddFilter(filter gdnative.String) ClearFilters() DeselectItems() GetCurrentDir() gdnative.String GetCurrentFile() gdnative.String GetCurrentPath() gdnative.String GetFilters() gdnative.PoolStringArray GetVbox() VBoxContainerImplementer Invalidate() IsModeOverridingTitle() gdnative.Bool IsShowingHiddenFiles() gdnative.Bool SetAccess(access gdnative.Int) SetCurrentDir(dir gdnative.String) SetCurrentFile(file gdnative.String) SetCurrentPath(path gdnative.String) SetFilters(filters gdnative.PoolStringArray) SetMode(mode gdnative.Int) SetModeOverridesTitle(override gdnative.Bool) SetShowHiddenFiles(show gdnative.Bool) }
FileDialogImplementer is an interface that implements the methods of the FileDialog class.
type FileDialogMode ¶
type FileDialogMode int
FileDialogMode is an enum for Mode values.
const ( FileDialogModeOpenAny FileDialogMode = 3 FileDialogModeOpenDir FileDialogMode = 2 FileDialogModeOpenFile FileDialogMode = 0 FileDialogModeOpenFiles FileDialogMode = 1 FileDialogModeSaveFile FileDialogMode = 4 )
type FileImplementer ¶
type FileImplementer interface { ReferenceImplementer Close() EofReached() gdnative.Bool FileExists(path gdnative.String) gdnative.Bool Get16() gdnative.Int Get32() gdnative.Int Get64() gdnative.Int Get8() gdnative.Int GetAsText() gdnative.String GetBuffer(len gdnative.Int) gdnative.PoolByteArray GetCsvLine(delim gdnative.String) gdnative.PoolStringArray GetDouble() gdnative.Real GetEndianSwap() gdnative.Bool GetFloat() gdnative.Real GetLen() gdnative.Int GetLine() gdnative.String GetMd5(path gdnative.String) gdnative.String GetModifiedTime(file gdnative.String) gdnative.Int GetPascalString() gdnative.String GetPosition() gdnative.Int GetReal() gdnative.Real GetSha256(path gdnative.String) gdnative.String GetVar() gdnative.Variant IsOpen() gdnative.Bool Seek(position gdnative.Int) SeekEnd(position gdnative.Int) SetEndianSwap(enable gdnative.Bool) Store16(value gdnative.Int) Store32(value gdnative.Int) Store64(value gdnative.Int) Store8(value gdnative.Int) StoreBuffer(buffer gdnative.PoolByteArray) StoreDouble(value gdnative.Real) StoreFloat(value gdnative.Real) StoreLine(line gdnative.String) StorePascalString(string gdnative.String) StoreReal(value gdnative.Real) StoreString(string gdnative.String) StoreVar(value gdnative.Variant) }
FileImplementer is an interface that implements the methods of the File class.
type Font ¶
type Font struct { Resource // contains filtered or unexported fields }
Font contains a unicode compatible character set, as well as the ability to draw it with variable width, ascent, descent and kerning. For creating fonts from TTF files (or other font formats), see the editor support for fonts. TODO check wikipedia for graph of ascent/baseline/descent/height/etc.
func (*Font) Draw ¶
func (o *Font) Draw(canvasItem gdnative.Rid, position gdnative.Vector2, string gdnative.String, modulate gdnative.Color, clipW gdnative.Int)
Draw "string" into a canvas item using the font at a given position, with "modulate" color, and optionally clipping the width. "position" specifies the baseline, not the top. To draw from the top, [i]ascent[/i] must be added to the Y axis. Args: [{ false canvas_item RID} { false position Vector2} { false string String} {1,1,1,1 true modulate Color} {-1 true clip_w int}], Returns: void
func (*Font) DrawChar ¶
func (o *Font) DrawChar(canvasItem gdnative.Rid, position gdnative.Vector2, char gdnative.Int, next gdnative.Int, modulate gdnative.Color) gdnative.Real
Draw character "char" into a canvas item using the font at a given position, with "modulate" color, and optionally kerning if "next" is passed. clipping the width. "position" specifies the baseline, not the top. To draw from the top, [i]ascent[/i] must be added to the Y axis. The width used by the character is returned, making this function useful for drawing strings character by character. Args: [{ false canvas_item RID} { false position Vector2} { false char int} {-1 true next int} {1,1,1,1 true modulate Color}], Returns: float
func (*Font) GetAscent ¶
Return the font ascent (number of pixels above the baseline). Args: [], Returns: float
func (*Font) GetDescent ¶
Return the font descent (number of pixels below the baseline). Args: [], Returns: float
func (*Font) GetHeight ¶
Return the total font height (ascent plus descent) in pixels. Args: [], Returns: float
func (*Font) GetStringSize ¶
Return the size of a string, taking kerning and advance into account. Args: [{ false string String}], Returns: Vector2
func (*Font) IsDistanceFieldHint ¶
Args: [], Returns: bool
func (*Font) UpdateChanges ¶
func (o *Font) UpdateChanges()
After editing a font (changing size, ascent, char rects, etc.). Call this function to propagate changes to controls that might use it. Args: [], Returns: void
type FontImplementer ¶
type FontImplementer interface { ResourceImplementer Draw(canvasItem gdnative.Rid, position gdnative.Vector2, string gdnative.String, modulate gdnative.Color, clipW gdnative.Int) DrawChar(canvasItem gdnative.Rid, position gdnative.Vector2, char gdnative.Int, next gdnative.Int, modulate gdnative.Color) gdnative.Real GetAscent() gdnative.Real GetDescent() gdnative.Real GetHeight() gdnative.Real GetStringSize(string gdnative.String) gdnative.Vector2 IsDistanceFieldHint() gdnative.Bool UpdateChanges() }
FontImplementer is an interface that implements the methods of the Font class.
type FuncRef ¶
type FuncRef struct { Reference // contains filtered or unexported fields }
In GDScript, functions are not [i]first-class objects[/i]. This means it is impossible to store them directly as variables, return them from another function, or pass them as arguments. However, by creating a [code]FuncRef[/code] using the [method @GDScript.funcref] function, a reference to a function in a given object can be created, passed around and called.
func (*FuncRef) CallFunc ¶
Calls the referenced function previously set by [method set_function] or [method @GDScript.funcref]. Args: [], Returns: Variant
func (*FuncRef) SetFunction ¶
The name of the referenced function to call on the object, without parentheses or any parameters. Args: [{ false name String}], Returns: void
func (*FuncRef) SetInstance ¶
func (o *FuncRef) SetInstance(instance ObjectImplementer)
The object containing the referenced function. This object must be of a type actually inheriting from [Object], not a built-in type such as [int], [Vector2] or [Dictionary]. Args: [{ false instance Object}], Returns: void
type FuncRefImplementer ¶
type FuncRefImplementer interface { ReferenceImplementer CallFunc() gdnative.Variant SetFunction(name gdnative.String) SetInstance(instance ObjectImplementer) }
FuncRefImplementer is an interface that implements the methods of the FuncRef class.
type GDNative ¶
type GDNative struct { Reference // contains filtered or unexported fields }
Undocumented
func (*GDNative) CallNative ¶
func (o *GDNative) CallNative(callingType gdnative.String, procedureName gdnative.String, arguments gdnative.Array) gdnative.Variant
Undocumented Args: [{ false calling_type String} { false procedure_name String} { false arguments Array}], Returns: Variant
func (*GDNative) GetLibrary ¶
func (o *GDNative) GetLibrary() GDNativeLibraryImplementer
Undocumented Args: [], Returns: GDNativeLibrary
func (*GDNative) Initialize ¶
Undocumented Args: [], Returns: bool
func (*GDNative) SetLibrary ¶
func (o *GDNative) SetLibrary(library GDNativeLibraryImplementer)
Undocumented Args: [{ false library GDNativeLibrary}], Returns: void
type GDNativeImplementer ¶
type GDNativeImplementer interface { ReferenceImplementer CallNative(callingType gdnative.String, procedureName gdnative.String, arguments gdnative.Array) gdnative.Variant GetLibrary() GDNativeLibraryImplementer Initialize() gdnative.Bool SetLibrary(library GDNativeLibraryImplementer) Terminate() gdnative.Bool }
GDNativeImplementer is an interface that implements the methods of the GDNative class.
type GDNativeLibrary ¶
type GDNativeLibrary struct { Resource // contains filtered or unexported fields }
Undocumented
func (*GDNativeLibrary) BaseClass ¶
func (o *GDNativeLibrary) BaseClass() string
func (*GDNativeLibrary) GetConfigFile ¶
func (o *GDNativeLibrary) GetConfigFile() ConfigFileImplementer
Undocumented Args: [], Returns: ConfigFile
func (*GDNativeLibrary) GetCurrentDependencies ¶
func (o *GDNativeLibrary) GetCurrentDependencies() gdnative.PoolStringArray
Undocumented Args: [], Returns: PoolStringArray
func (*GDNativeLibrary) GetCurrentLibraryPath ¶
func (o *GDNativeLibrary) GetCurrentLibraryPath() gdnative.String
Undocumented Args: [], Returns: String
func (*GDNativeLibrary) GetSymbolPrefix ¶
func (o *GDNativeLibrary) GetSymbolPrefix() gdnative.String
Undocumented Args: [], Returns: String
func (*GDNativeLibrary) IsReloadable ¶
func (o *GDNativeLibrary) IsReloadable() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*GDNativeLibrary) IsSingleton ¶
func (o *GDNativeLibrary) IsSingleton() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*GDNativeLibrary) SetLoadOnce ¶
func (o *GDNativeLibrary) SetLoadOnce(loadOnce gdnative.Bool)
Undocumented Args: [{ false load_once bool}], Returns: void
func (*GDNativeLibrary) SetReloadable ¶
func (o *GDNativeLibrary) SetReloadable(reloadable gdnative.Bool)
Undocumented Args: [{ false reloadable bool}], Returns: void
func (*GDNativeLibrary) SetSingleton ¶
func (o *GDNativeLibrary) SetSingleton(singleton gdnative.Bool)
Undocumented Args: [{ false singleton bool}], Returns: void
func (*GDNativeLibrary) SetSymbolPrefix ¶
func (o *GDNativeLibrary) SetSymbolPrefix(symbolPrefix gdnative.String)
Undocumented Args: [{ false symbol_prefix String}], Returns: void
func (*GDNativeLibrary) ShouldLoadOnce ¶
func (o *GDNativeLibrary) ShouldLoadOnce() gdnative.Bool
Undocumented Args: [], Returns: bool
type GDNativeLibraryImplementer ¶
type GDNativeLibraryImplementer interface { ResourceImplementer GetConfigFile() ConfigFileImplementer GetCurrentDependencies() gdnative.PoolStringArray GetCurrentLibraryPath() gdnative.String GetSymbolPrefix() gdnative.String IsReloadable() gdnative.Bool IsSingleton() gdnative.Bool SetLoadOnce(loadOnce gdnative.Bool) SetReloadable(reloadable gdnative.Bool) SetSingleton(singleton gdnative.Bool) SetSymbolPrefix(symbolPrefix gdnative.String) ShouldLoadOnce() gdnative.Bool }
GDNativeLibraryImplementer is an interface that implements the methods of the GDNativeLibrary class.
type GDScript ¶
type GDScript struct { Script // contains filtered or unexported fields }
Undocumented
func (*GDScript) GetAsByteCode ¶
func (o *GDScript) GetAsByteCode() gdnative.PoolByteArray
Undocumented Args: [], Returns: PoolByteArray
func (*GDScript) New ¶
func (o *GDScript) New() ObjectImplementer
Undocumented Args: [], Returns: Object
type GDScriptFunctionState ¶
type GDScriptFunctionState struct { Reference // contains filtered or unexported fields }
Undocumented
func (*GDScriptFunctionState) BaseClass ¶
func (o *GDScriptFunctionState) BaseClass() string
func (*GDScriptFunctionState) IsValid ¶
func (o *GDScriptFunctionState) IsValid(extendedCheck gdnative.Bool) gdnative.Bool
Undocumented Args: [{False true extended_check bool}], Returns: bool
func (*GDScriptFunctionState) Resume ¶
func (o *GDScriptFunctionState) Resume(arg gdnative.Variant) gdnative.Variant
Undocumented Args: [{Null true arg Variant}], Returns: Variant
func (*GDScriptFunctionState) X_SignalCallback ¶
func (o *GDScriptFunctionState) X_SignalCallback() gdnative.Variant
Undocumented Args: [], Returns: Variant
type GDScriptFunctionStateImplementer ¶
type GDScriptFunctionStateImplementer interface { ReferenceImplementer X_SignalCallback() gdnative.Variant IsValid(extendedCheck gdnative.Bool) gdnative.Bool Resume(arg gdnative.Variant) gdnative.Variant }
GDScriptFunctionStateImplementer is an interface that implements the methods of the GDScriptFunctionState class.
type GDScriptImplementer ¶
type GDScriptImplementer interface { ScriptImplementer GetAsByteCode() gdnative.PoolByteArray New() ObjectImplementer }
GDScriptImplementer is an interface that implements the methods of the GDScript class.
type GIProbe ¶
type GIProbe struct { VisualInstance // contains filtered or unexported fields }
func (*GIProbe) Bake ¶
func (o *GIProbe) Bake(fromNode ObjectImplementer, createVisualDebug gdnative.Bool)
Args: [{Null true from_node Object} {False true create_visual_debug bool}], Returns: void
func (*GIProbe) GetDynamicRange ¶
Undocumented Args: [], Returns: int
func (*GIProbe) GetExtents ¶
Undocumented Args: [], Returns: Vector3
func (*GIProbe) GetNormalBias ¶
Undocumented Args: [], Returns: float
func (*GIProbe) GetProbeData ¶
func (o *GIProbe) GetProbeData() GIProbeDataImplementer
Undocumented Args: [], Returns: GIProbeData
func (*GIProbe) GetPropagation ¶
Undocumented Args: [], Returns: float
func (*GIProbe) GetSubdiv ¶
func (o *GIProbe) GetSubdiv() GIProbeSubdiv
Undocumented Args: [], Returns: enum.GIProbe::Subdiv
func (*GIProbe) IsCompressed ¶
Undocumented Args: [], Returns: bool
func (*GIProbe) IsInterior ¶
Undocumented Args: [], Returns: bool
func (*GIProbe) SetCompress ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*GIProbe) SetDynamicRange ¶
Undocumented Args: [{ false max int}], Returns: void
func (*GIProbe) SetExtents ¶
Undocumented Args: [{ false extents Vector3}], Returns: void
func (*GIProbe) SetInterior ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*GIProbe) SetNormalBias ¶
Undocumented Args: [{ false max float}], Returns: void
func (*GIProbe) SetProbeData ¶
func (o *GIProbe) SetProbeData(data GIProbeDataImplementer)
Undocumented Args: [{ false data GIProbeData}], Returns: void
func (*GIProbe) SetPropagation ¶
Undocumented Args: [{ false max float}], Returns: void
type GIProbeData ¶
type GIProbeData struct { Resource // contains filtered or unexported fields }
func (*GIProbeData) BaseClass ¶
func (o *GIProbeData) BaseClass() string
func (*GIProbeData) GetBias ¶
func (o *GIProbeData) GetBias() gdnative.Real
Undocumented Args: [], Returns: float
func (*GIProbeData) GetBounds ¶
func (o *GIProbeData) GetBounds() gdnative.Aabb
Undocumented Args: [], Returns: AABB
func (*GIProbeData) GetCellSize ¶
func (o *GIProbeData) GetCellSize() gdnative.Real
Undocumented Args: [], Returns: float
func (*GIProbeData) GetDynamicData ¶
func (o *GIProbeData) GetDynamicData() gdnative.PoolIntArray
Undocumented Args: [], Returns: PoolIntArray
func (*GIProbeData) GetDynamicRange ¶
func (o *GIProbeData) GetDynamicRange() gdnative.Int
Undocumented Args: [], Returns: int
func (*GIProbeData) GetEnergy ¶
func (o *GIProbeData) GetEnergy() gdnative.Real
Undocumented Args: [], Returns: float
func (*GIProbeData) GetNormalBias ¶
func (o *GIProbeData) GetNormalBias() gdnative.Real
Undocumented Args: [], Returns: float
func (*GIProbeData) GetPropagation ¶
func (o *GIProbeData) GetPropagation() gdnative.Real
Undocumented Args: [], Returns: float
func (*GIProbeData) GetToCellXform ¶
func (o *GIProbeData) GetToCellXform() gdnative.Transform
Undocumented Args: [], Returns: Transform
func (*GIProbeData) IsCompressed ¶
func (o *GIProbeData) IsCompressed() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*GIProbeData) IsInterior ¶
func (o *GIProbeData) IsInterior() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*GIProbeData) SetBias ¶
func (o *GIProbeData) SetBias(bias gdnative.Real)
Undocumented Args: [{ false bias float}], Returns: void
func (*GIProbeData) SetBounds ¶
func (o *GIProbeData) SetBounds(bounds gdnative.Aabb)
Undocumented Args: [{ false bounds AABB}], Returns: void
func (*GIProbeData) SetCellSize ¶
func (o *GIProbeData) SetCellSize(cellSize gdnative.Real)
Undocumented Args: [{ false cell_size float}], Returns: void
func (*GIProbeData) SetCompress ¶
func (o *GIProbeData) SetCompress(compress gdnative.Bool)
Undocumented Args: [{ false compress bool}], Returns: void
func (*GIProbeData) SetDynamicData ¶
func (o *GIProbeData) SetDynamicData(dynamicData gdnative.PoolIntArray)
Undocumented Args: [{ false dynamic_data PoolIntArray}], Returns: void
func (*GIProbeData) SetDynamicRange ¶
func (o *GIProbeData) SetDynamicRange(dynamicRange gdnative.Int)
Undocumented Args: [{ false dynamic_range int}], Returns: void
func (*GIProbeData) SetEnergy ¶
func (o *GIProbeData) SetEnergy(energy gdnative.Real)
Undocumented Args: [{ false energy float}], Returns: void
func (*GIProbeData) SetInterior ¶
func (o *GIProbeData) SetInterior(interior gdnative.Bool)
Undocumented Args: [{ false interior bool}], Returns: void
func (*GIProbeData) SetNormalBias ¶
func (o *GIProbeData) SetNormalBias(bias gdnative.Real)
Undocumented Args: [{ false bias float}], Returns: void
func (*GIProbeData) SetPropagation ¶
func (o *GIProbeData) SetPropagation(propagation gdnative.Real)
Undocumented Args: [{ false propagation float}], Returns: void
func (*GIProbeData) SetToCellXform ¶
func (o *GIProbeData) SetToCellXform(toCellXform gdnative.Transform)
Undocumented Args: [{ false to_cell_xform Transform}], Returns: void
type GIProbeDataImplementer ¶
type GIProbeDataImplementer interface { ResourceImplementer GetBias() gdnative.Real GetBounds() gdnative.Aabb GetCellSize() gdnative.Real GetDynamicData() gdnative.PoolIntArray GetDynamicRange() gdnative.Int GetEnergy() gdnative.Real GetNormalBias() gdnative.Real GetPropagation() gdnative.Real GetToCellXform() gdnative.Transform IsCompressed() gdnative.Bool IsInterior() gdnative.Bool SetBias(bias gdnative.Real) SetBounds(bounds gdnative.Aabb) SetCellSize(cellSize gdnative.Real) SetCompress(compress gdnative.Bool) SetDynamicData(dynamicData gdnative.PoolIntArray) SetDynamicRange(dynamicRange gdnative.Int) SetEnergy(energy gdnative.Real) SetInterior(interior gdnative.Bool) SetNormalBias(bias gdnative.Real) SetPropagation(propagation gdnative.Real) SetToCellXform(toCellXform gdnative.Transform) }
GIProbeDataImplementer is an interface that implements the methods of the GIProbeData class.
type GIProbeImplementer ¶
type GIProbeImplementer interface { VisualInstanceImplementer Bake(fromNode ObjectImplementer, createVisualDebug gdnative.Bool) DebugBake() GetBias() gdnative.Real GetDynamicRange() gdnative.Int GetEnergy() gdnative.Real GetExtents() gdnative.Vector3 GetNormalBias() gdnative.Real GetProbeData() GIProbeDataImplementer GetPropagation() gdnative.Real IsCompressed() gdnative.Bool IsInterior() gdnative.Bool SetBias(max gdnative.Real) SetCompress(enable gdnative.Bool) SetDynamicRange(max gdnative.Int) SetEnergy(max gdnative.Real) SetExtents(extents gdnative.Vector3) SetInterior(enable gdnative.Bool) SetNormalBias(max gdnative.Real) SetProbeData(data GIProbeDataImplementer) SetPropagation(max gdnative.Real) SetSubdiv(subdiv gdnative.Int) }
GIProbeImplementer is an interface that implements the methods of the GIProbe class.
type GIProbeSubdiv ¶
type GIProbeSubdiv int
GIProbeSubdiv is an enum for Subdiv values.
const ( GIProbeSubdiv128 GIProbeSubdiv = 1 GIProbeSubdiv256 GIProbeSubdiv = 2 GIProbeSubdiv512 GIProbeSubdiv = 3 GIProbeSubdiv64 GIProbeSubdiv = 0 GIProbeSubdivMax GIProbeSubdiv = 4 )
type Generic6DOFJoint ¶
type Generic6DOFJoint struct { Joint // contains filtered or unexported fields }
The first 3 dof axes are linear axes, which represent translation of Bodies, and the latter 3 dof axes represent the angular motion. Each axis can be either locked, or limited.
func (*Generic6DOFJoint) BaseClass ¶
func (o *Generic6DOFJoint) BaseClass() string
func (*Generic6DOFJoint) GetFlagX ¶
func (o *Generic6DOFJoint) GetFlagX(flag gdnative.Int) gdnative.Bool
Undocumented Args: [{ false flag int}], Returns: bool
func (*Generic6DOFJoint) GetFlagY ¶
func (o *Generic6DOFJoint) GetFlagY(flag gdnative.Int) gdnative.Bool
Undocumented Args: [{ false flag int}], Returns: bool
func (*Generic6DOFJoint) GetFlagZ ¶
func (o *Generic6DOFJoint) GetFlagZ(flag gdnative.Int) gdnative.Bool
Undocumented Args: [{ false flag int}], Returns: bool
func (*Generic6DOFJoint) GetParamX ¶
func (o *Generic6DOFJoint) GetParamX(param gdnative.Int) gdnative.Real
Undocumented Args: [{ false param int}], Returns: float
func (*Generic6DOFJoint) GetParamY ¶
func (o *Generic6DOFJoint) GetParamY(param gdnative.Int) gdnative.Real
Undocumented Args: [{ false param int}], Returns: float
func (*Generic6DOFJoint) GetParamZ ¶
func (o *Generic6DOFJoint) GetParamZ(param gdnative.Int) gdnative.Real
Undocumented Args: [{ false param int}], Returns: float
func (*Generic6DOFJoint) SetFlagX ¶
func (o *Generic6DOFJoint) SetFlagX(flag gdnative.Int, value gdnative.Bool)
Undocumented Args: [{ false flag int} { false value bool}], Returns: void
func (*Generic6DOFJoint) SetFlagY ¶
func (o *Generic6DOFJoint) SetFlagY(flag gdnative.Int, value gdnative.Bool)
Undocumented Args: [{ false flag int} { false value bool}], Returns: void
func (*Generic6DOFJoint) SetFlagZ ¶
func (o *Generic6DOFJoint) SetFlagZ(flag gdnative.Int, value gdnative.Bool)
Undocumented Args: [{ false flag int} { false value bool}], Returns: void
func (*Generic6DOFJoint) SetParamX ¶
func (o *Generic6DOFJoint) SetParamX(param gdnative.Int, value gdnative.Real)
Undocumented Args: [{ false param int} { false value float}], Returns: void
func (*Generic6DOFJoint) SetParamY ¶
func (o *Generic6DOFJoint) SetParamY(param gdnative.Int, value gdnative.Real)
Undocumented Args: [{ false param int} { false value float}], Returns: void
func (*Generic6DOFJoint) SetParamZ ¶
func (o *Generic6DOFJoint) SetParamZ(param gdnative.Int, value gdnative.Real)
Undocumented Args: [{ false param int} { false value float}], Returns: void
func (*Generic6DOFJoint) X_GetAngularHiLimitX ¶
func (o *Generic6DOFJoint) X_GetAngularHiLimitX() gdnative.Real
Undocumented Args: [], Returns: float
func (*Generic6DOFJoint) X_GetAngularHiLimitY ¶
func (o *Generic6DOFJoint) X_GetAngularHiLimitY() gdnative.Real
Undocumented Args: [], Returns: float
func (*Generic6DOFJoint) X_GetAngularHiLimitZ ¶
func (o *Generic6DOFJoint) X_GetAngularHiLimitZ() gdnative.Real
Undocumented Args: [], Returns: float
func (*Generic6DOFJoint) X_GetAngularLoLimitX ¶
func (o *Generic6DOFJoint) X_GetAngularLoLimitX() gdnative.Real
Undocumented Args: [], Returns: float
func (*Generic6DOFJoint) X_GetAngularLoLimitY ¶
func (o *Generic6DOFJoint) X_GetAngularLoLimitY() gdnative.Real
Undocumented Args: [], Returns: float
func (*Generic6DOFJoint) X_GetAngularLoLimitZ ¶
func (o *Generic6DOFJoint) X_GetAngularLoLimitZ() gdnative.Real
Undocumented Args: [], Returns: float
func (*Generic6DOFJoint) X_SetAngularHiLimitX ¶
func (o *Generic6DOFJoint) X_SetAngularHiLimitX(angle gdnative.Real)
Undocumented Args: [{ false angle float}], Returns: void
func (*Generic6DOFJoint) X_SetAngularHiLimitY ¶
func (o *Generic6DOFJoint) X_SetAngularHiLimitY(angle gdnative.Real)
Undocumented Args: [{ false angle float}], Returns: void
func (*Generic6DOFJoint) X_SetAngularHiLimitZ ¶
func (o *Generic6DOFJoint) X_SetAngularHiLimitZ(angle gdnative.Real)
Undocumented Args: [{ false angle float}], Returns: void
func (*Generic6DOFJoint) X_SetAngularLoLimitX ¶
func (o *Generic6DOFJoint) X_SetAngularLoLimitX(angle gdnative.Real)
Undocumented Args: [{ false angle float}], Returns: void
func (*Generic6DOFJoint) X_SetAngularLoLimitY ¶
func (o *Generic6DOFJoint) X_SetAngularLoLimitY(angle gdnative.Real)
Undocumented Args: [{ false angle float}], Returns: void
func (*Generic6DOFJoint) X_SetAngularLoLimitZ ¶
func (o *Generic6DOFJoint) X_SetAngularLoLimitZ(angle gdnative.Real)
Undocumented Args: [{ false angle float}], Returns: void
type Generic6DOFJointFlag ¶
type Generic6DOFJointFlag int
Generic6DOFJointFlag is an enum for Flag values.
const ( Generic6DOFJointFlagEnableAngularLimit Generic6DOFJointFlag = 1 Generic6DOFJointFlagEnableLinearLimit Generic6DOFJointFlag = 0 Generic6DOFJointFlagEnableMotor Generic6DOFJointFlag = 2 Generic6DOFJointFlagMax Generic6DOFJointFlag = 3 )
type Generic6DOFJointImplementer ¶
type Generic6DOFJointImplementer interface { JointImplementer X_GetAngularHiLimitX() gdnative.Real X_GetAngularHiLimitY() gdnative.Real X_GetAngularHiLimitZ() gdnative.Real X_GetAngularLoLimitX() gdnative.Real X_GetAngularLoLimitY() gdnative.Real X_GetAngularLoLimitZ() gdnative.Real X_SetAngularHiLimitX(angle gdnative.Real) X_SetAngularHiLimitY(angle gdnative.Real) X_SetAngularHiLimitZ(angle gdnative.Real) X_SetAngularLoLimitX(angle gdnative.Real) X_SetAngularLoLimitY(angle gdnative.Real) X_SetAngularLoLimitZ(angle gdnative.Real) GetFlagX(flag gdnative.Int) gdnative.Bool GetFlagY(flag gdnative.Int) gdnative.Bool GetFlagZ(flag gdnative.Int) gdnative.Bool GetParamX(param gdnative.Int) gdnative.Real GetParamY(param gdnative.Int) gdnative.Real GetParamZ(param gdnative.Int) gdnative.Real SetFlagX(flag gdnative.Int, value gdnative.Bool) SetFlagY(flag gdnative.Int, value gdnative.Bool) SetFlagZ(flag gdnative.Int, value gdnative.Bool) SetParamX(param gdnative.Int, value gdnative.Real) SetParamY(param gdnative.Int, value gdnative.Real) SetParamZ(param gdnative.Int, value gdnative.Real) }
Generic6DOFJointImplementer is an interface that implements the methods of the Generic6DOFJoint class.
type Generic6DOFJointParam ¶
type Generic6DOFJointParam int
Generic6DOFJointParam is an enum for Param values.
const ( Generic6DOFJointParamAngularDamping Generic6DOFJointParam = 8 Generic6DOFJointParamAngularErp Generic6DOFJointParam = 11 Generic6DOFJointParamAngularForceLimit Generic6DOFJointParam = 10 Generic6DOFJointParamAngularLimitSoftness Generic6DOFJointParam = 7 Generic6DOFJointParamAngularLowerLimit Generic6DOFJointParam = 5 Generic6DOFJointParamAngularMotorForceLimit Generic6DOFJointParam = 13 Generic6DOFJointParamAngularMotorTargetVelocity Generic6DOFJointParam = 12 Generic6DOFJointParamAngularRestitution Generic6DOFJointParam = 9 Generic6DOFJointParamAngularUpperLimit Generic6DOFJointParam = 6 Generic6DOFJointParamLinearDamping Generic6DOFJointParam = 4 Generic6DOFJointParamLinearLimitSoftness Generic6DOFJointParam = 2 Generic6DOFJointParamLinearLowerLimit Generic6DOFJointParam = 0 Generic6DOFJointParamLinearRestitution Generic6DOFJointParam = 3 Generic6DOFJointParamLinearUpperLimit Generic6DOFJointParam = 1 Generic6DOFJointParamMax Generic6DOFJointParam = 14 )
type GeometryImplementer ¶
type GeometryImplementer interface { ObjectImplementer BuildBoxPlanes(extents gdnative.Vector3) gdnative.Array BuildCapsulePlanes(radius gdnative.Real, height gdnative.Real, sides gdnative.Int, lats gdnative.Int, axis gdnative.Int) gdnative.Array BuildCylinderPlanes(radius gdnative.Real, height gdnative.Real, sides gdnative.Int, axis gdnative.Int) gdnative.Array ClipPolygon(points gdnative.PoolVector3Array, plane gdnative.Plane) gdnative.PoolVector3Array ConvexHull2D(points gdnative.PoolVector2Array) gdnative.PoolVector2Array GetClosestPointToSegment(point gdnative.Vector3, s1 gdnative.Vector3, s2 gdnative.Vector3) gdnative.Vector3 GetClosestPointToSegment2D(point gdnative.Vector2, s1 gdnative.Vector2, s2 gdnative.Vector2) gdnative.Vector2 GetClosestPointToSegmentUncapped(point gdnative.Vector3, s1 gdnative.Vector3, s2 gdnative.Vector3) gdnative.Vector3 GetClosestPointToSegmentUncapped2D(point gdnative.Vector2, s1 gdnative.Vector2, s2 gdnative.Vector2) gdnative.Vector2 GetClosestPointsBetweenSegments(p1 gdnative.Vector3, p2 gdnative.Vector3, q1 gdnative.Vector3, q2 gdnative.Vector3) gdnative.PoolVector3Array GetClosestPointsBetweenSegments2D(p1 gdnative.Vector2, q1 gdnative.Vector2, p2 gdnative.Vector2, q2 gdnative.Vector2) gdnative.PoolVector2Array GetUv84NormalBit(normal gdnative.Vector3) gdnative.Int MakeAtlas(sizes gdnative.PoolVector2Array) gdnative.Dictionary PointIsInsideTriangle(point gdnative.Vector2, a gdnative.Vector2, b gdnative.Vector2, c gdnative.Vector2) gdnative.Bool RayIntersectsTriangle(from gdnative.Vector3, dir gdnative.Vector3, a gdnative.Vector3, b gdnative.Vector3, c gdnative.Vector3) gdnative.Variant SegmentIntersectsCircle(segmentFrom gdnative.Vector2, segmentTo gdnative.Vector2, circlePosition gdnative.Vector2, circleRadius gdnative.Real) gdnative.Real SegmentIntersectsConvex(from gdnative.Vector3, to gdnative.Vector3, planes gdnative.Array) gdnative.PoolVector3Array SegmentIntersectsCylinder(from gdnative.Vector3, to gdnative.Vector3, height gdnative.Real, radius gdnative.Real) gdnative.PoolVector3Array SegmentIntersectsSegment2D(fromA gdnative.Vector2, toA gdnative.Vector2, fromB gdnative.Vector2, toB gdnative.Vector2) gdnative.Variant SegmentIntersectsSphere(from gdnative.Vector3, to gdnative.Vector3, spherePosition gdnative.Vector3, sphereRadius gdnative.Real) gdnative.PoolVector3Array SegmentIntersectsTriangle(from gdnative.Vector3, to gdnative.Vector3, a gdnative.Vector3, b gdnative.Vector3, c gdnative.Vector3) gdnative.Variant TriangulatePolygon(polygon gdnative.PoolVector2Array) gdnative.PoolIntArray }
GeometryImplementer is an interface that implements the methods of the Geometry class.
type GeometryInstance ¶
type GeometryInstance struct { VisualInstance // contains filtered or unexported fields }
Base node for geometry based visual instances. Shares some common functionality like visibility and custom materials.
func (*GeometryInstance) BaseClass ¶
func (o *GeometryInstance) BaseClass() string
func (*GeometryInstance) GetCastShadowsSetting ¶
func (o *GeometryInstance) GetCastShadowsSetting() GeometryInstanceShadowCastingSetting
Undocumented Args: [], Returns: enum.GeometryInstance::ShadowCastingSetting
func (*GeometryInstance) GetExtraCullMargin ¶
func (o *GeometryInstance) GetExtraCullMargin() gdnative.Real
Undocumented Args: [], Returns: float
func (*GeometryInstance) GetFlag ¶
func (o *GeometryInstance) GetFlag(flag gdnative.Int) gdnative.Bool
Undocumented Args: [{ false flag int}], Returns: bool
func (*GeometryInstance) GetLodMaxDistance ¶
func (o *GeometryInstance) GetLodMaxDistance() gdnative.Real
Undocumented Args: [], Returns: float
func (*GeometryInstance) GetLodMaxHysteresis ¶
func (o *GeometryInstance) GetLodMaxHysteresis() gdnative.Real
Undocumented Args: [], Returns: float
func (*GeometryInstance) GetLodMinDistance ¶
func (o *GeometryInstance) GetLodMinDistance() gdnative.Real
Undocumented Args: [], Returns: float
func (*GeometryInstance) GetLodMinHysteresis ¶
func (o *GeometryInstance) GetLodMinHysteresis() gdnative.Real
Undocumented Args: [], Returns: float
func (*GeometryInstance) GetMaterialOverride ¶
func (o *GeometryInstance) GetMaterialOverride() MaterialImplementer
Undocumented Args: [], Returns: Material
func (*GeometryInstance) SetCastShadowsSetting ¶
func (o *GeometryInstance) SetCastShadowsSetting(shadowCastingSetting gdnative.Int)
Undocumented Args: [{ false shadow_casting_setting int}], Returns: void
func (*GeometryInstance) SetExtraCullMargin ¶
func (o *GeometryInstance) SetExtraCullMargin(margin gdnative.Real)
Undocumented Args: [{ false margin float}], Returns: void
func (*GeometryInstance) SetFlag ¶
func (o *GeometryInstance) SetFlag(flag gdnative.Int, value gdnative.Bool)
Undocumented Args: [{ false flag int} { false value bool}], Returns: void
func (*GeometryInstance) SetLodMaxDistance ¶
func (o *GeometryInstance) SetLodMaxDistance(mode gdnative.Real)
Undocumented Args: [{ false mode float}], Returns: void
func (*GeometryInstance) SetLodMaxHysteresis ¶
func (o *GeometryInstance) SetLodMaxHysteresis(mode gdnative.Real)
Undocumented Args: [{ false mode float}], Returns: void
func (*GeometryInstance) SetLodMinDistance ¶
func (o *GeometryInstance) SetLodMinDistance(mode gdnative.Real)
Undocumented Args: [{ false mode float}], Returns: void
func (*GeometryInstance) SetLodMinHysteresis ¶
func (o *GeometryInstance) SetLodMinHysteresis(mode gdnative.Real)
Undocumented Args: [{ false mode float}], Returns: void
func (*GeometryInstance) SetMaterialOverride ¶
func (o *GeometryInstance) SetMaterialOverride(material MaterialImplementer)
Undocumented Args: [{ false material Material}], Returns: void
type GeometryInstanceFlags ¶
type GeometryInstanceFlags int
GeometryInstanceFlags is an enum for Flags values.
const ( GeometryInstanceFlagMax GeometryInstanceFlags = 1 GeometryInstanceFlagUseBakedLight GeometryInstanceFlags = 0 )
type GeometryInstanceImplementer ¶
type GeometryInstanceImplementer interface { VisualInstanceImplementer GetExtraCullMargin() gdnative.Real GetFlag(flag gdnative.Int) gdnative.Bool GetLodMaxDistance() gdnative.Real GetLodMaxHysteresis() gdnative.Real GetLodMinDistance() gdnative.Real GetLodMinHysteresis() gdnative.Real GetMaterialOverride() MaterialImplementer SetCastShadowsSetting(shadowCastingSetting gdnative.Int) SetExtraCullMargin(margin gdnative.Real) SetFlag(flag gdnative.Int, value gdnative.Bool) SetLodMaxDistance(mode gdnative.Real) SetLodMaxHysteresis(mode gdnative.Real) SetLodMinDistance(mode gdnative.Real) SetLodMinHysteresis(mode gdnative.Real) SetMaterialOverride(material MaterialImplementer) }
GeometryInstanceImplementer is an interface that implements the methods of the GeometryInstance class.
type GeometryInstanceShadowCastingSetting ¶
type GeometryInstanceShadowCastingSetting int
GeometryInstanceShadowCastingSetting is an enum for ShadowCastingSetting values.
const ( GeometryInstanceShadowCastingSettingDoubleSided GeometryInstanceShadowCastingSetting = 2 GeometryInstanceShadowCastingSettingOff GeometryInstanceShadowCastingSetting = 0 GeometryInstanceShadowCastingSettingOn GeometryInstanceShadowCastingSetting = 1 GeometryInstanceShadowCastingSettingShadowsOnly GeometryInstanceShadowCastingSetting = 3 )
type Gradient ¶
type Gradient struct { Resource // contains filtered or unexported fields }
Given a set of colors, this node will interpolate them in order, meaning, that if you have color 1, color 2 and color3, the ramp will interpolate (generate the colors between two colors) from color 1 to color 2 and from color 2 to color 3. Initially the ramp will have 2 colors (black and white), one (black) at ramp lower offset offset 0 and the other (white) at the ramp higher offset 1.
func (*Gradient) AddPoint ¶
Adds the specified color to the end of the ramp, with the specified offset Args: [{ false offset float} { false color Color}], Returns: void
func (*Gradient) GetColor ¶
Returns the color of the ramp color at index [i]point[/i] Args: [{ false point int}], Returns: Color
func (*Gradient) GetColors ¶
func (o *Gradient) GetColors() gdnative.PoolColorArray
Undocumented Args: [], Returns: PoolColorArray
func (*Gradient) GetOffset ¶
Returns the offset of the ramp color at index [i]point[/i] Args: [{ false point int}], Returns: float
func (*Gradient) GetOffsets ¶
func (o *Gradient) GetOffsets() gdnative.PoolRealArray
Undocumented Args: [], Returns: PoolRealArray
func (*Gradient) GetPointCount ¶
Returns the number of colors in the ramp Args: [], Returns: int
func (*Gradient) Interpolate ¶
Returns the interpolated color specified by [i]offset[/i] Args: [{ false offset float}], Returns: Color
func (*Gradient) RemovePoint ¶
Removes the color at the index [i]offset[/i] Args: [{ false offset int}], Returns: void
func (*Gradient) SetColor ¶
Sets the color of the ramp color at index [i]point[/i] Args: [{ false point int} { false color Color}], Returns: void
func (*Gradient) SetColors ¶
func (o *Gradient) SetColors(colors gdnative.PoolColorArray)
Undocumented Args: [{ false colors PoolColorArray}], Returns: void
func (*Gradient) SetOffset ¶
Sets the offset for the ramp color at index [i]point[/i] Args: [{ false point int} { false offset float}], Returns: void
func (*Gradient) SetOffsets ¶
func (o *Gradient) SetOffsets(offsets gdnative.PoolRealArray)
Undocumented Args: [{ false offsets PoolRealArray}], Returns: void
type GradientImplementer ¶
type GradientImplementer interface { ResourceImplementer AddPoint(offset gdnative.Real, color gdnative.Color) GetColor(point gdnative.Int) gdnative.Color GetColors() gdnative.PoolColorArray GetOffset(point gdnative.Int) gdnative.Real GetOffsets() gdnative.PoolRealArray GetPointCount() gdnative.Int Interpolate(offset gdnative.Real) gdnative.Color RemovePoint(offset gdnative.Int) SetColor(point gdnative.Int, color gdnative.Color) SetColors(colors gdnative.PoolColorArray) SetOffset(point gdnative.Int, offset gdnative.Real) SetOffsets(offsets gdnative.PoolRealArray) }
GradientImplementer is an interface that implements the methods of the Gradient class.
type GradientTexture ¶
type GradientTexture struct { Texture // contains filtered or unexported fields }
Uses a Gradient to fill the texture data, the gradient will be filled from left to right using colors obtained from the gradient, this means that the texture does not necessarily represent an exact copy of the gradient, but instead an interpolation of samples obtained from the gradient at fixed steps (see [method set_width]).
func (*GradientTexture) BaseClass ¶
func (o *GradientTexture) BaseClass() string
func (*GradientTexture) GetGradient ¶
func (o *GradientTexture) GetGradient() GradientImplementer
Undocumented Args: [], Returns: Gradient
func (*GradientTexture) SetGradient ¶
func (o *GradientTexture) SetGradient(gradient GradientImplementer)
Undocumented Args: [{ false gradient Gradient}], Returns: void
func (*GradientTexture) SetWidth ¶
func (o *GradientTexture) SetWidth(width gdnative.Int)
Undocumented Args: [{ false width int}], Returns: void
func (*GradientTexture) X_Update ¶
func (o *GradientTexture) X_Update()
Undocumented Args: [], Returns: void
type GradientTextureImplementer ¶
type GradientTextureImplementer interface { TextureImplementer X_Update() GetGradient() GradientImplementer SetGradient(gradient GradientImplementer) SetWidth(width gdnative.Int) }
GradientTextureImplementer is an interface that implements the methods of the GradientTexture class.
type GraphEdit ¶
type GraphEdit struct { Control // contains filtered or unexported fields }
GraphEdit manages the showing of GraphNodes it contains, as well as connections and disconnections between them. Signals are sent for each of these two events. Disconnection between GraphNodes slots is disabled by default. It is greatly advised to enable low processor usage mode (see [method OS.set_low_processor_usage_mode]) when using GraphEdits.
func (*GraphEdit) AddValidConnectionType ¶
Makes possible the connection between two different slot types. The type is defined with the [method GraphNode.set_slot] method. Args: [{ false from_type int} { false to_type int}], Returns: void
func (*GraphEdit) AddValidLeftDisconnectType ¶
Makes possible to disconnect nodes when dragging from the slot at the left if it has the specified type. Args: [{ false type int}], Returns: void
func (*GraphEdit) AddValidRightDisconnectType ¶
Makes possible to disconnect nodes when dragging from the slot at the right if it has the specified type. Args: [{ false type int}], Returns: void
func (*GraphEdit) ClearConnections ¶
func (o *GraphEdit) ClearConnections()
Remove all connections between nodes. Args: [], Returns: void
func (*GraphEdit) ConnectNode ¶
func (o *GraphEdit) ConnectNode(from gdnative.String, fromPort gdnative.Int, to gdnative.String, toPort gdnative.Int) gdnative.Error
Create a connection between 'from_port' slot of 'from' GraphNode and 'to_port' slot of 'to' GraphNode. If the connection already exists, no connection is created. Args: [{ false from String} { false from_port int} { false to String} { false to_port int}], Returns: enum.Error
func (*GraphEdit) DisconnectNode ¶
func (o *GraphEdit) DisconnectNode(from gdnative.String, fromPort gdnative.Int, to gdnative.String, toPort gdnative.Int)
Remove the connection between 'from_port' slot of 'from' GraphNode and 'to_port' slot of 'to' GraphNode, if connection exists. Args: [{ false from String} { false from_port int} { false to String} { false to_port int}], Returns: void
func (*GraphEdit) GetConnectionList ¶
Return an Array containing the list of connections. A connection consists in a structure of the form {from_slot: 0, from: "GraphNode name 0", to_slot: 1, to: "GraphNode name 1" } Args: [], Returns: Array
func (*GraphEdit) GetScrollOfs ¶
Undocumented Args: [], Returns: Vector2
func (*GraphEdit) IsNodeConnected ¶
func (o *GraphEdit) IsNodeConnected(from gdnative.String, fromPort gdnative.Int, to gdnative.String, toPort gdnative.Int) gdnative.Bool
Return true if the 'from_port' slot of 'from' GraphNode is connected to the 'to_port' slot of 'to' GraphNode. Args: [{ false from String} { false from_port int} { false to String} { false to_port int}], Returns: bool
func (*GraphEdit) IsRightDisconnectsEnabled ¶
Undocumented Args: [], Returns: bool
func (*GraphEdit) IsUsingSnap ¶
Undocumented Args: [], Returns: bool
func (*GraphEdit) IsValidConnectionType ¶
Returns whether it's possible to connect slots of the specified types. Args: [{ false from_type int} { false to_type int}], Returns: bool
func (*GraphEdit) RemoveValidConnectionType ¶
Makes it not possible to connect between two different slot types. The type is defined with the [method GraphNode.set_slot] method. Args: [{ false from_type int} { false to_type int}], Returns: void
func (*GraphEdit) RemoveValidLeftDisconnectType ¶
Removes the possibility to disconnect nodes when dragging from the slot at the left if it has the specified type. Args: [{ false type int}], Returns: void
func (*GraphEdit) RemoveValidRightDisconnectType ¶
Removes the possibility to disconnect nodes when dragging from the slot at the right if it has the specified type. Args: [{ false type int}], Returns: void
func (*GraphEdit) SetRightDisconnects ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*GraphEdit) SetScrollOfs ¶
Undocumented Args: [{ false ofs Vector2}], Returns: void
func (*GraphEdit) SetSelected ¶
func (o *GraphEdit) SetSelected(node ObjectImplementer)
Sets the specified [code]node[/code] as the one selected. Args: [{ false node Object}], Returns: void
func (*GraphEdit) SetUseSnap ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*GraphEdit) X_ConnectionsLayerDraw ¶
func (o *GraphEdit) X_ConnectionsLayerDraw()
Undocumented Args: [], Returns: void
func (*GraphEdit) X_GraphNodeMoved ¶
func (o *GraphEdit) X_GraphNodeMoved(arg0 ObjectImplementer)
Undocumented Args: [{ false arg0 Object}], Returns: void
func (*GraphEdit) X_GraphNodeRaised ¶
func (o *GraphEdit) X_GraphNodeRaised(arg0 ObjectImplementer)
Undocumented Args: [{ false arg0 Object}], Returns: void
func (*GraphEdit) X_GuiInput ¶
func (o *GraphEdit) X_GuiInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
func (*GraphEdit) X_ScrollMoved ¶
Undocumented Args: [{ false arg0 float}], Returns: void
func (*GraphEdit) X_SnapToggled ¶
func (o *GraphEdit) X_SnapToggled()
Undocumented Args: [], Returns: void
func (*GraphEdit) X_SnapValueChanged ¶
Undocumented Args: [{ false arg0 float}], Returns: void
func (*GraphEdit) X_TopLayerDraw ¶
func (o *GraphEdit) X_TopLayerDraw()
Undocumented Args: [], Returns: void
func (*GraphEdit) X_TopLayerInput ¶
func (o *GraphEdit) X_TopLayerInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
func (*GraphEdit) X_UpdateScrollOffset ¶
func (o *GraphEdit) X_UpdateScrollOffset()
Undocumented Args: [], Returns: void
func (*GraphEdit) X_ZoomMinus ¶
func (o *GraphEdit) X_ZoomMinus()
Undocumented Args: [], Returns: void
func (*GraphEdit) X_ZoomPlus ¶
func (o *GraphEdit) X_ZoomPlus()
Undocumented Args: [], Returns: void
func (*GraphEdit) X_ZoomReset ¶
func (o *GraphEdit) X_ZoomReset()
Undocumented Args: [], Returns: void
type GraphEditImplementer ¶
type GraphEditImplementer interface { ControlImplementer X_ConnectionsLayerDraw() X_GraphNodeMoved(arg0 ObjectImplementer) X_GraphNodeRaised(arg0 ObjectImplementer) X_ScrollMoved(arg0 gdnative.Real) X_SnapToggled() X_SnapValueChanged(arg0 gdnative.Real) X_TopLayerDraw() X_TopLayerInput(arg0 InputEventImplementer) X_UpdateScrollOffset() X_ZoomMinus() X_ZoomPlus() X_ZoomReset() AddValidConnectionType(fromType gdnative.Int, toType gdnative.Int) AddValidLeftDisconnectType(aType gdnative.Int) AddValidRightDisconnectType(aType gdnative.Int) ClearConnections() DisconnectNode(from gdnative.String, fromPort gdnative.Int, to gdnative.String, toPort gdnative.Int) GetConnectionList() gdnative.Array GetScrollOfs() gdnative.Vector2 GetSnap() gdnative.Int GetZoom() gdnative.Real IsNodeConnected(from gdnative.String, fromPort gdnative.Int, to gdnative.String, toPort gdnative.Int) gdnative.Bool IsRightDisconnectsEnabled() gdnative.Bool IsUsingSnap() gdnative.Bool IsValidConnectionType(fromType gdnative.Int, toType gdnative.Int) gdnative.Bool RemoveValidConnectionType(fromType gdnative.Int, toType gdnative.Int) RemoveValidLeftDisconnectType(aType gdnative.Int) RemoveValidRightDisconnectType(aType gdnative.Int) SetRightDisconnects(enable gdnative.Bool) SetScrollOfs(ofs gdnative.Vector2) SetSelected(node ObjectImplementer) SetSnap(pixels gdnative.Int) SetUseSnap(enable gdnative.Bool) SetZoom(pZoom gdnative.Real) }
GraphEditImplementer is an interface that implements the methods of the GraphEdit class.
type GraphNode ¶
type GraphNode struct { Container // contains filtered or unexported fields }
A GraphNode is a container defined by a title. It can have 1 or more input and output slots, which can be enabled (shown) or disabled (not shown) and have different (incompatible) types. Colors can also be assigned to slots. A tuple of input and output slots is defined for each GUI element included in the GraphNode. Input and output connections are left and right slots, but only enabled slots are counted as connections.
func (*GraphNode) ClearAllSlots ¶
func (o *GraphNode) ClearAllSlots()
Disable all input and output slots of the GraphNode. Args: [], Returns: void
func (*GraphNode) ClearSlot ¶
Disable input and output slot whose index is 'idx'. Args: [{ false idx int}], Returns: void
func (*GraphNode) GetConnectionInputColor ¶
Return the color of the input connection 'idx'. Args: [{ false idx int}], Returns: Color
func (*GraphNode) GetConnectionInputCount ¶
Return the number of enabled input slots (connections) to the GraphNode. Args: [], Returns: int
func (*GraphNode) GetConnectionInputPosition ¶
Return the position of the input connection 'idx'. Args: [{ false idx int}], Returns: Vector2
func (*GraphNode) GetConnectionInputType ¶
Return the type of the input connection 'idx'. Args: [{ false idx int}], Returns: int
func (*GraphNode) GetConnectionOutputColor ¶
Return the color of the output connection 'idx'. Args: [{ false idx int}], Returns: Color
func (*GraphNode) GetConnectionOutputCount ¶
Return the number of enabled output slots (connections) of the GraphNode. Args: [], Returns: int
func (*GraphNode) GetConnectionOutputPosition ¶
Return the position of the output connection 'idx'. Args: [{ false idx int}], Returns: Vector2
func (*GraphNode) GetConnectionOutputType ¶
Return the type of the output connection 'idx'. Args: [{ false idx int}], Returns: int
func (*GraphNode) GetOverlay ¶
func (o *GraphNode) GetOverlay() GraphNodeOverlay
Undocumented Args: [], Returns: enum.GraphNode::Overlay
func (*GraphNode) GetSlotColorLeft ¶
Return the color set to 'idx' left (input) slot. Args: [{ false idx int}], Returns: Color
func (*GraphNode) GetSlotColorRight ¶
Return the color set to 'idx' right (output) slot. Args: [{ false idx int}], Returns: Color
func (*GraphNode) GetSlotTypeLeft ¶
Return the (integer) type of left (input) 'idx' slot. Args: [{ false idx int}], Returns: int
func (*GraphNode) GetSlotTypeRight ¶
Return the (integer) type of right (output) 'idx' slot. Args: [{ false idx int}], Returns: int
func (*GraphNode) IsCloseButtonVisible ¶
Undocumented Args: [], Returns: bool
func (*GraphNode) IsResizable ¶
Undocumented Args: [], Returns: bool
func (*GraphNode) IsSelected ¶
Undocumented Args: [], Returns: bool
func (*GraphNode) IsSlotEnabledLeft ¶
Return true if left (input) slot 'idx' is enabled. False otherwise. Args: [{ false idx int}], Returns: bool
func (*GraphNode) IsSlotEnabledRight ¶
Return true if right (output) slot 'idx' is enabled. False otherwise. Args: [{ false idx int}], Returns: bool
func (*GraphNode) SetComment ¶
Undocumented Args: [{ false comment bool}], Returns: void
func (*GraphNode) SetOverlay ¶
Undocumented Args: [{ false overlay int}], Returns: void
func (*GraphNode) SetResizable ¶
Undocumented Args: [{ false resizable bool}], Returns: void
func (*GraphNode) SetSelected ¶
Undocumented Args: [{ false selected bool}], Returns: void
func (*GraphNode) SetShowCloseButton ¶
Undocumented Args: [{ false show bool}], Returns: void
func (*GraphNode) SetSlot ¶
func (o *GraphNode) SetSlot(idx gdnative.Int, enableLeft gdnative.Bool, typeLeft gdnative.Int, colorLeft gdnative.Color, enableRight gdnative.Bool, typeRight gdnative.Int, colorRight gdnative.Color, customLeft TextureImplementer, customRight TextureImplementer)
Args: [{ false idx int} { false enable_left bool} { false type_left int} { false color_left Color} { false enable_right bool} { false type_right int} { false color_right Color} {[Object:null] true custom_left Texture} {[Object:null] true custom_right Texture}], Returns: void
func (*GraphNode) X_GuiInput ¶
func (o *GraphNode) X_GuiInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
type GraphNodeImplementer ¶
type GraphNodeImplementer interface { ContainerImplementer ClearAllSlots() ClearSlot(idx gdnative.Int) GetConnectionInputColor(idx gdnative.Int) gdnative.Color GetConnectionInputCount() gdnative.Int GetConnectionInputPosition(idx gdnative.Int) gdnative.Vector2 GetConnectionInputType(idx gdnative.Int) gdnative.Int GetConnectionOutputColor(idx gdnative.Int) gdnative.Color GetConnectionOutputCount() gdnative.Int GetConnectionOutputPosition(idx gdnative.Int) gdnative.Vector2 GetConnectionOutputType(idx gdnative.Int) gdnative.Int GetOffset() gdnative.Vector2 GetSlotColorLeft(idx gdnative.Int) gdnative.Color GetSlotColorRight(idx gdnative.Int) gdnative.Color GetSlotTypeLeft(idx gdnative.Int) gdnative.Int GetSlotTypeRight(idx gdnative.Int) gdnative.Int GetTitle() gdnative.String IsCloseButtonVisible() gdnative.Bool IsComment() gdnative.Bool IsResizable() gdnative.Bool IsSelected() gdnative.Bool IsSlotEnabledLeft(idx gdnative.Int) gdnative.Bool IsSlotEnabledRight(idx gdnative.Int) gdnative.Bool SetComment(comment gdnative.Bool) SetOffset(offset gdnative.Vector2) SetOverlay(overlay gdnative.Int) SetResizable(resizable gdnative.Bool) SetSelected(selected gdnative.Bool) SetShowCloseButton(show gdnative.Bool) SetSlot(idx gdnative.Int, enableLeft gdnative.Bool, typeLeft gdnative.Int, colorLeft gdnative.Color, enableRight gdnative.Bool, typeRight gdnative.Int, colorRight gdnative.Color, customLeft TextureImplementer, customRight TextureImplementer) SetTitle(title gdnative.String) }
GraphNodeImplementer is an interface that implements the methods of the GraphNode class.
type GraphNodeOverlay ¶
type GraphNodeOverlay int
GraphNodeOverlay is an enum for Overlay values.
const ( GraphNodeOverlayBreakpoint GraphNodeOverlay = 1 GraphNodeOverlayDisabled GraphNodeOverlay = 0 GraphNodeOverlayPosition GraphNodeOverlay = 2 )
type GridContainer ¶
type GridContainer struct { Container // contains filtered or unexported fields }
Grid container will arrange its children in a grid like structure, the grid columns are specified using the [method set_columns] method and the number of rows will be equal to the number of children in the container divided by the number of columns, for example: if the container has 5 children, and 2 columns, there will be 3 rows in the container. Notice that grid layout will preserve the columns and rows for every size of the container.
func (*GridContainer) BaseClass ¶
func (o *GridContainer) BaseClass() string
func (*GridContainer) GetColumns ¶
func (o *GridContainer) GetColumns() gdnative.Int
Undocumented Args: [], Returns: int
func (*GridContainer) SetColumns ¶
func (o *GridContainer) SetColumns(columns gdnative.Int)
Undocumented Args: [{ false columns int}], Returns: void
type GridContainerImplementer ¶
type GridContainerImplementer interface { ContainerImplementer GetColumns() gdnative.Int SetColumns(columns gdnative.Int) }
GridContainerImplementer is an interface that implements the methods of the GridContainer class.
type GridMap ¶
type GridMap struct { Spatial // contains filtered or unexported fields }
Undocumented
func (*GridMap) ClearBakedMeshes ¶
func (o *GridMap) ClearBakedMeshes()
Undocumented Args: [], Returns: void
func (*GridMap) GetBakeMeshInstance ¶
Undocumented Args: [{ false idx int}], Returns: RID
func (*GridMap) GetBakeMeshes ¶
Undocumented Args: [], Returns: Array
func (*GridMap) GetCellItem ¶
Undocumented Args: [{ false x int} { false y int} { false z int}], Returns: int
func (*GridMap) GetCellItemOrientation ¶
func (o *GridMap) GetCellItemOrientation(x gdnative.Int, y gdnative.Int, z gdnative.Int) gdnative.Int
Undocumented Args: [{ false x int} { false y int} { false z int}], Returns: int
func (*GridMap) GetCellScale ¶
Undocumented Args: [], Returns: float
func (*GridMap) GetCellSize ¶
Undocumented Args: [], Returns: Vector3
func (*GridMap) GetCenterX ¶
Undocumented Args: [], Returns: bool
func (*GridMap) GetCenterY ¶
Undocumented Args: [], Returns: bool
func (*GridMap) GetCenterZ ¶
Undocumented Args: [], Returns: bool
func (*GridMap) GetCollisionLayer ¶
Undocumented Args: [], Returns: int
func (*GridMap) GetCollisionLayerBit ¶
Undocumented Args: [{ false bit int}], Returns: bool
func (*GridMap) GetCollisionMask ¶
Undocumented Args: [], Returns: int
func (*GridMap) GetCollisionMaskBit ¶
Undocumented Args: [{ false bit int}], Returns: bool
func (*GridMap) GetOctantSize ¶
Undocumented Args: [], Returns: int
func (*GridMap) GetTheme ¶
func (o *GridMap) GetTheme() MeshLibraryImplementer
Undocumented Args: [], Returns: MeshLibrary
func (*GridMap) GetUsedCells ¶
Undocumented Args: [], Returns: Array
func (*GridMap) MakeBakedMeshes ¶
Undocumented Args: [{False true gen_lightmap_uv bool} {0.1 true lightmap_uv_texel_size float}], Returns: void
func (*GridMap) MapToWorld ¶
Undocumented Args: [{ false x int} { false y int} { false z int}], Returns: Vector3
func (*GridMap) ResourceChanged ¶
func (o *GridMap) ResourceChanged(resource ResourceImplementer)
Undocumented Args: [{ false resource Resource}], Returns: void
func (*GridMap) SetCellItem ¶
func (o *GridMap) SetCellItem(x gdnative.Int, y gdnative.Int, z gdnative.Int, item gdnative.Int, orientation gdnative.Int)
Undocumented Args: [{ false x int} { false y int} { false z int} { false item int} {0 true orientation int}], Returns: void
func (*GridMap) SetCellScale ¶
Undocumented Args: [{ false scale float}], Returns: void
func (*GridMap) SetCellSize ¶
Undocumented Args: [{ false size Vector3}], Returns: void
func (*GridMap) SetCenterX ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*GridMap) SetCenterY ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*GridMap) SetCenterZ ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*GridMap) SetClip ¶
func (o *GridMap) SetClip(enabled gdnative.Bool, clipabove gdnative.Bool, floor gdnative.Int, axis gdnative.Int)
Undocumented Args: [{ false enabled bool} {True true clipabove bool} {0 true floor int} {0 true axis int}], Returns: void
func (*GridMap) SetCollisionLayer ¶
Undocumented Args: [{ false layer int}], Returns: void
func (*GridMap) SetCollisionLayerBit ¶
Undocumented Args: [{ false bit int} { false value bool}], Returns: void
func (*GridMap) SetCollisionMask ¶
Undocumented Args: [{ false mask int}], Returns: void
func (*GridMap) SetCollisionMaskBit ¶
Undocumented Args: [{ false bit int} { false value bool}], Returns: void
func (*GridMap) SetOctantSize ¶
Undocumented Args: [{ false size int}], Returns: void
func (*GridMap) SetTheme ¶
func (o *GridMap) SetTheme(theme MeshLibraryImplementer)
Undocumented Args: [{ false theme MeshLibrary}], Returns: void
func (*GridMap) WorldToMap ¶
Undocumented Args: [{ false pos Vector3}], Returns: Vector3
func (*GridMap) X_UpdateOctantsCallback ¶
func (o *GridMap) X_UpdateOctantsCallback()
Undocumented Args: [], Returns: void
type GridMapImplementer ¶
type GridMapImplementer interface { SpatialImplementer X_UpdateOctantsCallback() Clear() ClearBakedMeshes() GetBakeMeshInstance(idx gdnative.Int) gdnative.Rid GetBakeMeshes() gdnative.Array GetCellItem(x gdnative.Int, y gdnative.Int, z gdnative.Int) gdnative.Int GetCellItemOrientation(x gdnative.Int, y gdnative.Int, z gdnative.Int) gdnative.Int GetCellScale() gdnative.Real GetCellSize() gdnative.Vector3 GetCenterX() gdnative.Bool GetCenterY() gdnative.Bool GetCenterZ() gdnative.Bool GetCollisionLayer() gdnative.Int GetCollisionLayerBit(bit gdnative.Int) gdnative.Bool GetCollisionMask() gdnative.Int GetCollisionMaskBit(bit gdnative.Int) gdnative.Bool GetMeshes() gdnative.Array GetOctantSize() gdnative.Int GetTheme() MeshLibraryImplementer GetUsedCells() gdnative.Array MakeBakedMeshes(genLightmapUv gdnative.Bool, lightmapUvTexelSize gdnative.Real) MapToWorld(x gdnative.Int, y gdnative.Int, z gdnative.Int) gdnative.Vector3 ResourceChanged(resource ResourceImplementer) SetCellItem(x gdnative.Int, y gdnative.Int, z gdnative.Int, item gdnative.Int, orientation gdnative.Int) SetCellScale(scale gdnative.Real) SetCellSize(size gdnative.Vector3) SetCenterX(enable gdnative.Bool) SetCenterY(enable gdnative.Bool) SetCenterZ(enable gdnative.Bool) SetClip(enabled gdnative.Bool, clipabove gdnative.Bool, floor gdnative.Int, axis gdnative.Int) SetCollisionLayer(layer gdnative.Int) SetCollisionLayerBit(bit gdnative.Int, value gdnative.Bool) SetCollisionMask(mask gdnative.Int) SetCollisionMaskBit(bit gdnative.Int, value gdnative.Bool) SetOctantSize(size gdnative.Int) SetTheme(theme MeshLibraryImplementer) WorldToMap(pos gdnative.Vector3) gdnative.Vector3 }
GridMapImplementer is an interface that implements the methods of the GridMap class.
type GrooveJoint2D ¶
type GrooveJoint2D struct { Joint2D // contains filtered or unexported fields }
Groove constraint for 2D physics. This is useful for making a body "slide" through a segment placed in another.
func (*GrooveJoint2D) BaseClass ¶
func (o *GrooveJoint2D) BaseClass() string
func (*GrooveJoint2D) GetInitialOffset ¶
func (o *GrooveJoint2D) GetInitialOffset() gdnative.Real
Undocumented Args: [], Returns: float
func (*GrooveJoint2D) GetLength ¶
func (o *GrooveJoint2D) GetLength() gdnative.Real
Undocumented Args: [], Returns: float
func (*GrooveJoint2D) SetInitialOffset ¶
func (o *GrooveJoint2D) SetInitialOffset(offset gdnative.Real)
Undocumented Args: [{ false offset float}], Returns: void
func (*GrooveJoint2D) SetLength ¶
func (o *GrooveJoint2D) SetLength(length gdnative.Real)
Undocumented Args: [{ false length float}], Returns: void
type GrooveJoint2DImplementer ¶
type GrooveJoint2DImplementer interface { Joint2DImplementer GetInitialOffset() gdnative.Real GetLength() gdnative.Real SetInitialOffset(offset gdnative.Real) SetLength(length gdnative.Real) }
GrooveJoint2DImplementer is an interface that implements the methods of the GrooveJoint2D class.
type HBoxContainer ¶
type HBoxContainer struct { BoxContainer // contains filtered or unexported fields }
Horizontal box container. See BoxContainer.
func (*HBoxContainer) BaseClass ¶
func (o *HBoxContainer) BaseClass() string
type HBoxContainerImplementer ¶
type HBoxContainerImplementer interface { BoxContainerImplementer }
HBoxContainerImplementer is an interface that implements the methods of the HBoxContainer class.
type HScrollBar ¶
type HScrollBar struct { ScrollBar // contains filtered or unexported fields }
Horizontal scroll bar. See ScrollBar. This one goes from left (min) to right (max).
func (*HScrollBar) BaseClass ¶
func (o *HScrollBar) BaseClass() string
type HScrollBarImplementer ¶
type HScrollBarImplementer interface { ScrollBarImplementer }
HScrollBarImplementer is an interface that implements the methods of the HScrollBar class.
type HSeparator ¶
type HSeparator struct { Separator // contains filtered or unexported fields }
Horizontal separator. See Separator. It is used to separate objects vertically, though (but it looks horizontal!).
func (*HSeparator) BaseClass ¶
func (o *HSeparator) BaseClass() string
type HSeparatorImplementer ¶
type HSeparatorImplementer interface { SeparatorImplementer }
HSeparatorImplementer is an interface that implements the methods of the HSeparator class.
type HSlider ¶
type HSlider struct { Slider // contains filtered or unexported fields }
Horizontal slider. See Slider. This one goes from left (min) to right (max).
type HSliderImplementer ¶
type HSliderImplementer interface { SliderImplementer }
HSliderImplementer is an interface that implements the methods of the HSlider class.
type HSplitContainer ¶
type HSplitContainer struct { SplitContainer // contains filtered or unexported fields }
Horizontal split container. See SplitContainer. This goes from left to right.
func (*HSplitContainer) BaseClass ¶
func (o *HSplitContainer) BaseClass() string
type HSplitContainerImplementer ¶
type HSplitContainerImplementer interface { SplitContainerImplementer }
HSplitContainerImplementer is an interface that implements the methods of the HSplitContainer class.
type HTTPClient ¶
type HTTPClient struct { Reference // contains filtered or unexported fields }
Hyper-text transfer protocol client (sometimes called "User Agent"). Used to make HTTP requests to download web content, upload files and other data or to communicate with various services, among other use cases. Note that this client only needs to connect to a host once (see [method connect_to_host]) to send multiple requests. Because of this, methods that take URLs usually take just the part after the host instead of the full URL, as the client is already connected to a host. See [method request] for a full example and to get started. A [code]HTTPClient[/code] should be reused between multiple requests or to connect to different hosts instead of creating one client per request. Supports SSL and SSL server certificate verification. HTTP status codes in the 2xx range indicate success, 3xx redirection (i.e. "try again, but over here"), 4xx something was wrong with the request, and 5xx something went wrong on the server's side. For more information on HTTP, see https://developer.mozilla.org/en-US/docs/Web/HTTP (or read RFC 2616 to get it straight from the source: https://tools.ietf.org/html/rfc2616).
func (*HTTPClient) BaseClass ¶
func (o *HTTPClient) BaseClass() string
func (*HTTPClient) Close ¶
func (o *HTTPClient) Close()
Closes the current connection, allowing reuse of this [code]HTTPClient[/code]. Args: [], Returns: void
func (*HTTPClient) ConnectToHost ¶
func (o *HTTPClient) ConnectToHost(host gdnative.String, port gdnative.Int, useSsl gdnative.Bool, verifyHost gdnative.Bool) gdnative.Error
Connect to a host. This needs to be done before any requests are sent. The host should not have http:// prepended but will strip the protocol identifier if provided. If no [code]port[/code] is specified (or [code]-1[/code] is used), it is automatically set to 80 for HTTP and 443 for HTTPS (if [code]use_ssl[/code] is enabled). [code]verify_host[/code] will check the SSL identity of the host if set to [code]true[/code]. Args: [{ false host String} {-1 true port int} {False true use_ssl bool} {True true verify_host bool}], Returns: enum.Error
func (*HTTPClient) GetConnection ¶
func (o *HTTPClient) GetConnection() StreamPeerImplementer
Undocumented Args: [], Returns: StreamPeer
func (*HTTPClient) GetResponseBodyLength ¶
func (o *HTTPClient) GetResponseBodyLength() gdnative.Int
Returns the response's body length. Args: [], Returns: int
func (*HTTPClient) GetResponseCode ¶
func (o *HTTPClient) GetResponseCode() gdnative.Int
Returns the response's HTTP status code. Args: [], Returns: int
func (*HTTPClient) GetResponseHeaders ¶
func (o *HTTPClient) GetResponseHeaders() gdnative.PoolStringArray
Returns the response headers. Args: [], Returns: PoolStringArray
func (*HTTPClient) GetResponseHeadersAsDictionary ¶
func (o *HTTPClient) GetResponseHeadersAsDictionary() gdnative.Dictionary
Returns all response headers as dictionary where the case-sensitivity of the keys and values is kept like the server delivers it. A value is a simple String, this string can have more than one value where "; " is used as separator. Structure: ("key":"value1; value2") Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) Args: [], Returns: Dictionary
func (*HTTPClient) GetStatus ¶
func (o *HTTPClient) GetStatus() HTTPClientStatus
Returns a STATUS_* enum constant. Need to call [method poll] in order to get status updates. Args: [], Returns: enum.HTTPClient::Status
func (*HTTPClient) HasResponse ¶
func (o *HTTPClient) HasResponse() gdnative.Bool
If [code]true[/code] this [code]HTTPClient[/code] has a response available. Args: [], Returns: bool
func (*HTTPClient) IsBlockingModeEnabled ¶
func (o *HTTPClient) IsBlockingModeEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*HTTPClient) IsResponseChunked ¶
func (o *HTTPClient) IsResponseChunked() gdnative.Bool
If [code]true[/code] this [code]HTTPClient[/code] has a response that is chunked. Args: [], Returns: bool
func (*HTTPClient) Poll ¶
func (o *HTTPClient) Poll() gdnative.Error
This needs to be called in order to have any request processed. Check results with [method get_status] Args: [], Returns: enum.Error
func (*HTTPClient) QueryStringFromDict ¶
func (o *HTTPClient) QueryStringFromDict(fields gdnative.Dictionary) gdnative.String
Generates a GET/POST application/x-www-form-urlencoded style query string from a provided dictionary, e.g.: [codeblock] var fields = {"username": "user", "password": "pass"} String queryString = httpClient.query_string_from_dict(fields) returns:= "username=user&password=pass" [/codeblock] Args: [{ false fields Dictionary}], Returns: String
func (*HTTPClient) ReadResponseBodyChunk ¶
func (o *HTTPClient) ReadResponseBodyChunk() gdnative.PoolByteArray
Reads one chunk from the response. Args: [], Returns: PoolByteArray
func (*HTTPClient) Request ¶
func (o *HTTPClient) Request(method gdnative.Int, url gdnative.String, headers gdnative.PoolStringArray, body gdnative.String) gdnative.Error
Sends a request to the connected host. The URL parameter is just the part after the host, so for [code]http://somehost.com/index.php[/code], it is [code]index.php[/code]. Headers are HTTP request headers. For available HTTP methods, see [code]METHOD_*[/code]. To create a POST request with query strings to push to the server, do: [codeblock] var fields = {"username" : "user", "password" : "pass"} var queryString = httpClient.query_string_from_dict(fields) var headers = ["Content-Type: application/x-www-form-urlencoded", "Content-Length: " + str(queryString.length())] var result = httpClient.request(httpClient.METHOD_POST, "index.php", headers, queryString) [/codeblock] Args: [{ false method int} { false url String} { false headers PoolStringArray} { true body String}], Returns: enum.Error
func (*HTTPClient) RequestRaw ¶
func (o *HTTPClient) RequestRaw(method gdnative.Int, url gdnative.String, headers gdnative.PoolStringArray, body gdnative.PoolByteArray) gdnative.Error
Sends a raw request to the connected host. The URL parameter is just the part after the host, so for [code]http://somehost.com/index.php[/code], it is [code]index.php[/code]. Headers are HTTP request headers. For available HTTP methods, see [code]METHOD_*[/code]. Sends the body data raw, as a byte array and does not encode it in any way. Args: [{ false method int} { false url String} { false headers PoolStringArray} { false body PoolByteArray}], Returns: enum.Error
func (*HTTPClient) SetBlockingMode ¶
func (o *HTTPClient) SetBlockingMode(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*HTTPClient) SetConnection ¶
func (o *HTTPClient) SetConnection(connection StreamPeerImplementer)
Undocumented Args: [{ false connection StreamPeer}], Returns: void
func (*HTTPClient) SetReadChunkSize ¶
func (o *HTTPClient) SetReadChunkSize(bytes gdnative.Int)
Sets the size of the buffer used and maximum bytes to read per iteration. see [method read_response_body_chunk] Args: [{ false bytes int}], Returns: void
type HTTPClientImplementer ¶
type HTTPClientImplementer interface { ReferenceImplementer Close() GetConnection() StreamPeerImplementer GetResponseBodyLength() gdnative.Int GetResponseCode() gdnative.Int GetResponseHeaders() gdnative.PoolStringArray GetResponseHeadersAsDictionary() gdnative.Dictionary HasResponse() gdnative.Bool IsBlockingModeEnabled() gdnative.Bool IsResponseChunked() gdnative.Bool QueryStringFromDict(fields gdnative.Dictionary) gdnative.String ReadResponseBodyChunk() gdnative.PoolByteArray SetBlockingMode(enabled gdnative.Bool) SetConnection(connection StreamPeerImplementer) SetReadChunkSize(bytes gdnative.Int) }
HTTPClientImplementer is an interface that implements the methods of the HTTPClient class.
type HTTPClientMethod ¶
type HTTPClientMethod int
HTTPClientMethod is an enum for Method values.
const ( HTTPClientMethodConnect HTTPClientMethod = 7 HTTPClientMethodDelete HTTPClientMethod = 4 HTTPClientMethodGet HTTPClientMethod = 0 HTTPClientMethodHead HTTPClientMethod = 1 HTTPClientMethodMax HTTPClientMethod = 9 HTTPClientMethodOptions HTTPClientMethod = 5 HTTPClientMethodPatch HTTPClientMethod = 8 HTTPClientMethodPost HTTPClientMethod = 2 HTTPClientMethodPut HTTPClientMethod = 3 HTTPClientMethodTrace HTTPClientMethod = 6 )
type HTTPClientResponseCode ¶
type HTTPClientResponseCode int
HTTPClientResponseCode is an enum for ResponseCode values.
const ( HTTPClientResponseAccepted HTTPClientResponseCode = 202 HTTPClientResponseAlreadyReported HTTPClientResponseCode = 208 HTTPClientResponseBadGateway HTTPClientResponseCode = 502 HTTPClientResponseBadRequest HTTPClientResponseCode = 400 HTTPClientResponseConflict HTTPClientResponseCode = 409 HTTPClientResponseContinue HTTPClientResponseCode = 100 HTTPClientResponseCreated HTTPClientResponseCode = 201 HTTPClientResponseExpectationFailed HTTPClientResponseCode = 417 HTTPClientResponseFailedDependency HTTPClientResponseCode = 424 HTTPClientResponseForbidden HTTPClientResponseCode = 403 HTTPClientResponseFound HTTPClientResponseCode = 302 HTTPClientResponseGatewayTimeout HTTPClientResponseCode = 504 HTTPClientResponseGone HTTPClientResponseCode = 410 HTTPClientResponseHttpVersionNotSupported HTTPClientResponseCode = 505 HTTPClientResponseImATeapot HTTPClientResponseCode = 418 HTTPClientResponseImUsed HTTPClientResponseCode = 226 HTTPClientResponseInsufficientStorage HTTPClientResponseCode = 507 HTTPClientResponseInternalServerError HTTPClientResponseCode = 500 HTTPClientResponseLengthRequired HTTPClientResponseCode = 411 HTTPClientResponseLocked HTTPClientResponseCode = 423 HTTPClientResponseLoopDetected HTTPClientResponseCode = 508 HTTPClientResponseMethodNotAllowed HTTPClientResponseCode = 405 HTTPClientResponseMisdirectedRequest HTTPClientResponseCode = 421 HTTPClientResponseMovedPermanently HTTPClientResponseCode = 301 HTTPClientResponseMultipleChoices HTTPClientResponseCode = 300 HTTPClientResponseMultiStatus HTTPClientResponseCode = 207 HTTPClientResponseNetworkAuthRequired HTTPClientResponseCode = 511 HTTPClientResponseNonAuthoritativeInformation HTTPClientResponseCode = 203 HTTPClientResponseNotAcceptable HTTPClientResponseCode = 406 HTTPClientResponseNotExtended HTTPClientResponseCode = 510 HTTPClientResponseNotFound HTTPClientResponseCode = 404 HTTPClientResponseNotImplemented HTTPClientResponseCode = 501 HTTPClientResponseNotModified HTTPClientResponseCode = 304 HTTPClientResponseNoContent HTTPClientResponseCode = 204 HTTPClientResponseOk HTTPClientResponseCode = 200 HTTPClientResponsePartialContent HTTPClientResponseCode = 206 HTTPClientResponsePaymentRequired HTTPClientResponseCode = 402 HTTPClientResponsePermanentRedirect HTTPClientResponseCode = 308 HTTPClientResponsePreconditionFailed HTTPClientResponseCode = 412 HTTPClientResponsePreconditionRequired HTTPClientResponseCode = 428 HTTPClientResponseProcessing HTTPClientResponseCode = 102 HTTPClientResponseProxyAuthenticationRequired HTTPClientResponseCode = 407 HTTPClientResponseRequestedRangeNotSatisfiable HTTPClientResponseCode = 416 HTTPClientResponseRequestEntityTooLarge HTTPClientResponseCode = 413 HTTPClientResponseRequestHeaderFieldsTooLarge HTTPClientResponseCode = 431 HTTPClientResponseRequestTimeout HTTPClientResponseCode = 408 HTTPClientResponseRequestUriTooLong HTTPClientResponseCode = 414 HTTPClientResponseResetContent HTTPClientResponseCode = 205 HTTPClientResponseSeeOther HTTPClientResponseCode = 303 HTTPClientResponseSwitchingProtocols HTTPClientResponseCode = 101 HTTPClientResponseSwitchProxy HTTPClientResponseCode = 306 HTTPClientResponseTemporaryRedirect HTTPClientResponseCode = 307 HTTPClientResponseTooManyRequests HTTPClientResponseCode = 429 HTTPClientResponseUnprocessableEntity HTTPClientResponseCode = 422 HTTPClientResponseUnsupportedMediaType HTTPClientResponseCode = 415 HTTPClientResponseUpgradeRequired HTTPClientResponseCode = 426 HTTPClientResponseUseProxy HTTPClientResponseCode = 305 HTTPClientResponseVariantAlsoNegotiates HTTPClientResponseCode = 506 )
type HTTPClientStatus ¶
type HTTPClientStatus int
HTTPClientStatus is an enum for Status values.
const ( HTTPClientStatusBody HTTPClientStatus = 7 HTTPClientStatusCantConnect HTTPClientStatus = 4 HTTPClientStatusCantResolve HTTPClientStatus = 2 HTTPClientStatusConnected HTTPClientStatus = 5 HTTPClientStatusConnecting HTTPClientStatus = 3 HTTPClientStatusConnectionError HTTPClientStatus = 8 HTTPClientStatusDisconnected HTTPClientStatus = 0 HTTPClientStatusRequesting HTTPClientStatus = 6 HTTPClientStatusResolving HTTPClientStatus = 1 HTTPClientStatusSslHandshakeError HTTPClientStatus = 9 )
type HTTPRequest ¶
type HTTPRequest struct { Node // contains filtered or unexported fields }
A node with the ability to send HTTP requests. Uses HTTPClient internally. Can be used to make HTTP requests, i.e. download or upload files or web content via HTTP.
func (*HTTPRequest) BaseClass ¶
func (o *HTTPRequest) BaseClass() string
func (*HTTPRequest) CancelRequest ¶
func (o *HTTPRequest) CancelRequest()
Cancels the current request. Args: [], Returns: void
func (*HTTPRequest) GetBodySize ¶
func (o *HTTPRequest) GetBodySize() gdnative.Int
Returns the response body length. Args: [], Returns: int
func (*HTTPRequest) GetBodySizeLimit ¶
func (o *HTTPRequest) GetBodySizeLimit() gdnative.Int
Undocumented Args: [], Returns: int
func (*HTTPRequest) GetDownloadFile ¶
func (o *HTTPRequest) GetDownloadFile() gdnative.String
Undocumented Args: [], Returns: String
func (*HTTPRequest) GetDownloadedBytes ¶
func (o *HTTPRequest) GetDownloadedBytes() gdnative.Int
Returns the amount of bytes this HTTPRequest downloaded. Args: [], Returns: int
func (*HTTPRequest) GetHttpClientStatus ¶
func (o *HTTPRequest) GetHttpClientStatus() HTTPClientStatus
Returns the current status of the underlying [HTTPClient]. See [code]STATUS_*[/code] enum on [HTTPClient]. Args: [], Returns: enum.HTTPClient::Status
func (*HTTPRequest) GetMaxRedirects ¶
func (o *HTTPRequest) GetMaxRedirects() gdnative.Int
Undocumented Args: [], Returns: int
func (*HTTPRequest) IsUsingThreads ¶
func (o *HTTPRequest) IsUsingThreads() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*HTTPRequest) Request ¶
func (o *HTTPRequest) Request(url gdnative.String, customHeaders gdnative.PoolStringArray, sslValidateDomain gdnative.Bool, method gdnative.Int, requestData gdnative.String) gdnative.Error
Args: [{ false url String} {[] true custom_headers PoolStringArray} {True true ssl_validate_domain bool} {0 true method int} { true request_data String}], Returns: enum.Error
func (*HTTPRequest) SetBodySizeLimit ¶
func (o *HTTPRequest) SetBodySizeLimit(bytes gdnative.Int)
Undocumented Args: [{ false bytes int}], Returns: void
func (*HTTPRequest) SetDownloadFile ¶
func (o *HTTPRequest) SetDownloadFile(path gdnative.String)
Undocumented Args: [{ false path String}], Returns: void
func (*HTTPRequest) SetMaxRedirects ¶
func (o *HTTPRequest) SetMaxRedirects(amount gdnative.Int)
Undocumented Args: [{ false amount int}], Returns: void
func (*HTTPRequest) SetUseThreads ¶
func (o *HTTPRequest) SetUseThreads(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*HTTPRequest) X_RedirectRequest ¶
func (o *HTTPRequest) X_RedirectRequest(arg0 gdnative.String)
Undocumented Args: [{ false arg0 String}], Returns: void
func (*HTTPRequest) X_RequestDone ¶
func (o *HTTPRequest) X_RequestDone(arg0 gdnative.Int, arg1 gdnative.Int, arg2 gdnative.PoolStringArray, arg3 gdnative.PoolByteArray)
Undocumented Args: [{ false arg0 int} { false arg1 int} { false arg2 PoolStringArray} { false arg3 PoolByteArray}], Returns: void
type HTTPRequestImplementer ¶
type HTTPRequestImplementer interface { NodeImplementer X_RedirectRequest(arg0 gdnative.String) X_RequestDone(arg0 gdnative.Int, arg1 gdnative.Int, arg2 gdnative.PoolStringArray, arg3 gdnative.PoolByteArray) CancelRequest() GetBodySize() gdnative.Int GetBodySizeLimit() gdnative.Int GetDownloadFile() gdnative.String GetDownloadedBytes() gdnative.Int GetMaxRedirects() gdnative.Int IsUsingThreads() gdnative.Bool SetBodySizeLimit(bytes gdnative.Int) SetDownloadFile(path gdnative.String) SetMaxRedirects(amount gdnative.Int) SetUseThreads(enable gdnative.Bool) }
HTTPRequestImplementer is an interface that implements the methods of the HTTPRequest class.
type HTTPRequestResult ¶
type HTTPRequestResult int
HTTPRequestResult is an enum for Result values.
const ( HTTPRequestResultBodySizeLimitExceeded HTTPRequestResult = 7 HTTPRequestResultCantConnect HTTPRequestResult = 2 HTTPRequestResultCantResolve HTTPRequestResult = 3 HTTPRequestResultChunkedBodySizeMismatch HTTPRequestResult = 1 HTTPRequestResultConnectionError HTTPRequestResult = 4 HTTPRequestResultDownloadFileCantOpen HTTPRequestResult = 9 HTTPRequestResultDownloadFileWriteError HTTPRequestResult = 10 HTTPRequestResultNoResponse HTTPRequestResult = 6 HTTPRequestResultRedirectLimitReached HTTPRequestResult = 11 HTTPRequestResultRequestFailed HTTPRequestResult = 8 HTTPRequestResultSslHandshakeError HTTPRequestResult = 5 HTTPRequestResultSuccess HTTPRequestResult = 0 )
type HingeJoint ¶
type HingeJoint struct { Joint // contains filtered or unexported fields }
Normally uses the z-axis of body A as the hinge axis, another axis can be specified when adding it manually though.
func (*HingeJoint) BaseClass ¶
func (o *HingeJoint) BaseClass() string
func (*HingeJoint) GetFlag ¶
func (o *HingeJoint) GetFlag(flag gdnative.Int) gdnative.Bool
Undocumented Args: [{ false flag int}], Returns: bool
func (*HingeJoint) GetParam ¶
func (o *HingeJoint) GetParam(param gdnative.Int) gdnative.Real
Undocumented Args: [{ false param int}], Returns: float
func (*HingeJoint) SetFlag ¶
func (o *HingeJoint) SetFlag(flag gdnative.Int, enabled gdnative.Bool)
Undocumented Args: [{ false flag int} { false enabled bool}], Returns: void
func (*HingeJoint) SetParam ¶
func (o *HingeJoint) SetParam(param gdnative.Int, value gdnative.Real)
Undocumented Args: [{ false param int} { false value float}], Returns: void
func (*HingeJoint) X_GetLowerLimit ¶
func (o *HingeJoint) X_GetLowerLimit() gdnative.Real
Undocumented Args: [], Returns: float
func (*HingeJoint) X_GetUpperLimit ¶
func (o *HingeJoint) X_GetUpperLimit() gdnative.Real
Undocumented Args: [], Returns: float
func (*HingeJoint) X_SetLowerLimit ¶
func (o *HingeJoint) X_SetLowerLimit(lowerLimit gdnative.Real)
Undocumented Args: [{ false lower_limit float}], Returns: void
func (*HingeJoint) X_SetUpperLimit ¶
func (o *HingeJoint) X_SetUpperLimit(upperLimit gdnative.Real)
Undocumented Args: [{ false upper_limit float}], Returns: void
type HingeJointFlag ¶
type HingeJointFlag int
HingeJointFlag is an enum for Flag values.
const ( HingeJointFlagEnableMotor HingeJointFlag = 1 HingeJointFlagMax HingeJointFlag = 2 HingeJointFlagUseLimit HingeJointFlag = 0 )
type HingeJointImplementer ¶
type HingeJointImplementer interface { JointImplementer X_GetLowerLimit() gdnative.Real X_GetUpperLimit() gdnative.Real X_SetLowerLimit(lowerLimit gdnative.Real) X_SetUpperLimit(upperLimit gdnative.Real) GetFlag(flag gdnative.Int) gdnative.Bool GetParam(param gdnative.Int) gdnative.Real SetFlag(flag gdnative.Int, enabled gdnative.Bool) SetParam(param gdnative.Int, value gdnative.Real) }
HingeJointImplementer is an interface that implements the methods of the HingeJoint class.
type HingeJointParam ¶
type HingeJointParam int
HingeJointParam is an enum for Param values.
const ( HingeJointParamBias HingeJointParam = 0 HingeJointParamLimitBias HingeJointParam = 3 HingeJointParamLimitLower HingeJointParam = 2 HingeJointParamLimitRelaxation HingeJointParam = 5 HingeJointParamLimitSoftness HingeJointParam = 4 HingeJointParamLimitUpper HingeJointParam = 1 HingeJointParamMax HingeJointParam = 8 HingeJointParamMotorMaxImpulse HingeJointParam = 7 HingeJointParamMotorTargetVelocity HingeJointParam = 6 )
type IPImplementer ¶
type IPImplementer interface { ObjectImplementer ClearCache(hostname gdnative.String) EraseResolveItem(id gdnative.Int) GetLocalAddresses() gdnative.Array GetResolveItemAddress(id gdnative.Int) gdnative.String ResolveHostname(host gdnative.String, ipType gdnative.Int) gdnative.String ResolveHostnameQueueItem(host gdnative.String, ipType gdnative.Int) gdnative.Int }
IPImplementer is an interface that implements the methods of the IP class.
type IPResolverStatus ¶
type IPResolverStatus int
IPResolverStatus is an enum for ResolverStatus values.
const ( IPResolverStatusDone IPResolverStatus = 2 IPResolverStatusError IPResolverStatus = 3 IPResolverStatusNone IPResolverStatus = 0 IPResolverStatusWaiting IPResolverStatus = 1 )
type IP_Unix ¶
type IP_Unix struct {
// contains filtered or unexported fields
}
Unix-specific implementation of IP support functions. See IP.
func (*IP_Unix) ClearCache ¶
Removes all of a "hostname"'s cached references. If no "hostname" is given then all cached IP addresses are removed. Args: [{ true hostname String}], Returns: void
func (*IP_Unix) EraseResolveItem ¶
Removes a given item "id" from the queue. This should be used to free a queue after it has completed to enable more queries to happen. Args: [{ false id int}], Returns: void
func (*IP_Unix) GetLocalAddresses ¶
Returns all of the user's current IPv4 and IPv6 addresses as an array. Args: [], Returns: Array
func (*IP_Unix) GetResolveItemAddress ¶
Returns a queued hostname's IP address, given its queue "id". Returns an empty string on error or if resolution hasn't happened yet (see [method get_resolve_item_status]). Args: [{ false id int}], Returns: String
func (*IP_Unix) GetResolveItemStatus ¶
func (o *IP_Unix) GetResolveItemStatus(id gdnative.Int) IPResolverStatus
Returns a queued hostname's status as a RESOLVER_STATUS_* constant, given its queue "id". Args: [{ false id int}], Returns: enum.IP::ResolverStatus
func (*IP_Unix) ResolveHostname ¶
Returns a given hostname's IPv4 or IPv6 address when resolved (blocking-type method). The address type returned depends on the TYPE_* constant given as "ip_type". Args: [{ false host String} {3 true ip_type int}], Returns: String
func (*IP_Unix) ResolveHostnameQueueItem ¶
Creates a queue item to resolve a hostname to an IPv4 or IPv6 address depending on the TYPE_* constant given as "ip_type". Returns the queue ID if successful, or RESOLVER_INVALID_ID on error. Args: [{ false host String} {3 true ip_type int}], Returns: int
type IP_UnixImplementer ¶
type IP_UnixImplementer interface { IPImplementer }
IP_UnixImplementer is an interface that implements the methods of the IP_Unix class.
type Image ¶
type Image struct { Resource // contains filtered or unexported fields }
Native image datatype. Contains image data, which can be converted to a Texture, and several functions to interact with it. The maximum width and height for an [code]Image[/code] is 16384 pixels.
func (*Image) BlendRect ¶
Alpha-blends [code]src_rect[/code] from [code]src[/code] image to this image at coordinates [code]dest[/code]. Args: [{ false src Image} { false src_rect Rect2} { false dst Vector2}], Returns: void
func (*Image) BlendRectMask ¶
func (o *Image) BlendRectMask(src ImageImplementer, mask ImageImplementer, srcRect gdnative.Rect2, dst gdnative.Vector2)
Alpha-blends [code]src_rect[/code] from [code]src[/code] image to this image using [code]mask[/code] image at coordinates [code]dst[/code]. Alpha channels are required for both [code]src[/code] and [code]mask[/code]. [code]dst[/code] pixels and [code]src[/code] pixels will blend if the corresponding mask pixel's alpha value is not 0. [code]src[/code] image and [code]mask[/code] image [b]must[/b] have the same size (width and height) but they can have different formats. Args: [{ false src Image} { false mask Image} { false src_rect Rect2} { false dst Vector2}], Returns: void
func (*Image) BlitRect ¶
Copies [code]src_rect[/code] from [code]src[/code] image to this image at coordinates [code]dst[/code]. Args: [{ false src Image} { false src_rect Rect2} { false dst Vector2}], Returns: void
func (*Image) BlitRectMask ¶
func (o *Image) BlitRectMask(src ImageImplementer, mask ImageImplementer, srcRect gdnative.Rect2, dst gdnative.Vector2)
Blits [code]src_rect[/code] area from [code]src[/code] image to this image at the coordinates given by [code]dst[/code]. [code]src[/code] pixel is copied onto [code]dst[/code] if the corresponding [code]mask[/code] pixel's alpha value is not 0. [code]src[/code] image and [code]mask[/code] image [b]must[/b] have the same size (width and height) but they can have different formats. Args: [{ false src Image} { false mask Image} { false src_rect Rect2} { false dst Vector2}], Returns: void
func (*Image) ClearMipmaps ¶
func (o *Image) ClearMipmaps()
Removes the image's mipmaps. Args: [], Returns: void
func (*Image) Compress ¶
func (o *Image) Compress(mode gdnative.Int, source gdnative.Int, lossyQuality gdnative.Real) gdnative.Error
Compresses the image to use less memory. Can not directly access pixel data while the image is compressed. Returns error if the chosen compression mode is not available. See [code]COMPRESS_*[/code] constants. Args: [{ false mode int} { false source int} { false lossy_quality float}], Returns: enum.Error
func (*Image) Convert ¶
Converts the image's format. See [code]FORMAT_*[/code] constants. Args: [{ false format int}], Returns: void
func (*Image) CopyFrom ¶
func (o *Image) CopyFrom(src ImageImplementer)
Copies [code]src[/code] image to this image. Args: [{ false src Image}], Returns: void
func (*Image) Create ¶
func (o *Image) Create(width gdnative.Int, height gdnative.Int, useMipmaps gdnative.Bool, format gdnative.Int)
Creates an empty image of given size and format. See [code]FORMAT_*[/code] constants. If [code]use_mipmaps[/code] is true then generate mipmaps for this image. See the [code]generate_mipmaps[/code] method. Args: [{ false width int} { false height int} { false use_mipmaps bool} { false format int}], Returns: void
func (*Image) CreateFromData ¶
func (o *Image) CreateFromData(width gdnative.Int, height gdnative.Int, useMipmaps gdnative.Bool, format gdnative.Int, data gdnative.PoolByteArray)
Creates a new image of given size and format. See [code]FORMAT_*[/code] constants. Fills the image with the given raw data. If [code]use_mipmaps[/code] is true then generate mipmaps for this image. See the [code]generate_mipmaps[/code] method. Args: [{ false width int} { false height int} { false use_mipmaps bool} { false format int} { false data PoolByteArray}], Returns: void
func (*Image) Crop ¶
Crops the image to the given [code]width[/code] and [code]height[/code]. If the specified size is larger than the current size, the extra area is filled with black pixels. Args: [{ false width int} { false height int}], Returns: void
func (*Image) Decompress ¶
Decompresses the image if it is compressed. Returns an error if decompress function is not available. Args: [], Returns: enum.Error
func (*Image) DetectAlpha ¶
func (o *Image) DetectAlpha() ImageAlphaMode
Returns ALPHA_BLEND if the image has data for alpha values. Returns ALPHA_BIT if all the alpha values are below a certain threshold or the maximum value. Returns ALPHA_NONE if no data for alpha values is found. Args: [], Returns: enum.Image::AlphaMode
func (*Image) ExpandX2Hq2X ¶
func (o *Image) ExpandX2Hq2X()
Stretches the image and enlarges it by a factor of 2. No interpolation is done. Args: [], Returns: void
func (*Image) Fill ¶
Fills the image with a given [Color]. Args: [{ false color Color}], Returns: void
func (*Image) FixAlphaEdges ¶
func (o *Image) FixAlphaEdges()
Blends low-alpha pixels with nearby pixels. Args: [], Returns: void
func (*Image) FlipX ¶
func (o *Image) FlipX()
Flips the image horizontally. Args: [], Returns: void
func (*Image) GenerateMipmaps ¶
Generates mipmaps for the image. Mipmaps are pre-calculated and lower resolution copies of the image. Mipmaps are automatically used if the image needs to be scaled down when rendered. This improves image quality and the performance of the rendering. Returns an error if the image is compressed, in a custom format or if the image's width/height is 0. Args: [], Returns: enum.Error
func (*Image) GetData ¶
func (o *Image) GetData() gdnative.PoolByteArray
Returns the image's raw data. Args: [], Returns: PoolByteArray
func (*Image) GetFormat ¶
func (o *Image) GetFormat() ImageFormat
Returns the image’s format. See [code]FORMAT_*[/code] constants. Args: [], Returns: enum.Image::Format
func (*Image) GetMipmapOffset ¶
Returns the offset where the image's mipmap with index [code]mipmap[/code] is stored in the [code]data[/code] dictionary. Args: [{ false mipmap int}], Returns: int
func (*Image) GetPixel ¶
Returns the color of the pixel at [code](x, y)[/code] if the image is locked. If the image is unlocked it always returns a [Color] with the value [code](0, 0, 0, 1.0)[/code]. Args: [{ false x int} { false y int}], Returns: Color
func (*Image) GetRect ¶
func (o *Image) GetRect(rect gdnative.Rect2) ImageImplementer
Returns a new image that is a copy of the image's area specified with [code]rect[/code]. Args: [{ false rect Rect2}], Returns: Image
func (*Image) GetUsedRect ¶
Returns a [Rect2] enclosing the visible portion of the image. Args: [], Returns: Rect2
func (*Image) HasMipmaps ¶
Returns [code]true[/code] if the image has generated mipmaps. Args: [], Returns: bool
func (*Image) IsCompressed ¶
Returns [code]true[/code] if the image is compressed. Args: [], Returns: bool
func (*Image) IsEmpty ¶
Returns [code]true[/code] if the image has no data. Args: [], Returns: bool
func (*Image) IsInvisible ¶
Returns [code]true[/code] if all the image's pixels have an alpha value of 0. Returns [code]false[/code] if any pixel has an alpha value higher than 0. Args: [], Returns: bool
func (*Image) Load ¶
Loads an image from file [code]path[/code]. Args: [{ false path String}], Returns: enum.Error
func (*Image) LoadJpgFromBuffer ¶
func (o *Image) LoadJpgFromBuffer(buffer gdnative.PoolByteArray) gdnative.Error
Args: [{ false buffer PoolByteArray}], Returns: enum.Error
func (*Image) LoadPngFromBuffer ¶
func (o *Image) LoadPngFromBuffer(buffer gdnative.PoolByteArray) gdnative.Error
Args: [{ false buffer PoolByteArray}], Returns: enum.Error
func (*Image) Lock ¶
func (o *Image) Lock()
Locks the data for writing access. Args: [], Returns: void
func (*Image) NormalmapToXy ¶
func (o *Image) NormalmapToXy()
Converts the image's data to represent coordinates on a 3D plane. This is used when the image represents a normalmap. A normalmap can add lots of detail to a 3D surface without increasing the polygon count. Args: [], Returns: void
func (*Image) PremultiplyAlpha ¶
func (o *Image) PremultiplyAlpha()
Multiplies color values with alpha values. Resulting color values for a pixel are [code](color * alpha)/256[/code]. Args: [], Returns: void
func (*Image) Resize ¶
Resizes the image to the given [code]width[/code] and [code]height[/code]. New pixels are calculated using [code]interpolation[/code]. See [code]interpolation[/code] constants. Args: [{ false width int} { false height int} {1 true interpolation int}], Returns: void
func (*Image) ResizeToPo2 ¶
Resizes the image to the nearest power of 2 for the width and height. If [code]square[/code] is [code]true[/code] then set width and height to be the same. Args: [{False true square bool}], Returns: void
func (*Image) SavePng ¶
Saves the image as a PNG file to [code]path[/code]. Args: [{ false path String}], Returns: enum.Error
func (*Image) SetPixel ¶
Sets the [Color] of the pixel at [code](x, y)[/code] if the image is locked. Example: [codeblock] var img = Image.new() img.create(img_width, img_height, false, Image.FORMAT_RGBA8) img.lock() img.set_pixel(x, y, color) # Works img.unlock() img.set_pixel(x, y, color) # Does not have an effect [/codeblock] Args: [{ false x int} { false y int} { false color Color}], Returns: void
func (*Image) ShrinkX2 ¶
func (o *Image) ShrinkX2()
Shrinks the image by a factor of 2. Args: [], Returns: void
func (*Image) SrgbToLinear ¶
func (o *Image) SrgbToLinear()
Converts the raw data from the sRGB colorspace to a linear scale. Args: [], Returns: void
func (*Image) Unlock ¶
func (o *Image) Unlock()
Unlocks the data and prevents changes. Args: [], Returns: void
func (*Image) X_GetData ¶
func (o *Image) X_GetData() gdnative.Dictionary
Undocumented Args: [], Returns: Dictionary
func (*Image) X_SetData ¶
func (o *Image) X_SetData(data gdnative.Dictionary)
Undocumented Args: [{ false data Dictionary}], Returns: void
type ImageAlphaMode ¶
type ImageAlphaMode int
ImageAlphaMode is an enum for AlphaMode values.
const ( ImageAlphaBit ImageAlphaMode = 1 ImageAlphaBlend ImageAlphaMode = 2 ImageAlphaNone ImageAlphaMode = 0 )
type ImageCompressMode ¶
type ImageCompressMode int
ImageCompressMode is an enum for CompressMode values.
const ( ImageCompressEtc ImageCompressMode = 3 ImageCompressEtc2 ImageCompressMode = 4 ImageCompressPvrtc2 ImageCompressMode = 1 ImageCompressPvrtc4 ImageCompressMode = 2 ImageCompressS3Tc ImageCompressMode = 0 )
type ImageCompressSource ¶
type ImageCompressSource int
ImageCompressSource is an enum for CompressSource values.
const ( ImageCompressSourceGeneric ImageCompressSource = 0 ImageCompressSourceNormal ImageCompressSource = 2 ImageCompressSourceSrgb ImageCompressSource = 1 )
type ImageFormat ¶
type ImageFormat int
ImageFormat is an enum for Format values.
const ( ImageFormatBptcRgba ImageFormat = 22 ImageFormatBptcRgbf ImageFormat = 23 ImageFormatBptcRgbfu ImageFormat = 24 ImageFormatDxt1 ImageFormat = 17 ImageFormatDxt3 ImageFormat = 18 ImageFormatDxt5 ImageFormat = 19 ImageFormatEtc ImageFormat = 29 ImageFormatEtc2R11 ImageFormat = 30 ImageFormatEtc2R11S ImageFormat = 31 ImageFormatEtc2Rg11 ImageFormat = 32 ImageFormatEtc2Rg11S ImageFormat = 33 ImageFormatEtc2Rgb8 ImageFormat = 34 ImageFormatEtc2Rgb8A1 ImageFormat = 36 ImageFormatEtc2Rgba8 ImageFormat = 35 ImageFormatL8 ImageFormat = 0 ImageFormatLa8 ImageFormat = 1 ImageFormatMax ImageFormat = 37 ImageFormatPvrtc2 ImageFormat = 25 ImageFormatPvrtc2A ImageFormat = 26 ImageFormatPvrtc4 ImageFormat = 27 ImageFormatPvrtc4A ImageFormat = 28 ImageFormatR8 ImageFormat = 2 ImageFormatRf ImageFormat = 8 ImageFormatRg8 ImageFormat = 3 ImageFormatRgb8 ImageFormat = 4 ImageFormatRgba4444 ImageFormat = 6 ImageFormatRgba5551 ImageFormat = 7 ImageFormatRgba8 ImageFormat = 5 ImageFormatRgbaf ImageFormat = 11 ImageFormatRgbah ImageFormat = 15 ImageFormatRgbe9995 ImageFormat = 16 ImageFormatRgbf ImageFormat = 10 ImageFormatRgbh ImageFormat = 14 ImageFormatRgf ImageFormat = 9 ImageFormatRgh ImageFormat = 13 ImageFormatRgtcR ImageFormat = 20 ImageFormatRgtcRg ImageFormat = 21 ImageFormatRh ImageFormat = 12 )
type ImageImplementer ¶
type ImageImplementer interface { ResourceImplementer X_GetData() gdnative.Dictionary X_SetData(data gdnative.Dictionary) BlendRect(src ImageImplementer, srcRect gdnative.Rect2, dst gdnative.Vector2) BlendRectMask(src ImageImplementer, mask ImageImplementer, srcRect gdnative.Rect2, dst gdnative.Vector2) BlitRect(src ImageImplementer, srcRect gdnative.Rect2, dst gdnative.Vector2) BlitRectMask(src ImageImplementer, mask ImageImplementer, srcRect gdnative.Rect2, dst gdnative.Vector2) ClearMipmaps() Convert(format gdnative.Int) CopyFrom(src ImageImplementer) Create(width gdnative.Int, height gdnative.Int, useMipmaps gdnative.Bool, format gdnative.Int) CreateFromData(width gdnative.Int, height gdnative.Int, useMipmaps gdnative.Bool, format gdnative.Int, data gdnative.PoolByteArray) Crop(width gdnative.Int, height gdnative.Int) ExpandX2Hq2X() Fill(color gdnative.Color) FixAlphaEdges() FlipX() FlipY() GetData() gdnative.PoolByteArray GetHeight() gdnative.Int GetMipmapOffset(mipmap gdnative.Int) gdnative.Int GetPixel(x gdnative.Int, y gdnative.Int) gdnative.Color GetRect(rect gdnative.Rect2) ImageImplementer GetSize() gdnative.Vector2 GetUsedRect() gdnative.Rect2 GetWidth() gdnative.Int HasMipmaps() gdnative.Bool IsCompressed() gdnative.Bool IsEmpty() gdnative.Bool IsInvisible() gdnative.Bool Lock() NormalmapToXy() PremultiplyAlpha() Resize(width gdnative.Int, height gdnative.Int, interpolation gdnative.Int) ResizeToPo2(square gdnative.Bool) SetPixel(x gdnative.Int, y gdnative.Int, color gdnative.Color) ShrinkX2() SrgbToLinear() Unlock() }
ImageImplementer is an interface that implements the methods of the Image class.
type ImageInterpolation ¶
type ImageInterpolation int
ImageInterpolation is an enum for Interpolation values.
const ( ImageInterpolateBilinear ImageInterpolation = 1 ImageInterpolateCubic ImageInterpolation = 2 ImageInterpolateNearest ImageInterpolation = 0 )
type ImageTexture ¶
type ImageTexture struct { Texture // contains filtered or unexported fields }
A Texture based on an Image. Can be created from an Image with [method create_from_image].
func (*ImageTexture) BaseClass ¶
func (o *ImageTexture) BaseClass() string
func (*ImageTexture) Create ¶
func (o *ImageTexture) Create(width gdnative.Int, height gdnative.Int, format gdnative.Int, flags gdnative.Int)
Create a new [code]ImageTexture[/code] with "width" and "height". "format" one of [Image].FORMAT_*. "flags" one or more of [Texture].FLAG_*. Args: [{ false width int} { false height int} { false format int} {7 true flags int}], Returns: void
func (*ImageTexture) CreateFromImage ¶
func (o *ImageTexture) CreateFromImage(image ImageImplementer, flags gdnative.Int)
Create a new [code]ImageTexture[/code] from an [Image] with "flags" from [Texture].FLAG_*. Args: [{ false image Image} {7 true flags int}], Returns: void
func (*ImageTexture) GetFormat ¶
func (o *ImageTexture) GetFormat() ImageFormat
Return the format of the [code]ImageTexture[/code], one of [Image].FORMAT_*. Args: [], Returns: enum.Image::Format
func (*ImageTexture) GetLossyStorageQuality ¶
func (o *ImageTexture) GetLossyStorageQuality() gdnative.Real
Undocumented Args: [], Returns: float
func (*ImageTexture) GetStorage ¶
func (o *ImageTexture) GetStorage() ImageTextureStorage
Undocumented Args: [], Returns: enum.ImageTexture::Storage
func (*ImageTexture) Load ¶
func (o *ImageTexture) Load(path gdnative.String)
Load an [code]ImageTexture[/code]. Args: [{ false path String}], Returns: void
func (*ImageTexture) SetData ¶
func (o *ImageTexture) SetData(image ImageImplementer)
Set the [Image] of this [code]ImageTexture[/code]. Args: [{ false image Image}], Returns: void
func (*ImageTexture) SetLossyStorageQuality ¶
func (o *ImageTexture) SetLossyStorageQuality(quality gdnative.Real)
Undocumented Args: [{ false quality float}], Returns: void
func (*ImageTexture) SetSizeOverride ¶
func (o *ImageTexture) SetSizeOverride(size gdnative.Vector2)
Resizes the [code]ImageTexture[/code] to the specified dimensions. Args: [{ false size Vector2}], Returns: void
func (*ImageTexture) SetStorage ¶
func (o *ImageTexture) SetStorage(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*ImageTexture) X_ReloadHook ¶
func (o *ImageTexture) X_ReloadHook(rid gdnative.Rid)
Undocumented Args: [{ false rid RID}], Returns: void
type ImageTextureImplementer ¶
type ImageTextureImplementer interface { TextureImplementer X_ReloadHook(rid gdnative.Rid) Create(width gdnative.Int, height gdnative.Int, format gdnative.Int, flags gdnative.Int) CreateFromImage(image ImageImplementer, flags gdnative.Int) GetLossyStorageQuality() gdnative.Real Load(path gdnative.String) SetData(image ImageImplementer) SetLossyStorageQuality(quality gdnative.Real) SetSizeOverride(size gdnative.Vector2) SetStorage(mode gdnative.Int) }
ImageTextureImplementer is an interface that implements the methods of the ImageTexture class.
type ImageTextureStorage ¶
type ImageTextureStorage int
ImageTextureStorage is an enum for Storage values.
const ( ImageTextureStorageCompressLossless ImageTextureStorage = 2 ImageTextureStorageCompressLossy ImageTextureStorage = 1 ImageTextureStorageRaw ImageTextureStorage = 0 )
type ImmediateGeometry ¶
type ImmediateGeometry struct { GeometryInstance // contains filtered or unexported fields }
Draws simple geometry from code. Uses a drawing mode similar to OpenGL 1.x.
func (*ImmediateGeometry) AddSphere ¶
func (o *ImmediateGeometry) AddSphere(lats gdnative.Int, lons gdnative.Int, radius gdnative.Real, addUv gdnative.Bool)
Simple helper to draw a uvsphere, with given latitudes, longitude and radius. Args: [{ false lats int} { false lons int} { false radius float} {True true add_uv bool}], Returns: void
func (*ImmediateGeometry) AddVertex ¶
func (o *ImmediateGeometry) AddVertex(position gdnative.Vector3)
Adds a vertex with the currently set color/uv/etc. Args: [{ false position Vector3}], Returns: void
func (*ImmediateGeometry) BaseClass ¶
func (o *ImmediateGeometry) BaseClass() string
func (*ImmediateGeometry) Begin ¶
func (o *ImmediateGeometry) Begin(primitive gdnative.Int, texture TextureImplementer)
Begin drawing (And optionally pass a texture override). When done call end(). For more information on how this works, search for glBegin() glEnd() references. For the type of primitive, use the [Mesh].PRIMITIVE_* enumerations. Args: [{ false primitive int} {[Object:null] true texture Texture}], Returns: void
func (*ImmediateGeometry) Clear ¶
func (o *ImmediateGeometry) Clear()
Clears everything that was drawn using begin/end. Args: [], Returns: void
func (*ImmediateGeometry) End ¶
func (o *ImmediateGeometry) End()
Ends a drawing context and displays the results. Args: [], Returns: void
func (*ImmediateGeometry) SetColor ¶
func (o *ImmediateGeometry) SetColor(color gdnative.Color)
The current drawing color. Args: [{ false color Color}], Returns: void
func (*ImmediateGeometry) SetNormal ¶
func (o *ImmediateGeometry) SetNormal(normal gdnative.Vector3)
The next vertex's normal. Args: [{ false normal Vector3}], Returns: void
func (*ImmediateGeometry) SetTangent ¶
func (o *ImmediateGeometry) SetTangent(tangent gdnative.Plane)
The next vertex's tangent (and binormal facing). Args: [{ false tangent Plane}], Returns: void
func (*ImmediateGeometry) SetUv ¶
func (o *ImmediateGeometry) SetUv(uv gdnative.Vector2)
The next vertex's UV. Args: [{ false uv Vector2}], Returns: void
func (*ImmediateGeometry) SetUv2 ¶
func (o *ImmediateGeometry) SetUv2(uv gdnative.Vector2)
The next vertex's second layer UV. Args: [{ false uv Vector2}], Returns: void
type ImmediateGeometryImplementer ¶
type ImmediateGeometryImplementer interface { GeometryInstanceImplementer AddSphere(lats gdnative.Int, lons gdnative.Int, radius gdnative.Real, addUv gdnative.Bool) AddVertex(position gdnative.Vector3) Begin(primitive gdnative.Int, texture TextureImplementer) Clear() End() SetColor(color gdnative.Color) SetNormal(normal gdnative.Vector3) SetTangent(tangent gdnative.Plane) SetUv(uv gdnative.Vector2) SetUv2(uv gdnative.Vector2) }
ImmediateGeometryImplementer is an interface that implements the methods of the ImmediateGeometry class.
type InputCursorShape ¶
type InputCursorShape int
InputCursorShape is an enum for CursorShape values.
const ( InputCursorArrow InputCursorShape = 0 InputCursorBdiagsize InputCursorShape = 11 InputCursorBusy InputCursorShape = 5 InputCursorCanDrop InputCursorShape = 7 InputCursorCross InputCursorShape = 3 InputCursorDrag InputCursorShape = 6 InputCursorFdiagsize InputCursorShape = 12 InputCursorForbidden InputCursorShape = 8 InputCursorHelp InputCursorShape = 16 InputCursorHsize InputCursorShape = 10 InputCursorHsplit InputCursorShape = 15 InputCursorIbeam InputCursorShape = 1 InputCursorMove InputCursorShape = 13 InputCursorPointingHand InputCursorShape = 2 InputCursorVsize InputCursorShape = 9 InputCursorVsplit InputCursorShape = 14 InputCursorWait InputCursorShape = 4 )
type InputDefault ¶
type InputDefault struct {
// contains filtered or unexported fields
}
Default implementation of the Input class, used internally by the editor and games for default input management.
func (*InputDefault) ActionPress ¶
This will simulate pressing the specified action. Args: [{ false action String}], Returns: void
func (*InputDefault) ActionRelease ¶
If the specified action is already pressed, this will release it. Args: [{ false action String}], Returns: void
func (*InputDefault) AddJoyMapping ¶
Add a new mapping entry (in SDL2 format) to the mapping database. Optionally update already connected devices. Args: [{ false mapping String} {False true update_existing bool}], Returns: void
func (*InputDefault) BaseClass ¶
func (o *InputDefault) BaseClass() string
func (*InputDefault) GetAccelerometer ¶
If the device has an accelerometer, this will return the acceleration. Otherwise, it returns an empty [Vector3]. Args: [], Returns: Vector3
func (*InputDefault) GetConnectedJoypads ¶
Returns an [Array] containing the device IDs of all currently connected joypads. Args: [], Returns: Array
func (*InputDefault) GetGravity ¶
If the device has an accelerometer, this will return the gravity. Otherwise, it returns an empty [Vector3]. Args: [], Returns: Vector3
func (*InputDefault) GetGyroscope ¶
If the device has a gyroscope, this will return the rate of rotation in rad/s around a device's x, y, and z axis. Otherwise, it returns an empty [Vector3]. Args: [], Returns: Vector3
func (*InputDefault) GetJoyAxis ¶
Returns the current value of the joypad axis at given index (see [code]JOY_*[/code] constants in [@GlobalScope]) Args: [{ false device int} { false axis int}], Returns: float
func (*InputDefault) GetJoyAxisIndexFromString ¶
Args: [{ false axis String}], Returns: int
func (*InputDefault) GetJoyAxisString ¶
Args: [{ false axis_index int}], Returns: String
func (*InputDefault) GetJoyButtonIndexFromString ¶
Args: [{ false button String}], Returns: int
func (*InputDefault) GetJoyButtonString ¶
Args: [{ false button_index int}], Returns: String
func (*InputDefault) GetJoyGuid ¶
Returns a SDL2 compatible device guid on platforms that use gamepad remapping. Returns "Default Gamepad" otherwise. Args: [{ false device int}], Returns: String
func (*InputDefault) GetJoyName ¶
Returns the name of the joypad at the specified device index Args: [{ false device int}], Returns: String
func (*InputDefault) GetJoyVibrationDuration ¶
Returns the duration of the current vibration effect in seconds. Args: [{ false device int}], Returns: float
func (*InputDefault) GetJoyVibrationStrength ¶
Returns the strength of the joypad vibration: x is the strength of the weak motor, and y is the strength of the strong motor. Args: [{ false device int}], Returns: Vector2
func (*InputDefault) GetLastMouseSpeed ¶
Returns the mouse speed for the last time the cursor was moved, and this until the next frame where the mouse moves. This means that even if the mouse is not moving, this function will still return the value of the last motion. Args: [], Returns: Vector2
func (*InputDefault) GetMagnetometer ¶
If the device has a magnetometer, this will return the magnetic field strength in micro-Tesla for all axes. Args: [], Returns: Vector3
func (*InputDefault) GetMouseButtonMask ¶
Returns mouse buttons as a bitmask. If multiple mouse buttons are pressed at the same time the bits are added together. Args: [], Returns: int
func (*InputDefault) GetMouseMode ¶
func (o *InputDefault) GetMouseMode() InputMouseMode
Return the mouse mode. See the constants for more information. Args: [], Returns: enum.Input::MouseMode
func (*InputDefault) IsActionJustPressed ¶
Returns [code]true[/code] when you start pressing the action event. Args: [{ false action String}], Returns: bool
func (*InputDefault) IsActionJustReleased ¶
Returns [code]true[/code] when you stop pressing the action event. Args: [{ false action String}], Returns: bool
func (*InputDefault) IsActionPressed ¶
Returns [code]true[/code] if you are pressing the action event. Args: [{ false action String}], Returns: bool
func (*InputDefault) IsJoyButtonPressed ¶
Returns [code]true[/code] if you are pressing the joypad button. (see [code]JOY_*[/code] constants in [@GlobalScope]) Args: [{ false device int} { false button int}], Returns: bool
func (*InputDefault) IsJoyKnown ¶
Returns [code]true[/code] if the system knows the specified device. This means that it sets all button and axis indices exactly as defined in the [code]JOY_*[/code] constants (see [@GlobalScope]). Unknown joypads are not expected to match these constants, but you can still retrieve events from them. Args: [{ false device int}], Returns: bool
func (*InputDefault) IsKeyPressed ¶
Returns [code]true[/code] if you are pressing the key. You can pass [code]KEY_*[/code], which are pre-defined constants listed in [@GlobalScope]. Args: [{ false scancode int}], Returns: bool
func (*InputDefault) IsMouseButtonPressed ¶
Returns [code]true[/code] if you are pressing the mouse button. You can pass [code]BUTTON_*[/code], which are pre-defined constants listed in [@GlobalScope]. Args: [{ false button int}], Returns: bool
func (*InputDefault) JoyConnectionChanged ¶
func (o *InputDefault) JoyConnectionChanged(device gdnative.Int, connected gdnative.Bool, name gdnative.String, guid gdnative.String)
Args: [{ false device int} { false connected bool} { false name String} { false guid String}], Returns: void
func (*InputDefault) ParseInputEvent ¶
func (o *InputDefault) ParseInputEvent(event InputEventImplementer)
Feeds an [InputEvent] to the game. Can be used to artificially trigger input events from code. Args: [{ false event InputEvent}], Returns: void
func (*InputDefault) RemoveJoyMapping ¶
Removes all mappings from the internal db that match the given uid. Args: [{ false guid String}], Returns: void
func (*InputDefault) SetCustomMouseCursor ¶
func (o *InputDefault) SetCustomMouseCursor(image ResourceImplementer, shape gdnative.Int, hotspot gdnative.Vector2)
Set a custom mouse cursor image, which is only visible inside the game window. The hotspot can also be specified. See enum [code]CURSOR_*[/code] for the list of shapes. Args: [{ false image Resource} {0 true shape int} {(0, 0) true hotspot Vector2}], Returns: void
func (*InputDefault) SetMouseMode ¶
Set the mouse mode. See the constants for more information. Args: [{ false mode int}], Returns: void
func (*InputDefault) StartJoyVibration ¶
func (o *InputDefault) StartJoyVibration(device gdnative.Int, weakMagnitude gdnative.Real, strongMagnitude gdnative.Real, duration gdnative.Real)
Starts to vibrate the joypad. Joypads usually come with two rumble motors, a strong and a weak one. weak_magnitude is the strength of the weak motor (between 0 and 1) and strong_magnitude is the strength of the strong motor (between 0 and 1). duration is the duration of the effect in seconds (a duration of 0 will try to play the vibration indefinitely). Note that not every hardware is compatible with long effect durations, it is recommended to restart an effect if in need to play it for more than a few seconds. Args: [{ false device int} { false weak_magnitude float} { false strong_magnitude float} {0 true duration float}], Returns: void
func (*InputDefault) StopJoyVibration ¶
Stops the vibration of the joypad. Args: [{ false device int}], Returns: void
func (*InputDefault) WarpMousePosition ¶
Sets the mouse position to the specified vector. Args: [{ false to Vector2}], Returns: void
type InputDefaultImplementer ¶
type InputDefaultImplementer interface { InputImplementer }
InputDefaultImplementer is an interface that implements the methods of the InputDefault class.
type InputEvent ¶
type InputEvent struct { Resource // contains filtered or unexported fields }
Base class of all sort of input event. See [method Node._input].
func (*InputEvent) ActionMatch ¶
func (o *InputEvent) ActionMatch(event InputEventImplementer) gdnative.Bool
Returns [code]true[/code] if this event matches [code]event[/code]. Args: [{ false event InputEvent}], Returns: bool
func (*InputEvent) AsText ¶
func (o *InputEvent) AsText() gdnative.String
Returns a [String] representation of the event. Args: [], Returns: String
func (*InputEvent) BaseClass ¶
func (o *InputEvent) BaseClass() string
func (*InputEvent) GetDevice ¶
func (o *InputEvent) GetDevice() gdnative.Int
Undocumented Args: [], Returns: int
func (*InputEvent) IsAction ¶
func (o *InputEvent) IsAction(action gdnative.String) gdnative.Bool
Returns [code]true[/code] if this input event matches a pre-defined action of any type. Args: [{ false action String}], Returns: bool
func (*InputEvent) IsActionPressed ¶
func (o *InputEvent) IsActionPressed(action gdnative.String) gdnative.Bool
Returns [code]true[/code] if the given action is being pressed (and is not an echo event for KEY events). Not relevant for the event types [code]MOUSE_MOTION[/code], [code]SCREEN_DRAG[/code] or [code]NONE[/code]. Args: [{ false action String}], Returns: bool
func (*InputEvent) IsActionReleased ¶
func (o *InputEvent) IsActionReleased(action gdnative.String) gdnative.Bool
Returns [code]true[/code] if the given action is released (i.e. not pressed). Not relevant for the event types [code]MOUSE_MOTION[/code], [code]SCREEN_DRAG[/code] or [code]NONE[/code]. Args: [{ false action String}], Returns: bool
func (*InputEvent) IsActionType ¶
func (o *InputEvent) IsActionType() gdnative.Bool
Returns [code]true[/code] if this input event's type is one of the [code]InputEvent[/code] constants. Args: [], Returns: bool
func (*InputEvent) IsEcho ¶
func (o *InputEvent) IsEcho() gdnative.Bool
Returns [code]true[/code] if this input event is an echo event (only for events of type KEY). Args: [], Returns: bool
func (*InputEvent) IsPressed ¶
func (o *InputEvent) IsPressed() gdnative.Bool
Returns [code]true[/code] if this input event is pressed. Not relevant for the event types [code]MOUSE_MOTION[/code], [code]SCREEN_DRAG[/code] or [code]NONE[/code]. Args: [], Returns: bool
func (*InputEvent) SetDevice ¶
func (o *InputEvent) SetDevice(device gdnative.Int)
Undocumented Args: [{ false device int}], Returns: void
func (*InputEvent) ShortcutMatch ¶
func (o *InputEvent) ShortcutMatch(event InputEventImplementer) gdnative.Bool
Args: [{ false event InputEvent}], Returns: bool
func (*InputEvent) XformedBy ¶
func (o *InputEvent) XformedBy(xform gdnative.Transform2D, localOfs gdnative.Vector2) InputEventImplementer
Args: [{ false xform Transform2D} {(0, 0) true local_ofs Vector2}], Returns: InputEvent
type InputEventAction ¶
type InputEventAction struct { InputEvent // contains filtered or unexported fields }
Contains a generic action which can be targeted from several type of inputs. Actions can be created from the project settings menu [code]Project > Project Settings > Input Map[/code]. See [method Node._input].
func (*InputEventAction) BaseClass ¶
func (o *InputEventAction) BaseClass() string
func (*InputEventAction) GetAction ¶
func (o *InputEventAction) GetAction() gdnative.String
Undocumented Args: [], Returns: String
func (*InputEventAction) SetAction ¶
func (o *InputEventAction) SetAction(action gdnative.String)
Undocumented Args: [{ false action String}], Returns: void
func (*InputEventAction) SetPressed ¶
func (o *InputEventAction) SetPressed(pressed gdnative.Bool)
Undocumented Args: [{ false pressed bool}], Returns: void
type InputEventActionImplementer ¶
type InputEventActionImplementer interface { InputEventImplementer GetAction() gdnative.String SetAction(action gdnative.String) SetPressed(pressed gdnative.Bool) }
InputEventActionImplementer is an interface that implements the methods of the InputEventAction class.
type InputEventGesture ¶
type InputEventGesture struct { InputEventWithModifiers // contains filtered or unexported fields }
func (*InputEventGesture) BaseClass ¶
func (o *InputEventGesture) BaseClass() string
func (*InputEventGesture) GetPosition ¶
func (o *InputEventGesture) GetPosition() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*InputEventGesture) SetPosition ¶
func (o *InputEventGesture) SetPosition(position gdnative.Vector2)
Undocumented Args: [{ false position Vector2}], Returns: void
type InputEventGestureImplementer ¶
type InputEventGestureImplementer interface { InputEventWithModifiersImplementer GetPosition() gdnative.Vector2 SetPosition(position gdnative.Vector2) }
InputEventGestureImplementer is an interface that implements the methods of the InputEventGesture class.
type InputEventImplementer ¶
type InputEventImplementer interface { ResourceImplementer ActionMatch(event InputEventImplementer) gdnative.Bool AsText() gdnative.String GetDevice() gdnative.Int IsAction(action gdnative.String) gdnative.Bool IsActionPressed(action gdnative.String) gdnative.Bool IsActionReleased(action gdnative.String) gdnative.Bool IsActionType() gdnative.Bool IsEcho() gdnative.Bool IsPressed() gdnative.Bool SetDevice(device gdnative.Int) ShortcutMatch(event InputEventImplementer) gdnative.Bool XformedBy(xform gdnative.Transform2D, localOfs gdnative.Vector2) InputEventImplementer }
InputEventImplementer is an interface that implements the methods of the InputEvent class.
type InputEventJoypadButton ¶
type InputEventJoypadButton struct { InputEvent // contains filtered or unexported fields }
Input event type for gamepad buttons. For joysticks see InputEventJoypadMotion.
func (*InputEventJoypadButton) BaseClass ¶
func (o *InputEventJoypadButton) BaseClass() string
func (*InputEventJoypadButton) GetButtonIndex ¶
func (o *InputEventJoypadButton) GetButtonIndex() gdnative.Int
Undocumented Args: [], Returns: int
func (*InputEventJoypadButton) GetPressure ¶
func (o *InputEventJoypadButton) GetPressure() gdnative.Real
Undocumented Args: [], Returns: float
func (*InputEventJoypadButton) SetButtonIndex ¶
func (o *InputEventJoypadButton) SetButtonIndex(buttonIndex gdnative.Int)
Undocumented Args: [{ false button_index int}], Returns: void
func (*InputEventJoypadButton) SetPressed ¶
func (o *InputEventJoypadButton) SetPressed(pressed gdnative.Bool)
Undocumented Args: [{ false pressed bool}], Returns: void
func (*InputEventJoypadButton) SetPressure ¶
func (o *InputEventJoypadButton) SetPressure(pressure gdnative.Real)
Undocumented Args: [{ false pressure float}], Returns: void
type InputEventJoypadButtonImplementer ¶
type InputEventJoypadButtonImplementer interface { InputEventImplementer GetButtonIndex() gdnative.Int GetPressure() gdnative.Real SetButtonIndex(buttonIndex gdnative.Int) SetPressed(pressed gdnative.Bool) SetPressure(pressure gdnative.Real) }
InputEventJoypadButtonImplementer is an interface that implements the methods of the InputEventJoypadButton class.
type InputEventJoypadMotion ¶
type InputEventJoypadMotion struct { InputEvent // contains filtered or unexported fields }
Stores information about joystick motions. One [code]InputEventJoypadMotion[/code] represents one axis at a time.
func (*InputEventJoypadMotion) BaseClass ¶
func (o *InputEventJoypadMotion) BaseClass() string
func (*InputEventJoypadMotion) GetAxis ¶
func (o *InputEventJoypadMotion) GetAxis() gdnative.Int
Undocumented Args: [], Returns: int
func (*InputEventJoypadMotion) GetAxisValue ¶
func (o *InputEventJoypadMotion) GetAxisValue() gdnative.Real
Undocumented Args: [], Returns: float
func (*InputEventJoypadMotion) SetAxis ¶
func (o *InputEventJoypadMotion) SetAxis(axis gdnative.Int)
Undocumented Args: [{ false axis int}], Returns: void
func (*InputEventJoypadMotion) SetAxisValue ¶
func (o *InputEventJoypadMotion) SetAxisValue(axisValue gdnative.Real)
Undocumented Args: [{ false axis_value float}], Returns: void
type InputEventJoypadMotionImplementer ¶
type InputEventJoypadMotionImplementer interface { InputEventImplementer GetAxis() gdnative.Int GetAxisValue() gdnative.Real SetAxis(axis gdnative.Int) SetAxisValue(axisValue gdnative.Real) }
InputEventJoypadMotionImplementer is an interface that implements the methods of the InputEventJoypadMotion class.
type InputEventKey ¶
type InputEventKey struct { InputEventWithModifiers // contains filtered or unexported fields }
Stores key presses on the keyboard. Supports key presses, key releases and [member echo] events.
func (*InputEventKey) BaseClass ¶
func (o *InputEventKey) BaseClass() string
func (*InputEventKey) GetScancode ¶
func (o *InputEventKey) GetScancode() gdnative.Int
Undocumented Args: [], Returns: int
func (*InputEventKey) GetScancodeWithModifiers ¶
func (o *InputEventKey) GetScancodeWithModifiers() gdnative.Int
Args: [], Returns: int
func (*InputEventKey) GetUnicode ¶
func (o *InputEventKey) GetUnicode() gdnative.Int
Undocumented Args: [], Returns: int
func (*InputEventKey) SetEcho ¶
func (o *InputEventKey) SetEcho(echo gdnative.Bool)
Undocumented Args: [{ false echo bool}], Returns: void
func (*InputEventKey) SetPressed ¶
func (o *InputEventKey) SetPressed(pressed gdnative.Bool)
Undocumented Args: [{ false pressed bool}], Returns: void
func (*InputEventKey) SetScancode ¶
func (o *InputEventKey) SetScancode(scancode gdnative.Int)
Undocumented Args: [{ false scancode int}], Returns: void
func (*InputEventKey) SetUnicode ¶
func (o *InputEventKey) SetUnicode(unicode gdnative.Int)
Undocumented Args: [{ false unicode int}], Returns: void
type InputEventKeyImplementer ¶
type InputEventKeyImplementer interface { InputEventWithModifiersImplementer GetScancode() gdnative.Int GetScancodeWithModifiers() gdnative.Int GetUnicode() gdnative.Int SetEcho(echo gdnative.Bool) SetPressed(pressed gdnative.Bool) SetScancode(scancode gdnative.Int) SetUnicode(unicode gdnative.Int) }
InputEventKeyImplementer is an interface that implements the methods of the InputEventKey class.
type InputEventMagnifyGesture ¶
type InputEventMagnifyGesture struct { InputEventGesture // contains filtered or unexported fields }
func (*InputEventMagnifyGesture) BaseClass ¶
func (o *InputEventMagnifyGesture) BaseClass() string
func (*InputEventMagnifyGesture) GetFactor ¶
func (o *InputEventMagnifyGesture) GetFactor() gdnative.Real
Undocumented Args: [], Returns: float
func (*InputEventMagnifyGesture) SetFactor ¶
func (o *InputEventMagnifyGesture) SetFactor(factor gdnative.Real)
Undocumented Args: [{ false factor float}], Returns: void
type InputEventMagnifyGestureImplementer ¶
type InputEventMagnifyGestureImplementer interface { InputEventGestureImplementer GetFactor() gdnative.Real SetFactor(factor gdnative.Real) }
InputEventMagnifyGestureImplementer is an interface that implements the methods of the InputEventMagnifyGesture class.
type InputEventMouse ¶
type InputEventMouse struct { InputEventWithModifiers // contains filtered or unexported fields }
Stores general mouse events information.
func (*InputEventMouse) BaseClass ¶
func (o *InputEventMouse) BaseClass() string
func (*InputEventMouse) GetButtonMask ¶
func (o *InputEventMouse) GetButtonMask() gdnative.Int
Undocumented Args: [], Returns: int
func (*InputEventMouse) GetGlobalPosition ¶
func (o *InputEventMouse) GetGlobalPosition() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*InputEventMouse) GetPosition ¶
func (o *InputEventMouse) GetPosition() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*InputEventMouse) SetButtonMask ¶
func (o *InputEventMouse) SetButtonMask(buttonMask gdnative.Int)
Undocumented Args: [{ false button_mask int}], Returns: void
func (*InputEventMouse) SetGlobalPosition ¶
func (o *InputEventMouse) SetGlobalPosition(globalPosition gdnative.Vector2)
Undocumented Args: [{ false global_position Vector2}], Returns: void
func (*InputEventMouse) SetPosition ¶
func (o *InputEventMouse) SetPosition(position gdnative.Vector2)
Undocumented Args: [{ false position Vector2}], Returns: void
type InputEventMouseButton ¶
type InputEventMouseButton struct { InputEventMouse // contains filtered or unexported fields }
Contains mouse click information. See [method Node._input].
func (*InputEventMouseButton) BaseClass ¶
func (o *InputEventMouseButton) BaseClass() string
func (*InputEventMouseButton) GetButtonIndex ¶
func (o *InputEventMouseButton) GetButtonIndex() gdnative.Int
Undocumented Args: [], Returns: int
func (*InputEventMouseButton) GetFactor ¶
func (o *InputEventMouseButton) GetFactor() gdnative.Real
Undocumented Args: [], Returns: float
func (*InputEventMouseButton) IsDoubleclick ¶
func (o *InputEventMouseButton) IsDoubleclick() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*InputEventMouseButton) SetButtonIndex ¶
func (o *InputEventMouseButton) SetButtonIndex(buttonIndex gdnative.Int)
Undocumented Args: [{ false button_index int}], Returns: void
func (*InputEventMouseButton) SetDoubleclick ¶
func (o *InputEventMouseButton) SetDoubleclick(doubleclick gdnative.Bool)
Undocumented Args: [{ false doubleclick bool}], Returns: void
func (*InputEventMouseButton) SetFactor ¶
func (o *InputEventMouseButton) SetFactor(factor gdnative.Real)
Undocumented Args: [{ false factor float}], Returns: void
func (*InputEventMouseButton) SetPressed ¶
func (o *InputEventMouseButton) SetPressed(pressed gdnative.Bool)
Undocumented Args: [{ false pressed bool}], Returns: void
type InputEventMouseButtonImplementer ¶
type InputEventMouseButtonImplementer interface { InputEventMouseImplementer GetButtonIndex() gdnative.Int GetFactor() gdnative.Real IsDoubleclick() gdnative.Bool SetButtonIndex(buttonIndex gdnative.Int) SetDoubleclick(doubleclick gdnative.Bool) SetFactor(factor gdnative.Real) SetPressed(pressed gdnative.Bool) }
InputEventMouseButtonImplementer is an interface that implements the methods of the InputEventMouseButton class.
type InputEventMouseImplementer ¶
type InputEventMouseImplementer interface { InputEventWithModifiersImplementer GetButtonMask() gdnative.Int GetGlobalPosition() gdnative.Vector2 GetPosition() gdnative.Vector2 SetButtonMask(buttonMask gdnative.Int) SetGlobalPosition(globalPosition gdnative.Vector2) SetPosition(position gdnative.Vector2) }
InputEventMouseImplementer is an interface that implements the methods of the InputEventMouse class.
type InputEventMouseMotion ¶
type InputEventMouseMotion struct { InputEventMouse // contains filtered or unexported fields }
Contains mouse motion information. Supports relative, absolute positions and speed. See [method Node._input].
func (*InputEventMouseMotion) BaseClass ¶
func (o *InputEventMouseMotion) BaseClass() string
func (*InputEventMouseMotion) GetRelative ¶
func (o *InputEventMouseMotion) GetRelative() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*InputEventMouseMotion) GetSpeed ¶
func (o *InputEventMouseMotion) GetSpeed() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*InputEventMouseMotion) SetRelative ¶
func (o *InputEventMouseMotion) SetRelative(relative gdnative.Vector2)
Undocumented Args: [{ false relative Vector2}], Returns: void
func (*InputEventMouseMotion) SetSpeed ¶
func (o *InputEventMouseMotion) SetSpeed(speed gdnative.Vector2)
Undocumented Args: [{ false speed Vector2}], Returns: void
type InputEventMouseMotionImplementer ¶
type InputEventMouseMotionImplementer interface { InputEventMouseImplementer GetRelative() gdnative.Vector2 GetSpeed() gdnative.Vector2 SetRelative(relative gdnative.Vector2) SetSpeed(speed gdnative.Vector2) }
InputEventMouseMotionImplementer is an interface that implements the methods of the InputEventMouseMotion class.
type InputEventPanGesture ¶
type InputEventPanGesture struct { InputEventGesture // contains filtered or unexported fields }
func (*InputEventPanGesture) BaseClass ¶
func (o *InputEventPanGesture) BaseClass() string
func (*InputEventPanGesture) GetDelta ¶
func (o *InputEventPanGesture) GetDelta() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*InputEventPanGesture) SetDelta ¶
func (o *InputEventPanGesture) SetDelta(delta gdnative.Vector2)
Undocumented Args: [{ false delta Vector2}], Returns: void
type InputEventPanGestureImplementer ¶
type InputEventPanGestureImplementer interface { InputEventGestureImplementer GetDelta() gdnative.Vector2 SetDelta(delta gdnative.Vector2) }
InputEventPanGestureImplementer is an interface that implements the methods of the InputEventPanGesture class.
type InputEventScreenDrag ¶
type InputEventScreenDrag struct { InputEvent // contains filtered or unexported fields }
Contains screen drag information. See [method Node._input].
func (*InputEventScreenDrag) BaseClass ¶
func (o *InputEventScreenDrag) BaseClass() string
func (*InputEventScreenDrag) GetIndex ¶
func (o *InputEventScreenDrag) GetIndex() gdnative.Int
Undocumented Args: [], Returns: int
func (*InputEventScreenDrag) GetPosition ¶
func (o *InputEventScreenDrag) GetPosition() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*InputEventScreenDrag) GetRelative ¶
func (o *InputEventScreenDrag) GetRelative() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*InputEventScreenDrag) GetSpeed ¶
func (o *InputEventScreenDrag) GetSpeed() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*InputEventScreenDrag) SetIndex ¶
func (o *InputEventScreenDrag) SetIndex(index gdnative.Int)
Undocumented Args: [{ false index int}], Returns: void
func (*InputEventScreenDrag) SetPosition ¶
func (o *InputEventScreenDrag) SetPosition(position gdnative.Vector2)
Undocumented Args: [{ false position Vector2}], Returns: void
func (*InputEventScreenDrag) SetRelative ¶
func (o *InputEventScreenDrag) SetRelative(relative gdnative.Vector2)
Undocumented Args: [{ false relative Vector2}], Returns: void
func (*InputEventScreenDrag) SetSpeed ¶
func (o *InputEventScreenDrag) SetSpeed(speed gdnative.Vector2)
Undocumented Args: [{ false speed Vector2}], Returns: void
type InputEventScreenDragImplementer ¶
type InputEventScreenDragImplementer interface { InputEventImplementer GetIndex() gdnative.Int GetPosition() gdnative.Vector2 GetRelative() gdnative.Vector2 GetSpeed() gdnative.Vector2 SetIndex(index gdnative.Int) SetPosition(position gdnative.Vector2) SetRelative(relative gdnative.Vector2) SetSpeed(speed gdnative.Vector2) }
InputEventScreenDragImplementer is an interface that implements the methods of the InputEventScreenDrag class.
type InputEventScreenTouch ¶
type InputEventScreenTouch struct { InputEvent // contains filtered or unexported fields }
Stores multi-touch press/release information. Supports touch press, touch release and [member index] for multi-touch count and order.
func (*InputEventScreenTouch) BaseClass ¶
func (o *InputEventScreenTouch) BaseClass() string
func (*InputEventScreenTouch) GetIndex ¶
func (o *InputEventScreenTouch) GetIndex() gdnative.Int
Undocumented Args: [], Returns: int
func (*InputEventScreenTouch) GetPosition ¶
func (o *InputEventScreenTouch) GetPosition() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*InputEventScreenTouch) SetIndex ¶
func (o *InputEventScreenTouch) SetIndex(index gdnative.Int)
Undocumented Args: [{ false index int}], Returns: void
func (*InputEventScreenTouch) SetPosition ¶
func (o *InputEventScreenTouch) SetPosition(position gdnative.Vector2)
Undocumented Args: [{ false position Vector2}], Returns: void
func (*InputEventScreenTouch) SetPressed ¶
func (o *InputEventScreenTouch) SetPressed(pressed gdnative.Bool)
Undocumented Args: [{ false pressed bool}], Returns: void
type InputEventScreenTouchImplementer ¶
type InputEventScreenTouchImplementer interface { InputEventImplementer GetIndex() gdnative.Int GetPosition() gdnative.Vector2 SetIndex(index gdnative.Int) SetPosition(position gdnative.Vector2) SetPressed(pressed gdnative.Bool) }
InputEventScreenTouchImplementer is an interface that implements the methods of the InputEventScreenTouch class.
type InputEventWithModifiers ¶
type InputEventWithModifiers struct { InputEvent // contains filtered or unexported fields }
Contains keys events information with modifiers support like [code]SHIFT[/code] or [code]ALT[/code]. See [method Node._input].
func (*InputEventWithModifiers) BaseClass ¶
func (o *InputEventWithModifiers) BaseClass() string
func (*InputEventWithModifiers) GetAlt ¶
func (o *InputEventWithModifiers) GetAlt() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*InputEventWithModifiers) GetCommand ¶
func (o *InputEventWithModifiers) GetCommand() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*InputEventWithModifiers) GetControl ¶
func (o *InputEventWithModifiers) GetControl() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*InputEventWithModifiers) GetMetakey ¶
func (o *InputEventWithModifiers) GetMetakey() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*InputEventWithModifiers) GetShift ¶
func (o *InputEventWithModifiers) GetShift() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*InputEventWithModifiers) SetAlt ¶
func (o *InputEventWithModifiers) SetAlt(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*InputEventWithModifiers) SetCommand ¶
func (o *InputEventWithModifiers) SetCommand(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*InputEventWithModifiers) SetControl ¶
func (o *InputEventWithModifiers) SetControl(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*InputEventWithModifiers) SetMetakey ¶
func (o *InputEventWithModifiers) SetMetakey(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*InputEventWithModifiers) SetShift ¶
func (o *InputEventWithModifiers) SetShift(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
type InputEventWithModifiersImplementer ¶
type InputEventWithModifiersImplementer interface { InputEventImplementer GetAlt() gdnative.Bool GetCommand() gdnative.Bool GetControl() gdnative.Bool GetMetakey() gdnative.Bool GetShift() gdnative.Bool SetAlt(enable gdnative.Bool) SetCommand(enable gdnative.Bool) SetControl(enable gdnative.Bool) SetMetakey(enable gdnative.Bool) SetShift(enable gdnative.Bool) }
InputEventWithModifiersImplementer is an interface that implements the methods of the InputEventWithModifiers class.
type InputImplementer ¶
type InputImplementer interface { ObjectImplementer ActionPress(action gdnative.String) ActionRelease(action gdnative.String) AddJoyMapping(mapping gdnative.String, updateExisting gdnative.Bool) GetAccelerometer() gdnative.Vector3 GetConnectedJoypads() gdnative.Array GetGravity() gdnative.Vector3 GetGyroscope() gdnative.Vector3 GetJoyAxis(device gdnative.Int, axis gdnative.Int) gdnative.Real GetJoyAxisIndexFromString(axis gdnative.String) gdnative.Int GetJoyAxisString(axisIndex gdnative.Int) gdnative.String GetJoyButtonIndexFromString(button gdnative.String) gdnative.Int GetJoyButtonString(buttonIndex gdnative.Int) gdnative.String GetJoyGuid(device gdnative.Int) gdnative.String GetJoyName(device gdnative.Int) gdnative.String GetJoyVibrationDuration(device gdnative.Int) gdnative.Real GetJoyVibrationStrength(device gdnative.Int) gdnative.Vector2 GetLastMouseSpeed() gdnative.Vector2 GetMagnetometer() gdnative.Vector3 GetMouseButtonMask() gdnative.Int IsActionJustPressed(action gdnative.String) gdnative.Bool IsActionJustReleased(action gdnative.String) gdnative.Bool IsActionPressed(action gdnative.String) gdnative.Bool IsJoyButtonPressed(device gdnative.Int, button gdnative.Int) gdnative.Bool IsJoyKnown(device gdnative.Int) gdnative.Bool IsKeyPressed(scancode gdnative.Int) gdnative.Bool IsMouseButtonPressed(button gdnative.Int) gdnative.Bool JoyConnectionChanged(device gdnative.Int, connected gdnative.Bool, name gdnative.String, guid gdnative.String) ParseInputEvent(event InputEventImplementer) RemoveJoyMapping(guid gdnative.String) SetCustomMouseCursor(image ResourceImplementer, shape gdnative.Int, hotspot gdnative.Vector2) SetMouseMode(mode gdnative.Int) StartJoyVibration(device gdnative.Int, weakMagnitude gdnative.Real, strongMagnitude gdnative.Real, duration gdnative.Real) StopJoyVibration(device gdnative.Int) WarpMousePosition(to gdnative.Vector2) }
InputImplementer is an interface that implements the methods of the Input class.
type InputMapImplementer ¶
type InputMapImplementer interface { ObjectImplementer ActionAddEvent(action gdnative.String, event InputEventImplementer) ActionEraseEvent(action gdnative.String, event InputEventImplementer) ActionHasEvent(action gdnative.String, event InputEventImplementer) gdnative.Bool AddAction(action gdnative.String) EraseAction(action gdnative.String) EventIsAction(event InputEventImplementer, action gdnative.String) gdnative.Bool GetActionList(action gdnative.String) gdnative.Array GetActions() gdnative.Array HasAction(action gdnative.String) gdnative.Bool LoadFromGlobals() }
InputMapImplementer is an interface that implements the methods of the InputMap class.
type InputMouseMode ¶
type InputMouseMode int
InputMouseMode is an enum for MouseMode values.
const ( InputMouseModeCaptured InputMouseMode = 2 InputMouseModeConfined InputMouseMode = 3 InputMouseModeHidden InputMouseMode = 1 InputMouseModeVisible InputMouseMode = 0 )
type InstancePlaceholder ¶
type InstancePlaceholder struct { Node // contains filtered or unexported fields }
Turning on the option [b]Load As Placeholder[/b] for an instanced scene in the editor causes it to be replaced by an InstacePlaceholder when running the game. This makes it possible to delay actually loading the scene until calling [method replace_by_instance]. This is useful to avoid loading large scenes all at once by loading parts of it selectively. The InstancePlaceholder does not have a transform. This causes any child nodes to be positioned relatively to the Viewport from point (0,0), rather than their parent as displayed in the editor. Replacing the placeholder with a scene with a transform will transform children relatively to their parent again.
func (*InstancePlaceholder) BaseClass ¶
func (o *InstancePlaceholder) BaseClass() string
func (*InstancePlaceholder) GetInstancePath ¶
func (o *InstancePlaceholder) GetInstancePath() gdnative.String
Retrieve the path to the [PackedScene] resource file that is loaded by default when calling [method replace_by_instance]. Args: [], Returns: String
func (*InstancePlaceholder) GetStoredValues ¶
func (o *InstancePlaceholder) GetStoredValues(withOrder gdnative.Bool) gdnative.Dictionary
Args: [{False true with_order bool}], Returns: Dictionary
func (*InstancePlaceholder) ReplaceByInstance ¶
func (o *InstancePlaceholder) ReplaceByInstance(customScene PackedSceneImplementer)
Replace this placeholder by the scene handed as an argument, or the original scene if no argument is given. As for all resources, the scene is loaded only if it's not loaded already. By manually loading the scene beforehand, delays caused by this function can be avoided. Args: [{Null true custom_scene PackedScene}], Returns: void
type InstancePlaceholderImplementer ¶
type InstancePlaceholderImplementer interface { NodeImplementer GetInstancePath() gdnative.String GetStoredValues(withOrder gdnative.Bool) gdnative.Dictionary ReplaceByInstance(customScene PackedSceneImplementer) }
InstancePlaceholderImplementer is an interface that implements the methods of the InstancePlaceholder class.
type InterpolatedCamera ¶
type InterpolatedCamera struct { Camera // contains filtered or unexported fields }
func (*InterpolatedCamera) BaseClass ¶
func (o *InterpolatedCamera) BaseClass() string
func (*InterpolatedCamera) GetSpeed ¶
func (o *InterpolatedCamera) GetSpeed() gdnative.Real
Undocumented Args: [], Returns: float
func (*InterpolatedCamera) GetTargetPath ¶
func (o *InterpolatedCamera) GetTargetPath() gdnative.NodePath
Undocumented Args: [], Returns: NodePath
func (*InterpolatedCamera) IsInterpolationEnabled ¶
func (o *InterpolatedCamera) IsInterpolationEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*InterpolatedCamera) SetInterpolationEnabled ¶
func (o *InterpolatedCamera) SetInterpolationEnabled(targetPath gdnative.Bool)
Undocumented Args: [{ false target_path bool}], Returns: void
func (*InterpolatedCamera) SetSpeed ¶
func (o *InterpolatedCamera) SetSpeed(speed gdnative.Real)
Undocumented Args: [{ false speed float}], Returns: void
func (*InterpolatedCamera) SetTarget ¶
func (o *InterpolatedCamera) SetTarget(target ObjectImplementer)
Args: [{ false target Object}], Returns: void
func (*InterpolatedCamera) SetTargetPath ¶
func (o *InterpolatedCamera) SetTargetPath(targetPath gdnative.NodePath)
Undocumented Args: [{ false target_path NodePath}], Returns: void
type InterpolatedCameraImplementer ¶
type InterpolatedCameraImplementer interface { CameraImplementer GetSpeed() gdnative.Real GetTargetPath() gdnative.NodePath IsInterpolationEnabled() gdnative.Bool SetInterpolationEnabled(targetPath gdnative.Bool) SetSpeed(speed gdnative.Real) SetTarget(target ObjectImplementer) SetTargetPath(targetPath gdnative.NodePath) }
InterpolatedCameraImplementer is an interface that implements the methods of the InterpolatedCamera class.
type ItemList ¶
type ItemList struct { Control // contains filtered or unexported fields }
This control provides a selectable list of items that may be in a single (or multiple columns) with option of text, icons, or both text and icon. Tooltips are supported and may be different for every item in the list. Selectable items in the list may be selected or deselected and multiple selection may be enabled. Selection with right mouse button may also be enabled to allow use of popup context menus. Items may also be 'activated' with a double click (or Enter key).
func (*ItemList) AddIconItem ¶
func (o *ItemList) AddIconItem(icon TextureImplementer, selectable gdnative.Bool)
Adds an item to the item list with no text, only an icon. Args: [{ false icon Texture} {True true selectable bool}], Returns: void
func (*ItemList) AddItem ¶
Adds an item to the item list with specified text. Specify an icon of null for a list item with no icon. If selectable is true the list item will be selectable. Args: [{ false text String} {Null true icon Texture} {True true selectable bool}], Returns: void
func (*ItemList) Clear ¶
func (o *ItemList) Clear()
Remove all items from the list. Args: [], Returns: void
func (*ItemList) EnsureCurrentIsVisible ¶
func (o *ItemList) EnsureCurrentIsVisible()
Ensure selection is visible, adjusting the scroll position as necessary. Args: [], Returns: void
func (*ItemList) GetAllowReselect ¶
Undocumented Args: [], Returns: bool
func (*ItemList) GetAllowRmbSelect ¶
Undocumented Args: [], Returns: bool
func (*ItemList) GetFixedColumnWidth ¶
Undocumented Args: [], Returns: int
func (*ItemList) GetFixedIconSize ¶
Undocumented Args: [], Returns: Vector2
func (*ItemList) GetIconMode ¶
func (o *ItemList) GetIconMode() ItemListIconMode
Undocumented Args: [], Returns: enum.ItemList::IconMode
func (*ItemList) GetIconScale ¶
Undocumented Args: [], Returns: float
func (*ItemList) GetItemAtPosition ¶
Given a position within the control return the item (if any) at that point. Args: [{ false position Vector2} {False true exact bool}], Returns: int
func (*ItemList) GetItemCount ¶
Return count of items currently in the item list. Args: [], Returns: int
func (*ItemList) GetItemCustomBgColor ¶
Args: [{ false idx int}], Returns: Color
func (*ItemList) GetItemIcon ¶
func (o *ItemList) GetItemIcon(idx gdnative.Int) TextureImplementer
Args: [{ false idx int}], Returns: Texture
func (*ItemList) GetItemIconRegion ¶
Args: [{ false idx int}], Returns: Rect2
func (*ItemList) GetItemMetadata ¶
Args: [{ false idx int}], Returns: Variant
func (*ItemList) GetItemText ¶
Return the text for specified item index. Args: [{ false idx int}], Returns: String
func (*ItemList) GetItemTooltip ¶
Return tooltip hint for specified item index. Args: [{ false idx int}], Returns: String
func (*ItemList) GetMaxColumns ¶
Undocumented Args: [], Returns: int
func (*ItemList) GetMaxTextLines ¶
Undocumented Args: [], Returns: int
func (*ItemList) GetSelectMode ¶
func (o *ItemList) GetSelectMode() ItemListSelectMode
Undocumented Args: [], Returns: enum.ItemList::SelectMode
func (*ItemList) GetSelectedItems ¶
func (o *ItemList) GetSelectedItems() gdnative.PoolIntArray
Returns the list of selected indexes. Args: [], Returns: PoolIntArray
func (*ItemList) GetVScroll ¶
func (o *ItemList) GetVScroll() VScrollBarImplementer
Returns the current vertical scroll bar for the List. Args: [], Returns: VScrollBar
func (*ItemList) HasAutoHeight ¶
Undocumented Args: [], Returns: bool
func (*ItemList) IsItemDisabled ¶
Returns whether or not the item at the specified index is disabled Args: [{ false idx int}], Returns: bool
func (*ItemList) IsItemSelectable ¶
Returns whether or not the item at the specified index is selectable. Args: [{ false idx int}], Returns: bool
func (*ItemList) IsItemTooltipEnabled ¶
Returns whether the tooltip is enabled for specified item index. Args: [{ false idx int}], Returns: bool
func (*ItemList) IsSameColumnWidth ¶
Undocumented Args: [], Returns: bool
func (*ItemList) IsSelected ¶
Returns whether or not item at the specified index is currently selected. Args: [{ false idx int}], Returns: bool
func (*ItemList) RemoveItem ¶
Remove item at specified index from the list. Args: [{ false idx int}], Returns: void
func (*ItemList) Select ¶
Select the item at the specified index. Note: This method does not trigger the item selection signal. Args: [{ false idx int} {True true single bool}], Returns: void
func (*ItemList) SetAllowReselect ¶
Undocumented Args: [{ false allow bool}], Returns: void
func (*ItemList) SetAllowRmbSelect ¶
Undocumented Args: [{ false allow bool}], Returns: void
func (*ItemList) SetAutoHeight ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*ItemList) SetFixedColumnWidth ¶
Undocumented Args: [{ false width int}], Returns: void
func (*ItemList) SetFixedIconSize ¶
Undocumented Args: [{ false size Vector2}], Returns: void
func (*ItemList) SetIconMode ¶
Undocumented Args: [{ false mode int}], Returns: void
func (*ItemList) SetIconScale ¶
Undocumented Args: [{ false scale float}], Returns: void
func (*ItemList) SetItemCustomBgColor ¶
Args: [{ false idx int} { false custom_bg_color Color}], Returns: void
func (*ItemList) SetItemDisabled ¶
Disable (or enable) item at specified index. Disabled items are not be selectable and do not fire activation (Enter or double-click) signals. Args: [{ false idx int} { false disabled bool}], Returns: void
func (*ItemList) SetItemIcon ¶
func (o *ItemList) SetItemIcon(idx gdnative.Int, icon TextureImplementer)
Set (or replace) icon of the item at the specified index. Args: [{ false idx int} { false icon Texture}], Returns: void
func (*ItemList) SetItemIconRegion ¶
Args: [{ false idx int} { false rect Rect2}], Returns: void
func (*ItemList) SetItemMetadata ¶
Sets a value (of any type) to be stored with the item at the specified index. Args: [{ false idx int} { false metadata Variant}], Returns: void
func (*ItemList) SetItemSelectable ¶
Allow or disallow selection of the item at the specified index. Args: [{ false idx int} { false selectable bool}], Returns: void
func (*ItemList) SetItemText ¶
Sets text of item at specified index. Args: [{ false idx int} { false text String}], Returns: void
func (*ItemList) SetItemTooltip ¶
Sets tooltip hint for item at specified index. Args: [{ false idx int} { false tooltip String}], Returns: void
func (*ItemList) SetItemTooltipEnabled ¶
Sets whether the tooltip is enabled for specified item index. Args: [{ false idx int} { false enable bool}], Returns: void
func (*ItemList) SetMaxColumns ¶
Undocumented Args: [{ false amount int}], Returns: void
func (*ItemList) SetMaxTextLines ¶
Undocumented Args: [{ false lines int}], Returns: void
func (*ItemList) SetSameColumnWidth ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*ItemList) SetSelectMode ¶
Undocumented Args: [{ false mode int}], Returns: void
func (*ItemList) SortItemsByText ¶
func (o *ItemList) SortItemsByText()
Sorts items in the list by their text. Args: [], Returns: void
func (*ItemList) Unselect ¶
Ensure item at specified index is not selected. Args: [{ false idx int}], Returns: void
func (*ItemList) X_GetItems ¶
Undocumented Args: [], Returns: Array
func (*ItemList) X_GuiInput ¶
func (o *ItemList) X_GuiInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
func (*ItemList) X_ScrollChanged ¶
Undocumented Args: [{ false arg0 float}], Returns: void
func (*ItemList) X_SetItems ¶
Undocumented Args: [{ false arg0 Array}], Returns: void
type ItemListIconMode ¶
type ItemListIconMode int
ItemListIconMode is an enum for IconMode values.
const ( ItemListIconModeLeft ItemListIconMode = 1 ItemListIconModeTop ItemListIconMode = 0 )
type ItemListImplementer ¶
type ItemListImplementer interface { ControlImplementer X_GetItems() gdnative.Array X_ScrollChanged(arg0 gdnative.Real) X_SetItems(arg0 gdnative.Array) AddIconItem(icon TextureImplementer, selectable gdnative.Bool) AddItem(text gdnative.String, icon TextureImplementer, selectable gdnative.Bool) Clear() EnsureCurrentIsVisible() GetAllowReselect() gdnative.Bool GetAllowRmbSelect() gdnative.Bool GetFixedColumnWidth() gdnative.Int GetFixedIconSize() gdnative.Vector2 GetIconScale() gdnative.Real GetItemAtPosition(position gdnative.Vector2, exact gdnative.Bool) gdnative.Int GetItemCount() gdnative.Int GetItemCustomBgColor(idx gdnative.Int) gdnative.Color GetItemIcon(idx gdnative.Int) TextureImplementer GetItemIconRegion(idx gdnative.Int) gdnative.Rect2 GetItemMetadata(idx gdnative.Int) gdnative.Variant GetItemText(idx gdnative.Int) gdnative.String GetItemTooltip(idx gdnative.Int) gdnative.String GetMaxColumns() gdnative.Int GetMaxTextLines() gdnative.Int GetSelectedItems() gdnative.PoolIntArray GetVScroll() VScrollBarImplementer HasAutoHeight() gdnative.Bool IsItemDisabled(idx gdnative.Int) gdnative.Bool IsItemSelectable(idx gdnative.Int) gdnative.Bool IsItemTooltipEnabled(idx gdnative.Int) gdnative.Bool IsSameColumnWidth() gdnative.Bool IsSelected(idx gdnative.Int) gdnative.Bool RemoveItem(idx gdnative.Int) Select(idx gdnative.Int, single gdnative.Bool) SetAllowReselect(allow gdnative.Bool) SetAllowRmbSelect(allow gdnative.Bool) SetAutoHeight(enable gdnative.Bool) SetFixedColumnWidth(width gdnative.Int) SetFixedIconSize(size gdnative.Vector2) SetIconMode(mode gdnative.Int) SetIconScale(scale gdnative.Real) SetItemCustomBgColor(idx gdnative.Int, customBgColor gdnative.Color) SetItemDisabled(idx gdnative.Int, disabled gdnative.Bool) SetItemIcon(idx gdnative.Int, icon TextureImplementer) SetItemIconRegion(idx gdnative.Int, rect gdnative.Rect2) SetItemMetadata(idx gdnative.Int, metadata gdnative.Variant) SetItemSelectable(idx gdnative.Int, selectable gdnative.Bool) SetItemText(idx gdnative.Int, text gdnative.String) SetItemTooltip(idx gdnative.Int, tooltip gdnative.String) SetItemTooltipEnabled(idx gdnative.Int, enable gdnative.Bool) SetMaxColumns(amount gdnative.Int) SetMaxTextLines(lines gdnative.Int) SetSameColumnWidth(enable gdnative.Bool) SetSelectMode(mode gdnative.Int) SortItemsByText() Unselect(idx gdnative.Int) }
ItemListImplementer is an interface that implements the methods of the ItemList class.
type ItemListSelectMode ¶
type ItemListSelectMode int
ItemListSelectMode is an enum for SelectMode values.
const ( ItemListSelectMulti ItemListSelectMode = 1 ItemListSelectSingle ItemListSelectMode = 0 )
type JSONImplementer ¶
type JSONImplementer interface { ObjectImplementer Parse(json gdnative.String) JSONParseResultImplementer Print(value gdnative.Variant, indent gdnative.String, sortKeys gdnative.Bool) gdnative.String }
JSONImplementer is an interface that implements the methods of the JSON class.
type JSONParseResult ¶
type JSONParseResult struct { Reference // contains filtered or unexported fields }
Returned by [method JSON.parse], [code]JSONParseResult[/code] contains decoded JSON or error information if JSON source not successfully parsed. You can check if JSON source was successfully parsed with [code]if json_result.error == OK[/code].
func (*JSONParseResult) BaseClass ¶
func (o *JSONParseResult) BaseClass() string
func (*JSONParseResult) GetError ¶
func (o *JSONParseResult) GetError() gdnative.Error
Undocumented Args: [], Returns: enum.Error
func (*JSONParseResult) GetErrorLine ¶
func (o *JSONParseResult) GetErrorLine() gdnative.Int
Undocumented Args: [], Returns: int
func (*JSONParseResult) GetErrorString ¶
func (o *JSONParseResult) GetErrorString() gdnative.String
Undocumented Args: [], Returns: String
func (*JSONParseResult) GetResult ¶
func (o *JSONParseResult) GetResult() gdnative.Variant
Undocumented Args: [], Returns: Variant
func (*JSONParseResult) SetError ¶
func (o *JSONParseResult) SetError(error gdnative.Int)
Undocumented Args: [{ false error int}], Returns: void
func (*JSONParseResult) SetErrorLine ¶
func (o *JSONParseResult) SetErrorLine(errorLine gdnative.Int)
Undocumented Args: [{ false error_line int}], Returns: void
func (*JSONParseResult) SetErrorString ¶
func (o *JSONParseResult) SetErrorString(errorString gdnative.String)
Undocumented Args: [{ false error_string String}], Returns: void
func (*JSONParseResult) SetResult ¶
func (o *JSONParseResult) SetResult(result gdnative.Variant)
Undocumented Args: [{ false result Variant}], Returns: void
type JSONParseResultImplementer ¶
type JSONParseResultImplementer interface { ReferenceImplementer GetErrorLine() gdnative.Int GetErrorString() gdnative.String GetResult() gdnative.Variant SetError(error gdnative.Int) SetErrorLine(errorLine gdnative.Int) SetErrorString(errorString gdnative.String) SetResult(result gdnative.Variant) }
JSONParseResultImplementer is an interface that implements the methods of the JSONParseResult class.
type JavaScriptImplementer ¶
type JavaScriptImplementer interface { ObjectImplementer Eval(code gdnative.String, useGlobalExecutionContext gdnative.Bool) gdnative.Variant }
JavaScriptImplementer is an interface that implements the methods of the JavaScript class.
type Joint ¶
type Joint struct { Spatial // contains filtered or unexported fields }
All 3D joints link two nodes, has a priority, and can decide if the two bodies of the nodes should be able to collide with each other
func (*Joint) GetExcludeNodesFromCollision ¶
Undocumented Args: [], Returns: bool
func (*Joint) GetSolverPriority ¶
Undocumented Args: [], Returns: int
func (*Joint) SetExcludeNodesFromCollision ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Joint) SetSolverPriority ¶
Undocumented Args: [{ false priority int}], Returns: void
type Joint2D ¶
type Joint2D struct { Node2D // contains filtered or unexported fields }
Base node for all joint constraints in 2D physics. Joints take 2 bodies and apply a custom constraint.
func (*Joint2D) GetExcludeNodesFromCollision ¶
Undocumented Args: [], Returns: bool
func (*Joint2D) SetExcludeNodesFromCollision ¶
Undocumented Args: [{ false enable bool}], Returns: void
type Joint2DImplementer ¶
type Joint2DImplementer interface { Node2DImplementer GetBias() gdnative.Real GetExcludeNodesFromCollision() gdnative.Bool GetNodeA() gdnative.NodePath GetNodeB() gdnative.NodePath SetBias(bias gdnative.Real) SetExcludeNodesFromCollision(enable gdnative.Bool) SetNodeA(node gdnative.NodePath) SetNodeB(node gdnative.NodePath) }
Joint2DImplementer is an interface that implements the methods of the Joint2D class.
type JointImplementer ¶
type JointImplementer interface { SpatialImplementer GetExcludeNodesFromCollision() gdnative.Bool GetNodeA() gdnative.NodePath GetNodeB() gdnative.NodePath GetSolverPriority() gdnative.Int SetExcludeNodesFromCollision(enable gdnative.Bool) SetNodeA(node gdnative.NodePath) SetNodeB(node gdnative.NodePath) SetSolverPriority(priority gdnative.Int) }
JointImplementer is an interface that implements the methods of the Joint class.
type KinematicBody ¶
type KinematicBody struct { PhysicsBody // contains filtered or unexported fields }
Kinematic bodies are special types of bodies that are meant to be user-controlled. They are not affected by physics at all (to other types of bodies, such a character or a rigid body, these are the same as a static body). They have however, two main uses: Simulated Motion: When these bodies are moved manually, either from code or from an AnimationPlayer (with process mode set to fixed), the physics will automatically compute an estimate of their linear and angular velocity. This makes them very useful for moving platforms or other AnimationPlayer-controlled objects (like a door, a bridge that opens, etc). Kinematic Characters: KinematicBody also has an API for moving objects (the [method move_and_collide] and [method move_and_slide] methods) while performing collision tests. This makes them really useful to implement characters that collide against a world, but that don't require advanced physics.
func (*KinematicBody) BaseClass ¶
func (o *KinematicBody) BaseClass() string
func (*KinematicBody) GetAxisLock ¶
func (o *KinematicBody) GetAxisLock(axis gdnative.Int) gdnative.Bool
Undocumented Args: [{ false axis int}], Returns: bool
func (*KinematicBody) GetFloorVelocity ¶
func (o *KinematicBody) GetFloorVelocity() gdnative.Vector3
Returns the velocity of the floor. Only updates when calling [method move_and_slide]. Args: [], Returns: Vector3
func (*KinematicBody) GetSafeMargin ¶
func (o *KinematicBody) GetSafeMargin() gdnative.Real
Undocumented Args: [], Returns: float
func (*KinematicBody) GetSlideCollision ¶
func (o *KinematicBody) GetSlideCollision(slideIdx gdnative.Int) KinematicCollisionImplementer
Returns a [KinematicCollision], which contains information about a collision that occurred during the last [method move_and_slide] call. Since the body can collide several times in a single call to [method move_and_slide], you must specify the index of the collision in the range 0 to ([method get_slide_count] - 1). Args: [{ false slide_idx int}], Returns: KinematicCollision
func (*KinematicBody) GetSlideCount ¶
func (o *KinematicBody) GetSlideCount() gdnative.Int
Returns the number of times the body collided and changed direction during the last call to [method move_and_slide]. Args: [], Returns: int
func (*KinematicBody) IsOnCeiling ¶
func (o *KinematicBody) IsOnCeiling() gdnative.Bool
Returns [code]true[/code] if the body is on the ceiling. Only updates when calling [method move_and_slide]. Args: [], Returns: bool
func (*KinematicBody) IsOnFloor ¶
func (o *KinematicBody) IsOnFloor() gdnative.Bool
Returns [code]true[/code] if the body is on the floor. Only updates when calling [method move_and_slide]. Args: [], Returns: bool
func (*KinematicBody) IsOnWall ¶
func (o *KinematicBody) IsOnWall() gdnative.Bool
Returns [code]true[/code] if the body is on a wall. Only updates when calling [method move_and_slide]. Args: [], Returns: bool
func (*KinematicBody) MoveAndCollide ¶
func (o *KinematicBody) MoveAndCollide(relVec gdnative.Vector3) KinematicCollisionImplementer
Moves the body along the vector [code]rel_vec[/code]. The body will stop if it collides. Returns a [KinematicCollision], which contains information about the collision. Args: [{ false rel_vec Vector3}], Returns: KinematicCollision
func (*KinematicBody) MoveAndSlide ¶
func (o *KinematicBody) MoveAndSlide(linearVelocity gdnative.Vector3, floorNormal gdnative.Vector3, slopeStopMinVelocity gdnative.Real, maxSlides gdnative.Int, floorMaxAngle gdnative.Real) gdnative.Vector3
Moves the body along a vector. If the body collides with another, it will slide along the other body rather than stop immediately. If the other body is a [code]KinematicBody[/code] or [RigidBody], it will also be affected by the motion of the other body. You can use this to make moving or rotating platforms, or to make nodes push other nodes. [code]linear_velocity[/code] is a value in pixels per second. Unlike in for example [method move_and_collide], you should [i]not[/i] multiply it with [code]delta[/code] — this is done by the method. [code]floor_normal[/code] is the up direction, used to determine what is a wall and what is a floor or a ceiling. If set to the default value of [code]Vector3(0, 0, 0)[/code], everything is considered a wall. This is useful for topdown games. If the body is standing on a slope and the horizontal speed (relative to the floor's speed) goes below [code]slope_stop_min_velocity[/code], the body will stop completely. This prevents the body from sliding down slopes when you include gravity in [code]linear_velocity[/code]. When set to lower values, the body will not be able to stand still on steep slopes. If the body collides, it will change direction a maximum of [code]max_slides[/code] times before it stops. [code]floor_max_angle[/code] is the maximum angle (in radians) where a slope is still considered a floor (or a ceiling), rather than a wall. The default value equals 45 degrees. Returns the movement that remained when the body stopped. To get more detailed information about collisions that occurred, use [method get_slide_collision]. Args: [{ false linear_velocity Vector3} {(0, 0, 0) true floor_normal Vector3} {0.05 true slope_stop_min_velocity float} {4 true max_slides int} {0.785398 true floor_max_angle float}], Returns: Vector3
func (*KinematicBody) SetAxisLock ¶
func (o *KinematicBody) SetAxisLock(axis gdnative.Int, lock gdnative.Bool)
Undocumented Args: [{ false axis int} { false lock bool}], Returns: void
func (*KinematicBody) SetSafeMargin ¶
func (o *KinematicBody) SetSafeMargin(pixels gdnative.Real)
Undocumented Args: [{ false pixels float}], Returns: void
func (*KinematicBody) TestMove ¶
Checks for collisions without moving the body. Virtually sets the node's position, scale and rotation to that of the given [Transform], then tries to move the body along the vector [code]rel_vec[/code]. Returns [code]true[/code] if a collision would occur. Args: [{ false from Transform} { false rel_vec Vector3}], Returns: bool
type KinematicBody2D ¶
type KinematicBody2D struct { PhysicsBody2D // contains filtered or unexported fields }
Kinematic bodies are special types of bodies that are meant to be user-controlled. They are not affected by physics at all (to other types of bodies, such a character or a rigid body, these are the same as a static body). They have however, two main uses: Simulated Motion: When these bodies are moved manually, either from code or from an AnimationPlayer (with process mode set to fixed), the physics will automatically compute an estimate of their linear and angular velocity. This makes them very useful for moving platforms or other AnimationPlayer-controlled objects (like a door, a bridge that opens, etc). Kinematic Characters: KinematicBody2D also has an API for moving objects (the [method move_and_collide] and [method move_and_slide] methods) while performing collision tests. This makes them really useful to implement characters that collide against a world, but that don't require advanced physics.
func (*KinematicBody2D) BaseClass ¶
func (o *KinematicBody2D) BaseClass() string
func (*KinematicBody2D) GetFloorVelocity ¶
func (o *KinematicBody2D) GetFloorVelocity() gdnative.Vector2
Returns the velocity of the floor. Only updates when calling [method move_and_slide]. Args: [], Returns: Vector2
func (*KinematicBody2D) GetSafeMargin ¶
func (o *KinematicBody2D) GetSafeMargin() gdnative.Real
Undocumented Args: [], Returns: float
func (*KinematicBody2D) GetSlideCollision ¶
func (o *KinematicBody2D) GetSlideCollision(slideIdx gdnative.Int) KinematicCollision2DImplementer
Returns a [KinematicCollision2D], which contains information about a collision that occurred during the last [method move_and_slide] call. Since the body can collide several times in a single call to [method move_and_slide], you must specify the index of the collision in the range 0 to ([method get_slide_count] - 1). Args: [{ false slide_idx int}], Returns: KinematicCollision2D
func (*KinematicBody2D) GetSlideCount ¶
func (o *KinematicBody2D) GetSlideCount() gdnative.Int
Returns the number of times the body collided and changed direction during the last call to [method move_and_slide]. Args: [], Returns: int
func (*KinematicBody2D) IsOnCeiling ¶
func (o *KinematicBody2D) IsOnCeiling() gdnative.Bool
Returns [code]true[/code] if the body is on the ceiling. Only updates when calling [method move_and_slide]. Args: [], Returns: bool
func (*KinematicBody2D) IsOnFloor ¶
func (o *KinematicBody2D) IsOnFloor() gdnative.Bool
Returns [code]true[/code] if the body is on the floor. Only updates when calling [method move_and_slide]. Args: [], Returns: bool
func (*KinematicBody2D) IsOnWall ¶
func (o *KinematicBody2D) IsOnWall() gdnative.Bool
Returns [code]true[/code] if the body is on a wall. Only updates when calling [method move_and_slide]. Args: [], Returns: bool
func (*KinematicBody2D) MoveAndCollide ¶
func (o *KinematicBody2D) MoveAndCollide(relVec gdnative.Vector2) KinematicCollision2DImplementer
Moves the body along the vector [code]rel_vec[/code]. The body will stop if it collides. Returns a [KinematicCollision2D], which contains information about the collision. Args: [{ false rel_vec Vector2}], Returns: KinematicCollision2D
func (*KinematicBody2D) MoveAndSlide ¶
func (o *KinematicBody2D) MoveAndSlide(linearVelocity gdnative.Vector2, floorNormal gdnative.Vector2, slopeStopMinVelocity gdnative.Real, maxBounces gdnative.Int, floorMaxAngle gdnative.Real) gdnative.Vector2
Moves the body along a vector. If the body collides with another, it will slide along the other body rather than stop immediately. If the other body is a [code]KinematicBody2D[/code] or [RigidBody2D], it will also be affected by the motion of the other body. You can use this to make moving or rotating platforms, or to make nodes push other nodes. [code]linear_velocity[/code] is a value in pixels per second. Unlike in for example [method move_and_collide], you should [i]not[/i] multiply it with [code]delta[/code] — this is done by the method. [code]floor_normal[/code] is the up direction, used to determine what is a wall and what is a floor or a ceiling. If set to the default value of [code]Vector2(0, 0)[/code], everything is considered a wall. This is useful for topdown games. If the body is standing on a slope and the horizontal speed (relative to the floor's speed) goes below [code]slope_stop_min_velocity[/code], the body will stop completely. This prevents the body from sliding down slopes when you include gravity in [code]linear_velocity[/code]. When set to lower values, the body will not be able to stand still on steep slopes. If the body collides, it will change direction a maximum of [code]max_bounces[/code] times before it stops. [code]floor_max_angle[/code] is the maximum angle (in radians) where a slope is still considered a floor (or a ceiling), rather than a wall. The default value equals 45 degrees. Returns the movement that remained when the body stopped. To get more detailed information about collisions that occurred, use [method get_slide_collision]. Args: [{ false linear_velocity Vector2} {(0, 0) true floor_normal Vector2} {5 true slope_stop_min_velocity float} {4 true max_bounces int} {0.785398 true floor_max_angle float}], Returns: Vector2
func (*KinematicBody2D) SetSafeMargin ¶
func (o *KinematicBody2D) SetSafeMargin(pixels gdnative.Real)
Undocumented Args: [{ false pixels float}], Returns: void
func (*KinematicBody2D) TestMove ¶
func (o *KinematicBody2D) TestMove(from gdnative.Transform2D, relVec gdnative.Vector2) gdnative.Bool
Checks for collisions without moving the body. Virtually sets the node's position, scale and rotation to that of the given [Transform2D], then tries to move the body along the vector [code]rel_vec[/code]. Returns [code]true[/code] if a collision would occur. Args: [{ false from Transform2D} { false rel_vec Vector2}], Returns: bool
type KinematicBody2DImplementer ¶
type KinematicBody2DImplementer interface { PhysicsBody2DImplementer GetFloorVelocity() gdnative.Vector2 GetSafeMargin() gdnative.Real GetSlideCollision(slideIdx gdnative.Int) KinematicCollision2DImplementer GetSlideCount() gdnative.Int IsOnCeiling() gdnative.Bool IsOnFloor() gdnative.Bool IsOnWall() gdnative.Bool MoveAndCollide(relVec gdnative.Vector2) KinematicCollision2DImplementer MoveAndSlide(linearVelocity gdnative.Vector2, floorNormal gdnative.Vector2, slopeStopMinVelocity gdnative.Real, maxBounces gdnative.Int, floorMaxAngle gdnative.Real) gdnative.Vector2 SetSafeMargin(pixels gdnative.Real) TestMove(from gdnative.Transform2D, relVec gdnative.Vector2) gdnative.Bool }
KinematicBody2DImplementer is an interface that implements the methods of the KinematicBody2D class.
type KinematicBodyImplementer ¶
type KinematicBodyImplementer interface { PhysicsBodyImplementer GetAxisLock(axis gdnative.Int) gdnative.Bool GetFloorVelocity() gdnative.Vector3 GetSafeMargin() gdnative.Real GetSlideCollision(slideIdx gdnative.Int) KinematicCollisionImplementer GetSlideCount() gdnative.Int IsOnCeiling() gdnative.Bool IsOnFloor() gdnative.Bool IsOnWall() gdnative.Bool MoveAndCollide(relVec gdnative.Vector3) KinematicCollisionImplementer MoveAndSlide(linearVelocity gdnative.Vector3, floorNormal gdnative.Vector3, slopeStopMinVelocity gdnative.Real, maxSlides gdnative.Int, floorMaxAngle gdnative.Real) gdnative.Vector3 SetAxisLock(axis gdnative.Int, lock gdnative.Bool) SetSafeMargin(pixels gdnative.Real) TestMove(from gdnative.Transform, relVec gdnative.Vector3) gdnative.Bool }
KinematicBodyImplementer is an interface that implements the methods of the KinematicBody class.
type KinematicCollision ¶
type KinematicCollision struct { Reference // contains filtered or unexported fields }
Contains collision data for KinematicBody collisions. When a KinematicBody is moved using [method KinematicBody.move_and_collide], it stops if it detects a collision with another body. If a collision is detected, a KinematicCollision object is returned. This object contains information about the collision, including the colliding object, the remaining motion, and the collision position. This information can be used to calculate a collision response.
func (*KinematicCollision) BaseClass ¶
func (o *KinematicCollision) BaseClass() string
func (*KinematicCollision) GetCollider ¶
func (o *KinematicCollision) GetCollider() ObjectImplementer
Undocumented Args: [], Returns: Object
func (*KinematicCollision) GetColliderId ¶
func (o *KinematicCollision) GetColliderId() gdnative.Int
Undocumented Args: [], Returns: int
func (*KinematicCollision) GetColliderMetadata ¶
func (o *KinematicCollision) GetColliderMetadata() gdnative.Variant
Undocumented Args: [], Returns: Variant
func (*KinematicCollision) GetColliderShape ¶
func (o *KinematicCollision) GetColliderShape() ObjectImplementer
Undocumented Args: [], Returns: Object
func (*KinematicCollision) GetColliderShapeIndex ¶
func (o *KinematicCollision) GetColliderShapeIndex() gdnative.Int
Undocumented Args: [], Returns: int
func (*KinematicCollision) GetColliderVelocity ¶
func (o *KinematicCollision) GetColliderVelocity() gdnative.Vector3
Undocumented Args: [], Returns: Vector3
func (*KinematicCollision) GetLocalShape ¶
func (o *KinematicCollision) GetLocalShape() ObjectImplementer
Undocumented Args: [], Returns: Object
func (*KinematicCollision) GetNormal ¶
func (o *KinematicCollision) GetNormal() gdnative.Vector3
Undocumented Args: [], Returns: Vector3
func (*KinematicCollision) GetPosition ¶
func (o *KinematicCollision) GetPosition() gdnative.Vector3
Undocumented Args: [], Returns: Vector3
func (*KinematicCollision) GetRemainder ¶
func (o *KinematicCollision) GetRemainder() gdnative.Vector3
Undocumented Args: [], Returns: Vector3
func (*KinematicCollision) GetTravel ¶
func (o *KinematicCollision) GetTravel() gdnative.Vector3
Undocumented Args: [], Returns: Vector3
type KinematicCollision2D ¶
type KinematicCollision2D struct { Reference // contains filtered or unexported fields }
Contains collision data for KinematicBody2D collisions. When a KinematicBody2D is moved using [method KinematicBody2D.move_and_collide], it stops if it detects a collision with another body. If a collision is detected, a KinematicCollision2D object is returned. This object contains information about the collision, including the colliding object, the remaining motion, and the collision position. This information can be used to calculate a collision response.
func (*KinematicCollision2D) BaseClass ¶
func (o *KinematicCollision2D) BaseClass() string
func (*KinematicCollision2D) GetCollider ¶
func (o *KinematicCollision2D) GetCollider() ObjectImplementer
Undocumented Args: [], Returns: Object
func (*KinematicCollision2D) GetColliderId ¶
func (o *KinematicCollision2D) GetColliderId() gdnative.Int
Undocumented Args: [], Returns: int
func (*KinematicCollision2D) GetColliderMetadata ¶
func (o *KinematicCollision2D) GetColliderMetadata() gdnative.Variant
Undocumented Args: [], Returns: Variant
func (*KinematicCollision2D) GetColliderShape ¶
func (o *KinematicCollision2D) GetColliderShape() ObjectImplementer
Undocumented Args: [], Returns: Object
func (*KinematicCollision2D) GetColliderShapeIndex ¶
func (o *KinematicCollision2D) GetColliderShapeIndex() gdnative.Int
Undocumented Args: [], Returns: int
func (*KinematicCollision2D) GetColliderVelocity ¶
func (o *KinematicCollision2D) GetColliderVelocity() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*KinematicCollision2D) GetLocalShape ¶
func (o *KinematicCollision2D) GetLocalShape() ObjectImplementer
Undocumented Args: [], Returns: Object
func (*KinematicCollision2D) GetNormal ¶
func (o *KinematicCollision2D) GetNormal() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*KinematicCollision2D) GetPosition ¶
func (o *KinematicCollision2D) GetPosition() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*KinematicCollision2D) GetRemainder ¶
func (o *KinematicCollision2D) GetRemainder() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*KinematicCollision2D) GetTravel ¶
func (o *KinematicCollision2D) GetTravel() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
type KinematicCollision2DImplementer ¶
type KinematicCollision2DImplementer interface { ReferenceImplementer GetCollider() ObjectImplementer GetColliderId() gdnative.Int GetColliderMetadata() gdnative.Variant GetColliderShape() ObjectImplementer GetColliderShapeIndex() gdnative.Int GetColliderVelocity() gdnative.Vector2 GetLocalShape() ObjectImplementer GetNormal() gdnative.Vector2 GetPosition() gdnative.Vector2 GetRemainder() gdnative.Vector2 GetTravel() gdnative.Vector2 }
KinematicCollision2DImplementer is an interface that implements the methods of the KinematicCollision2D class.
type KinematicCollisionImplementer ¶
type KinematicCollisionImplementer interface { ReferenceImplementer GetCollider() ObjectImplementer GetColliderId() gdnative.Int GetColliderMetadata() gdnative.Variant GetColliderShape() ObjectImplementer GetColliderShapeIndex() gdnative.Int GetColliderVelocity() gdnative.Vector3 GetLocalShape() ObjectImplementer GetNormal() gdnative.Vector3 GetPosition() gdnative.Vector3 GetRemainder() gdnative.Vector3 GetTravel() gdnative.Vector3 }
KinematicCollisionImplementer is an interface that implements the methods of the KinematicCollision class.
type Label ¶
type Label struct { Control // contains filtered or unexported fields }
Label displays plain text on the screen. It gives you control over the horizontal and vertical alignment, and can wrap the text inside the node's bounding rectangle. It doesn't support bold, italics or other formatting. For that, use RichTextLabel instead. Note that contrarily to most other [Control]s, Label's [member Control.mouse_filter] defaults to MOUSE_FILTER_IGNORE (i.e. it doesn't react to mouse input events).
func (*Label) GetAlign ¶
func (o *Label) GetAlign() LabelAlign
Undocumented Args: [], Returns: enum.Label::Align
func (*Label) GetLineCount ¶
Returns the amount of lines of text the Label has. Args: [], Returns: int
func (*Label) GetLineHeight ¶
Returns the font size in pixels. Args: [], Returns: int
func (*Label) GetLinesSkipped ¶
Undocumented Args: [], Returns: int
func (*Label) GetMaxLinesVisible ¶
Undocumented Args: [], Returns: int
func (*Label) GetPercentVisible ¶
Undocumented Args: [], Returns: float
func (*Label) GetTotalCharacterCount ¶
Returns the total length of the text. Args: [], Returns: int
func (*Label) GetValign ¶
func (o *Label) GetValign() LabelVAlign
Undocumented Args: [], Returns: enum.Label::VAlign
func (*Label) GetVisibleCharacters ¶
Undocumented Args: [], Returns: int
func (*Label) GetVisibleLineCount ¶
Returns the number of lines shown. Useful if the [code]Label[/code] 's height cannot currently display all lines. Args: [], Returns: int
func (*Label) HasAutowrap ¶
Undocumented Args: [], Returns: bool
func (*Label) IsClippingText ¶
Undocumented Args: [], Returns: bool
func (*Label) IsUppercase ¶
Undocumented Args: [], Returns: bool
func (*Label) SetAutowrap ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Label) SetClipText ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Label) SetLinesSkipped ¶
Undocumented Args: [{ false lines_skipped int}], Returns: void
func (*Label) SetMaxLinesVisible ¶
Undocumented Args: [{ false lines_visible int}], Returns: void
func (*Label) SetPercentVisible ¶
Undocumented Args: [{ false percent_visible float}], Returns: void
func (*Label) SetUppercase ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Label) SetVisibleCharacters ¶
Undocumented Args: [{ false amount int}], Returns: void
type LabelAlign ¶
type LabelAlign int
LabelAlign is an enum for Align values.
const ( LabelAlignCenter LabelAlign = 1 LabelAlignFill LabelAlign = 3 LabelAlignLeft LabelAlign = 0 LabelAlignRight LabelAlign = 2 )
type LabelImplementer ¶
type LabelImplementer interface { ControlImplementer GetLineCount() gdnative.Int GetLineHeight() gdnative.Int GetLinesSkipped() gdnative.Int GetMaxLinesVisible() gdnative.Int GetPercentVisible() gdnative.Real GetText() gdnative.String GetTotalCharacterCount() gdnative.Int GetVisibleCharacters() gdnative.Int GetVisibleLineCount() gdnative.Int HasAutowrap() gdnative.Bool IsClippingText() gdnative.Bool IsUppercase() gdnative.Bool SetAlign(align gdnative.Int) SetAutowrap(enable gdnative.Bool) SetClipText(enable gdnative.Bool) SetLinesSkipped(linesSkipped gdnative.Int) SetMaxLinesVisible(linesVisible gdnative.Int) SetPercentVisible(percentVisible gdnative.Real) SetText(text gdnative.String) SetUppercase(enable gdnative.Bool) SetValign(valign gdnative.Int) SetVisibleCharacters(amount gdnative.Int) }
LabelImplementer is an interface that implements the methods of the Label class.
type LabelVAlign ¶
type LabelVAlign int
LabelVAlign is an enum for VAlign values.
const ( LabelValignBottom LabelVAlign = 2 LabelValignCenter LabelVAlign = 1 LabelValignFill LabelVAlign = 3 LabelValignTop LabelVAlign = 0 )
type LargeTexture ¶
type LargeTexture struct { Texture // contains filtered or unexported fields }
A Texture capable of storing many smaller Textures with offsets. You can dynamically add pieces(Texture) to this [code]LargeTexture[/code] using different offsets.
func (*LargeTexture) AddPiece ¶
func (o *LargeTexture) AddPiece(ofs gdnative.Vector2, texture TextureImplementer) gdnative.Int
Add another [Texture] to this [code]LargeTexture[/code], starting on offset "ofs". Args: [{ false ofs Vector2} { false texture Texture}], Returns: int
func (*LargeTexture) BaseClass ¶
func (o *LargeTexture) BaseClass() string
func (*LargeTexture) Clear ¶
func (o *LargeTexture) Clear()
Clears the [code]LargeTexture[/code]. Args: [], Returns: void
func (*LargeTexture) GetPieceCount ¶
func (o *LargeTexture) GetPieceCount() gdnative.Int
Returns the number of pieces currently in this [code]LargeTexture[/code]. Args: [], Returns: int
func (*LargeTexture) GetPieceOffset ¶
func (o *LargeTexture) GetPieceOffset(idx gdnative.Int) gdnative.Vector2
Returns the offset of the piece with index "idx". Args: [{ false idx int}], Returns: Vector2
func (*LargeTexture) GetPieceTexture ¶
func (o *LargeTexture) GetPieceTexture(idx gdnative.Int) TextureImplementer
Returns the [Texture] of the piece with index "idx". Args: [{ false idx int}], Returns: Texture
func (*LargeTexture) SetPieceOffset ¶
func (o *LargeTexture) SetPieceOffset(idx gdnative.Int, ofs gdnative.Vector2)
Sets the offset of the piece with index "idx" to "ofs". Args: [{ false idx int} { false ofs Vector2}], Returns: void
func (*LargeTexture) SetPieceTexture ¶
func (o *LargeTexture) SetPieceTexture(idx gdnative.Int, texture TextureImplementer)
Sets the [Texture] of the piece with index "idx" to "ofs". Args: [{ false idx int} { false texture Texture}], Returns: void
func (*LargeTexture) SetSize ¶
func (o *LargeTexture) SetSize(size gdnative.Vector2)
Sets the size of this [code]LargeTexture[/code]. Args: [{ false size Vector2}], Returns: void
func (*LargeTexture) X_GetData ¶
func (o *LargeTexture) X_GetData() gdnative.Array
Undocumented Args: [], Returns: Array
func (*LargeTexture) X_SetData ¶
func (o *LargeTexture) X_SetData(data gdnative.Array)
Undocumented Args: [{ false data Array}], Returns: void
type LargeTextureImplementer ¶
type LargeTextureImplementer interface { TextureImplementer X_GetData() gdnative.Array X_SetData(data gdnative.Array) AddPiece(ofs gdnative.Vector2, texture TextureImplementer) gdnative.Int Clear() GetPieceCount() gdnative.Int GetPieceOffset(idx gdnative.Int) gdnative.Vector2 GetPieceTexture(idx gdnative.Int) TextureImplementer SetPieceOffset(idx gdnative.Int, ofs gdnative.Vector2) SetPieceTexture(idx gdnative.Int, texture TextureImplementer) SetSize(size gdnative.Vector2) }
LargeTextureImplementer is an interface that implements the methods of the LargeTexture class.
type Light ¶
type Light struct { VisualInstance // contains filtered or unexported fields }
Light is the abstract base class for light nodes, so it shouldn't be used directly (It can't be instanced). Other types of light nodes inherit from it. Light contains the common variables and parameters used for lighting.
func (*Light) GetBakeMode ¶
func (o *Light) GetBakeMode() LightBakeMode
Undocumented Args: [], Returns: enum.Light::BakeMode
func (*Light) GetCullMask ¶
Undocumented Args: [], Returns: int
func (*Light) GetShadowColor ¶
Undocumented Args: [], Returns: Color
func (*Light) GetShadowReverseCullFace ¶
Undocumented Args: [], Returns: bool
func (*Light) IsEditorOnly ¶
Undocumented Args: [], Returns: bool
func (*Light) IsNegative ¶
Undocumented Args: [], Returns: bool
func (*Light) SetBakeMode ¶
Undocumented Args: [{ false bake_mode int}], Returns: void
func (*Light) SetCullMask ¶
Undocumented Args: [{ false cull_mask int}], Returns: void
func (*Light) SetEditorOnly ¶
Undocumented Args: [{ false editor_only bool}], Returns: void
func (*Light) SetNegative ¶
Undocumented Args: [{ false enabled bool}], Returns: void
func (*Light) SetParam ¶
Undocumented Args: [{ false param int} { false value float}], Returns: void
func (*Light) SetShadowColor ¶
Undocumented Args: [{ false shadow_color Color}], Returns: void
func (*Light) SetShadowReverseCullFace ¶
Undocumented Args: [{ false enable bool}], Returns: void
type Light2D ¶
type Light2D struct { Node2D // contains filtered or unexported fields }
Casts light in a 2D environment. Light is defined by a (usually grayscale) texture, a color, an energy value, a mode (see constants), and various other parameters (range and shadows-related). Note that Light2D can be used as a mask.
func (*Light2D) GetItemCullMask ¶
Undocumented Args: [], Returns: int
func (*Light2D) GetItemShadowCullMask ¶
Undocumented Args: [], Returns: int
func (*Light2D) GetLayerRangeMax ¶
Undocumented Args: [], Returns: int
func (*Light2D) GetLayerRangeMin ¶
Undocumented Args: [], Returns: int
func (*Light2D) GetMode ¶
func (o *Light2D) GetMode() Light2DMode
Undocumented Args: [], Returns: enum.Light2D::Mode
func (*Light2D) GetShadowBufferSize ¶
Undocumented Args: [], Returns: int
func (*Light2D) GetShadowColor ¶
Undocumented Args: [], Returns: Color
func (*Light2D) GetShadowFilter ¶
func (o *Light2D) GetShadowFilter() Light2DShadowFilter
Undocumented Args: [], Returns: enum.Light2D::ShadowFilter
func (*Light2D) GetShadowGradientLength ¶
Undocumented Args: [], Returns: float
func (*Light2D) GetShadowSmooth ¶
Undocumented Args: [], Returns: float
func (*Light2D) GetTexture ¶
func (o *Light2D) GetTexture() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*Light2D) GetTextureOffset ¶
Undocumented Args: [], Returns: Vector2
func (*Light2D) GetTextureScale ¶
Undocumented Args: [], Returns: float
func (*Light2D) GetZRangeMax ¶
Undocumented Args: [], Returns: int
func (*Light2D) GetZRangeMin ¶
Undocumented Args: [], Returns: int
func (*Light2D) IsEditorOnly ¶
Undocumented Args: [], Returns: bool
func (*Light2D) IsShadowEnabled ¶
Undocumented Args: [], Returns: bool
func (*Light2D) SetEditorOnly ¶
Undocumented Args: [{ false editor_only bool}], Returns: void
func (*Light2D) SetEnabled ¶
Undocumented Args: [{ false enabled bool}], Returns: void
func (*Light2D) SetItemCullMask ¶
Undocumented Args: [{ false item_cull_mask int}], Returns: void
func (*Light2D) SetItemShadowCullMask ¶
Undocumented Args: [{ false item_shadow_cull_mask int}], Returns: void
func (*Light2D) SetLayerRangeMax ¶
Undocumented Args: [{ false layer int}], Returns: void
func (*Light2D) SetLayerRangeMin ¶
Undocumented Args: [{ false layer int}], Returns: void
func (*Light2D) SetShadowBufferSize ¶
Undocumented Args: [{ false size int}], Returns: void
func (*Light2D) SetShadowColor ¶
Undocumented Args: [{ false shadow_color Color}], Returns: void
func (*Light2D) SetShadowEnabled ¶
Undocumented Args: [{ false enabled bool}], Returns: void
func (*Light2D) SetShadowFilter ¶
Undocumented Args: [{ false filter int}], Returns: void
func (*Light2D) SetShadowGradientLength ¶
Undocumented Args: [{ false multiplier float}], Returns: void
func (*Light2D) SetShadowSmooth ¶
Undocumented Args: [{ false smooth float}], Returns: void
func (*Light2D) SetTexture ¶
func (o *Light2D) SetTexture(texture TextureImplementer)
Undocumented Args: [{ false texture Texture}], Returns: void
func (*Light2D) SetTextureOffset ¶
Undocumented Args: [{ false texture_offset Vector2}], Returns: void
func (*Light2D) SetTextureScale ¶
Undocumented Args: [{ false texture_scale float}], Returns: void
func (*Light2D) SetZRangeMax ¶
Undocumented Args: [{ false z int}], Returns: void
func (*Light2D) SetZRangeMin ¶
Undocumented Args: [{ false z int}], Returns: void
type Light2DImplementer ¶
type Light2DImplementer interface { Node2DImplementer GetColor() gdnative.Color GetEnergy() gdnative.Real GetHeight() gdnative.Real GetItemCullMask() gdnative.Int GetItemShadowCullMask() gdnative.Int GetLayerRangeMax() gdnative.Int GetLayerRangeMin() gdnative.Int GetShadowBufferSize() gdnative.Int GetShadowColor() gdnative.Color GetShadowGradientLength() gdnative.Real GetShadowSmooth() gdnative.Real GetTexture() TextureImplementer GetTextureOffset() gdnative.Vector2 GetTextureScale() gdnative.Real GetZRangeMax() gdnative.Int GetZRangeMin() gdnative.Int IsEditorOnly() gdnative.Bool IsEnabled() gdnative.Bool IsShadowEnabled() gdnative.Bool SetColor(color gdnative.Color) SetEditorOnly(editorOnly gdnative.Bool) SetEnabled(enabled gdnative.Bool) SetEnergy(energy gdnative.Real) SetHeight(height gdnative.Real) SetItemCullMask(itemCullMask gdnative.Int) SetItemShadowCullMask(itemShadowCullMask gdnative.Int) SetLayerRangeMax(layer gdnative.Int) SetLayerRangeMin(layer gdnative.Int) SetMode(mode gdnative.Int) SetShadowBufferSize(size gdnative.Int) SetShadowColor(shadowColor gdnative.Color) SetShadowEnabled(enabled gdnative.Bool) SetShadowFilter(filter gdnative.Int) SetShadowGradientLength(multiplier gdnative.Real) SetShadowSmooth(smooth gdnative.Real) SetTexture(texture TextureImplementer) SetTextureOffset(textureOffset gdnative.Vector2) SetTextureScale(textureScale gdnative.Real) SetZRangeMax(z gdnative.Int) SetZRangeMin(z gdnative.Int) }
Light2DImplementer is an interface that implements the methods of the Light2D class.
type Light2DMode ¶
type Light2DMode int
Light2DMode is an enum for Mode values.
const ( Light2DModeAdd Light2DMode = 0 Light2DModeMask Light2DMode = 3 Light2DModeMix Light2DMode = 2 Light2DModeSub Light2DMode = 1 )
type Light2DShadowFilter ¶
type Light2DShadowFilter int
Light2DShadowFilter is an enum for ShadowFilter values.
const ( Light2DShadowFilterNone Light2DShadowFilter = 0 Light2DShadowFilterPcf13 Light2DShadowFilter = 5 Light2DShadowFilterPcf3 Light2DShadowFilter = 1 Light2DShadowFilterPcf5 Light2DShadowFilter = 2 Light2DShadowFilterPcf7 Light2DShadowFilter = 3 Light2DShadowFilterPcf9 Light2DShadowFilter = 4 )
type LightBakeMode ¶
type LightBakeMode int
LightBakeMode is an enum for BakeMode values.
const ( LightBakeAll LightBakeMode = 2 LightBakeDisabled LightBakeMode = 0 LightBakeIndirect LightBakeMode = 1 )
type LightImplementer ¶
type LightImplementer interface { VisualInstanceImplementer GetColor() gdnative.Color GetCullMask() gdnative.Int GetParam(param gdnative.Int) gdnative.Real GetShadowColor() gdnative.Color GetShadowReverseCullFace() gdnative.Bool HasShadow() gdnative.Bool IsEditorOnly() gdnative.Bool IsNegative() gdnative.Bool SetBakeMode(bakeMode gdnative.Int) SetColor(color gdnative.Color) SetCullMask(cullMask gdnative.Int) SetEditorOnly(editorOnly gdnative.Bool) SetNegative(enabled gdnative.Bool) SetParam(param gdnative.Int, value gdnative.Real) SetShadow(enabled gdnative.Bool) SetShadowColor(shadowColor gdnative.Color) SetShadowReverseCullFace(enable gdnative.Bool) }
LightImplementer is an interface that implements the methods of the Light class.
type LightOccluder2D ¶
type LightOccluder2D struct { Node2D // contains filtered or unexported fields }
Occludes light cast by a Light2D, casting shadows. The LightOccluder2D must be provided with an OccluderPolygon2D in order for the shadow to be computed.
func (*LightOccluder2D) BaseClass ¶
func (o *LightOccluder2D) BaseClass() string
func (*LightOccluder2D) GetOccluderLightMask ¶
func (o *LightOccluder2D) GetOccluderLightMask() gdnative.Int
Undocumented Args: [], Returns: int
func (*LightOccluder2D) GetOccluderPolygon ¶
func (o *LightOccluder2D) GetOccluderPolygon() OccluderPolygon2DImplementer
Undocumented Args: [], Returns: OccluderPolygon2D
func (*LightOccluder2D) SetOccluderLightMask ¶
func (o *LightOccluder2D) SetOccluderLightMask(mask gdnative.Int)
Undocumented Args: [{ false mask int}], Returns: void
func (*LightOccluder2D) SetOccluderPolygon ¶
func (o *LightOccluder2D) SetOccluderPolygon(polygon OccluderPolygon2DImplementer)
Undocumented Args: [{ false polygon OccluderPolygon2D}], Returns: void
func (*LightOccluder2D) X_PolyChanged ¶
func (o *LightOccluder2D) X_PolyChanged()
Undocumented Args: [], Returns: void
type LightOccluder2DImplementer ¶
type LightOccluder2DImplementer interface { Node2DImplementer X_PolyChanged() GetOccluderLightMask() gdnative.Int GetOccluderPolygon() OccluderPolygon2DImplementer SetOccluderLightMask(mask gdnative.Int) SetOccluderPolygon(polygon OccluderPolygon2DImplementer) }
LightOccluder2DImplementer is an interface that implements the methods of the LightOccluder2D class.
type LightParam ¶
type LightParam int
LightParam is an enum for Param values.
const ( LightParamAttenuation LightParam = 4 LightParamContactShadowSize LightParam = 7 LightParamEnergy LightParam = 0 LightParamIndirectEnergy LightParam = 1 LightParamMax LightParam = 15 LightParamRange LightParam = 3 LightParamShadowBias LightParam = 13 LightParamShadowBiasSplitScale LightParam = 14 LightParamShadowMaxDistance LightParam = 8 LightParamShadowNormalBias LightParam = 12 LightParamShadowSplit1Offset LightParam = 9 LightParamShadowSplit2Offset LightParam = 10 LightParamShadowSplit3Offset LightParam = 11 LightParamSpecular LightParam = 2 LightParamSpotAngle LightParam = 5 LightParamSpotAttenuation LightParam = 6 )
type Line2D ¶
type Line2D struct { Node2D // contains filtered or unexported fields }
A line through several points in 2D space.
func (*Line2D) AddPoint ¶
Add a point at the [code]position[/code]. Appends the point at the end of the line. Args: [{ false position Vector2}], Returns: void
func (*Line2D) GetBeginCapMode ¶
func (o *Line2D) GetBeginCapMode() Line2DLineCapMode
Undocumented Args: [], Returns: enum.Line2D::LineCapMode
func (*Line2D) GetDefaultColor ¶
Undocumented Args: [], Returns: Color
func (*Line2D) GetEndCapMode ¶
func (o *Line2D) GetEndCapMode() Line2DLineCapMode
Undocumented Args: [], Returns: enum.Line2D::LineCapMode
func (*Line2D) GetGradient ¶
func (o *Line2D) GetGradient() GradientImplementer
Undocumented Args: [], Returns: Gradient
func (*Line2D) GetJointMode ¶
func (o *Line2D) GetJointMode() Line2DLineJointMode
Undocumented Args: [], Returns: enum.Line2D::LineJointMode
func (*Line2D) GetPointCount ¶
Returns the Line2D's amount of points. Args: [], Returns: int
func (*Line2D) GetPointPosition ¶
Returns point [code]i[/code]'s position. Args: [{ false i int}], Returns: Vector2
func (*Line2D) GetPoints ¶
func (o *Line2D) GetPoints() gdnative.PoolVector2Array
Undocumented Args: [], Returns: PoolVector2Array
func (*Line2D) GetRoundPrecision ¶
Undocumented Args: [], Returns: int
func (*Line2D) GetSharpLimit ¶
Undocumented Args: [], Returns: float
func (*Line2D) GetTexture ¶
func (o *Line2D) GetTexture() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*Line2D) GetTextureMode ¶
func (o *Line2D) GetTextureMode() Line2DLineTextureMode
Undocumented Args: [], Returns: enum.Line2D::LineTextureMode
func (*Line2D) RemovePoint ¶
Remove the point at index [code]i[/code] from the line. Args: [{ false i int}], Returns: void
func (*Line2D) SetBeginCapMode ¶
Undocumented Args: [{ false mode int}], Returns: void
func (*Line2D) SetDefaultColor ¶
Undocumented Args: [{ false color Color}], Returns: void
func (*Line2D) SetEndCapMode ¶
Undocumented Args: [{ false mode int}], Returns: void
func (*Line2D) SetGradient ¶
func (o *Line2D) SetGradient(color GradientImplementer)
Undocumented Args: [{ false color Gradient}], Returns: void
func (*Line2D) SetJointMode ¶
Undocumented Args: [{ false mode int}], Returns: void
func (*Line2D) SetPointPosition ¶
Overwrites the position in point [code]i[/code] with the supplied [code]position[/code]. Args: [{ false i int} { false position Vector2}], Returns: void
func (*Line2D) SetPoints ¶
func (o *Line2D) SetPoints(points gdnative.PoolVector2Array)
Undocumented Args: [{ false points PoolVector2Array}], Returns: void
func (*Line2D) SetRoundPrecision ¶
Undocumented Args: [{ false precision int}], Returns: void
func (*Line2D) SetSharpLimit ¶
Undocumented Args: [{ false limit float}], Returns: void
func (*Line2D) SetTexture ¶
func (o *Line2D) SetTexture(texture TextureImplementer)
Undocumented Args: [{ false texture Texture}], Returns: void
func (*Line2D) SetTextureMode ¶
Undocumented Args: [{ false mode int}], Returns: void
func (*Line2D) X_GradientChanged ¶
func (o *Line2D) X_GradientChanged()
Undocumented Args: [], Returns: void
type Line2DImplementer ¶
type Line2DImplementer interface { Node2DImplementer X_GradientChanged() AddPoint(position gdnative.Vector2) GetDefaultColor() gdnative.Color GetGradient() GradientImplementer GetPointCount() gdnative.Int GetPointPosition(i gdnative.Int) gdnative.Vector2 GetPoints() gdnative.PoolVector2Array GetRoundPrecision() gdnative.Int GetSharpLimit() gdnative.Real GetTexture() TextureImplementer GetWidth() gdnative.Real RemovePoint(i gdnative.Int) SetBeginCapMode(mode gdnative.Int) SetDefaultColor(color gdnative.Color) SetEndCapMode(mode gdnative.Int) SetGradient(color GradientImplementer) SetJointMode(mode gdnative.Int) SetPointPosition(i gdnative.Int, position gdnative.Vector2) SetPoints(points gdnative.PoolVector2Array) SetRoundPrecision(precision gdnative.Int) SetSharpLimit(limit gdnative.Real) SetTexture(texture TextureImplementer) SetTextureMode(mode gdnative.Int) SetWidth(width gdnative.Real) }
Line2DImplementer is an interface that implements the methods of the Line2D class.
type Line2DLineCapMode ¶
type Line2DLineCapMode int
Line2DLineCapMode is an enum for LineCapMode values.
const ( Line2DLineCapBox Line2DLineCapMode = 1 Line2DLineCapNone Line2DLineCapMode = 0 Line2DLineCapRound Line2DLineCapMode = 2 )
type Line2DLineJointMode ¶
type Line2DLineJointMode int
Line2DLineJointMode is an enum for LineJointMode values.
const ( Line2DLineJointBevel Line2DLineJointMode = 1 Line2DLineJointRound Line2DLineJointMode = 2 Line2DLineJointSharp Line2DLineJointMode = 0 )
type Line2DLineTextureMode ¶
type Line2DLineTextureMode int
Line2DLineTextureMode is an enum for LineTextureMode values.
const ( Line2DLineTextureNone Line2DLineTextureMode = 0 Line2DLineTextureTile Line2DLineTextureMode = 1 )
type LineEdit ¶
type LineEdit struct { Control // contains filtered or unexported fields }
LineEdit provides a single line string editor, used for text fields.
func (*LineEdit) AppendAtCursor ¶
Adds [code]text[/code] after the cursor. If the resulting value is longer than [member max_length], nothing happens. Args: [{ false text String}], Returns: void
func (*LineEdit) Clear ¶
func (o *LineEdit) Clear()
Erases the [LineEdit] text. Args: [], Returns: void
func (*LineEdit) CursorGetBlinkEnabled ¶
Undocumented Args: [], Returns: bool
func (*LineEdit) CursorGetBlinkSpeed ¶
Undocumented Args: [], Returns: float
func (*LineEdit) CursorSetBlinkEnabled ¶
Undocumented Args: [{ false enabled bool}], Returns: void
func (*LineEdit) CursorSetBlinkSpeed ¶
Undocumented Args: [{ false blink_speed float}], Returns: void
func (*LineEdit) Deselect ¶
func (o *LineEdit) Deselect()
Clears the current selection. Args: [], Returns: void
func (*LineEdit) GetAlign ¶
func (o *LineEdit) GetAlign() LineEditAlign
Undocumented Args: [], Returns: enum.LineEdit::Align
func (*LineEdit) GetCursorPosition ¶
Undocumented Args: [], Returns: int
func (*LineEdit) GetExpandToTextLength ¶
Undocumented Args: [], Returns: bool
func (*LineEdit) GetMaxLength ¶
Undocumented Args: [], Returns: int
func (*LineEdit) GetMenu ¶
func (o *LineEdit) GetMenu() PopupMenuImplementer
Returns the [PopupMenu] of this [code]LineEdit[/code]. By default, this menu is displayed when right-clicking on the [LineEdit]. Args: [], Returns: PopupMenu
func (*LineEdit) GetPlaceholder ¶
Undocumented Args: [], Returns: String
func (*LineEdit) GetPlaceholderAlpha ¶
Undocumented Args: [], Returns: float
func (*LineEdit) IsContextMenuEnabled ¶
Undocumented Args: [], Returns: bool
func (*LineEdit) IsEditable ¶
Undocumented Args: [], Returns: bool
func (*LineEdit) MenuOption ¶
Executes a given action as defined in the MENU_* enum. Args: [{ false option int}], Returns: void
func (*LineEdit) Select ¶
Selects characters inside [LineEdit] between [code]from[/code] and [code]to[/code]. By default [code]from[/code] is at the beginning and [code]to[/code] at the end. [codeblock] text = "Welcome" select() # Welcome select(4) # ome select(2, 5) # lco [/codeblock] Args: [{0 true from int} {-1 true to int}], Returns: void
func (*LineEdit) SelectAll ¶
func (o *LineEdit) SelectAll()
Selects the whole [String]. Args: [], Returns: void
func (*LineEdit) SetContextMenuEnabled ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*LineEdit) SetCursorPosition ¶
Undocumented Args: [{ false position int}], Returns: void
func (*LineEdit) SetEditable ¶
Undocumented Args: [{ false enabled bool}], Returns: void
func (*LineEdit) SetExpandToTextLength ¶
Undocumented Args: [{ false enabled bool}], Returns: void
func (*LineEdit) SetMaxLength ¶
Undocumented Args: [{ false chars int}], Returns: void
func (*LineEdit) SetPlaceholder ¶
Undocumented Args: [{ false text String}], Returns: void
func (*LineEdit) SetPlaceholderAlpha ¶
Undocumented Args: [{ false alpha float}], Returns: void
func (*LineEdit) X_EditorSettingsChanged ¶
func (o *LineEdit) X_EditorSettingsChanged()
Undocumented Args: [], Returns: void
func (*LineEdit) X_GuiInput ¶
func (o *LineEdit) X_GuiInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
func (*LineEdit) X_TextChanged ¶
func (o *LineEdit) X_TextChanged()
Undocumented Args: [], Returns: void
func (*LineEdit) X_ToggleDrawCaret ¶
func (o *LineEdit) X_ToggleDrawCaret()
Undocumented Args: [], Returns: void
type LineEditAlign ¶
type LineEditAlign int
LineEditAlign is an enum for Align values.
const ( LineEditAlignCenter LineEditAlign = 1 LineEditAlignFill LineEditAlign = 3 LineEditAlignLeft LineEditAlign = 0 LineEditAlignRight LineEditAlign = 2 )
type LineEditImplementer ¶
type LineEditImplementer interface { ControlImplementer X_EditorSettingsChanged() X_TextChanged() X_ToggleDrawCaret() AppendAtCursor(text gdnative.String) Clear() CursorGetBlinkEnabled() gdnative.Bool CursorGetBlinkSpeed() gdnative.Real CursorSetBlinkEnabled(enabled gdnative.Bool) CursorSetBlinkSpeed(blinkSpeed gdnative.Real) Deselect() GetCursorPosition() gdnative.Int GetExpandToTextLength() gdnative.Bool GetMaxLength() gdnative.Int GetMenu() PopupMenuImplementer GetPlaceholder() gdnative.String GetPlaceholderAlpha() gdnative.Real GetText() gdnative.String IsContextMenuEnabled() gdnative.Bool IsEditable() gdnative.Bool IsSecret() gdnative.Bool MenuOption(option gdnative.Int) Select(from gdnative.Int, to gdnative.Int) SelectAll() SetAlign(align gdnative.Int) SetContextMenuEnabled(enable gdnative.Bool) SetCursorPosition(position gdnative.Int) SetEditable(enabled gdnative.Bool) SetExpandToTextLength(enabled gdnative.Bool) SetMaxLength(chars gdnative.Int) SetPlaceholder(text gdnative.String) SetPlaceholderAlpha(alpha gdnative.Real) SetSecret(enabled gdnative.Bool) SetText(text gdnative.String) }
LineEditImplementer is an interface that implements the methods of the LineEdit class.
type LineEditMenuItems ¶
type LineEditMenuItems int
LineEditMenuItems is an enum for MenuItems values.
const ( LineEditMenuClear LineEditMenuItems = 3 LineEditMenuCopy LineEditMenuItems = 1 LineEditMenuCut LineEditMenuItems = 0 LineEditMenuMax LineEditMenuItems = 7 LineEditMenuPaste LineEditMenuItems = 2 LineEditMenuRedo LineEditMenuItems = 6 LineEditMenuSelectAll LineEditMenuItems = 4 LineEditMenuUndo LineEditMenuItems = 5 )
type LineShape2D ¶
type LineShape2D struct { Shape2D // contains filtered or unexported fields }
Line shape for 2D collisions. It works like a 2D plane and will not allow any body to go to the negative side. Not recommended for rigid bodies, and usually not recommended for static bodies either because it forces checks against it on every frame.
func (*LineShape2D) BaseClass ¶
func (o *LineShape2D) BaseClass() string
func (*LineShape2D) GetD ¶
func (o *LineShape2D) GetD() gdnative.Real
Undocumented Args: [], Returns: float
func (*LineShape2D) GetNormal ¶
func (o *LineShape2D) GetNormal() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*LineShape2D) SetD ¶
func (o *LineShape2D) SetD(d gdnative.Real)
Undocumented Args: [{ false d float}], Returns: void
func (*LineShape2D) SetNormal ¶
func (o *LineShape2D) SetNormal(normal gdnative.Vector2)
Undocumented Args: [{ false normal Vector2}], Returns: void
type LineShape2DImplementer ¶
type LineShape2DImplementer interface { Shape2DImplementer GetD() gdnative.Real GetNormal() gdnative.Vector2 SetD(d gdnative.Real) SetNormal(normal gdnative.Vector2) }
LineShape2DImplementer is an interface that implements the methods of the LineShape2D class.
type LinkButton ¶
type LinkButton struct { BaseButton // contains filtered or unexported fields }
This kind of buttons are primarily used when the interaction with the button causes a context change (like linking to a web page).
func (*LinkButton) BaseClass ¶
func (o *LinkButton) BaseClass() string
func (*LinkButton) GetText ¶
func (o *LinkButton) GetText() gdnative.String
Undocumented Args: [], Returns: String
func (*LinkButton) GetUnderlineMode ¶
func (o *LinkButton) GetUnderlineMode() LinkButtonUnderlineMode
Undocumented Args: [], Returns: enum.LinkButton::UnderlineMode
func (*LinkButton) SetText ¶
func (o *LinkButton) SetText(text gdnative.String)
Undocumented Args: [{ false text String}], Returns: void
func (*LinkButton) SetUnderlineMode ¶
func (o *LinkButton) SetUnderlineMode(underlineMode gdnative.Int)
Undocumented Args: [{ false underline_mode int}], Returns: void
type LinkButtonImplementer ¶
type LinkButtonImplementer interface { BaseButtonImplementer GetText() gdnative.String SetText(text gdnative.String) SetUnderlineMode(underlineMode gdnative.Int) }
LinkButtonImplementer is an interface that implements the methods of the LinkButton class.
type LinkButtonUnderlineMode ¶
type LinkButtonUnderlineMode int
LinkButtonUnderlineMode is an enum for UnderlineMode values.
const ( LinkButtonUnderlineModeAlways LinkButtonUnderlineMode = 0 LinkButtonUnderlineModeNever LinkButtonUnderlineMode = 2 LinkButtonUnderlineModeOnHover LinkButtonUnderlineMode = 1 )
type Listener ¶
type Listener struct { Spatial // contains filtered or unexported fields }
func (*Listener) GetListenerTransform ¶
Args: [], Returns: Transform
type ListenerImplementer ¶
type ListenerImplementer interface { SpatialImplementer ClearCurrent() GetListenerTransform() gdnative.Transform IsCurrent() gdnative.Bool MakeCurrent() }
ListenerImplementer is an interface that implements the methods of the Listener class.
type MainLoop ¶
type MainLoop struct { Object // contains filtered or unexported fields }
Main loop is the abstract main loop base class. All other main loop classes are derived from it. Upon application start, a [code]MainLoop[/code] has to be provided to OS, else the application will exit. This happens automatically (and a SceneTree is created), unless a main Script is supplied, which may or not create and return a [code]MainLoop[/code].
func (*MainLoop) InputEventMethod ¶
func (o *MainLoop) InputEventMethod(ev InputEventImplementer)
Args: [{ false ev InputEvent}], Returns: void
func (*MainLoop) X_DropFiles ¶
func (o *MainLoop) X_DropFiles(files gdnative.PoolStringArray, screen gdnative.Int)
Args: [{ false files PoolStringArray} { false screen int}], Returns: void
func (*MainLoop) X_Finalize ¶
func (o *MainLoop) X_Finalize()
Called before the program exits. Args: [], Returns: void
func (*MainLoop) X_Idle ¶
Called each idle frame with time since last call as an only argument. Args: [{ false delta float}], Returns: void
func (*MainLoop) X_Initialize ¶
func (o *MainLoop) X_Initialize()
Called once during initialization. Args: [], Returns: void
func (*MainLoop) X_InputEvent ¶
func (o *MainLoop) X_InputEvent(ev InputEventImplementer)
Args: [{ false ev InputEvent}], Returns: void
func (*MainLoop) X_InputText ¶
Args: [{ false text String}], Returns: void
func (*MainLoop) X_Iteration ¶
Args: [{ false delta float}], Returns: void
type MainLoopImplementer ¶
type MainLoopImplementer interface { ObjectImplementer X_DropFiles(files gdnative.PoolStringArray, screen gdnative.Int) X_Finalize() X_Idle(delta gdnative.Real) X_Initialize() X_InputEvent(ev InputEventImplementer) X_InputText(text gdnative.String) X_Iteration(delta gdnative.Real) Finish() Idle(delta gdnative.Real) gdnative.Bool Init() InputEventMethod(ev InputEventImplementer) InputText(text gdnative.String) Iteration(delta gdnative.Real) gdnative.Bool }
MainLoopImplementer is an interface that implements the methods of the MainLoop class.
type MarginContainer ¶
type MarginContainer struct { Container // contains filtered or unexported fields }
Simple margin container. Adds a left margin to anything contained.
func (*MarginContainer) BaseClass ¶
func (o *MarginContainer) BaseClass() string
type MarginContainerImplementer ¶
type MarginContainerImplementer interface { ContainerImplementer }
MarginContainerImplementer is an interface that implements the methods of the MarginContainer class.
type MarshallsImplementer ¶
type MarshallsImplementer interface { ReferenceImplementer Base64ToRaw(base64Str gdnative.String) gdnative.PoolByteArray Base64ToUtf8(base64Str gdnative.String) gdnative.String Base64ToVariant(base64Str gdnative.String) gdnative.Variant RawToBase64(array gdnative.PoolByteArray) gdnative.String Utf8ToBase64(utf8Str gdnative.String) gdnative.String VariantToBase64(variant gdnative.Variant) gdnative.String }
MarshallsImplementer is an interface that implements the methods of the Marshalls class.
type Material ¶
type Material struct { Resource // contains filtered or unexported fields }
Material is a base Resource used for coloring and shading geometry. All materials inherit from it and almost all VisualInstance derived nodes carry a Material. A few flags and parameters are shared between all material types and are configured here.
func (*Material) GetNextPass ¶
func (o *Material) GetNextPass() MaterialImplementer
Undocumented Args: [], Returns: Material
func (*Material) GetRenderPriority ¶
Undocumented Args: [], Returns: int
func (*Material) SetNextPass ¶
func (o *Material) SetNextPass(nextPass MaterialImplementer)
Undocumented Args: [{ false next_pass Material}], Returns: void
func (*Material) SetRenderPriority ¶
Undocumented Args: [{ false priority int}], Returns: void
type MaterialImplementer ¶
type MaterialImplementer interface { ResourceImplementer GetNextPass() MaterialImplementer GetRenderPriority() gdnative.Int SetNextPass(nextPass MaterialImplementer) SetRenderPriority(priority gdnative.Int) }
MaterialImplementer is an interface that implements the methods of the Material class.
type MenuButton ¶
type MenuButton struct { Button // contains filtered or unexported fields }
Special button that brings up a PopupMenu when clicked. That's pretty much all it does, as it's just a helper class when building GUIs.
func (*MenuButton) BaseClass ¶
func (o *MenuButton) BaseClass() string
func (*MenuButton) GetPopup ¶
func (o *MenuButton) GetPopup() PopupMenuImplementer
Return the [PopupMenu] contained in this button. Args: [], Returns: PopupMenu
func (*MenuButton) SetDisableShortcuts ¶
func (o *MenuButton) SetDisableShortcuts(disabled gdnative.Bool)
Args: [{ false disabled bool}], Returns: void
func (*MenuButton) X_GetItems ¶
func (o *MenuButton) X_GetItems() gdnative.Array
Undocumented Args: [], Returns: Array
func (*MenuButton) X_SetItems ¶
func (o *MenuButton) X_SetItems(arg0 gdnative.Array)
Undocumented Args: [{ false arg0 Array}], Returns: void
func (*MenuButton) X_UnhandledKeyInput ¶
func (o *MenuButton) X_UnhandledKeyInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
type MenuButtonImplementer ¶
type MenuButtonImplementer interface { ButtonImplementer X_GetItems() gdnative.Array X_SetItems(arg0 gdnative.Array) GetPopup() PopupMenuImplementer SetDisableShortcuts(disabled gdnative.Bool) }
MenuButtonImplementer is an interface that implements the methods of the MenuButton class.
type Mesh ¶
type Mesh struct { Resource // contains filtered or unexported fields }
Mesh is a type of Resource that contains vertex-array based geometry, divided in [i]surfaces[/i]. Each surface contains a completely separate array and a material used to draw it. Design wise, a mesh with multiple surfaces is preferred to a single surface, because objects created in 3D editing software commonly contain multiple materials.
func (*Mesh) CreateConvexShape ¶
func (o *Mesh) CreateConvexShape() ShapeImplementer
Calculate a [ConvexPolygonShape] from the mesh. Args: [], Returns: Shape
func (*Mesh) CreateOutline ¶
func (o *Mesh) CreateOutline(margin gdnative.Real) MeshImplementer
Calculate an outline mesh at a defined offset (margin) from the original mesh. Note: Typically returns the vertices in reverse order (e.g. clockwise to anti-clockwise). Args: [{ false margin float}], Returns: Mesh
func (*Mesh) CreateTrimeshShape ¶
func (o *Mesh) CreateTrimeshShape() ShapeImplementer
Calculate a [ConcavePolygonShape] from the mesh. Args: [], Returns: Shape
func (*Mesh) GenerateTriangleMesh ¶
func (o *Mesh) GenerateTriangleMesh() TriangleMeshImplementer
Generate a [TriangleMesh] from the mesh. Args: [], Returns: TriangleMesh
func (*Mesh) GetFaces ¶
func (o *Mesh) GetFaces() gdnative.PoolVector3Array
Returns all the vertices that make up the faces of the mesh. Each three vertices represent one triangle. Args: [], Returns: PoolVector3Array
func (*Mesh) GetLightmapSizeHint ¶
Undocumented Args: [], Returns: Vector2
func (*Mesh) SetLightmapSizeHint ¶
Undocumented Args: [{ false size Vector2}], Returns: void
type MeshArrayFormat ¶
type MeshArrayFormat int
MeshArrayFormat is an enum for ArrayFormat values.
const ( MeshArrayCompressBase MeshArrayFormat = 9 MeshArrayCompressBones MeshArrayFormat = 32768 MeshArrayCompressColor MeshArrayFormat = 4096 MeshArrayCompressDefault MeshArrayFormat = 97792 MeshArrayCompressIndex MeshArrayFormat = 131072 MeshArrayCompressNormal MeshArrayFormat = 1024 MeshArrayCompressTangent MeshArrayFormat = 2048 MeshArrayCompressTexUv MeshArrayFormat = 8192 MeshArrayCompressTexUv2 MeshArrayFormat = 16384 MeshArrayCompressVertex MeshArrayFormat = 512 MeshArrayCompressWeights MeshArrayFormat = 65536 MeshArrayFlagUse16BitBones MeshArrayFormat = 524288 MeshArrayFlagUse2DVertices MeshArrayFormat = 262144 MeshArrayFormatBones MeshArrayFormat = 64 MeshArrayFormatColor MeshArrayFormat = 8 MeshArrayFormatIndex MeshArrayFormat = 256 MeshArrayFormatNormal MeshArrayFormat = 2 MeshArrayFormatTangent MeshArrayFormat = 4 MeshArrayFormatTexUv MeshArrayFormat = 16 MeshArrayFormatTexUv2 MeshArrayFormat = 32 MeshArrayFormatVertex MeshArrayFormat = 1 MeshArrayFormatWeights MeshArrayFormat = 128 )
type MeshArrayType ¶
type MeshArrayType int
MeshArrayType is an enum for ArrayType values.
const ( MeshArrayBones MeshArrayType = 6 MeshArrayColor MeshArrayType = 3 MeshArrayIndex MeshArrayType = 8 MeshArrayMax MeshArrayType = 9 MeshArrayNormal MeshArrayType = 1 MeshArrayTangent MeshArrayType = 2 MeshArrayTexUv MeshArrayType = 4 MeshArrayTexUv2 MeshArrayType = 5 MeshArrayVertex MeshArrayType = 0 MeshArrayWeights MeshArrayType = 7 )
type MeshBlendShapeMode ¶
type MeshBlendShapeMode int
MeshBlendShapeMode is an enum for BlendShapeMode values.
const ( MeshBlendShapeModeNormalized MeshBlendShapeMode = 0 MeshBlendShapeModeRelative MeshBlendShapeMode = 1 )
type MeshDataTool ¶
type MeshDataTool struct { Reference // contains filtered or unexported fields }
func (*MeshDataTool) BaseClass ¶
func (o *MeshDataTool) BaseClass() string
func (*MeshDataTool) CommitToSurface ¶
func (o *MeshDataTool) CommitToSurface(mesh ArrayMeshImplementer) gdnative.Error
Args: [{ false mesh ArrayMesh}], Returns: enum.Error
func (*MeshDataTool) CreateFromSurface ¶
func (o *MeshDataTool) CreateFromSurface(mesh ArrayMeshImplementer, surface gdnative.Int) gdnative.Error
Args: [{ false mesh ArrayMesh} { false surface int}], Returns: enum.Error
func (*MeshDataTool) GetEdgeCount ¶
func (o *MeshDataTool) GetEdgeCount() gdnative.Int
Args: [], Returns: int
func (*MeshDataTool) GetEdgeFaces ¶
func (o *MeshDataTool) GetEdgeFaces(idx gdnative.Int) gdnative.PoolIntArray
Args: [{ false idx int}], Returns: PoolIntArray
func (*MeshDataTool) GetEdgeMeta ¶
func (o *MeshDataTool) GetEdgeMeta(idx gdnative.Int) gdnative.Variant
Args: [{ false idx int}], Returns: Variant
func (*MeshDataTool) GetEdgeVertex ¶
Args: [{ false idx int} { false vertex int}], Returns: int
func (*MeshDataTool) GetFaceCount ¶
func (o *MeshDataTool) GetFaceCount() gdnative.Int
Args: [], Returns: int
func (*MeshDataTool) GetFaceEdge ¶
Args: [{ false idx int} { false edge int}], Returns: int
func (*MeshDataTool) GetFaceMeta ¶
func (o *MeshDataTool) GetFaceMeta(idx gdnative.Int) gdnative.Variant
Args: [{ false idx int}], Returns: Variant
func (*MeshDataTool) GetFaceNormal ¶
func (o *MeshDataTool) GetFaceNormal(idx gdnative.Int) gdnative.Vector3
Args: [{ false idx int}], Returns: Vector3
func (*MeshDataTool) GetFaceVertex ¶
Args: [{ false idx int} { false vertex int}], Returns: int
func (*MeshDataTool) GetFormat ¶
func (o *MeshDataTool) GetFormat() gdnative.Int
Args: [], Returns: int
func (*MeshDataTool) GetMaterial ¶
func (o *MeshDataTool) GetMaterial() MaterialImplementer
Args: [], Returns: Material
func (*MeshDataTool) GetVertex ¶
func (o *MeshDataTool) GetVertex(idx gdnative.Int) gdnative.Vector3
Args: [{ false idx int}], Returns: Vector3
func (*MeshDataTool) GetVertexBones ¶
func (o *MeshDataTool) GetVertexBones(idx gdnative.Int) gdnative.PoolIntArray
Args: [{ false idx int}], Returns: PoolIntArray
func (*MeshDataTool) GetVertexColor ¶
func (o *MeshDataTool) GetVertexColor(idx gdnative.Int) gdnative.Color
Args: [{ false idx int}], Returns: Color
func (*MeshDataTool) GetVertexCount ¶
func (o *MeshDataTool) GetVertexCount() gdnative.Int
Args: [], Returns: int
func (*MeshDataTool) GetVertexEdges ¶
func (o *MeshDataTool) GetVertexEdges(idx gdnative.Int) gdnative.PoolIntArray
Args: [{ false idx int}], Returns: PoolIntArray
func (*MeshDataTool) GetVertexFaces ¶
func (o *MeshDataTool) GetVertexFaces(idx gdnative.Int) gdnative.PoolIntArray
Args: [{ false idx int}], Returns: PoolIntArray
func (*MeshDataTool) GetVertexMeta ¶
func (o *MeshDataTool) GetVertexMeta(idx gdnative.Int) gdnative.Variant
Args: [{ false idx int}], Returns: Variant
func (*MeshDataTool) GetVertexNormal ¶
func (o *MeshDataTool) GetVertexNormal(idx gdnative.Int) gdnative.Vector3
Args: [{ false idx int}], Returns: Vector3
func (*MeshDataTool) GetVertexTangent ¶
func (o *MeshDataTool) GetVertexTangent(idx gdnative.Int) gdnative.Plane
Args: [{ false idx int}], Returns: Plane
func (*MeshDataTool) GetVertexUv ¶
func (o *MeshDataTool) GetVertexUv(idx gdnative.Int) gdnative.Vector2
Args: [{ false idx int}], Returns: Vector2
func (*MeshDataTool) GetVertexUv2 ¶
func (o *MeshDataTool) GetVertexUv2(idx gdnative.Int) gdnative.Vector2
Args: [{ false idx int}], Returns: Vector2
func (*MeshDataTool) GetVertexWeights ¶
func (o *MeshDataTool) GetVertexWeights(idx gdnative.Int) gdnative.PoolRealArray
Args: [{ false idx int}], Returns: PoolRealArray
func (*MeshDataTool) SetEdgeMeta ¶
func (o *MeshDataTool) SetEdgeMeta(idx gdnative.Int, meta gdnative.Variant)
Args: [{ false idx int} { false meta Variant}], Returns: void
func (*MeshDataTool) SetFaceMeta ¶
func (o *MeshDataTool) SetFaceMeta(idx gdnative.Int, meta gdnative.Variant)
Args: [{ false idx int} { false meta Variant}], Returns: void
func (*MeshDataTool) SetMaterial ¶
func (o *MeshDataTool) SetMaterial(material MaterialImplementer)
Args: [{ false material Material}], Returns: void
func (*MeshDataTool) SetVertex ¶
func (o *MeshDataTool) SetVertex(idx gdnative.Int, vertex gdnative.Vector3)
Args: [{ false idx int} { false vertex Vector3}], Returns: void
func (*MeshDataTool) SetVertexBones ¶
func (o *MeshDataTool) SetVertexBones(idx gdnative.Int, bones gdnative.PoolIntArray)
Args: [{ false idx int} { false bones PoolIntArray}], Returns: void
func (*MeshDataTool) SetVertexColor ¶
func (o *MeshDataTool) SetVertexColor(idx gdnative.Int, color gdnative.Color)
Args: [{ false idx int} { false color Color}], Returns: void
func (*MeshDataTool) SetVertexMeta ¶
func (o *MeshDataTool) SetVertexMeta(idx gdnative.Int, meta gdnative.Variant)
Args: [{ false idx int} { false meta Variant}], Returns: void
func (*MeshDataTool) SetVertexNormal ¶
func (o *MeshDataTool) SetVertexNormal(idx gdnative.Int, normal gdnative.Vector3)
Args: [{ false idx int} { false normal Vector3}], Returns: void
func (*MeshDataTool) SetVertexTangent ¶
func (o *MeshDataTool) SetVertexTangent(idx gdnative.Int, tangent gdnative.Plane)
Args: [{ false idx int} { false tangent Plane}], Returns: void
func (*MeshDataTool) SetVertexUv ¶
func (o *MeshDataTool) SetVertexUv(idx gdnative.Int, uv gdnative.Vector2)
Args: [{ false idx int} { false uv Vector2}], Returns: void
func (*MeshDataTool) SetVertexUv2 ¶
func (o *MeshDataTool) SetVertexUv2(idx gdnative.Int, uv2 gdnative.Vector2)
Args: [{ false idx int} { false uv2 Vector2}], Returns: void
func (*MeshDataTool) SetVertexWeights ¶
func (o *MeshDataTool) SetVertexWeights(idx gdnative.Int, weights gdnative.PoolRealArray)
Args: [{ false idx int} { false weights PoolRealArray}], Returns: void
type MeshDataToolImplementer ¶
type MeshDataToolImplementer interface { ReferenceImplementer Clear() GetEdgeCount() gdnative.Int GetEdgeFaces(idx gdnative.Int) gdnative.PoolIntArray GetEdgeMeta(idx gdnative.Int) gdnative.Variant GetEdgeVertex(idx gdnative.Int, vertex gdnative.Int) gdnative.Int GetFaceCount() gdnative.Int GetFaceEdge(idx gdnative.Int, edge gdnative.Int) gdnative.Int GetFaceMeta(idx gdnative.Int) gdnative.Variant GetFaceNormal(idx gdnative.Int) gdnative.Vector3 GetFaceVertex(idx gdnative.Int, vertex gdnative.Int) gdnative.Int GetFormat() gdnative.Int GetMaterial() MaterialImplementer GetVertex(idx gdnative.Int) gdnative.Vector3 GetVertexBones(idx gdnative.Int) gdnative.PoolIntArray GetVertexColor(idx gdnative.Int) gdnative.Color GetVertexCount() gdnative.Int GetVertexEdges(idx gdnative.Int) gdnative.PoolIntArray GetVertexFaces(idx gdnative.Int) gdnative.PoolIntArray GetVertexMeta(idx gdnative.Int) gdnative.Variant GetVertexNormal(idx gdnative.Int) gdnative.Vector3 GetVertexTangent(idx gdnative.Int) gdnative.Plane GetVertexUv(idx gdnative.Int) gdnative.Vector2 GetVertexUv2(idx gdnative.Int) gdnative.Vector2 GetVertexWeights(idx gdnative.Int) gdnative.PoolRealArray SetEdgeMeta(idx gdnative.Int, meta gdnative.Variant) SetFaceMeta(idx gdnative.Int, meta gdnative.Variant) SetMaterial(material MaterialImplementer) SetVertex(idx gdnative.Int, vertex gdnative.Vector3) SetVertexBones(idx gdnative.Int, bones gdnative.PoolIntArray) SetVertexColor(idx gdnative.Int, color gdnative.Color) SetVertexMeta(idx gdnative.Int, meta gdnative.Variant) SetVertexNormal(idx gdnative.Int, normal gdnative.Vector3) SetVertexTangent(idx gdnative.Int, tangent gdnative.Plane) SetVertexUv(idx gdnative.Int, uv gdnative.Vector2) SetVertexUv2(idx gdnative.Int, uv2 gdnative.Vector2) SetVertexWeights(idx gdnative.Int, weights gdnative.PoolRealArray) }
MeshDataToolImplementer is an interface that implements the methods of the MeshDataTool class.
type MeshImplementer ¶
type MeshImplementer interface { ResourceImplementer CreateConvexShape() ShapeImplementer CreateOutline(margin gdnative.Real) MeshImplementer CreateTrimeshShape() ShapeImplementer GenerateTriangleMesh() TriangleMeshImplementer GetFaces() gdnative.PoolVector3Array GetLightmapSizeHint() gdnative.Vector2 SetLightmapSizeHint(size gdnative.Vector2) }
MeshImplementer is an interface that implements the methods of the Mesh class.
type MeshInstance ¶
type MeshInstance struct { GeometryInstance // contains filtered or unexported fields }
MeshInstance is a node that takes a Mesh resource and adds it to the current scenario by creating an instance of it. This is the class most often used to get 3D geometry rendered and can be used to instance a single Mesh in many places. This allows to reuse geometry and save on resources. When a Mesh has to be instanced more than thousands of times at close proximity, consider using a MultiMesh in a MultiMeshInstance instead.
func (*MeshInstance) BaseClass ¶
func (o *MeshInstance) BaseClass() string
func (*MeshInstance) CreateConvexCollision ¶
func (o *MeshInstance) CreateConvexCollision()
This helper creates a [StaticBody] child node with a [ConvexPolygonShape] collision shape calculated from the mesh geometry. It's mainly used for testing. Args: [], Returns: void
func (*MeshInstance) CreateDebugTangents ¶
func (o *MeshInstance) CreateDebugTangents()
This helper creates a [MeshInstance] child node with gizmos at every vertex calculated from the mesh geometry. It's mainly used for testing. Args: [], Returns: void
func (*MeshInstance) CreateTrimeshCollision ¶
func (o *MeshInstance) CreateTrimeshCollision()
This helper creates a [StaticBody] child node with a [ConcavePolygonShape] collision shape calculated from the mesh geometry. It's mainly used for testing. Args: [], Returns: void
func (*MeshInstance) GetMesh ¶
func (o *MeshInstance) GetMesh() MeshImplementer
Undocumented Args: [], Returns: Mesh
func (*MeshInstance) GetSkeletonPath ¶
func (o *MeshInstance) GetSkeletonPath() gdnative.NodePath
Undocumented Args: [], Returns: NodePath
func (*MeshInstance) GetSurfaceMaterial ¶
func (o *MeshInstance) GetSurfaceMaterial(surface gdnative.Int) MaterialImplementer
Returns the [Material] for a surface of the [Mesh] resource. Args: [{ false surface int}], Returns: Material
func (*MeshInstance) SetMesh ¶
func (o *MeshInstance) SetMesh(mesh MeshImplementer)
Undocumented Args: [{ false mesh Mesh}], Returns: void
func (*MeshInstance) SetSkeletonPath ¶
func (o *MeshInstance) SetSkeletonPath(skeletonPath gdnative.NodePath)
Undocumented Args: [{ false skeleton_path NodePath}], Returns: void
func (*MeshInstance) SetSurfaceMaterial ¶
func (o *MeshInstance) SetSurfaceMaterial(surface gdnative.Int, material MaterialImplementer)
Sets the [Material] for a surface of the [Mesh] resource. Args: [{ false surface int} { false material Material}], Returns: void
func (*MeshInstance) X_MeshChanged ¶
func (o *MeshInstance) X_MeshChanged()
Undocumented Args: [], Returns: void
type MeshInstanceImplementer ¶
type MeshInstanceImplementer interface { GeometryInstanceImplementer X_MeshChanged() CreateConvexCollision() CreateDebugTangents() CreateTrimeshCollision() GetMesh() MeshImplementer GetSkeletonPath() gdnative.NodePath GetSurfaceMaterial(surface gdnative.Int) MaterialImplementer SetMesh(mesh MeshImplementer) SetSkeletonPath(skeletonPath gdnative.NodePath) SetSurfaceMaterial(surface gdnative.Int, material MaterialImplementer) }
MeshInstanceImplementer is an interface that implements the methods of the MeshInstance class.
type MeshLibrary ¶
type MeshLibrary struct { Resource // contains filtered or unexported fields }
Library of meshes. Contains a list of Mesh resources, each with name and ID. Useful for GridMap or painting Terrain.
func (*MeshLibrary) BaseClass ¶
func (o *MeshLibrary) BaseClass() string
func (*MeshLibrary) Clear ¶
func (o *MeshLibrary) Clear()
Clear the library. Args: [], Returns: void
func (*MeshLibrary) CreateItem ¶
func (o *MeshLibrary) CreateItem(id gdnative.Int)
Create a new item in the library, supplied an id. Args: [{ false id int}], Returns: void
func (*MeshLibrary) FindItemByName ¶
func (o *MeshLibrary) FindItemByName(name gdnative.String) gdnative.Int
Args: [{ false name String}], Returns: int
func (*MeshLibrary) GetItemList ¶
func (o *MeshLibrary) GetItemList() gdnative.PoolIntArray
Return the list of items. Args: [], Returns: PoolIntArray
func (*MeshLibrary) GetItemMesh ¶
func (o *MeshLibrary) GetItemMesh(id gdnative.Int) MeshImplementer
Return the mesh of the item. Args: [{ false id int}], Returns: Mesh
func (*MeshLibrary) GetItemName ¶
func (o *MeshLibrary) GetItemName(id gdnative.Int) gdnative.String
Return the name of the item. Args: [{ false id int}], Returns: String
func (*MeshLibrary) GetItemNavmesh ¶
func (o *MeshLibrary) GetItemNavmesh(id gdnative.Int) NavigationMeshImplementer
Args: [{ false id int}], Returns: NavigationMesh
func (*MeshLibrary) GetItemPreview ¶
func (o *MeshLibrary) GetItemPreview(id gdnative.Int) TextureImplementer
Args: [{ false id int}], Returns: Texture
func (*MeshLibrary) GetItemShapes ¶
func (o *MeshLibrary) GetItemShapes(id gdnative.Int) gdnative.Array
Args: [{ false id int}], Returns: Array
func (*MeshLibrary) GetLastUnusedItemId ¶
func (o *MeshLibrary) GetLastUnusedItemId() gdnative.Int
Get an unused id for a new item. Args: [], Returns: int
func (*MeshLibrary) RemoveItem ¶
func (o *MeshLibrary) RemoveItem(id gdnative.Int)
Remove the item. Args: [{ false id int}], Returns: void
func (*MeshLibrary) SetItemMesh ¶
func (o *MeshLibrary) SetItemMesh(id gdnative.Int, mesh MeshImplementer)
Set the mesh of the item. Args: [{ false id int} { false mesh Mesh}], Returns: void
func (*MeshLibrary) SetItemName ¶
func (o *MeshLibrary) SetItemName(id gdnative.Int, name gdnative.String)
Set the name of the item. Args: [{ false id int} { false name String}], Returns: void
func (*MeshLibrary) SetItemNavmesh ¶
func (o *MeshLibrary) SetItemNavmesh(id gdnative.Int, navmesh NavigationMeshImplementer)
Args: [{ false id int} { false navmesh NavigationMesh}], Returns: void
func (*MeshLibrary) SetItemPreview ¶
func (o *MeshLibrary) SetItemPreview(id gdnative.Int, texture TextureImplementer)
Args: [{ false id int} { false texture Texture}], Returns: void
func (*MeshLibrary) SetItemShapes ¶
func (o *MeshLibrary) SetItemShapes(id gdnative.Int, shapes gdnative.Array)
Args: [{ false id int} { false shapes Array}], Returns: void
type MeshLibraryImplementer ¶
type MeshLibraryImplementer interface { ResourceImplementer Clear() CreateItem(id gdnative.Int) FindItemByName(name gdnative.String) gdnative.Int GetItemList() gdnative.PoolIntArray GetItemMesh(id gdnative.Int) MeshImplementer GetItemName(id gdnative.Int) gdnative.String GetItemPreview(id gdnative.Int) TextureImplementer GetItemShapes(id gdnative.Int) gdnative.Array GetLastUnusedItemId() gdnative.Int RemoveItem(id gdnative.Int) SetItemMesh(id gdnative.Int, mesh MeshImplementer) SetItemName(id gdnative.Int, name gdnative.String) SetItemPreview(id gdnative.Int, texture TextureImplementer) SetItemShapes(id gdnative.Int, shapes gdnative.Array) }
MeshLibraryImplementer is an interface that implements the methods of the MeshLibrary class.
type MeshPrimitiveType ¶
type MeshPrimitiveType int
MeshPrimitiveType is an enum for PrimitiveType values.
const ( MeshPrimitiveLines MeshPrimitiveType = 1 MeshPrimitiveLineLoop MeshPrimitiveType = 3 MeshPrimitiveLineStrip MeshPrimitiveType = 2 MeshPrimitivePoints MeshPrimitiveType = 0 MeshPrimitiveTriangles MeshPrimitiveType = 4 MeshPrimitiveTriangleFan MeshPrimitiveType = 6 MeshPrimitiveTriangleStrip MeshPrimitiveType = 5 )
type MobileVRInterface ¶
type MobileVRInterface struct { ARVRInterface // contains filtered or unexported fields }
Undocumented
func (*MobileVRInterface) BaseClass ¶
func (o *MobileVRInterface) BaseClass() string
func (*MobileVRInterface) GetDisplayToLens ¶
func (o *MobileVRInterface) GetDisplayToLens() gdnative.Real
Undocumented Args: [], Returns: float
func (*MobileVRInterface) GetDisplayWidth ¶
func (o *MobileVRInterface) GetDisplayWidth() gdnative.Real
Undocumented Args: [], Returns: float
func (*MobileVRInterface) GetIod ¶
func (o *MobileVRInterface) GetIod() gdnative.Real
Undocumented Args: [], Returns: float
func (*MobileVRInterface) GetK1 ¶
func (o *MobileVRInterface) GetK1() gdnative.Real
Undocumented Args: [], Returns: float
func (*MobileVRInterface) GetK2 ¶
func (o *MobileVRInterface) GetK2() gdnative.Real
Undocumented Args: [], Returns: float
func (*MobileVRInterface) GetOversample ¶
func (o *MobileVRInterface) GetOversample() gdnative.Real
Undocumented Args: [], Returns: float
func (*MobileVRInterface) SetDisplayToLens ¶
func (o *MobileVRInterface) SetDisplayToLens(displayToLens gdnative.Real)
Undocumented Args: [{ false display_to_lens float}], Returns: void
func (*MobileVRInterface) SetDisplayWidth ¶
func (o *MobileVRInterface) SetDisplayWidth(displayWidth gdnative.Real)
Undocumented Args: [{ false display_width float}], Returns: void
func (*MobileVRInterface) SetIod ¶
func (o *MobileVRInterface) SetIod(iod gdnative.Real)
Undocumented Args: [{ false iod float}], Returns: void
func (*MobileVRInterface) SetK1 ¶
func (o *MobileVRInterface) SetK1(k gdnative.Real)
Undocumented Args: [{ false k float}], Returns: void
func (*MobileVRInterface) SetK2 ¶
func (o *MobileVRInterface) SetK2(k gdnative.Real)
Undocumented Args: [{ false k float}], Returns: void
func (*MobileVRInterface) SetOversample ¶
func (o *MobileVRInterface) SetOversample(oversample gdnative.Real)
Undocumented Args: [{ false oversample float}], Returns: void
type MobileVRInterfaceImplementer ¶
type MobileVRInterfaceImplementer interface { ARVRInterfaceImplementer GetDisplayToLens() gdnative.Real GetDisplayWidth() gdnative.Real GetIod() gdnative.Real GetK1() gdnative.Real GetK2() gdnative.Real GetOversample() gdnative.Real SetDisplayToLens(displayToLens gdnative.Real) SetDisplayWidth(displayWidth gdnative.Real) SetIod(iod gdnative.Real) SetK1(k gdnative.Real) SetK2(k gdnative.Real) SetOversample(oversample gdnative.Real) }
MobileVRInterfaceImplementer is an interface that implements the methods of the MobileVRInterface class.
type MultiMesh ¶
type MultiMesh struct { Resource // contains filtered or unexported fields }
MultiMesh provides low level mesh instancing. If the amount of Mesh instances needed goes from hundreds to thousands (and most need to be visible at close proximity) creating such a large amount of MeshInstance nodes may affect performance by using too much CPU or video memory. For this case a MultiMesh becomes very useful, as it can draw thousands of instances with little API overhead. As a drawback, if the instances are too far away of each other, performance may be reduced as every single instance will always rendered (they are spatially indexed as one, for the whole object). Since instances may have any behavior, the AABB used for visibility must be provided by the user.
func (*MultiMesh) GetColorFormat ¶
func (o *MultiMesh) GetColorFormat() MultiMeshColorFormat
Undocumented Args: [], Returns: enum.MultiMesh::ColorFormat
func (*MultiMesh) GetInstanceColor ¶
Get the color of a specific instance. Args: [{ false instance int}], Returns: Color
func (*MultiMesh) GetInstanceCount ¶
Undocumented Args: [], Returns: int
func (*MultiMesh) GetInstanceTransform ¶
Return the transform of a specific instance. Args: [{ false instance int}], Returns: Transform
func (*MultiMesh) GetMesh ¶
func (o *MultiMesh) GetMesh() MeshImplementer
Undocumented Args: [], Returns: Mesh
func (*MultiMesh) GetTransformFormat ¶
func (o *MultiMesh) GetTransformFormat() MultiMeshTransformFormat
Undocumented Args: [], Returns: enum.MultiMesh::TransformFormat
func (*MultiMesh) SetColorFormat ¶
Undocumented Args: [{ false format int}], Returns: void
func (*MultiMesh) SetInstanceColor ¶
Set the color of a specific instance. Args: [{ false instance int} { false color Color}], Returns: void
func (*MultiMesh) SetInstanceCount ¶
Undocumented Args: [{ false count int}], Returns: void
func (*MultiMesh) SetInstanceTransform ¶
Set the transform for a specific instance. Args: [{ false instance int} { false transform Transform}], Returns: void
func (*MultiMesh) SetMesh ¶
func (o *MultiMesh) SetMesh(mesh MeshImplementer)
Undocumented Args: [{ false mesh Mesh}], Returns: void
func (*MultiMesh) SetTransformFormat ¶
Undocumented Args: [{ false format int}], Returns: void
func (*MultiMesh) X_GetColorArray ¶
func (o *MultiMesh) X_GetColorArray() gdnative.PoolColorArray
Undocumented Args: [], Returns: PoolColorArray
func (*MultiMesh) X_GetTransformArray ¶
func (o *MultiMesh) X_GetTransformArray() gdnative.PoolVector3Array
Undocumented Args: [], Returns: PoolVector3Array
func (*MultiMesh) X_SetColorArray ¶
func (o *MultiMesh) X_SetColorArray(arg0 gdnative.PoolColorArray)
Undocumented Args: [{ false arg0 PoolColorArray}], Returns: void
func (*MultiMesh) X_SetTransformArray ¶
func (o *MultiMesh) X_SetTransformArray(arg0 gdnative.PoolVector3Array)
Undocumented Args: [{ false arg0 PoolVector3Array}], Returns: void
type MultiMeshColorFormat ¶
type MultiMeshColorFormat int
MultiMeshColorFormat is an enum for ColorFormat values.
const ( MultiMeshColor8Bit MultiMeshColorFormat = 1 MultiMeshColorFloat MultiMeshColorFormat = 2 MultiMeshColorNone MultiMeshColorFormat = 0 )
type MultiMeshImplementer ¶
type MultiMeshImplementer interface { ResourceImplementer X_GetColorArray() gdnative.PoolColorArray X_GetTransformArray() gdnative.PoolVector3Array X_SetColorArray(arg0 gdnative.PoolColorArray) X_SetTransformArray(arg0 gdnative.PoolVector3Array) GetAabb() gdnative.Aabb GetInstanceColor(instance gdnative.Int) gdnative.Color GetInstanceCount() gdnative.Int GetInstanceTransform(instance gdnative.Int) gdnative.Transform GetMesh() MeshImplementer SetColorFormat(format gdnative.Int) SetInstanceColor(instance gdnative.Int, color gdnative.Color) SetInstanceCount(count gdnative.Int) SetInstanceTransform(instance gdnative.Int, transform gdnative.Transform) SetMesh(mesh MeshImplementer) SetTransformFormat(format gdnative.Int) }
MultiMeshImplementer is an interface that implements the methods of the MultiMesh class.
type MultiMeshInstance ¶
type MultiMeshInstance struct { GeometryInstance // contains filtered or unexported fields }
[code]MultiMeshInstance[/code] is a specialized node to instance [GeometryInstance]s based on a MultiMesh resource. This is useful to optimize the rendering of a high amount of instances of a given mesh (for example tree in a forest or grass strands).
func (*MultiMeshInstance) BaseClass ¶
func (o *MultiMeshInstance) BaseClass() string
func (*MultiMeshInstance) GetMultimesh ¶
func (o *MultiMeshInstance) GetMultimesh() MultiMeshImplementer
Undocumented Args: [], Returns: MultiMesh
func (*MultiMeshInstance) SetMultimesh ¶
func (o *MultiMeshInstance) SetMultimesh(multimesh MultiMeshImplementer)
Undocumented Args: [{ false multimesh MultiMesh}], Returns: void
type MultiMeshInstanceImplementer ¶
type MultiMeshInstanceImplementer interface { GeometryInstanceImplementer GetMultimesh() MultiMeshImplementer SetMultimesh(multimesh MultiMeshImplementer) }
MultiMeshInstanceImplementer is an interface that implements the methods of the MultiMeshInstance class.
type MultiMeshTransformFormat ¶
type MultiMeshTransformFormat int
MultiMeshTransformFormat is an enum for TransformFormat values.
const ( MultiMeshTransform2D MultiMeshTransformFormat = 0 MultiMeshTransform3D MultiMeshTransformFormat = 1 )
type Mutex ¶
type Mutex struct { Reference // contains filtered or unexported fields }
A synchronization Mutex. Element used to synchronize multiple [Thread]s. Basically a binary Semaphore. Guarantees that only one thread can ever acquire this lock at a time. Can be used to protect a critical section. Be careful to avoid deadlocks.
type MutexImplementer ¶
type MutexImplementer interface { ReferenceImplementer Lock() Unlock() }
MutexImplementer is an interface that implements the methods of the Mutex class.
type NativeScript ¶
type NativeScript struct { Script // contains filtered or unexported fields }
Undocumented
func (*NativeScript) BaseClass ¶
func (o *NativeScript) BaseClass() string
func (*NativeScript) GetClassName ¶
func (o *NativeScript) GetClassName() gdnative.String
Undocumented Args: [], Returns: String
func (*NativeScript) GetLibrary ¶
func (o *NativeScript) GetLibrary() GDNativeLibraryImplementer
Undocumented Args: [], Returns: GDNativeLibrary
func (*NativeScript) New ¶
func (o *NativeScript) New() ObjectImplementer
Undocumented Args: [], Returns: Object
func (*NativeScript) SetClassName ¶
func (o *NativeScript) SetClassName(className gdnative.String)
Undocumented Args: [{ false class_name String}], Returns: void
func (*NativeScript) SetLibrary ¶
func (o *NativeScript) SetLibrary(library GDNativeLibraryImplementer)
Undocumented Args: [{ false library GDNativeLibrary}], Returns: void
type NativeScriptImplementer ¶
type NativeScriptImplementer interface { ScriptImplementer GetClassName() gdnative.String GetLibrary() GDNativeLibraryImplementer New() ObjectImplementer SetClassName(className gdnative.String) SetLibrary(library GDNativeLibraryImplementer) }
NativeScriptImplementer is an interface that implements the methods of the NativeScript class.
type Navigation ¶
type Navigation struct { // contains filtered or unexported fields }
The Navigation node is used for basic or advanced navigation. By default it will automatically collect all child [code]NavigationMesh[/code] resources, but they can also be added on the fly through scripting. It can be used for generating a simple path between two points or it can be used to ensure that a navigation agent is angled perfectly to the terrain it is navigating.
func (*Navigation) BaseClass ¶
func (o *Navigation) BaseClass() string
func (*Navigation) GetClosestPoint ¶
func (o *Navigation) GetClosestPoint(toPoint gdnative.Vector3) gdnative.Vector3
Returns the closest navigation point to the point passed. Args: [{ false to_point Vector3}], Returns: Vector3
func (*Navigation) GetClosestPointNormal ¶
func (o *Navigation) GetClosestPointNormal(toPoint gdnative.Vector3) gdnative.Vector3
Returns the surface normal of the navigation mesh at the point passed. For instance, if the point passed was at a 45 degree slope it would return something like (0.5,0.5,0). This is useful for rotating a navigation agent in accordance with the [code]NavigationMesh[/code]. Args: [{ false to_point Vector3}], Returns: Vector3
func (*Navigation) GetClosestPointOwner ¶
func (o *Navigation) GetClosestPointOwner(toPoint gdnative.Vector3) ObjectImplementer
Returns the nearest [code]NavigationMeshInstance[/code] to the point passed. Args: [{ false to_point Vector3}], Returns: Object
func (*Navigation) GetClosestPointToSegment ¶
func (o *Navigation) GetClosestPointToSegment(start gdnative.Vector3, end gdnative.Vector3, useCollision gdnative.Bool) gdnative.Vector3
Returns the nearest point to the line segment passed. The third optional parameter takes collisions into account. Args: [{ false start Vector3} { false end Vector3} {False true use_collision bool}], Returns: Vector3
func (*Navigation) GetSimplePath ¶
func (o *Navigation) GetSimplePath(start gdnative.Vector3, end gdnative.Vector3, optimize gdnative.Bool) gdnative.PoolVector3Array
Returns a path of points as a [code]PoolVector3Array[/code]. If [code]optimize[/code] is false the [code]NavigationMesh[/code] agent properties will be taken into account, otherwise it will return the nearest path and ignore agent radius, height, etc. Args: [{ false start Vector3} { false end Vector3} {True true optimize bool}], Returns: PoolVector3Array
func (*Navigation) GetUpVector ¶
func (o *Navigation) GetUpVector() gdnative.Vector3
Undocumented Args: [], Returns: Vector3
func (*Navigation) NavmeshAdd ¶
func (o *Navigation) NavmeshAdd(mesh NavigationMeshImplementer, xform gdnative.Transform, owner ObjectImplementer) gdnative.Int
Adds a [code]NavigationMesh[/code] to the list of NavigationMesh's in this node. Returns an id. Its position, rotation and scale are associated with the [code]Transform[/code] passed. The [code]Node[/code] (or [code]Object[/code]) that owns this node is an optional parameter. Args: [{ false mesh NavigationMesh} { false xform Transform} {Null true owner Object}], Returns: int
func (*Navigation) NavmeshRemove ¶
func (o *Navigation) NavmeshRemove(id gdnative.Int)
Removes a [code]NavigationMesh[/code] from the list of NavigationMesh's in this node. Args: [{ false id int}], Returns: void
func (*Navigation) NavmeshSetTransform ¶
func (o *Navigation) NavmeshSetTransform(id gdnative.Int, xform gdnative.Transform)
Associates a [code]NavigationMesh[/code]'s id with a [code]Transform[/code]. Its position, rotation and scale are based on the [code]Transform[/code] passed. Args: [{ false id int} { false xform Transform}], Returns: void
func (*Navigation) SetUpVector ¶
func (o *Navigation) SetUpVector(up gdnative.Vector3)
Undocumented Args: [{ false up Vector3}], Returns: void
type Navigation2D ¶
type Navigation2D struct { // contains filtered or unexported fields }
func (*Navigation2D) BaseClass ¶
func (o *Navigation2D) BaseClass() string
func (*Navigation2D) GetClosestPoint ¶
func (o *Navigation2D) GetClosestPoint(toPoint gdnative.Vector2) gdnative.Vector2
Args: [{ false to_point Vector2}], Returns: Vector2
func (*Navigation2D) GetClosestPointOwner ¶
func (o *Navigation2D) GetClosestPointOwner(toPoint gdnative.Vector2) ObjectImplementer
Args: [{ false to_point Vector2}], Returns: Object
func (*Navigation2D) GetSimplePath ¶
func (o *Navigation2D) GetSimplePath(start gdnative.Vector2, end gdnative.Vector2, optimize gdnative.Bool) gdnative.PoolVector2Array
Args: [{ false start Vector2} { false end Vector2} {True true optimize bool}], Returns: PoolVector2Array
func (*Navigation2D) NavpolyAdd ¶
func (o *Navigation2D) NavpolyAdd(mesh NavigationPolygonImplementer, xform gdnative.Transform2D, owner ObjectImplementer) gdnative.Int
Args: [{ false mesh NavigationPolygon} { false xform Transform2D} {Null true owner Object}], Returns: int
func (*Navigation2D) NavpolyRemove ¶
func (o *Navigation2D) NavpolyRemove(id gdnative.Int)
Args: [{ false id int}], Returns: void
func (*Navigation2D) NavpolySetTransform ¶
func (o *Navigation2D) NavpolySetTransform(id gdnative.Int, xform gdnative.Transform2D)
Args: [{ false id int} { false xform Transform2D}], Returns: void
type Navigation2DImplementer ¶
type Navigation2DImplementer interface { Node2DImplementer }
Navigation2DImplementer is an interface that implements the methods of the Navigation2D class.
type NavigationImplementer ¶
type NavigationImplementer interface { SpatialImplementer }
NavigationImplementer is an interface that implements the methods of the Navigation class.
type NavigationMesh ¶
type NavigationMesh struct { // contains filtered or unexported fields }
func (*NavigationMesh) AddPolygon ¶
func (o *NavigationMesh) AddPolygon(polygon gdnative.PoolIntArray)
Args: [{ false polygon PoolIntArray}], Returns: void
func (*NavigationMesh) BaseClass ¶
func (o *NavigationMesh) BaseClass() string
func (*NavigationMesh) ClearPolygons ¶
func (o *NavigationMesh) ClearPolygons()
Args: [], Returns: void
func (*NavigationMesh) CreateFromMesh ¶
func (o *NavigationMesh) CreateFromMesh(mesh MeshImplementer)
Args: [{ false mesh Mesh}], Returns: void
func (*NavigationMesh) GetAgentHeight ¶
func (o *NavigationMesh) GetAgentHeight() gdnative.Real
Undocumented Args: [], Returns: float
func (*NavigationMesh) GetAgentMaxClimb ¶
func (o *NavigationMesh) GetAgentMaxClimb() gdnative.Real
Undocumented Args: [], Returns: float
func (*NavigationMesh) GetAgentMaxSlope ¶
func (o *NavigationMesh) GetAgentMaxSlope() gdnative.Real
Undocumented Args: [], Returns: float
func (*NavigationMesh) GetAgentRadius ¶
func (o *NavigationMesh) GetAgentRadius() gdnative.Real
Undocumented Args: [], Returns: float
func (*NavigationMesh) GetCellHeight ¶
func (o *NavigationMesh) GetCellHeight() gdnative.Real
Undocumented Args: [], Returns: float
func (*NavigationMesh) GetCellSize ¶
func (o *NavigationMesh) GetCellSize() gdnative.Real
Undocumented Args: [], Returns: float
func (*NavigationMesh) GetDetailSampleDistance ¶
func (o *NavigationMesh) GetDetailSampleDistance() gdnative.Real
Undocumented Args: [], Returns: float
func (*NavigationMesh) GetDetailSampleMaxError ¶
func (o *NavigationMesh) GetDetailSampleMaxError() gdnative.Real
Undocumented Args: [], Returns: float
func (*NavigationMesh) GetEdgeMaxError ¶
func (o *NavigationMesh) GetEdgeMaxError() gdnative.Real
Undocumented Args: [], Returns: float
func (*NavigationMesh) GetEdgeMaxLength ¶
func (o *NavigationMesh) GetEdgeMaxLength() gdnative.Real
Undocumented Args: [], Returns: float
func (*NavigationMesh) GetFilterLedgeSpans ¶
func (o *NavigationMesh) GetFilterLedgeSpans() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*NavigationMesh) GetFilterLowHangingObstacles ¶
func (o *NavigationMesh) GetFilterLowHangingObstacles() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*NavigationMesh) GetFilterWalkableLowHeightSpans ¶
func (o *NavigationMesh) GetFilterWalkableLowHeightSpans() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*NavigationMesh) GetPolygon ¶
func (o *NavigationMesh) GetPolygon(idx gdnative.Int) gdnative.PoolIntArray
Args: [{ false idx int}], Returns: PoolIntArray
func (*NavigationMesh) GetPolygonCount ¶
func (o *NavigationMesh) GetPolygonCount() gdnative.Int
Args: [], Returns: int
func (*NavigationMesh) GetRegionMergeSize ¶
func (o *NavigationMesh) GetRegionMergeSize() gdnative.Real
Undocumented Args: [], Returns: float
func (*NavigationMesh) GetRegionMinSize ¶
func (o *NavigationMesh) GetRegionMinSize() gdnative.Real
Undocumented Args: [], Returns: float
func (*NavigationMesh) GetSamplePartitionType ¶
func (o *NavigationMesh) GetSamplePartitionType() gdnative.Int
Undocumented Args: [], Returns: int
func (*NavigationMesh) GetVertices ¶
func (o *NavigationMesh) GetVertices() gdnative.PoolVector3Array
Args: [], Returns: PoolVector3Array
func (*NavigationMesh) GetVertsPerPoly ¶
func (o *NavigationMesh) GetVertsPerPoly() gdnative.Real
Undocumented Args: [], Returns: float
func (*NavigationMesh) SetAgentHeight ¶
func (o *NavigationMesh) SetAgentHeight(agentHeight gdnative.Real)
Undocumented Args: [{ false agent_height float}], Returns: void
func (*NavigationMesh) SetAgentMaxClimb ¶
func (o *NavigationMesh) SetAgentMaxClimb(agentMaxClimb gdnative.Real)
Undocumented Args: [{ false agent_max_climb float}], Returns: void
func (*NavigationMesh) SetAgentMaxSlope ¶
func (o *NavigationMesh) SetAgentMaxSlope(agentMaxSlope gdnative.Real)
Undocumented Args: [{ false agent_max_slope float}], Returns: void
func (*NavigationMesh) SetAgentRadius ¶
func (o *NavigationMesh) SetAgentRadius(agentRadius gdnative.Real)
Undocumented Args: [{ false agent_radius float}], Returns: void
func (*NavigationMesh) SetCellHeight ¶
func (o *NavigationMesh) SetCellHeight(cellHeight gdnative.Real)
Undocumented Args: [{ false cell_height float}], Returns: void
func (*NavigationMesh) SetCellSize ¶
func (o *NavigationMesh) SetCellSize(cellSize gdnative.Real)
Undocumented Args: [{ false cell_size float}], Returns: void
func (*NavigationMesh) SetDetailSampleDistance ¶
func (o *NavigationMesh) SetDetailSampleDistance(detailSampleDist gdnative.Real)
Undocumented Args: [{ false detail_sample_dist float}], Returns: void
func (*NavigationMesh) SetDetailSampleMaxError ¶
func (o *NavigationMesh) SetDetailSampleMaxError(detailSampleMaxError gdnative.Real)
Undocumented Args: [{ false detail_sample_max_error float}], Returns: void
func (*NavigationMesh) SetEdgeMaxError ¶
func (o *NavigationMesh) SetEdgeMaxError(edgeMaxError gdnative.Real)
Undocumented Args: [{ false edge_max_error float}], Returns: void
func (*NavigationMesh) SetEdgeMaxLength ¶
func (o *NavigationMesh) SetEdgeMaxLength(edgeMaxLength gdnative.Real)
Undocumented Args: [{ false edge_max_length float}], Returns: void
func (*NavigationMesh) SetFilterLedgeSpans ¶
func (o *NavigationMesh) SetFilterLedgeSpans(filterLedgeSpans gdnative.Bool)
Undocumented Args: [{ false filter_ledge_spans bool}], Returns: void
func (*NavigationMesh) SetFilterLowHangingObstacles ¶
func (o *NavigationMesh) SetFilterLowHangingObstacles(filterLowHangingObstacles gdnative.Bool)
Undocumented Args: [{ false filter_low_hanging_obstacles bool}], Returns: void
func (*NavigationMesh) SetFilterWalkableLowHeightSpans ¶
func (o *NavigationMesh) SetFilterWalkableLowHeightSpans(filterWalkableLowHeightSpans gdnative.Bool)
Undocumented Args: [{ false filter_walkable_low_height_spans bool}], Returns: void
func (*NavigationMesh) SetRegionMergeSize ¶
func (o *NavigationMesh) SetRegionMergeSize(regionMergeSize gdnative.Real)
Undocumented Args: [{ false region_merge_size float}], Returns: void
func (*NavigationMesh) SetRegionMinSize ¶
func (o *NavigationMesh) SetRegionMinSize(regionMinSize gdnative.Real)
Undocumented Args: [{ false region_min_size float}], Returns: void
func (*NavigationMesh) SetSamplePartitionType ¶
func (o *NavigationMesh) SetSamplePartitionType(samplePartitionType gdnative.Int)
Undocumented Args: [{ false sample_partition_type int}], Returns: void
func (*NavigationMesh) SetVertices ¶
func (o *NavigationMesh) SetVertices(vertices gdnative.PoolVector3Array)
Args: [{ false vertices PoolVector3Array}], Returns: void
func (*NavigationMesh) SetVertsPerPoly ¶
func (o *NavigationMesh) SetVertsPerPoly(vertsPerPoly gdnative.Real)
Undocumented Args: [{ false verts_per_poly float}], Returns: void
func (*NavigationMesh) X_GetPolygons ¶
func (o *NavigationMesh) X_GetPolygons() gdnative.Array
Undocumented Args: [], Returns: Array
func (*NavigationMesh) X_SetPolygons ¶
func (o *NavigationMesh) X_SetPolygons(polygons gdnative.Array)
Undocumented Args: [{ false polygons Array}], Returns: void
type NavigationMeshImplementer ¶
type NavigationMeshImplementer interface { ResourceImplementer }
NavigationMeshImplementer is an interface that implements the methods of the NavigationMesh class.
type NavigationMeshInstance ¶
type NavigationMeshInstance struct { // contains filtered or unexported fields }
func (*NavigationMeshInstance) BaseClass ¶
func (o *NavigationMeshInstance) BaseClass() string
func (*NavigationMeshInstance) GetNavigationMesh ¶
func (o *NavigationMeshInstance) GetNavigationMesh() NavigationMeshImplementer
Undocumented Args: [], Returns: NavigationMesh
func (*NavigationMeshInstance) IsEnabled ¶
func (o *NavigationMeshInstance) IsEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*NavigationMeshInstance) SetEnabled ¶
func (o *NavigationMeshInstance) SetEnabled(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*NavigationMeshInstance) SetNavigationMesh ¶
func (o *NavigationMeshInstance) SetNavigationMesh(navmesh NavigationMeshImplementer)
Undocumented Args: [{ false navmesh NavigationMesh}], Returns: void
type NavigationMeshInstanceImplementer ¶
type NavigationMeshInstanceImplementer interface { SpatialImplementer }
NavigationMeshInstanceImplementer is an interface that implements the methods of the NavigationMeshInstance class.
type NavigationPolygon ¶
type NavigationPolygon struct { // contains filtered or unexported fields }
func (*NavigationPolygon) AddOutline ¶
func (o *NavigationPolygon) AddOutline(outline gdnative.PoolVector2Array)
Args: [{ false outline PoolVector2Array}], Returns: void
func (*NavigationPolygon) AddOutlineAtIndex ¶
func (o *NavigationPolygon) AddOutlineAtIndex(outline gdnative.PoolVector2Array, index gdnative.Int)
Args: [{ false outline PoolVector2Array} { false index int}], Returns: void
func (*NavigationPolygon) AddPolygon ¶
func (o *NavigationPolygon) AddPolygon(polygon gdnative.PoolIntArray)
Args: [{ false polygon PoolIntArray}], Returns: void
func (*NavigationPolygon) BaseClass ¶
func (o *NavigationPolygon) BaseClass() string
func (*NavigationPolygon) ClearOutlines ¶
func (o *NavigationPolygon) ClearOutlines()
Args: [], Returns: void
func (*NavigationPolygon) ClearPolygons ¶
func (o *NavigationPolygon) ClearPolygons()
Args: [], Returns: void
func (*NavigationPolygon) GetOutline ¶
func (o *NavigationPolygon) GetOutline(idx gdnative.Int) gdnative.PoolVector2Array
Args: [{ false idx int}], Returns: PoolVector2Array
func (*NavigationPolygon) GetOutlineCount ¶
func (o *NavigationPolygon) GetOutlineCount() gdnative.Int
Args: [], Returns: int
func (*NavigationPolygon) GetPolygon ¶
func (o *NavigationPolygon) GetPolygon(idx gdnative.Int) gdnative.PoolIntArray
Args: [{ false idx int}], Returns: PoolIntArray
func (*NavigationPolygon) GetPolygonCount ¶
func (o *NavigationPolygon) GetPolygonCount() gdnative.Int
Args: [], Returns: int
func (*NavigationPolygon) GetVertices ¶
func (o *NavigationPolygon) GetVertices() gdnative.PoolVector2Array
Args: [], Returns: PoolVector2Array
func (*NavigationPolygon) MakePolygonsFromOutlines ¶
func (o *NavigationPolygon) MakePolygonsFromOutlines()
Args: [], Returns: void
func (*NavigationPolygon) RemoveOutline ¶
func (o *NavigationPolygon) RemoveOutline(idx gdnative.Int)
Args: [{ false idx int}], Returns: void
func (*NavigationPolygon) SetOutline ¶
func (o *NavigationPolygon) SetOutline(idx gdnative.Int, outline gdnative.PoolVector2Array)
Args: [{ false idx int} { false outline PoolVector2Array}], Returns: void
func (*NavigationPolygon) SetVertices ¶
func (o *NavigationPolygon) SetVertices(vertices gdnative.PoolVector2Array)
Args: [{ false vertices PoolVector2Array}], Returns: void
func (*NavigationPolygon) X_GetOutlines ¶
func (o *NavigationPolygon) X_GetOutlines() gdnative.Array
Undocumented Args: [], Returns: Array
func (*NavigationPolygon) X_GetPolygons ¶
func (o *NavigationPolygon) X_GetPolygons() gdnative.Array
Undocumented Args: [], Returns: Array
func (*NavigationPolygon) X_SetOutlines ¶
func (o *NavigationPolygon) X_SetOutlines(outlines gdnative.Array)
Undocumented Args: [{ false outlines Array}], Returns: void
func (*NavigationPolygon) X_SetPolygons ¶
func (o *NavigationPolygon) X_SetPolygons(polygons gdnative.Array)
Undocumented Args: [{ false polygons Array}], Returns: void
type NavigationPolygonImplementer ¶
type NavigationPolygonImplementer interface { ResourceImplementer }
NavigationPolygonImplementer is an interface that implements the methods of the NavigationPolygon class.
type NavigationPolygonInstance ¶
type NavigationPolygonInstance struct { // contains filtered or unexported fields }
func (*NavigationPolygonInstance) BaseClass ¶
func (o *NavigationPolygonInstance) BaseClass() string
func (*NavigationPolygonInstance) GetNavigationPolygon ¶
func (o *NavigationPolygonInstance) GetNavigationPolygon() NavigationPolygonImplementer
Undocumented Args: [], Returns: NavigationPolygon
func (*NavigationPolygonInstance) IsEnabled ¶
func (o *NavigationPolygonInstance) IsEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*NavigationPolygonInstance) SetEnabled ¶
func (o *NavigationPolygonInstance) SetEnabled(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*NavigationPolygonInstance) SetNavigationPolygon ¶
func (o *NavigationPolygonInstance) SetNavigationPolygon(navpoly NavigationPolygonImplementer)
Undocumented Args: [{ false navpoly NavigationPolygon}], Returns: void
func (*NavigationPolygonInstance) X_NavpolyChanged ¶
func (o *NavigationPolygonInstance) X_NavpolyChanged()
Undocumented Args: [], Returns: void
type NavigationPolygonInstanceImplementer ¶
type NavigationPolygonInstanceImplementer interface { Node2DImplementer }
NavigationPolygonInstanceImplementer is an interface that implements the methods of the NavigationPolygonInstance class.
type NetworkedMultiplayerENet ¶
type NetworkedMultiplayerENet struct { NetworkedMultiplayerPeer // contains filtered or unexported fields }
Undocumented
func (*NetworkedMultiplayerENet) BaseClass ¶
func (o *NetworkedMultiplayerENet) BaseClass() string
func (*NetworkedMultiplayerENet) CloseConnection ¶
func (o *NetworkedMultiplayerENet) CloseConnection()
Undocumented Args: [], Returns: void
func (*NetworkedMultiplayerENet) CreateClient ¶
func (o *NetworkedMultiplayerENet) CreateClient(ip gdnative.String, port gdnative.Int, inBandwidth gdnative.Int, outBandwidth gdnative.Int) gdnative.Error
Undocumented Args: [{ false ip String} { false port int} {0 true in_bandwidth int} {0 true out_bandwidth int}], Returns: enum.Error
func (*NetworkedMultiplayerENet) CreateServer ¶
func (o *NetworkedMultiplayerENet) CreateServer(port gdnative.Int, maxClients gdnative.Int, inBandwidth gdnative.Int, outBandwidth gdnative.Int) gdnative.Error
Undocumented Args: [{ false port int} {32 true max_clients int} {0 true in_bandwidth int} {0 true out_bandwidth int}], Returns: enum.Error
func (*NetworkedMultiplayerENet) GetCompressionMode ¶
func (o *NetworkedMultiplayerENet) GetCompressionMode() NetworkedMultiplayerENetCompressionMode
Undocumented Args: [], Returns: enum.NetworkedMultiplayerENet::CompressionMode
func (*NetworkedMultiplayerENet) SetBindIp ¶
func (o *NetworkedMultiplayerENet) SetBindIp(ip gdnative.String)
Undocumented Args: [{ false ip String}], Returns: void
func (*NetworkedMultiplayerENet) SetCompressionMode ¶
func (o *NetworkedMultiplayerENet) SetCompressionMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
type NetworkedMultiplayerENetCompressionMode ¶
type NetworkedMultiplayerENetCompressionMode int
NetworkedMultiplayerENetCompressionMode is an enum for CompressionMode values.
const ( NetworkedMultiplayerENetCompressFastlz NetworkedMultiplayerENetCompressionMode = 2 NetworkedMultiplayerENetCompressNone NetworkedMultiplayerENetCompressionMode = 0 NetworkedMultiplayerENetCompressRangeCoder NetworkedMultiplayerENetCompressionMode = 1 NetworkedMultiplayerENetCompressZlib NetworkedMultiplayerENetCompressionMode = 3 NetworkedMultiplayerENetCompressZstd NetworkedMultiplayerENetCompressionMode = 4 )
type NetworkedMultiplayerENetImplementer ¶
type NetworkedMultiplayerENetImplementer interface { NetworkedMultiplayerPeerImplementer CloseConnection() SetBindIp(ip gdnative.String) SetCompressionMode(mode gdnative.Int) }
NetworkedMultiplayerENetImplementer is an interface that implements the methods of the NetworkedMultiplayerENet class.
type NetworkedMultiplayerPeer ¶
type NetworkedMultiplayerPeer struct { PacketPeer // contains filtered or unexported fields }
Manages the connection to network peers. Assigns unique IDs to each client connected to the server.
func (*NetworkedMultiplayerPeer) BaseClass ¶
func (o *NetworkedMultiplayerPeer) BaseClass() string
func (*NetworkedMultiplayerPeer) GetConnectionStatus ¶
func (o *NetworkedMultiplayerPeer) GetConnectionStatus() NetworkedMultiplayerPeerConnectionStatus
Returns the current state of the connection. See [enum ConnectionStatus]. Args: [], Returns: enum.NetworkedMultiplayerPeer::ConnectionStatus
func (*NetworkedMultiplayerPeer) GetPacketPeer ¶
func (o *NetworkedMultiplayerPeer) GetPacketPeer() gdnative.Int
Returns the ID of the [code]NetworkedMultiplayerPeer[/code] who sent the most recent packet. Args: [], Returns: int
func (*NetworkedMultiplayerPeer) GetTransferMode ¶
func (o *NetworkedMultiplayerPeer) GetTransferMode() NetworkedMultiplayerPeerTransferMode
Undocumented Args: [], Returns: enum.NetworkedMultiplayerPeer::TransferMode
func (*NetworkedMultiplayerPeer) GetUniqueId ¶
func (o *NetworkedMultiplayerPeer) GetUniqueId() gdnative.Int
Returns the ID of this [code]NetworkedMultiplayerPeer[/code]. Args: [], Returns: int
func (*NetworkedMultiplayerPeer) IsRefusingNewConnections ¶
func (o *NetworkedMultiplayerPeer) IsRefusingNewConnections() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*NetworkedMultiplayerPeer) Poll ¶
func (o *NetworkedMultiplayerPeer) Poll()
Waits up to 1 second to receive a new network event. Args: [], Returns: void
func (*NetworkedMultiplayerPeer) SetRefuseNewConnections ¶
func (o *NetworkedMultiplayerPeer) SetRefuseNewConnections(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*NetworkedMultiplayerPeer) SetTargetPeer ¶
func (o *NetworkedMultiplayerPeer) SetTargetPeer(id gdnative.Int)
The peer to which packets will be sent. Default value: [code]0[/code]. Args: [{ false id int}], Returns: void
func (*NetworkedMultiplayerPeer) SetTransferMode ¶
func (o *NetworkedMultiplayerPeer) SetTransferMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
type NetworkedMultiplayerPeerConnectionStatus ¶
type NetworkedMultiplayerPeerConnectionStatus int
NetworkedMultiplayerPeerConnectionStatus is an enum for ConnectionStatus values.
const ( NetworkedMultiplayerPeerConnectionConnected NetworkedMultiplayerPeerConnectionStatus = 2 NetworkedMultiplayerPeerConnectionConnecting NetworkedMultiplayerPeerConnectionStatus = 1 NetworkedMultiplayerPeerConnectionDisconnected NetworkedMultiplayerPeerConnectionStatus = 0 )
type NetworkedMultiplayerPeerImplementer ¶
type NetworkedMultiplayerPeerImplementer interface { PacketPeerImplementer GetPacketPeer() gdnative.Int GetUniqueId() gdnative.Int IsRefusingNewConnections() gdnative.Bool Poll() SetRefuseNewConnections(enable gdnative.Bool) SetTargetPeer(id gdnative.Int) SetTransferMode(mode gdnative.Int) }
NetworkedMultiplayerPeerImplementer is an interface that implements the methods of the NetworkedMultiplayerPeer class.
type NetworkedMultiplayerPeerTransferMode ¶
type NetworkedMultiplayerPeerTransferMode int
NetworkedMultiplayerPeerTransferMode is an enum for TransferMode values.
const ( NetworkedMultiplayerPeerTransferModeReliable NetworkedMultiplayerPeerTransferMode = 2 NetworkedMultiplayerPeerTransferModeUnreliable NetworkedMultiplayerPeerTransferMode = 0 NetworkedMultiplayerPeerTransferModeUnreliableOrdered NetworkedMultiplayerPeerTransferMode = 1 )
type NinePatchRect ¶
type NinePatchRect struct { Control // contains filtered or unexported fields }
Better known as 9-slice panels, NinePatchRect produces clean panels of any size, based on a small texture. To do so, it splits the texture in a 3 by 3 grid. When you scale the node, it tiles the texture's sides horizontally or vertically, the center on both axes but it doesn't scale or tile the corners.
func (*NinePatchRect) BaseClass ¶
func (o *NinePatchRect) BaseClass() string
func (*NinePatchRect) GetHAxisStretchMode ¶
func (o *NinePatchRect) GetHAxisStretchMode() NinePatchRectAxisStretchMode
Undocumented Args: [], Returns: enum.NinePatchRect::AxisStretchMode
func (*NinePatchRect) GetPatchMargin ¶
func (o *NinePatchRect) GetPatchMargin(margin gdnative.Int) gdnative.Int
Undocumented Args: [{ false margin int}], Returns: int
func (*NinePatchRect) GetRegionRect ¶
func (o *NinePatchRect) GetRegionRect() gdnative.Rect2
Undocumented Args: [], Returns: Rect2
func (*NinePatchRect) GetTexture ¶
func (o *NinePatchRect) GetTexture() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*NinePatchRect) GetVAxisStretchMode ¶
func (o *NinePatchRect) GetVAxisStretchMode() NinePatchRectAxisStretchMode
Undocumented Args: [], Returns: enum.NinePatchRect::AxisStretchMode
func (*NinePatchRect) IsDrawCenterEnabled ¶
func (o *NinePatchRect) IsDrawCenterEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*NinePatchRect) SetDrawCenter ¶
func (o *NinePatchRect) SetDrawCenter(drawCenter gdnative.Bool)
Undocumented Args: [{ false draw_center bool}], Returns: void
func (*NinePatchRect) SetHAxisStretchMode ¶
func (o *NinePatchRect) SetHAxisStretchMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*NinePatchRect) SetPatchMargin ¶
func (o *NinePatchRect) SetPatchMargin(margin gdnative.Int, value gdnative.Int)
Undocumented Args: [{ false margin int} { false value int}], Returns: void
func (*NinePatchRect) SetRegionRect ¶
func (o *NinePatchRect) SetRegionRect(rect gdnative.Rect2)
Undocumented Args: [{ false rect Rect2}], Returns: void
func (*NinePatchRect) SetTexture ¶
func (o *NinePatchRect) SetTexture(texture TextureImplementer)
Undocumented Args: [{ false texture Texture}], Returns: void
func (*NinePatchRect) SetVAxisStretchMode ¶
func (o *NinePatchRect) SetVAxisStretchMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
type NinePatchRectAxisStretchMode ¶
type NinePatchRectAxisStretchMode int
NinePatchRectAxisStretchMode is an enum for AxisStretchMode values.
const ( NinePatchRectAxisStretchModeStretch NinePatchRectAxisStretchMode = 0 NinePatchRectAxisStretchModeTile NinePatchRectAxisStretchMode = 1 NinePatchRectAxisStretchModeTileFit NinePatchRectAxisStretchMode = 2 )
type NinePatchRectImplementer ¶
type NinePatchRectImplementer interface { ControlImplementer GetPatchMargin(margin gdnative.Int) gdnative.Int GetRegionRect() gdnative.Rect2 GetTexture() TextureImplementer IsDrawCenterEnabled() gdnative.Bool SetDrawCenter(drawCenter gdnative.Bool) SetHAxisStretchMode(mode gdnative.Int) SetPatchMargin(margin gdnative.Int, value gdnative.Int) SetRegionRect(rect gdnative.Rect2) SetTexture(texture TextureImplementer) SetVAxisStretchMode(mode gdnative.Int) }
NinePatchRectImplementer is an interface that implements the methods of the NinePatchRect class.
type Node ¶
type Node struct { Object // contains filtered or unexported fields }
Nodes are Godot's building blocks. They can be assigned as the child of another node, resulting in a tree arrangement. A given node can contain any number of nodes as children with the requirement that all siblings (direct children of a node) should have unique names. A tree of nodes is called a [i]scene[/i]. Scenes can be saved to the disk and then instanced into other scenes. This allows for very high flexibility in the architecture and data model of Godot projects. Nodes can also optionally be added to groups. This makes it possible to access a number of nodes from code (an "enemies" group, for example) to perform grouped actions. [b]Scene tree:[/b] The SceneTree contains the active tree of nodes. When a node is added to the scene tree, it receives the NOTIFICATION_ENTER_TREE notification and its [method _enter_tree] callback is triggered. Child nodes are always added [i]after[/i] their parent node, i.e. the [method _enter_tree] callback of a parent node will be triggered before its child's. Once all nodes have been added in the scene tree, they receive the NOTIFICATION_READY notification and their respective [method _ready] callbacks are triggered. For groups of nodes, the [method _ready] callback is called in reverse order, starting with the children and moving up to the parent nodes. This means that when adding a node to the scene tree, the following order will be used for the callbacks: [method _enter_tree] of the parent, [method _enter_tree] of the children, [method _ready] of the children and finally [method _ready] of the parent (recursively for the entire scene tree). [b]Processing:[/b] Nodes can override the "process" state, so that they receive a callback on each frame requesting them to process (do something). Normal processing (callback [method _process], toggled with [method set_process]) happens as fast as possible and is dependent on the frame rate, so the processing time [i]delta[/i] is passed as an argument. Physics processing (callback [method _physics_process], toggled with [method set_physics_process]) happens a fixed number of times per second (60 by default) and is useful for code related to the physics engine. Nodes can also process input events. When present, the [method _input] function will be called for each input that the program receives. In many cases, this can be overkill (unless used for simple projects), and the [method _unhandled_input] function might be preferred; it is called when the input event was not handled by anyone else (typically, GUI Control nodes), ensuring that the node only receives the events that were meant for it. To keep track of the scene hierarchy (especially when instancing scenes into other scenes), an "owner" can be set for the node with [method set_owner]. This keeps track of who instanced what. This is mostly useful when writing editors and tools, though. Finally, when a node is freed with [method free] or [method queue_free], it will also free all its children. [b]Groups:[/b] Nodes can be added to as many groups as you want to be easy to manage, you could create groups like "enemies" or "collectables" for example, depending on your game. See [method add_to_group], [method is_in_group] and [method remove_from_group]. You can then retrieve all nodes in these groups, iterate them and even call methods on groups via the methods on SceneTree. [b]Networking with nodes:[/b] After connecting to a server (or making one, see NetworkedMultiplayerENet) it is possible to use the built-in RPC (remote procedure call) system to communicate over the network. By calling [method rpc] with a method name, it will be called locally and in all connected peers (peers = clients and the server that accepts connections). To identify which node receives the RPC call Godot will use its [NodePath] (make sure node names are the same on all peers). Also take a look at the high-level networking tutorial and corresponding demos.
func (*Node) AddChild ¶
func (o *Node) AddChild(node ObjectImplementer, legibleUniqueName gdnative.Bool)
Adds a child node. Nodes can have any number of children, but every child must have a unique name. Child nodes are automatically deleted when the parent node is deleted, so an entire scene can be removed by deleting its topmost node. Setting "legible_unique_name" [code]true[/code] creates child nodes with human-readable names, based on the name of the node being instanced instead of its type. Args: [{ false node Object} {False true legible_unique_name bool}], Returns: void
func (*Node) AddChildBelowNode ¶
func (o *Node) AddChildBelowNode(node ObjectImplementer, childNode ObjectImplementer, legibleUniqueName gdnative.Bool)
Adds a child node. The child is placed below the given node in the list of children. Setting "legible_unique_name" [code]true[/code] creates child nodes with human-readable names, based on the name of the node being instanced instead of its type. Args: [{ false node Object} { false child_node Object} {False true legible_unique_name bool}], Returns: void
func (*Node) AddToGroup ¶
Adds the node to a group. Groups are helpers to name and organize a subset of nodes, for example "enemies" or "collectables". A node can be in any number of groups. Nodes can be assigned a group at any time, but will not be added until they are inside the scene tree (see [method is_inside_tree]). See notes in the description, and the group methods in [SceneTree]. Args: [{ false group String} {False true persistent bool}], Returns: void
func (*Node) CanProcess ¶
Returns [code]true[/code] if the node can process while the scene tree is paused (see [method set_pause_mode]). Always returns [code]true[/code] if the scene tree is not paused, and [code]false[/code] if the node is not in the tree. FIXME: Why FAIL_COND? Args: [], Returns: bool
func (*Node) Duplicate ¶
func (o *Node) Duplicate(flags gdnative.Int) NodeImplementer
Duplicates the node, returning a new node. You can fine-tune the behavior using the [code]flags[/code]. See DUPLICATE_* constants. Args: [{15 true flags int}], Returns: Node
func (*Node) FindNode ¶
func (o *Node) FindNode(mask gdnative.String, recursive gdnative.Bool, owned gdnative.Bool) NodeImplementer
Finds a descendant of this node whose name matches [code]mask[/code] as in [method String.match] (i.e. case sensitive, but '*' matches zero or more characters and '?' matches any single character except '.'). Note that it does not match against the full path, just against individual node names. Args: [{ false mask String} {True true recursive bool} {True true owned bool}], Returns: Node
func (*Node) GetChild ¶
func (o *Node) GetChild(idx gdnative.Int) NodeImplementer
Returns a child node by its index (see [method get_child_count]). This method is often used for iterating all children of a node. Args: [{ false idx int}], Returns: Node
func (*Node) GetChildCount ¶
Returns the number of child nodes. Args: [], Returns: int
func (*Node) GetChildren ¶
Returns an array of references to node's children. Args: [], Returns: Array
func (*Node) GetFilename ¶
Undocumented Args: [], Returns: String
func (*Node) GetGroups ¶
Returns an array listing the groups that the node is a member of. Args: [], Returns: Array
func (*Node) GetIndex ¶
Returns the node's index, i.e. its position among the siblings of its parent. Args: [], Returns: int
func (*Node) GetNetworkMaster ¶
Returns the peer ID of the network master for this node. See [method set_network_master]. Args: [], Returns: int
func (*Node) GetNode ¶
func (o *Node) GetNode(path gdnative.NodePath) NodeImplementer
Fetches a node. The [NodePath] can be either a relative path (from the current node) or an absolute path (in the scene tree) to a node. If the path does not exist, a [code]null instance[/code] is returned and attempts to access it will result in an "Attempt to call <method> on a null instance." error. Note: fetching absolute paths only works when the node is inside the scene tree (see [method is_inside_tree]). [i]Example:[/i] Assume your current node is Character and the following tree: [codeblock] /root /root/Character /root/Character/Sword /root/Character/Backpack/Dagger /root/MyGame /root/Swamp/Alligator /root/Swamp/Mosquito /root/Swamp/Goblin [/codeblock] Possible paths are: [codeblock] get_node("Sword") get_node("Backpack/Dagger") get_node("../Swamp/Alligator") get_node("/root/MyGame") [/codeblock] Args: [{ false path NodePath}], Returns: Node
func (*Node) GetNodeAndResource ¶
Args: [{ false path NodePath}], Returns: Array
func (*Node) GetOwner ¶
func (o *Node) GetOwner() NodeImplementer
Undocumented Args: [], Returns: Node
func (*Node) GetParent ¶
func (o *Node) GetParent() NodeImplementer
Returns the parent node of the current node, or an empty [code]Node[/code] if the node lacks a parent. Args: [], Returns: Node
func (*Node) GetPath ¶
Returns the absolute path of the current node. This only works if the current node is inside the scene tree (see [method is_inside_tree]). Args: [], Returns: NodePath
func (*Node) GetPathTo ¶
func (o *Node) GetPathTo(node ObjectImplementer) gdnative.NodePath
Returns the relative [NodePath] from this node to the specified [code]node[/code]. Both nodes must be in the same scene or the function will fail. Args: [{ false node Object}], Returns: NodePath
func (*Node) GetPauseMode ¶
func (o *Node) GetPauseMode() NodePauseMode
Undocumented Args: [], Returns: enum.Node::PauseMode
func (*Node) GetPhysicsProcessDeltaTime ¶
Returns the time elapsed since the last physics-bound frame (see [method _physics_process]). This is always a constant value in physics processing unless the frames per second is changed in [OS]. Args: [], Returns: float
func (*Node) GetPositionInParent ¶
Returns the node's order in the scene tree branch. For example, if called on the first child node the position is [code]0[/code]. Args: [], Returns: int
func (*Node) GetProcessDeltaTime ¶
Returns the time elapsed (in seconds) since the last process callback. This value may vary from frame to frame. Args: [], Returns: float
func (*Node) GetSceneInstanceLoadPlaceholder ¶
Returns [code]true[/code] if this is an instance load placeholder. See [InstancePlaceholder]. Args: [], Returns: bool
func (*Node) GetTree ¶
func (o *Node) GetTree() SceneTreeImplementer
Returns the [SceneTree] that contains this node. Args: [], Returns: SceneTree
func (*Node) GetViewport ¶
func (o *Node) GetViewport() ViewportImplementer
Returns the node's [Viewport]. Args: [], Returns: Viewport
func (*Node) HasNode ¶
Returns [code]true[/code] if the node that the [NodePath] points to exists. Args: [{ false path NodePath}], Returns: bool
func (*Node) HasNodeAndResource ¶
Args: [{ false path NodePath}], Returns: bool
func (*Node) IsAParentOf ¶
func (o *Node) IsAParentOf(node ObjectImplementer) gdnative.Bool
Returns [code]true[/code] if the given node is a direct or indirect child of the current node. Args: [{ false node Object}], Returns: bool
func (*Node) IsDisplayedFolded ¶
Returns [code]true[/code] if the node is folded (collapsed) in the Scene dock. Args: [], Returns: bool
func (*Node) IsGreaterThan ¶
func (o *Node) IsGreaterThan(node ObjectImplementer) gdnative.Bool
Returns [code]true[/code] if the given node occurs later in the scene hierarchy than the current node. Args: [{ false node Object}], Returns: bool
func (*Node) IsInGroup ¶
Returns [code]true[/code] if this node is in the specified group. See notes in the description, and the group methods in [SceneTree]. Args: [{ false group String}], Returns: bool
func (*Node) IsInsideTree ¶
Returns [code]true[/code] if this node is currently inside a [SceneTree]. Args: [], Returns: bool
func (*Node) IsNetworkMaster ¶
Returns [code]true[/code] if the local system is the master of this node. Args: [], Returns: bool
func (*Node) IsPhysicsProcessing ¶
Returns [code]true[/code] if physics processing is enabled (see [method set_physics_process]). Args: [], Returns: bool
func (*Node) IsPhysicsProcessingInternal ¶
Returns [code]true[/code] if internal physics processing is enabled (see [method set_physics_process_internal]). Args: [], Returns: bool
func (*Node) IsProcessing ¶
Returns [code]true[/code] if processing is enabled (see [method set_process]). Args: [], Returns: bool
func (*Node) IsProcessingInput ¶
Returns [code]true[/code] if the node is processing input (see [method set_process_input]). Args: [], Returns: bool
func (*Node) IsProcessingInternal ¶
Returns [code]true[/code] if internal processing is enabled (see [method set_process_internal]). Args: [], Returns: bool
func (*Node) IsProcessingUnhandledInput ¶
Returns [code]true[/code] if the node is processing unhandled input (see [method set_process_unhandled_input]). Args: [], Returns: bool
func (*Node) IsProcessingUnhandledKeyInput ¶
Returns [code]true[/code] if the node is processing unhandled key input (see [method set_process_unhandled_key_input]). Args: [], Returns: bool
func (*Node) MoveChild ¶
func (o *Node) MoveChild(childNode ObjectImplementer, toPosition gdnative.Int)
Moves a child node to a different position (order) amongst the other children. Since calls, signals, etc are performed by tree order, changing the order of children nodes may be useful. Args: [{ false child_node Object} { false to_position int}], Returns: void
func (*Node) PrintStrayNodes ¶
func (o *Node) PrintStrayNodes()
Prints all stray nodes (nodes outside the [SceneTree]). Used for debugging. Works only in debug builds. Args: [], Returns: void
func (*Node) PrintTree ¶
func (o *Node) PrintTree()
Prints the scene hierarchy of this node and all it's children to stdout. Used mainly for debugging purposes. Args: [], Returns: void
func (*Node) PropagateCall ¶
func (o *Node) PropagateCall(method gdnative.String, args gdnative.Array, parentFirst gdnative.Bool)
Calls the given method (if present) with the arguments given in [code]args[/code] on this node and recursively on all its children. If the parent_first argument is [code]true[/code] then the method will be called on the current node first, then on all children. If it is [code]false[/code] then the children will be called first. Args: [{ false method String} {[] true args Array} {False true parent_first bool}], Returns: void
func (*Node) PropagateNotification ¶
Notifies the current node and all its children recursively by calling notification() on all of them. Args: [{ false what int}], Returns: void
func (*Node) QueueFree ¶
func (o *Node) QueueFree()
Queues a node for deletion at the end of the current frame. When deleted, all of its child nodes will be deleted as well. This method ensures it's safe to delete the node, contrary to [method Object.free]. Use [method Object.is_queued_for_deletion] to check whether a node will be deleted at the end of the frame. Args: [], Returns: void
func (*Node) Raise ¶
func (o *Node) Raise()
Moves this node to the top of the array of nodes of the parent node. This is often useful in GUIs ([Control] nodes), because their order of drawing depends on their order in the tree. Args: [], Returns: void
func (*Node) RemoveAndSkip ¶
func (o *Node) RemoveAndSkip()
Removes a node and sets all its children as children of the parent node (if it exists). All event subscriptions that pass by the removed node will be unsubscribed. Args: [], Returns: void
func (*Node) RemoveChild ¶
func (o *Node) RemoveChild(node ObjectImplementer)
Removes a child node. The node is NOT deleted and must be deleted manually. Args: [{ false node Object}], Returns: void
func (*Node) RemoveFromGroup ¶
Removes a node from a group. See notes in the description, and the group methods in [SceneTree]. Args: [{ false group String}], Returns: void
func (*Node) ReplaceBy ¶
func (o *Node) ReplaceBy(node ObjectImplementer, keepData gdnative.Bool)
Replaces a node in a scene by the given one. Subscriptions that pass through this node will be lost. Args: [{ false node Object} {False true keep_data bool}], Returns: void
func (*Node) RequestReady ¶
func (o *Node) RequestReady()
Requests that [code]_ready[/code] be called again. Args: [], Returns: void
func (*Node) Rpc ¶
Sends a remote procedure call request for the given [code]method[/code] to peers on the network (and locally), optionally sending all additional arguments as arguments to the method called by the RPC. The call request will only be received by nodes with the same [NodePath], including the exact same node name. Behaviour depends on the RPC configuration for the given method, see [method rpc_config]. Methods are not exposed to RPCs by default. Also see [method rset] and [method rset_config] for properties. Returns an empty [Variant]. Note that you can only safely use RPCs on clients after you received the [code]connected_to_server[/code] signal from the [SceneTree]. You also need to keep track of the connection state, either by the [SceneTree] signals like [code]server_disconnected[/code] or by checking [code]SceneTree.network_peer.get_connection_status() == CONNECTION_CONNECTED[/code]. Args: [{ false method String}], Returns: Variant
func (*Node) RpcConfig ¶
Changes the RPC mode for the given [code]method[/code] to the given [code]mode[/code]. See [enum RPCMode]. An alternative is annotating methods and properties with the corresponding keywords ([code]remote[/code], [code]sync[/code], [code]master[/code], [code]slave[/code]). By default, methods are not exposed to networking (and RPCs). Also see [method rset] and [method rset_config] for properties. Args: [{ false method String} { false mode int}], Returns: void
func (*Node) RpcId ¶
Sends a [method rpc] to a specific peer identified by [code]peer_id[/code]. Returns an empty [Variant]. Args: [{ false peer_id int} { false method String}], Returns: Variant
func (*Node) RpcUnreliable ¶
Sends a [method rpc] using an unreliable protocol. Returns an empty [Variant]. Args: [{ false method String}], Returns: Variant
func (*Node) RpcUnreliableId ¶
Sends a [method rpc] to a specific peer identified by [code]peer_id[/code] using an unreliable protocol. Returns an empty [Variant]. Args: [{ false peer_id int} { false method String}], Returns: Variant
func (*Node) Rset ¶
Remotely changes a property's value on other peers (and locally). Behaviour depends on the RPC configuration for the given property, see [method rset_config]. Also see [method rpc] for RPCs for methods, most information applies to this method as well. Args: [{ false property String} { false value Variant}], Returns: void
func (*Node) RsetConfig ¶
Changes the RPC mode for the given [code]property[/code] to the given [code]mode[/code]. See [enum RPCMode]. An alternative is annotating methods and properties with the corresponding keywords ([code]remote[/code], [code]sync[/code], [code]master[/code], [code]slave[/code]). By default, properties are not exposed to networking (and RPCs). Also see [method rpc] and [method rpc_config] for methods. Args: [{ false property String} { false mode int}], Returns: void
func (*Node) RsetId ¶
Remotely changes the property's value on a specific peer identified by [code]peer_id[/code]. Args: [{ false peer_id int} { false property String} { false value Variant}], Returns: void
func (*Node) RsetUnreliable ¶
Remotely changes the property's value on other peers (and locally) using an unreliable protocol. Args: [{ false property String} { false value Variant}], Returns: void
func (*Node) RsetUnreliableId ¶
func (o *Node) RsetUnreliableId(peerId gdnative.Int, property gdnative.String, value gdnative.Variant)
Remotely changes property's value on a specific peer identified by [code]peer_id[/code] using an unreliable protocol. Args: [{ false peer_id int} { false property String} { false value Variant}], Returns: void
func (*Node) SetDisplayFolded ¶
Sets the folded state of the node in the Scene dock. Args: [{ false fold bool}], Returns: void
func (*Node) SetFilename ¶
Undocumented Args: [{ false filename String}], Returns: void
func (*Node) SetNetworkMaster ¶
Sets the node's network master to the peer with the given peer ID. The network master is the peer that has authority over the node on the network. Useful in conjunction with the [code]master[/code] and [code]slave[/code] keywords. Inherited from the parent node by default, which ultimately defaults to peer ID 1 (the server). If [code]recursive[/code], the given peer is recursively set as the master for all children of this node. Args: [{ false id int} {True true recursive bool}], Returns: void
func (*Node) SetOwner ¶
func (o *Node) SetOwner(owner ObjectImplementer)
Undocumented Args: [{ false owner Object}], Returns: void
func (*Node) SetPauseMode ¶
Undocumented Args: [{ false mode int}], Returns: void
func (*Node) SetPhysicsProcess ¶
Enables or disables physics (i.e. fixed framerate) processing. When a node is being processed, it will receive a NOTIFICATION_PHYSICS_PROCESS at a fixed (usually 60 fps, see [OS] to change) interval (and the [method _physics_process] callback will be called if exists). Enabled automatically if [method _physics_process] is overridden. Any calls to this before [method _ready] will be ignored. Args: [{ false enable bool}], Returns: void
func (*Node) SetPhysicsProcessInternal ¶
Enables or disables internal physics for this node. Internal physics processing happens in isolation from the normal [method]_physics_process[/code] calls and is used by some nodes internally to guarantee proper functioning even if the node is paused or physics processing is disabled for scripting ([method set_physics_process]). Only useful for advanced uses to manipulate built-in nodes behaviour. Args: [{ false enable bool}], Returns: void
func (*Node) SetProcess ¶
Enables or disables processing. When a node is being processed, it will receive a NOTIFICATION_PROCESS on every drawn frame (and the [method _process] callback will be called if exists). Enabled automatically if [method _process] is overridden. Any calls to this before [method _ready] will be ignored. Args: [{ false enable bool}], Returns: void
func (*Node) SetProcessInput ¶
Enables or disables input processing. This is not required for GUI controls! Enabled automatically if [method _input] is overridden. Any calls to this before [method _ready] will be ignored. Args: [{ false enable bool}], Returns: void
func (*Node) SetProcessInternal ¶
Enables or disabled internal processing for this node. Internal processing happens in isolation from the normal [method]_process[/code] calls and is used by some nodes internally to guarantee proper functioning even if the node is paused or processing is disabled for scripting ([method set_process]). Only useful for advanced uses to manipulate built-in nodes behaviour. Args: [{ false enable bool}], Returns: void
func (*Node) SetProcessUnhandledInput ¶
Enables unhandled input processing. This is not required for GUI controls! It enables the node to receive all input that was not previously handled (usually by a [Control]). Enabled automatically if [method _unhandled_input] is overridden. Any calls to this before [method _ready] will be ignored. Args: [{ false enable bool}], Returns: void
func (*Node) SetProcessUnhandledKeyInput ¶
Enables unhandled key input processing. Enabled automatically if [method _unhandled_key_input] is overridden. Any calls to this before [method _ready] will be ignored. Args: [{ false enable bool}], Returns: void
func (*Node) SetSceneInstanceLoadPlaceholder ¶
Sets whether this is an instance load placeholder. See [InstancePlaceholder]. Args: [{ false load_placeholder bool}], Returns: void
func (*Node) X_EnterTree ¶
func (o *Node) X_EnterTree()
Called when the node enters the [SceneTree] (e.g. upon instancing, scene changing, or after calling [method add_child] in a script). If the node has children, its [method _enter_tree] callback will be called first, and then that of the children. Corresponds to the NOTIFICATION_ENTER_TREE notification in [method Object._notification]. Args: [], Returns: void
func (*Node) X_ExitTree ¶
func (o *Node) X_ExitTree()
Called when the node is about to leave the [SceneTree] (e.g. upon freeing, scene changing, or after calling [method remove_child] in a script). If the node has children, its [method _exit_tree] callback will be called last, after all its children have left the tree. Corresponds to the NOTIFICATION_EXIT_TREE notification in [method Object._notification] and signal [signal tree_exiting]. To get notified when the node has already left the active tree, connect to the [signal tree_exited] Args: [], Returns: void
func (*Node) X_GetImportPath ¶
Undocumented Args: [], Returns: NodePath
func (*Node) X_Input ¶
func (o *Node) X_Input(event InputEventImplementer)
Called when there is an input event. The input event propagates through the node tree until a node consumes it. It is only called if input processing is enabled, which is done automatically if this method is overridden, and can be toggled with [method set_process_input]. To consume the input event and stop it propagating further to other nodes, [method SceneTree.set_input_as_handled] can be called. For gameplay input, [method _unhandled_input] and [method _unhandled_key_input] are usually a better fit as they allow the GUI to intercept the events first. Args: [{ false event InputEvent}], Returns: void
func (*Node) X_PhysicsProcess ¶
Called during the physics processing step of the main loop. Physics processing means that the frame rate is synced to the physics, i.e. the [code]delta[/code] variable should be constant. It is only called if physics processing is enabled, which is done automatically if this method is overridden, and can be toggled with [method set_physics_process]. Corresponds to the NOTIFICATION_PHYSICS_PROCESS notification in [method Object._notification]. Args: [{ false delta float}], Returns: void
func (*Node) X_Process ¶
Called during the processing step of the main loop. Processing happens at every frame and as fast as possible, so the [code]delta[/code] time since the previous frame is not constant. It is only called if processing is enabled, which is done automatically if this method is overridden, and can be toggled with [method set_process]. Corresponds to the NOTIFICATION_PROCESS notification in [method Object._notification]. Args: [{ false delta float}], Returns: void
func (*Node) X_Ready ¶
func (o *Node) X_Ready()
Called when the node is "ready", i.e. when both the node and its children have entered the scene tree. If the node has children, their [method _ready] callbacks get triggered first, and the parent node will receive the ready notification afterwards. Corresponds to the NOTIFICATION_READY notification in [method Object._notification]. See also the [code]onready[/code] keyword for variables. Usually used for initialization. For even earlier initialization, [method Object._init] may be used. Also see [method _enter_tree]. Args: [], Returns: void
func (*Node) X_SetImportPath ¶
Undocumented Args: [{ false import_path NodePath}], Returns: void
func (*Node) X_UnhandledInput ¶
func (o *Node) X_UnhandledInput(event InputEventImplementer)
Propagated to all nodes when the previous [InputEvent] is not consumed by any nodes. It is only called if unhandled input processing is enabled, which is done automatically if this method is overridden, and can be toggled with [method set_process_unhandled_input]. To consume the input event and stop it propagating further to other nodes, [method SceneTree.set_input_as_handled] can be called. For gameplay input, this and [method _unhandled_key_input] are usually a better fit than [method _input] as they allow the GUI to intercept the events first. Args: [{ false event InputEvent}], Returns: void
func (*Node) X_UnhandledKeyInput ¶
func (o *Node) X_UnhandledKeyInput(event InputEventKeyImplementer)
Propagated to all nodes when the previous [InputEventKey] is not consumed by any nodes. It is only called if unhandled key input processing is enabled, which is done automatically if this method is overridden, and can be toggled with [method set_process_unhandled_key_input]. To consume the input event and stop it propagating further to other nodes, [method SceneTree.set_input_as_handled] can be called. For gameplay input, this and [method _unhandled_input] are usually a better fit than [method _input] as they allow the GUI to intercept the events first. Args: [{ false event InputEventKey}], Returns: void
type Node2D ¶
type Node2D struct { CanvasItem // contains filtered or unexported fields }
A 2D game object, with a position, rotation and scale. All 2D physics nodes and sprites inherit from Node2D. Use Node2D as a parent node to move, scale and rotate children in a 2D project. Also gives control on the node's render order.
func (*Node2D) ApplyScale ¶
Multiplies the current scale by the 'ratio' vector. Args: [{ false ratio Vector2}], Returns: void
func (*Node2D) GetAngleTo ¶
Returns the angle between the node and the 'point' in radians. Args: [{ false point Vector2}], Returns: float
func (*Node2D) GetGlobalPosition ¶
Undocumented Args: [], Returns: Vector2
func (*Node2D) GetGlobalRotation ¶
Undocumented Args: [], Returns: float
func (*Node2D) GetGlobalRotationDegrees ¶
Undocumented Args: [], Returns: float
func (*Node2D) GetGlobalScale ¶
Undocumented Args: [], Returns: Vector2
func (*Node2D) GetPosition ¶
Undocumented Args: [], Returns: Vector2
func (*Node2D) GetRelativeTransformToParent ¶
func (o *Node2D) GetRelativeTransformToParent(parent ObjectImplementer) gdnative.Transform2D
Returns the [Transform2D] relative to this node's parent. Args: [{ false parent Object}], Returns: Transform2D
func (*Node2D) GetRotation ¶
Undocumented Args: [], Returns: float
func (*Node2D) GetRotationDegrees ¶
Undocumented Args: [], Returns: float
func (*Node2D) GlobalTranslate ¶
Adds the 'offset' vector to the node's global position. Args: [{ false offset Vector2}], Returns: void
func (*Node2D) IsZRelative ¶
Undocumented Args: [], Returns: bool
func (*Node2D) LookAt ¶
Rotates the node so it points towards the 'point'. Args: [{ false point Vector2}], Returns: void
func (*Node2D) MoveLocalX ¶
Applies a local translation on the node's X axis based on the [method Node._process]'s [code]delta[/code]. If [code]scaled[/code] is false, normalizes the movement. Args: [{ false delta float} {False true scaled bool}], Returns: void
func (*Node2D) MoveLocalY ¶
Applies a local translation on the node's Y axis based on the [method Node._process]'s [code]delta[/code]. If [code]scaled[/code] is false, normalizes the movement. Args: [{ false delta float} {False true scaled bool}], Returns: void
func (*Node2D) Rotate ¶
Applies a rotation to the node, in radians, starting from its current rotation. Args: [{ false radians float}], Returns: void
func (*Node2D) SetGlobalPosition ¶
Undocumented Args: [{ false position Vector2}], Returns: void
func (*Node2D) SetGlobalRotation ¶
Undocumented Args: [{ false radians float}], Returns: void
func (*Node2D) SetGlobalRotationDegrees ¶
Undocumented Args: [{ false degrees float}], Returns: void
func (*Node2D) SetGlobalScale ¶
Undocumented Args: [{ false scale Vector2}], Returns: void
func (*Node2D) SetGlobalTransform ¶
func (o *Node2D) SetGlobalTransform(xform gdnative.Transform2D)
Undocumented Args: [{ false xform Transform2D}], Returns: void
func (*Node2D) SetPosition ¶
Undocumented Args: [{ false position Vector2}], Returns: void
func (*Node2D) SetRotation ¶
Undocumented Args: [{ false radians float}], Returns: void
func (*Node2D) SetRotationDegrees ¶
Undocumented Args: [{ false degrees float}], Returns: void
func (*Node2D) SetTransform ¶
func (o *Node2D) SetTransform(xform gdnative.Transform2D)
Undocumented Args: [{ false xform Transform2D}], Returns: void
func (*Node2D) SetZAsRelative ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Node2D) ToGlobal ¶
Converts a local point's coordinates to global coordinates. Args: [{ false local_point Vector2}], Returns: Vector2
type Node2DImplementer ¶
type Node2DImplementer interface { CanvasItemImplementer ApplyScale(ratio gdnative.Vector2) GetAngleTo(point gdnative.Vector2) gdnative.Real GetGlobalPosition() gdnative.Vector2 GetGlobalRotation() gdnative.Real GetGlobalRotationDegrees() gdnative.Real GetGlobalScale() gdnative.Vector2 GetPosition() gdnative.Vector2 GetRelativeTransformToParent(parent ObjectImplementer) gdnative.Transform2D GetRotation() gdnative.Real GetRotationDegrees() gdnative.Real GetScale() gdnative.Vector2 GetZIndex() gdnative.Int GlobalTranslate(offset gdnative.Vector2) IsZRelative() gdnative.Bool LookAt(point gdnative.Vector2) MoveLocalX(delta gdnative.Real, scaled gdnative.Bool) MoveLocalY(delta gdnative.Real, scaled gdnative.Bool) Rotate(radians gdnative.Real) SetGlobalPosition(position gdnative.Vector2) SetGlobalRotation(radians gdnative.Real) SetGlobalRotationDegrees(degrees gdnative.Real) SetGlobalScale(scale gdnative.Vector2) SetGlobalTransform(xform gdnative.Transform2D) SetPosition(position gdnative.Vector2) SetRotation(radians gdnative.Real) SetRotationDegrees(degrees gdnative.Real) SetScale(scale gdnative.Vector2) SetTransform(xform gdnative.Transform2D) SetZAsRelative(enable gdnative.Bool) SetZIndex(zIndex gdnative.Int) ToGlobal(localPoint gdnative.Vector2) gdnative.Vector2 ToLocal(globalPoint gdnative.Vector2) gdnative.Vector2 Translate(offset gdnative.Vector2) }
Node2DImplementer is an interface that implements the methods of the Node2D class.
type NodeDuplicateFlags ¶
type NodeDuplicateFlags int
NodeDuplicateFlags is an enum for DuplicateFlags values.
const ( NodeDuplicateGroups NodeDuplicateFlags = 2 NodeDuplicateScripts NodeDuplicateFlags = 4 NodeDuplicateSignals NodeDuplicateFlags = 1 NodeDuplicateUseInstancing NodeDuplicateFlags = 8 )
type NodeImplementer ¶
type NodeImplementer interface { ObjectImplementer X_EnterTree() X_ExitTree() X_GetImportPath() gdnative.NodePath X_Input(event InputEventImplementer) X_PhysicsProcess(delta gdnative.Real) X_Process(delta gdnative.Real) X_Ready() X_SetImportPath(importPath gdnative.NodePath) X_UnhandledInput(event InputEventImplementer) X_UnhandledKeyInput(event InputEventKeyImplementer) AddChild(node ObjectImplementer, legibleUniqueName gdnative.Bool) AddChildBelowNode(node ObjectImplementer, childNode ObjectImplementer, legibleUniqueName gdnative.Bool) AddToGroup(group gdnative.String, persistent gdnative.Bool) CanProcess() gdnative.Bool Duplicate(flags gdnative.Int) NodeImplementer FindNode(mask gdnative.String, recursive gdnative.Bool, owned gdnative.Bool) NodeImplementer GetChild(idx gdnative.Int) NodeImplementer GetChildCount() gdnative.Int GetChildren() gdnative.Array GetFilename() gdnative.String GetGroups() gdnative.Array GetIndex() gdnative.Int GetName() gdnative.String GetNetworkMaster() gdnative.Int GetNode(path gdnative.NodePath) NodeImplementer GetNodeAndResource(path gdnative.NodePath) gdnative.Array GetOwner() NodeImplementer GetParent() NodeImplementer GetPath() gdnative.NodePath GetPathTo(node ObjectImplementer) gdnative.NodePath GetPhysicsProcessDeltaTime() gdnative.Real GetPositionInParent() gdnative.Int GetProcessDeltaTime() gdnative.Real GetSceneInstanceLoadPlaceholder() gdnative.Bool GetTree() SceneTreeImplementer GetViewport() ViewportImplementer HasNode(path gdnative.NodePath) gdnative.Bool HasNodeAndResource(path gdnative.NodePath) gdnative.Bool IsAParentOf(node ObjectImplementer) gdnative.Bool IsDisplayedFolded() gdnative.Bool IsGreaterThan(node ObjectImplementer) gdnative.Bool IsInGroup(group gdnative.String) gdnative.Bool IsInsideTree() gdnative.Bool IsNetworkMaster() gdnative.Bool IsPhysicsProcessing() gdnative.Bool IsPhysicsProcessingInternal() gdnative.Bool IsProcessing() gdnative.Bool IsProcessingInput() gdnative.Bool IsProcessingInternal() gdnative.Bool IsProcessingUnhandledInput() gdnative.Bool IsProcessingUnhandledKeyInput() gdnative.Bool MoveChild(childNode ObjectImplementer, toPosition gdnative.Int) PrintStrayNodes() PrintTree() PropagateCall(method gdnative.String, args gdnative.Array, parentFirst gdnative.Bool) PropagateNotification(what gdnative.Int) QueueFree() Raise() RemoveAndSkip() RemoveChild(node ObjectImplementer) RemoveFromGroup(group gdnative.String) ReplaceBy(node ObjectImplementer, keepData gdnative.Bool) RequestReady() Rpc(method gdnative.String) gdnative.Variant RpcConfig(method gdnative.String, mode gdnative.Int) RpcId(peerId gdnative.Int, method gdnative.String) gdnative.Variant RpcUnreliable(method gdnative.String) gdnative.Variant RpcUnreliableId(peerId gdnative.Int, method gdnative.String) gdnative.Variant Rset(property gdnative.String, value gdnative.Variant) RsetConfig(property gdnative.String, mode gdnative.Int) RsetId(peerId gdnative.Int, property gdnative.String, value gdnative.Variant) RsetUnreliable(property gdnative.String, value gdnative.Variant) RsetUnreliableId(peerId gdnative.Int, property gdnative.String, value gdnative.Variant) SetDisplayFolded(fold gdnative.Bool) SetFilename(filename gdnative.String) SetName(name gdnative.String) SetNetworkMaster(id gdnative.Int, recursive gdnative.Bool) SetOwner(owner ObjectImplementer) SetPauseMode(mode gdnative.Int) SetPhysicsProcess(enable gdnative.Bool) SetPhysicsProcessInternal(enable gdnative.Bool) SetProcess(enable gdnative.Bool) SetProcessInput(enable gdnative.Bool) SetProcessInternal(enable gdnative.Bool) SetProcessUnhandledInput(enable gdnative.Bool) SetProcessUnhandledKeyInput(enable gdnative.Bool) SetSceneInstanceLoadPlaceholder(loadPlaceholder gdnative.Bool) }
NodeImplementer is an interface that implements the methods of the Node class.
type NodePauseMode ¶
type NodePauseMode int
NodePauseMode is an enum for PauseMode values.
const ( NodePauseModeInherit NodePauseMode = 0 NodePauseModeProcess NodePauseMode = 2 NodePauseModeStop NodePauseMode = 1 )
type NodeRPCMode ¶
type NodeRPCMode int
NodeRPCMode is an enum for RPCMode values.
const ( NodeRpcModeDisabled NodeRPCMode = 0 NodeRpcModeMaster NodeRPCMode = 3 NodeRpcModeRemote NodeRPCMode = 1 NodeRpcModeSlave NodeRPCMode = 4 NodeRpcModeSync NodeRPCMode = 2 )
type OSImplementer ¶
type OSImplementer interface { ObjectImplementer Alert(text gdnative.String, title gdnative.String) CanDraw() gdnative.Bool CanUseThreads() gdnative.Bool CenterWindow() DelayMsec(msec gdnative.Int) DelayUsec(usec gdnative.Int) DumpMemoryToFile(file gdnative.String) DumpResourcesToFile(file gdnative.String) Execute(path gdnative.String, arguments gdnative.PoolStringArray, blocking gdnative.Bool, output gdnative.Array) gdnative.Int FindScancodeFromString(string gdnative.String) gdnative.Int GetBorderlessWindow() gdnative.Bool GetClipboard() gdnative.String GetCmdlineArgs() gdnative.PoolStringArray GetCurrentScreen() gdnative.Int GetDate(utc gdnative.Bool) gdnative.Dictionary GetDatetime(utc gdnative.Bool) gdnative.Dictionary GetDatetimeFromUnixTime(unixTimeVal gdnative.Int) gdnative.Dictionary GetDynamicMemoryUsage() gdnative.Int GetEnvironment(environment gdnative.String) gdnative.String GetExecutablePath() gdnative.String GetExitCode() gdnative.Int GetLatinKeyboardVariant() gdnative.String GetLocale() gdnative.String GetModelName() gdnative.String GetName() gdnative.String GetPowerPercentLeft() gdnative.Int GetPowerSecondsLeft() gdnative.Int GetProcessId() gdnative.Int GetProcessorCount() gdnative.Int GetRealWindowSize() gdnative.Vector2 GetScancodeString(code gdnative.Int) gdnative.String GetScreenCount() gdnative.Int GetScreenDpi(screen gdnative.Int) gdnative.Int GetScreenPosition(screen gdnative.Int) gdnative.Vector2 GetScreenSize(screen gdnative.Int) gdnative.Vector2 GetSplashTickMsec() gdnative.Int GetStaticMemoryPeakUsage() gdnative.Int GetStaticMemoryUsage() gdnative.Int GetSystemDir(dir gdnative.Int) gdnative.String GetSystemTimeSecs() gdnative.Int GetTicksMsec() gdnative.Int GetTime(utc gdnative.Bool) gdnative.Dictionary GetTimeZoneInfo() gdnative.Dictionary GetUniqueId() gdnative.String GetUnixTime() gdnative.Int GetUnixTimeFromDatetime(datetime gdnative.Dictionary) gdnative.Int GetUserDataDir() gdnative.String GetVirtualKeyboardHeight() gdnative.Int GetWindowPosition() gdnative.Vector2 GetWindowSize() gdnative.Vector2 HasEnvironment(environment gdnative.String) gdnative.Bool HasFeature(tagName gdnative.String) gdnative.Bool HasTouchscreenUiHint() gdnative.Bool HasVirtualKeyboard() gdnative.Bool HideVirtualKeyboard() IsDebugBuild() gdnative.Bool IsInLowProcessorUsageMode() gdnative.Bool IsKeepScreenOn() gdnative.Bool IsOkLeftAndCancelRight() gdnative.Bool IsScancodeUnicode(code gdnative.Int) gdnative.Bool IsStdoutVerbose() gdnative.Bool IsUserfsPersistent() gdnative.Bool IsVsyncEnabled() gdnative.Bool IsWindowFullscreen() gdnative.Bool IsWindowMaximized() gdnative.Bool IsWindowMinimized() gdnative.Bool IsWindowResizable() gdnative.Bool NativeVideoIsPlaying() gdnative.Bool NativeVideoPause() NativeVideoStop() NativeVideoUnpause() PrintAllResources(tofile gdnative.String) PrintAllTexturesBySize() PrintResourcesByType(types gdnative.PoolStringArray) PrintResourcesInUse(short gdnative.Bool) RequestAttention() SetBorderlessWindow(borderless gdnative.Bool) SetClipboard(clipboard gdnative.String) SetCurrentScreen(screen gdnative.Int) SetExitCode(code gdnative.Int) SetIcon(icon ImageImplementer) SetImePosition(position gdnative.Vector2) SetKeepScreenOn(enabled gdnative.Bool) SetLowProcessorUsageMode(enable gdnative.Bool) SetScreenOrientation(orientation gdnative.Int) SetUseFileAccessSaveAndSwap(enabled gdnative.Bool) SetUseVsync(enable gdnative.Bool) SetWindowFullscreen(enabled gdnative.Bool) SetWindowMaximized(enabled gdnative.Bool) SetWindowMinimized(enabled gdnative.Bool) SetWindowPosition(position gdnative.Vector2) SetWindowResizable(enabled gdnative.Bool) SetWindowSize(size gdnative.Vector2) SetWindowTitle(title gdnative.String) ShowVirtualKeyboard(existingText gdnative.String) }
OSImplementer is an interface that implements the methods of the OS class.
type Object ¶
type Object struct {
// contains filtered or unexported fields
}
Base class for all non built-in types. Everything not a built-in type starts the inheritance chain from this class. Objects do not manage memory, if inheriting from one the object will most likely have to be deleted manually (call the [method free] function from the script or delete from C++). Some derivatives add memory management, such as Reference (which keeps a reference count and deletes itself automatically when no longer referenced) and Node, which deletes the children tree when deleted. Objects export properties, which are mainly useful for storage and editing, but not really so much in programming. Properties are exported in [method _get_property_list] and handled in [method _get] and [method _set]. However, scripting languages and C++ have simpler means to export them. Objects also receive notifications ([method _notification]). Notifications are a simple way to notify the object about simple events, so they can all be handled together.
func (*Object) AddUserSignal ¶
Adds a user-defined [code]signal[/code]. Arguments are optional, but can be added as an [Array] of dictionaries, each containing "name" and "type" (from [@GlobalScope] TYPE_*). Args: [{ false signal String} {[] true arguments Array}], Returns: void
func (*Object) Call ¶
Calls the [code]method[/code] on the object and returns a result. Pass parameters as a comma separated list. Args: [{ false method String}], Returns: Variant
func (*Object) CallDeferred ¶
Calls the [code]method[/code] on the object during idle time and returns a result. Pass parameters as a comma separated list. Args: [{ false method String}], Returns: Variant
func (*Object) Callv ¶
Calls the [code]method[/code] on the object and returns a result. Pass parameters as an [Array]. Args: [{ false method String} { false arg_array Array}], Returns: Variant
func (*Object) CanTranslateMessages ¶
Returns [code]true[/code] if the object can translate strings. Args: [], Returns: bool
func (*Object) Connect ¶
func (o *Object) Connect(signal gdnative.String, target ObjectImplementer, method gdnative.String, binds gdnative.Array, flags gdnative.Int) gdnative.Error
Connects a [code]signal[/code] to a [code]method[/code] on a [code]target[/code] object. Pass optional [code]binds[/code] to the call. Use [code]flags[/code] to set deferred or one shot connections. See [code]CONNECT_*[/code] constants. A [code]signal[/code] can only be connected once to a [code]method[/code]. It will throw an error if already connected. To avoid this, first use [method is_connected] to check for existing connections. Args: [{ false signal String} { false target Object} { false method String} {[] true binds Array} {0 true flags int}], Returns: enum.Error
func (*Object) Disconnect ¶
func (o *Object) Disconnect(signal gdnative.String, target ObjectImplementer, method gdnative.String)
Disconnects a [code]signal[/code] from a [code]method[/code] on the given [code]target[/code]. Args: [{ false signal String} { false target Object} { false method String}], Returns: void
func (*Object) EmitSignal ¶
Emits the given [code]signal[/code]. Args: [{ false signal String}], Returns: Variant
func (*Object) Free ¶
func (o *Object) Free()
Deletes the object from memory. Args: [], Returns: void
func (*Object) Get ¶
Returns a [Variant] for a [code]property[/code]. Args: [{ false property String}], Returns: Variant
func (*Object) GetBaseObject ¶
func (*Object) GetIncomingConnections ¶
Returns an [Array] of dictionaries with information about signals that are connected to the object. Inside each [Dictionary] there are 3 fields: - "source" is a reference to signal emitter. - "signal_name" is name of connected signal. - "method_name" is a name of method to which signal is connected. Args: [], Returns: Array
func (*Object) GetIndexed ¶
Args: [{ false property NodePath}], Returns: Variant
func (*Object) GetInstanceId ¶
Returns the object's unique instance ID. Args: [], Returns: int
func (*Object) GetMeta ¶
Returns the object's metadata for the given [code]name[/code]. Args: [{ false name String}], Returns: Variant
func (*Object) GetMetaList ¶
func (o *Object) GetMetaList() gdnative.PoolStringArray
Returns the object's metadata as a [PoolStringArray]. Args: [], Returns: PoolStringArray
func (*Object) GetMethodList ¶
Returns the object's methods and their signatures as an [Array]. Args: [], Returns: Array
func (*Object) GetPropertyList ¶
Returns the list of properties as an [Array] of dictionaries. Dictionaries contain: name:String, type:int (see TYPE_* enum in [@GlobalScope]) and optionally: hint:int (see PROPERTY_HINT_* in [@GlobalScope]), hint_string:String, usage:int (see PROPERTY_USAGE_* in [@GlobalScope]). Args: [], Returns: Array
func (*Object) GetScript ¶
func (o *Object) GetScript() ReferenceImplementer
Returns the object's [Script] or [code]null[/code] if one doesn't exist. Args: [], Returns: Reference
func (*Object) GetSignalConnectionList ¶
Returns an [Array] of connections for the given [code]signal[/code]. Args: [{ false signal String}], Returns: Array
func (*Object) GetSignalList ¶
Returns the list of signals as an [Array] of dictionaries. Args: [], Returns: Array
func (*Object) HasMeta ¶
Returns [code]true[/code] if a metadata is found with the given [code]name[/code]. Args: [{ false name String}], Returns: bool
func (*Object) HasMethod ¶
Returns [code]true[/code] if the object contains the given [code]method[/code]. Args: [{ false method String}], Returns: bool
func (*Object) HasUserSignal ¶
Returns [code]true[/code] if the given user-defined [code]signal[/code] exists. Args: [{ false signal String}], Returns: bool
func (*Object) IsBlockingSignals ¶
Returns [code]true[/code] if signal emission blocking is enabled. Args: [], Returns: bool
func (*Object) IsClass ¶
Returns [code]true[/code] if the object inherits from the given [code]type[/code]. Args: [{ false type String}], Returns: bool
func (*Object) IsConnected ¶
func (o *Object) IsConnected(signal gdnative.String, target ObjectImplementer, method gdnative.String) gdnative.Bool
Returns [code]true[/code] if a connection exists for a given [code]signal[/code], [code]target[/code], and [code]method[/code]. Args: [{ false signal String} { false target Object} { false method String}], Returns: bool
func (*Object) IsQueuedForDeletion ¶
Returns [code]true[/code] if the [code]queue_free[/code] method was called for the object. Args: [], Returns: bool
func (*Object) Notification ¶
Notify the object of something. Args: [{ false what int} {False true reversed bool}], Returns: void
func (*Object) PropertyListChangedNotify ¶
func (o *Object) PropertyListChangedNotify()
Args: [], Returns: void
func (*Object) Set ¶
Set property into the object. Args: [{ false property String} { false value Variant}], Returns: void
func (*Object) SetBaseObject ¶
SetBaseObject will internally set the Godot object inside the struct. This is used to call parent methods.
func (*Object) SetBlockSignals ¶
If set to true, signal emission is blocked. Args: [{ false enable bool}], Returns: void
func (*Object) SetIndexed ¶
Args: [{ false property NodePath} { false value Variant}], Returns: void
func (*Object) SetMessageTranslation ¶
Define whether the object can translate strings (with calls to [method tr]). Default is true. Args: [{ false enable bool}], Returns: void
func (*Object) SetMeta ¶
Set a metadata into the object. Metadata is serialized. Metadata can be [i]anything[/i]. Args: [{ false name String} { false value Variant}], Returns: void
func (*Object) SetScript ¶
func (o *Object) SetScript(script ReferenceImplementer)
Set a script into the object, scripts extend the object functionality. Args: [{ false script Reference}], Returns: void
func (*Object) Tr ¶
Translate a message. Only works if message translation is enabled (which it is by default). See [method set_message_translation]. Args: [{ false message String}], Returns: String
func (*Object) X_Get ¶
Returns the given property. Returns [code]null[/code] if the [code]property[/code] does not exist. Args: [{ false property String}], Returns: void
func (*Object) X_GetPropertyList ¶
Returns the object's property list as an [Array] of dictionaries. Dictionaries must contain: name:String, type:int (see TYPE_* enum in [@GlobalScope]) and optionally: hint:int (see PROPERTY_HINT_* in [@GlobalScope]), hint_string:String, usage:int (see PROPERTY_USAGE_* in [@GlobalScope]). Args: [], Returns: Array
func (*Object) X_Init ¶
func (o *Object) X_Init()
The virtual method called upon initialization. Args: [], Returns: void
func (*Object) X_Notification ¶
Notify the object internally using an ID. Args: [{ false what int}], Returns: void
type ObjectConnectFlags ¶
type ObjectConnectFlags int
ObjectConnectFlags is an enum for ConnectFlags values.
const ( ObjectConnectDeferred ObjectConnectFlags = 1 ObjectConnectOneshot ObjectConnectFlags = 4 ObjectConnectPersist ObjectConnectFlags = 2 )
type ObjectImplementer ¶
type ObjectImplementer interface { Class X_Get(property gdnative.String) X_GetPropertyList() gdnative.Array X_Init() X_Notification(what gdnative.Int) X_Set(property gdnative.String, value gdnative.Variant) gdnative.Bool AddUserSignal(signal gdnative.String, arguments gdnative.Array) Call(method gdnative.String) gdnative.Variant CallDeferred(method gdnative.String) gdnative.Variant Callv(method gdnative.String, argArray gdnative.Array) gdnative.Variant CanTranslateMessages() gdnative.Bool Disconnect(signal gdnative.String, target ObjectImplementer, method gdnative.String) EmitSignal(signal gdnative.String) gdnative.Variant Free() Get(property gdnative.String) gdnative.Variant GetClass() gdnative.String GetIncomingConnections() gdnative.Array GetIndexed(property gdnative.NodePath) gdnative.Variant GetInstanceId() gdnative.Int GetMeta(name gdnative.String) gdnative.Variant GetMetaList() gdnative.PoolStringArray GetMethodList() gdnative.Array GetPropertyList() gdnative.Array GetScript() ReferenceImplementer GetSignalConnectionList(signal gdnative.String) gdnative.Array GetSignalList() gdnative.Array HasMeta(name gdnative.String) gdnative.Bool HasMethod(method gdnative.String) gdnative.Bool HasUserSignal(signal gdnative.String) gdnative.Bool IsBlockingSignals() gdnative.Bool IsClass(aType gdnative.String) gdnative.Bool IsConnected(signal gdnative.String, target ObjectImplementer, method gdnative.String) gdnative.Bool IsQueuedForDeletion() gdnative.Bool Notification(what gdnative.Int, reversed gdnative.Bool) PropertyListChangedNotify() Set(property gdnative.String, value gdnative.Variant) SetBlockSignals(enable gdnative.Bool) SetIndexed(property gdnative.NodePath, value gdnative.Variant) SetMessageTranslation(enable gdnative.Bool) SetMeta(name gdnative.String, value gdnative.Variant) SetScript(script ReferenceImplementer) Tr(message gdnative.String) gdnative.String }
ObjectImplementer is an interface that implements the methods of the Object class.
type OccluderPolygon2D ¶
type OccluderPolygon2D struct { Resource // contains filtered or unexported fields }
Editor facility that helps you draw a 2D polygon used as resource for LightOccluder2D.
func (*OccluderPolygon2D) BaseClass ¶
func (o *OccluderPolygon2D) BaseClass() string
func (*OccluderPolygon2D) GetCullMode ¶
func (o *OccluderPolygon2D) GetCullMode() OccluderPolygon2DCullMode
Undocumented Args: [], Returns: enum.OccluderPolygon2D::CullMode
func (*OccluderPolygon2D) GetPolygon ¶
func (o *OccluderPolygon2D) GetPolygon() gdnative.PoolVector2Array
Undocumented Args: [], Returns: PoolVector2Array
func (*OccluderPolygon2D) IsClosed ¶
func (o *OccluderPolygon2D) IsClosed() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*OccluderPolygon2D) SetClosed ¶
func (o *OccluderPolygon2D) SetClosed(closed gdnative.Bool)
Undocumented Args: [{ false closed bool}], Returns: void
func (*OccluderPolygon2D) SetCullMode ¶
func (o *OccluderPolygon2D) SetCullMode(cullMode gdnative.Int)
Undocumented Args: [{ false cull_mode int}], Returns: void
func (*OccluderPolygon2D) SetPolygon ¶
func (o *OccluderPolygon2D) SetPolygon(polygon gdnative.PoolVector2Array)
Undocumented Args: [{ false polygon PoolVector2Array}], Returns: void
type OccluderPolygon2DCullMode ¶
type OccluderPolygon2DCullMode int
OccluderPolygon2DCullMode is an enum for CullMode values.
const ( OccluderPolygon2DCullClockwise OccluderPolygon2DCullMode = 1 OccluderPolygon2DCullCounterClockwise OccluderPolygon2DCullMode = 2 OccluderPolygon2DCullDisabled OccluderPolygon2DCullMode = 0 )
type OccluderPolygon2DImplementer ¶
type OccluderPolygon2DImplementer interface { ResourceImplementer GetPolygon() gdnative.PoolVector2Array IsClosed() gdnative.Bool SetClosed(closed gdnative.Bool) SetCullMode(cullMode gdnative.Int) SetPolygon(polygon gdnative.PoolVector2Array) }
OccluderPolygon2DImplementer is an interface that implements the methods of the OccluderPolygon2D class.
type OmniLight ¶
type OmniLight struct { Light // contains filtered or unexported fields }
An OmniDirectional light is a type of Light node that emits lights in all directions. The light is attenuated through the distance and this attenuation can be configured by changing the energy, radius and attenuation parameters of Light.
func (*OmniLight) GetShadowDetail ¶
func (o *OmniLight) GetShadowDetail() OmniLightShadowDetail
Undocumented Args: [], Returns: enum.OmniLight::ShadowDetail
func (*OmniLight) GetShadowMode ¶
func (o *OmniLight) GetShadowMode() OmniLightShadowMode
Undocumented Args: [], Returns: enum.OmniLight::ShadowMode
func (*OmniLight) SetShadowDetail ¶
Undocumented Args: [{ false detail int}], Returns: void
func (*OmniLight) SetShadowMode ¶
Undocumented Args: [{ false mode int}], Returns: void
type OmniLightImplementer ¶
type OmniLightImplementer interface { LightImplementer SetShadowDetail(detail gdnative.Int) SetShadowMode(mode gdnative.Int) }
OmniLightImplementer is an interface that implements the methods of the OmniLight class.
type OmniLightShadowDetail ¶
type OmniLightShadowDetail int
OmniLightShadowDetail is an enum for ShadowDetail values.
const ( OmniLightShadowDetailHorizontal OmniLightShadowDetail = 1 OmniLightShadowDetailVertical OmniLightShadowDetail = 0 )
type OmniLightShadowMode ¶
type OmniLightShadowMode int
OmniLightShadowMode is an enum for ShadowMode values.
const ( OmniLightShadowCube OmniLightShadowMode = 1 OmniLightShadowDualParaboloid OmniLightShadowMode = 0 )
type OptionButton ¶
type OptionButton struct { Button // contains filtered or unexported fields }
OptionButton is a type button that provides a selectable list of items when pressed. The item selected becomes the "current" item and is displayed as the button text.
func (*OptionButton) AddIconItem ¶
func (o *OptionButton) AddIconItem(texture TextureImplementer, label gdnative.String, id gdnative.Int)
Add an item, with a "texture" icon, text "label" and (optionally) id. If no "id" is passed, "id" becomes the item index. New items are appended at the end. Args: [{ false texture Texture} { false label String} { false id int}], Returns: void
func (*OptionButton) AddItem ¶
func (o *OptionButton) AddItem(label gdnative.String, id gdnative.Int)
Add an item, with text "label" and (optionally) id. If no "id" is passed, "id" becomes the item index. New items are appended at the end. Args: [{ false label String} {-1 true id int}], Returns: void
func (*OptionButton) AddSeparator ¶
func (o *OptionButton) AddSeparator()
Add a separator to the list of items. Separators help to group items. Separator also takes up an index and is appended at the end. Args: [], Returns: void
func (*OptionButton) BaseClass ¶
func (o *OptionButton) BaseClass() string
func (*OptionButton) Clear ¶
func (o *OptionButton) Clear()
Clear all the items in the [code]OptionButton[/code]. Args: [], Returns: void
func (*OptionButton) GetItemCount ¶
func (o *OptionButton) GetItemCount() gdnative.Int
Return the amount of items in the OptionButton. Args: [], Returns: int
func (*OptionButton) GetItemIcon ¶
func (o *OptionButton) GetItemIcon(idx gdnative.Int) TextureImplementer
Return the icon of the item at index "idx". Args: [{ false idx int}], Returns: Texture
func (*OptionButton) GetItemId ¶
func (o *OptionButton) GetItemId(idx gdnative.Int) gdnative.Int
Return the ID of the item at index "idx". Args: [{ false idx int}], Returns: int
func (*OptionButton) GetItemMetadata ¶
func (o *OptionButton) GetItemMetadata(idx gdnative.Int) gdnative.Variant
Args: [{ false idx int}], Returns: Variant
func (*OptionButton) GetItemText ¶
func (o *OptionButton) GetItemText(idx gdnative.Int) gdnative.String
Return the text of the item at index "idx". Args: [{ false idx int}], Returns: String
func (*OptionButton) GetPopup ¶
func (o *OptionButton) GetPopup() PopupMenuImplementer
Return the [PopupMenu] contained in this button. Args: [], Returns: PopupMenu
func (*OptionButton) GetSelected ¶
func (o *OptionButton) GetSelected() gdnative.Int
Undocumented Args: [], Returns: int
func (*OptionButton) GetSelectedId ¶
func (o *OptionButton) GetSelectedId() gdnative.Int
Args: [], Returns: int
func (*OptionButton) GetSelectedMetadata ¶
func (o *OptionButton) GetSelectedMetadata() gdnative.Variant
Args: [], Returns: Variant
func (*OptionButton) IsItemDisabled ¶
func (o *OptionButton) IsItemDisabled(idx gdnative.Int) gdnative.Bool
Args: [{ false idx int}], Returns: bool
func (*OptionButton) RemoveItem ¶
func (o *OptionButton) RemoveItem(idx gdnative.Int)
Args: [{ false idx int}], Returns: void
func (*OptionButton) Select ¶
func (o *OptionButton) Select(idx gdnative.Int)
Select an item by index and make it the current item. Args: [{ false idx int}], Returns: void
func (*OptionButton) SetItemDisabled ¶
func (o *OptionButton) SetItemDisabled(idx gdnative.Int, disabled gdnative.Bool)
Args: [{ false idx int} { false disabled bool}], Returns: void
func (*OptionButton) SetItemIcon ¶
func (o *OptionButton) SetItemIcon(idx gdnative.Int, texture TextureImplementer)
Set the icon of an item at index "idx". Args: [{ false idx int} { false texture Texture}], Returns: void
func (*OptionButton) SetItemId ¶
func (o *OptionButton) SetItemId(idx gdnative.Int, id gdnative.Int)
Set the ID of an item at index "idx". Args: [{ false idx int} { false id int}], Returns: void
func (*OptionButton) SetItemMetadata ¶
func (o *OptionButton) SetItemMetadata(idx gdnative.Int, metadata gdnative.Variant)
Args: [{ false idx int} { false metadata Variant}], Returns: void
func (*OptionButton) SetItemText ¶
func (o *OptionButton) SetItemText(idx gdnative.Int, text gdnative.String)
Set the text of an item at index "idx". Args: [{ false idx int} { false text String}], Returns: void
func (*OptionButton) X_GetItems ¶
func (o *OptionButton) X_GetItems() gdnative.Array
Undocumented Args: [], Returns: Array
func (*OptionButton) X_SelectInt ¶
func (o *OptionButton) X_SelectInt(arg0 gdnative.Int)
Undocumented Args: [{ false arg0 int}], Returns: void
func (*OptionButton) X_Selected ¶
func (o *OptionButton) X_Selected(arg0 gdnative.Int)
Undocumented Args: [{ false arg0 int}], Returns: void
func (*OptionButton) X_SetItems ¶
func (o *OptionButton) X_SetItems(arg0 gdnative.Array)
Undocumented Args: [{ false arg0 Array}], Returns: void
type OptionButtonImplementer ¶
type OptionButtonImplementer interface { ButtonImplementer X_GetItems() gdnative.Array X_SelectInt(arg0 gdnative.Int) X_Selected(arg0 gdnative.Int) X_SetItems(arg0 gdnative.Array) AddIconItem(texture TextureImplementer, label gdnative.String, id gdnative.Int) AddItem(label gdnative.String, id gdnative.Int) AddSeparator() Clear() GetItemCount() gdnative.Int GetItemIcon(idx gdnative.Int) TextureImplementer GetItemId(idx gdnative.Int) gdnative.Int GetItemMetadata(idx gdnative.Int) gdnative.Variant GetItemText(idx gdnative.Int) gdnative.String GetPopup() PopupMenuImplementer GetSelected() gdnative.Int GetSelectedId() gdnative.Int GetSelectedMetadata() gdnative.Variant IsItemDisabled(idx gdnative.Int) gdnative.Bool RemoveItem(idx gdnative.Int) Select(idx gdnative.Int) SetItemDisabled(idx gdnative.Int, disabled gdnative.Bool) SetItemIcon(idx gdnative.Int, texture TextureImplementer) SetItemId(idx gdnative.Int, id gdnative.Int) SetItemMetadata(idx gdnative.Int, metadata gdnative.Variant) SetItemText(idx gdnative.Int, text gdnative.String) }
OptionButtonImplementer is an interface that implements the methods of the OptionButton class.
type PCKPacker ¶
type PCKPacker struct { Reference // contains filtered or unexported fields }
func (*PCKPacker) AddFile ¶
Args: [{ false pck_path String} { false source_path String}], Returns: enum.Error
type PCKPackerImplementer ¶
type PCKPackerImplementer interface { ReferenceImplementer }
PCKPackerImplementer is an interface that implements the methods of the PCKPacker class.
type PHashTranslation ¶
type PHashTranslation struct { Translation // contains filtered or unexported fields }
Optimized translation. Uses real-time compressed translations, which results in very small dictionaries.
func (*PHashTranslation) BaseClass ¶
func (o *PHashTranslation) BaseClass() string
func (*PHashTranslation) Generate ¶
func (o *PHashTranslation) Generate(from TranslationImplementer)
Args: [{ false from Translation}], Returns: void
type PHashTranslationImplementer ¶
type PHashTranslationImplementer interface { TranslationImplementer Generate(from TranslationImplementer) }
PHashTranslationImplementer is an interface that implements the methods of the PHashTranslation class.
type PackedDataContainer ¶
type PackedDataContainer struct { Resource // contains filtered or unexported fields }
func (*PackedDataContainer) BaseClass ¶
func (o *PackedDataContainer) BaseClass() string
func (*PackedDataContainer) Pack ¶
func (o *PackedDataContainer) Pack(value gdnative.Variant) gdnative.Error
Args: [{ false value Variant}], Returns: enum.Error
func (*PackedDataContainer) Size ¶
func (o *PackedDataContainer) Size() gdnative.Int
Args: [], Returns: int
func (*PackedDataContainer) X_GetData ¶
func (o *PackedDataContainer) X_GetData() gdnative.PoolByteArray
Undocumented Args: [], Returns: PoolByteArray
func (*PackedDataContainer) X_IterGet ¶
func (o *PackedDataContainer) X_IterGet(arg0 gdnative.Variant) gdnative.Variant
Undocumented Args: [{ false arg0 Variant}], Returns: Variant
func (*PackedDataContainer) X_IterInit ¶
func (o *PackedDataContainer) X_IterInit(arg0 gdnative.Array) gdnative.Variant
Undocumented Args: [{ false arg0 Array}], Returns: Variant
func (*PackedDataContainer) X_IterNext ¶
func (o *PackedDataContainer) X_IterNext(arg0 gdnative.Array) gdnative.Variant
Undocumented Args: [{ false arg0 Array}], Returns: Variant
func (*PackedDataContainer) X_SetData ¶
func (o *PackedDataContainer) X_SetData(arg0 gdnative.PoolByteArray)
Undocumented Args: [{ false arg0 PoolByteArray}], Returns: void
type PackedDataContainerImplementer ¶
type PackedDataContainerImplementer interface { ResourceImplementer X_GetData() gdnative.PoolByteArray X_IterGet(arg0 gdnative.Variant) gdnative.Variant X_IterInit(arg0 gdnative.Array) gdnative.Variant X_IterNext(arg0 gdnative.Array) gdnative.Variant X_SetData(arg0 gdnative.PoolByteArray) Size() gdnative.Int }
PackedDataContainerImplementer is an interface that implements the methods of the PackedDataContainer class.
type PackedDataContainerRef ¶
type PackedDataContainerRef struct { Reference // contains filtered or unexported fields }
func (*PackedDataContainerRef) BaseClass ¶
func (o *PackedDataContainerRef) BaseClass() string
func (*PackedDataContainerRef) Size ¶
func (o *PackedDataContainerRef) Size() gdnative.Int
Args: [], Returns: int
func (*PackedDataContainerRef) X_IsDictionary ¶
func (o *PackedDataContainerRef) X_IsDictionary() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*PackedDataContainerRef) X_IterGet ¶
func (o *PackedDataContainerRef) X_IterGet(arg0 gdnative.Variant) gdnative.Variant
Undocumented Args: [{ false arg0 Variant}], Returns: Variant
func (*PackedDataContainerRef) X_IterInit ¶
func (o *PackedDataContainerRef) X_IterInit(arg0 gdnative.Array) gdnative.Variant
Undocumented Args: [{ false arg0 Array}], Returns: Variant
func (*PackedDataContainerRef) X_IterNext ¶
func (o *PackedDataContainerRef) X_IterNext(arg0 gdnative.Array) gdnative.Variant
Undocumented Args: [{ false arg0 Array}], Returns: Variant
type PackedDataContainerRefImplementer ¶
type PackedDataContainerRefImplementer interface { ReferenceImplementer X_IsDictionary() gdnative.Bool X_IterGet(arg0 gdnative.Variant) gdnative.Variant X_IterInit(arg0 gdnative.Array) gdnative.Variant X_IterNext(arg0 gdnative.Array) gdnative.Variant Size() gdnative.Int }
PackedDataContainerRefImplementer is an interface that implements the methods of the PackedDataContainerRef class.
type PackedScene ¶
type PackedScene struct { Resource // contains filtered or unexported fields }
A simplified interface to a scene file. Provides access to operations and checks that can be performed on the scene resource itself. TODO: explain ownership, and that node does not need to own itself
func (*PackedScene) BaseClass ¶
func (o *PackedScene) BaseClass() string
func (*PackedScene) CanInstance ¶
func (o *PackedScene) CanInstance() gdnative.Bool
Returns [code]true[/code] if the scene file has nodes. Args: [], Returns: bool
func (*PackedScene) GetState ¶
func (o *PackedScene) GetState() SceneStateImplementer
Returns the [code]SceneState[/code] representing the scene file contents. Args: [], Returns: SceneState
func (*PackedScene) Instance ¶
func (o *PackedScene) Instance(editState gdnative.Int) NodeImplementer
Instantiates the scene's node hierarchy. Triggers child scene instantiation(s). Triggers the [enum Object.NOTIFICATION_INSTANCED] notification on the root node. Args: [{0 true edit_state int}], Returns: Node
func (*PackedScene) Pack ¶
func (o *PackedScene) Pack(path ObjectImplementer) gdnative.Error
Pack will ignore any sub-nodes not owned by given node. See [method Node.set_owner]. Args: [{ false path Object}], Returns: enum.Error
func (*PackedScene) X_GetBundledScene ¶
func (o *PackedScene) X_GetBundledScene() gdnative.Dictionary
Undocumented Args: [], Returns: Dictionary
func (*PackedScene) X_SetBundledScene ¶
func (o *PackedScene) X_SetBundledScene(arg0 gdnative.Dictionary)
Undocumented Args: [{ false arg0 Dictionary}], Returns: void
type PackedSceneGenEditState ¶
type PackedSceneGenEditState int
PackedSceneGenEditState is an enum for GenEditState values.
const ( PackedSceneGenEditStateDisabled PackedSceneGenEditState = 0 PackedSceneGenEditStateInstance PackedSceneGenEditState = 1 PackedSceneGenEditStateMain PackedSceneGenEditState = 2 )
type PackedSceneImplementer ¶
type PackedSceneImplementer interface { ResourceImplementer X_GetBundledScene() gdnative.Dictionary X_SetBundledScene(arg0 gdnative.Dictionary) CanInstance() gdnative.Bool GetState() SceneStateImplementer Instance(editState gdnative.Int) NodeImplementer }
PackedSceneImplementer is an interface that implements the methods of the PackedScene class.
type PacketPeer ¶
type PacketPeer struct { Reference // contains filtered or unexported fields }
PacketPeer is an abstraction and base class for packet-based protocols (such as UDP). It provides an API for sending and receiving packets both as raw data or variables. This makes it easy to transfer data over a protocol, without having to encode data as low level bytes or having to worry about network ordering.
func (*PacketPeer) BaseClass ¶
func (o *PacketPeer) BaseClass() string
func (*PacketPeer) GetAvailablePacketCount ¶
func (o *PacketPeer) GetAvailablePacketCount() gdnative.Int
Return the number of packets currently available in the ring-buffer. Args: [], Returns: int
func (*PacketPeer) GetPacket ¶
func (o *PacketPeer) GetPacket() gdnative.PoolByteArray
Get a raw packet. Args: [], Returns: PoolByteArray
func (*PacketPeer) GetPacketError ¶
func (o *PacketPeer) GetPacketError() gdnative.Error
Return the error state of the last packet received (via [method get_packet] and [method get_var]). Args: [], Returns: enum.Error
func (*PacketPeer) GetVar ¶
func (o *PacketPeer) GetVar() gdnative.Variant
Get a Variant. Args: [], Returns: Variant
func (*PacketPeer) IsObjectDecodingAllowed ¶
func (o *PacketPeer) IsObjectDecodingAllowed() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*PacketPeer) PutPacket ¶
func (o *PacketPeer) PutPacket(buffer gdnative.PoolByteArray) gdnative.Error
Send a raw packet. Args: [{ false buffer PoolByteArray}], Returns: enum.Error
func (*PacketPeer) PutVar ¶
func (o *PacketPeer) PutVar(variable gdnative.Variant) gdnative.Error
Send a Variant as a packet. Args: [{ false var Variant}], Returns: enum.Error
func (*PacketPeer) SetAllowObjectDecoding ¶
func (o *PacketPeer) SetAllowObjectDecoding(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
type PacketPeerImplementer ¶
type PacketPeerImplementer interface { ReferenceImplementer GetAvailablePacketCount() gdnative.Int GetPacket() gdnative.PoolByteArray GetVar() gdnative.Variant IsObjectDecodingAllowed() gdnative.Bool SetAllowObjectDecoding(enable gdnative.Bool) }
PacketPeerImplementer is an interface that implements the methods of the PacketPeer class.
type PacketPeerStream ¶
type PacketPeerStream struct { PacketPeer // contains filtered or unexported fields }
PacketStreamPeer provides a wrapper for working using packets over a stream. This allows for using packet based code with StreamPeers. PacketPeerStream implements a custom protocol over the StreamPeer, so the user should not read or write to the wrapped StreamPeer directly.
func (*PacketPeerStream) BaseClass ¶
func (o *PacketPeerStream) BaseClass() string
func (*PacketPeerStream) GetInputBufferMaxSize ¶
func (o *PacketPeerStream) GetInputBufferMaxSize() gdnative.Int
Undocumented Args: [], Returns: int
func (*PacketPeerStream) GetOutputBufferMaxSize ¶
func (o *PacketPeerStream) GetOutputBufferMaxSize() gdnative.Int
Undocumented Args: [], Returns: int
func (*PacketPeerStream) GetStreamPeer ¶
func (o *PacketPeerStream) GetStreamPeer() StreamPeerImplementer
Undocumented Args: [], Returns: StreamPeer
func (*PacketPeerStream) SetInputBufferMaxSize ¶
func (o *PacketPeerStream) SetInputBufferMaxSize(maxSizeBytes gdnative.Int)
Undocumented Args: [{ false max_size_bytes int}], Returns: void
func (*PacketPeerStream) SetOutputBufferMaxSize ¶
func (o *PacketPeerStream) SetOutputBufferMaxSize(maxSizeBytes gdnative.Int)
Undocumented Args: [{ false max_size_bytes int}], Returns: void
func (*PacketPeerStream) SetStreamPeer ¶
func (o *PacketPeerStream) SetStreamPeer(peer StreamPeerImplementer)
Undocumented Args: [{ false peer StreamPeer}], Returns: void
type PacketPeerStreamImplementer ¶
type PacketPeerStreamImplementer interface { PacketPeerImplementer GetInputBufferMaxSize() gdnative.Int GetOutputBufferMaxSize() gdnative.Int GetStreamPeer() StreamPeerImplementer SetInputBufferMaxSize(maxSizeBytes gdnative.Int) SetOutputBufferMaxSize(maxSizeBytes gdnative.Int) SetStreamPeer(peer StreamPeerImplementer) }
PacketPeerStreamImplementer is an interface that implements the methods of the PacketPeerStream class.
type PacketPeerUDP ¶
type PacketPeerUDP struct { PacketPeer // contains filtered or unexported fields }
UDP packet peer. Can be used to send raw UDP packets as well as [Variant]s.
func (*PacketPeerUDP) BaseClass ¶
func (o *PacketPeerUDP) BaseClass() string
func (*PacketPeerUDP) Close ¶
func (o *PacketPeerUDP) Close()
Close the UDP socket the [code]PacketPeerUDP[/code] is currently listening on. Args: [], Returns: void
func (*PacketPeerUDP) GetPacketIp ¶
func (o *PacketPeerUDP) GetPacketIp() gdnative.String
Return the IP of the remote peer that sent the last packet(that was received with [method get_packet] or [method get_var]). Args: [], Returns: String
func (*PacketPeerUDP) GetPacketPort ¶
func (o *PacketPeerUDP) GetPacketPort() gdnative.Int
Return the port of the remote peer that sent the last packet(that was received with [method get_packet] or [method get_var]). Args: [], Returns: int
func (*PacketPeerUDP) IsListening ¶
func (o *PacketPeerUDP) IsListening() gdnative.Bool
Return whether this [code]PacketPeerUDP[/code] is listening. Args: [], Returns: bool
func (*PacketPeerUDP) Listen ¶
func (o *PacketPeerUDP) Listen(port gdnative.Int, bindAddress gdnative.String, recvBufSize gdnative.Int) gdnative.Error
Make this [code]PacketPeerUDP[/code] listen on the "port" binding to "bind_address" with a buffer size "recv_buf_size". If "bind_address" is set as "*" (default), the peer will listen on all available addresses (both IPv4 and IPv6). If "bind_address" is set as "0.0.0.0" (for IPv4) or "::" (for IPv6), the peer will listen on all available addresses matching that IP type. If "bind_address" is set to any valid address (e.g. "192.168.1.101", "::1", etc), the peer will only listen on the interface with that addresses (or fail if no interface with the given address exists). Args: [{ false port int} {* true bind_address String} {65536 true recv_buf_size int}], Returns: enum.Error
func (*PacketPeerUDP) SetDestAddress ¶
Set the destination address and port for sending packets and variables, a hostname will be resolved using if valid. Args: [{ false host String} { false port int}], Returns: enum.Error
func (*PacketPeerUDP) Wait ¶
func (o *PacketPeerUDP) Wait() gdnative.Error
Wait for a packet to arrive on the listening port, see [method listen]. Args: [], Returns: enum.Error
type PacketPeerUDPImplementer ¶
type PacketPeerUDPImplementer interface { PacketPeerImplementer Close() GetPacketIp() gdnative.String GetPacketPort() gdnative.Int IsListening() gdnative.Bool }
PacketPeerUDPImplementer is an interface that implements the methods of the PacketPeerUDP class.
type Panel ¶
type Panel struct { Control // contains filtered or unexported fields }
Panel is a Control that displays an opaque background. It's commonly used as a parent and container for other types of Control nodes.
type PanelContainer ¶
type PanelContainer struct { Container // contains filtered or unexported fields }
Panel container type. This container fits controls inside of the delimited area of a stylebox. It's useful for giving controls an outline.
func (*PanelContainer) BaseClass ¶
func (o *PanelContainer) BaseClass() string
type PanelContainerImplementer ¶
type PanelContainerImplementer interface { ContainerImplementer }
PanelContainerImplementer is an interface that implements the methods of the PanelContainer class.
type PanelImplementer ¶
type PanelImplementer interface { ControlImplementer }
PanelImplementer is an interface that implements the methods of the Panel class.
type PanoramaSky ¶
type PanoramaSky struct { Sky // contains filtered or unexported fields }
func (*PanoramaSky) BaseClass ¶
func (o *PanoramaSky) BaseClass() string
func (*PanoramaSky) GetPanorama ¶
func (o *PanoramaSky) GetPanorama() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*PanoramaSky) SetPanorama ¶
func (o *PanoramaSky) SetPanorama(texture TextureImplementer)
Undocumented Args: [{ false texture Texture}], Returns: void
type PanoramaSkyImplementer ¶
type PanoramaSkyImplementer interface { SkyImplementer GetPanorama() TextureImplementer SetPanorama(texture TextureImplementer) }
PanoramaSkyImplementer is an interface that implements the methods of the PanoramaSky class.
type ParallaxBackground ¶
type ParallaxBackground struct { CanvasLayer // contains filtered or unexported fields }
A ParallaxBackground uses one or more ParallaxLayer child nodes to create a parallax effect. Each ParallaxLayer can move at a different speed using [member ParallaxLayer.motion_offset]. This creates an illusion of depth in a 2D game. If not used with a Camera2D, you must manually calculate the [member scroll_offset].
func (*ParallaxBackground) BaseClass ¶
func (o *ParallaxBackground) BaseClass() string
func (*ParallaxBackground) GetLimitBegin ¶
func (o *ParallaxBackground) GetLimitBegin() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*ParallaxBackground) GetLimitEnd ¶
func (o *ParallaxBackground) GetLimitEnd() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*ParallaxBackground) GetScrollBaseOffset ¶
func (o *ParallaxBackground) GetScrollBaseOffset() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*ParallaxBackground) GetScrollBaseScale ¶
func (o *ParallaxBackground) GetScrollBaseScale() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*ParallaxBackground) GetScrollOffset ¶
func (o *ParallaxBackground) GetScrollOffset() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*ParallaxBackground) IsIgnoreCameraZoom ¶
func (o *ParallaxBackground) IsIgnoreCameraZoom() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*ParallaxBackground) SetIgnoreCameraZoom ¶
func (o *ParallaxBackground) SetIgnoreCameraZoom(ignore gdnative.Bool)
Undocumented Args: [{ false ignore bool}], Returns: void
func (*ParallaxBackground) SetLimitBegin ¶
func (o *ParallaxBackground) SetLimitBegin(ofs gdnative.Vector2)
Undocumented Args: [{ false ofs Vector2}], Returns: void
func (*ParallaxBackground) SetLimitEnd ¶
func (o *ParallaxBackground) SetLimitEnd(ofs gdnative.Vector2)
Undocumented Args: [{ false ofs Vector2}], Returns: void
func (*ParallaxBackground) SetScrollBaseOffset ¶
func (o *ParallaxBackground) SetScrollBaseOffset(ofs gdnative.Vector2)
Undocumented Args: [{ false ofs Vector2}], Returns: void
func (*ParallaxBackground) SetScrollBaseScale ¶
func (o *ParallaxBackground) SetScrollBaseScale(scale gdnative.Vector2)
Undocumented Args: [{ false scale Vector2}], Returns: void
func (*ParallaxBackground) SetScrollOffset ¶
func (o *ParallaxBackground) SetScrollOffset(ofs gdnative.Vector2)
Undocumented Args: [{ false ofs Vector2}], Returns: void
func (*ParallaxBackground) X_CameraMoved ¶
func (o *ParallaxBackground) X_CameraMoved(arg0 gdnative.Transform2D, arg1 gdnative.Vector2)
Undocumented Args: [{ false arg0 Transform2D} { false arg1 Vector2}], Returns: void
type ParallaxBackgroundImplementer ¶
type ParallaxBackgroundImplementer interface { CanvasLayerImplementer X_CameraMoved(arg0 gdnative.Transform2D, arg1 gdnative.Vector2) GetLimitBegin() gdnative.Vector2 GetLimitEnd() gdnative.Vector2 GetScrollBaseOffset() gdnative.Vector2 GetScrollBaseScale() gdnative.Vector2 GetScrollOffset() gdnative.Vector2 IsIgnoreCameraZoom() gdnative.Bool SetIgnoreCameraZoom(ignore gdnative.Bool) SetLimitBegin(ofs gdnative.Vector2) SetLimitEnd(ofs gdnative.Vector2) SetScrollBaseOffset(ofs gdnative.Vector2) SetScrollBaseScale(scale gdnative.Vector2) SetScrollOffset(ofs gdnative.Vector2) }
ParallaxBackgroundImplementer is an interface that implements the methods of the ParallaxBackground class.
type ParallaxLayer ¶
type ParallaxLayer struct { Node2D // contains filtered or unexported fields }
A ParallaxLayer must be the child of a ParallaxBackground node. Each ParallaxLayer can be set to move at different speeds relative to the camera movement or the [member ParallaxBackground.scroll_offset] value. This node's children will be affected by its scroll offset.
func (*ParallaxLayer) BaseClass ¶
func (o *ParallaxLayer) BaseClass() string
func (*ParallaxLayer) GetMirroring ¶
func (o *ParallaxLayer) GetMirroring() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*ParallaxLayer) GetMotionOffset ¶
func (o *ParallaxLayer) GetMotionOffset() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*ParallaxLayer) GetMotionScale ¶
func (o *ParallaxLayer) GetMotionScale() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*ParallaxLayer) SetMirroring ¶
func (o *ParallaxLayer) SetMirroring(mirror gdnative.Vector2)
Undocumented Args: [{ false mirror Vector2}], Returns: void
func (*ParallaxLayer) SetMotionOffset ¶
func (o *ParallaxLayer) SetMotionOffset(offset gdnative.Vector2)
Undocumented Args: [{ false offset Vector2}], Returns: void
func (*ParallaxLayer) SetMotionScale ¶
func (o *ParallaxLayer) SetMotionScale(scale gdnative.Vector2)
Undocumented Args: [{ false scale Vector2}], Returns: void
type ParallaxLayerImplementer ¶
type ParallaxLayerImplementer interface { Node2DImplementer GetMirroring() gdnative.Vector2 GetMotionOffset() gdnative.Vector2 GetMotionScale() gdnative.Vector2 SetMirroring(mirror gdnative.Vector2) SetMotionOffset(offset gdnative.Vector2) SetMotionScale(scale gdnative.Vector2) }
ParallaxLayerImplementer is an interface that implements the methods of the ParallaxLayer class.
type Particles ¶
type Particles struct { GeometryInstance // contains filtered or unexported fields }
3D particle node used to create a variety of particle systems and effects. [code]Particles[/code] features an emitter that generates some number of particles at a given rate. Use the [code]process_material[/code] property to add a ParticlesMaterial to configure particle appearance and behavior. Alternatively, you can add a ShaderMaterial which will be applied to all particles.
func (*Particles) CaptureAabb ¶
Args: [], Returns: AABB
func (*Particles) GetDrawOrder ¶
func (o *Particles) GetDrawOrder() ParticlesDrawOrder
Undocumented Args: [], Returns: enum.Particles::DrawOrder
func (*Particles) GetDrawPassMesh ¶
func (o *Particles) GetDrawPassMesh(pass gdnative.Int) MeshImplementer
Undocumented Args: [{ false pass int}], Returns: Mesh
func (*Particles) GetDrawPasses ¶
Undocumented Args: [], Returns: int
func (*Particles) GetExplosivenessRatio ¶
Undocumented Args: [], Returns: float
func (*Particles) GetFixedFps ¶
Undocumented Args: [], Returns: int
func (*Particles) GetFractionalDelta ¶
Undocumented Args: [], Returns: bool
func (*Particles) GetLifetime ¶
Undocumented Args: [], Returns: float
func (*Particles) GetOneShot ¶
Undocumented Args: [], Returns: bool
func (*Particles) GetPreProcessTime ¶
Undocumented Args: [], Returns: float
func (*Particles) GetProcessMaterial ¶
func (o *Particles) GetProcessMaterial() MaterialImplementer
Undocumented Args: [], Returns: Material
func (*Particles) GetRandomnessRatio ¶
Undocumented Args: [], Returns: float
func (*Particles) GetSpeedScale ¶
Undocumented Args: [], Returns: float
func (*Particles) GetUseLocalCoordinates ¶
Undocumented Args: [], Returns: bool
func (*Particles) GetVisibilityAabb ¶
Undocumented Args: [], Returns: AABB
func (*Particles) IsEmitting ¶
Undocumented Args: [], Returns: bool
func (*Particles) SetDrawOrder ¶
Undocumented Args: [{ false order int}], Returns: void
func (*Particles) SetDrawPassMesh ¶
func (o *Particles) SetDrawPassMesh(pass gdnative.Int, mesh MeshImplementer)
Undocumented Args: [{ false pass int} { false mesh Mesh}], Returns: void
func (*Particles) SetDrawPasses ¶
Undocumented Args: [{ false passes int}], Returns: void
func (*Particles) SetEmitting ¶
Undocumented Args: [{ false emitting bool}], Returns: void
func (*Particles) SetExplosivenessRatio ¶
Undocumented Args: [{ false ratio float}], Returns: void
func (*Particles) SetFixedFps ¶
Undocumented Args: [{ false fps int}], Returns: void
func (*Particles) SetFractionalDelta ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Particles) SetLifetime ¶
Undocumented Args: [{ false secs float}], Returns: void
func (*Particles) SetOneShot ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Particles) SetPreProcessTime ¶
Undocumented Args: [{ false secs float}], Returns: void
func (*Particles) SetProcessMaterial ¶
func (o *Particles) SetProcessMaterial(material MaterialImplementer)
Undocumented Args: [{ false material Material}], Returns: void
func (*Particles) SetRandomnessRatio ¶
Undocumented Args: [{ false ratio float}], Returns: void
func (*Particles) SetSpeedScale ¶
Undocumented Args: [{ false scale float}], Returns: void
func (*Particles) SetUseLocalCoordinates ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Particles) SetVisibilityAabb ¶
Undocumented Args: [{ false aabb AABB}], Returns: void
type Particles2D ¶
type Particles2D struct { Node2D // contains filtered or unexported fields }
2D particle node used to create a variety of particle systems and effects. [code]Particles2D[/code] features an emitter that generates some number of particles at a given rate. Use the [code]process_material[/code] property to add a ParticlesMaterial to configure particle appearance and behavior. Alternatively, you can add a ShaderMaterial which will be applied to all particles.
func (*Particles2D) BaseClass ¶
func (o *Particles2D) BaseClass() string
func (*Particles2D) CaptureRect ¶
func (o *Particles2D) CaptureRect() gdnative.Rect2
Args: [], Returns: Rect2
func (*Particles2D) GetAmount ¶
func (o *Particles2D) GetAmount() gdnative.Int
Undocumented Args: [], Returns: int
func (*Particles2D) GetDrawOrder ¶
func (o *Particles2D) GetDrawOrder() Particles2DDrawOrder
Undocumented Args: [], Returns: enum.Particles2D::DrawOrder
func (*Particles2D) GetExplosivenessRatio ¶
func (o *Particles2D) GetExplosivenessRatio() gdnative.Real
Undocumented Args: [], Returns: float
func (*Particles2D) GetFixedFps ¶
func (o *Particles2D) GetFixedFps() gdnative.Int
Undocumented Args: [], Returns: int
func (*Particles2D) GetFractionalDelta ¶
func (o *Particles2D) GetFractionalDelta() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*Particles2D) GetHFrames ¶
func (o *Particles2D) GetHFrames() gdnative.Int
Undocumented Args: [], Returns: int
func (*Particles2D) GetLifetime ¶
func (o *Particles2D) GetLifetime() gdnative.Real
Undocumented Args: [], Returns: float
func (*Particles2D) GetNormalMap ¶
func (o *Particles2D) GetNormalMap() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*Particles2D) GetOneShot ¶
func (o *Particles2D) GetOneShot() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*Particles2D) GetPreProcessTime ¶
func (o *Particles2D) GetPreProcessTime() gdnative.Real
Undocumented Args: [], Returns: float
func (*Particles2D) GetProcessMaterial ¶
func (o *Particles2D) GetProcessMaterial() MaterialImplementer
Undocumented Args: [], Returns: Material
func (*Particles2D) GetRandomnessRatio ¶
func (o *Particles2D) GetRandomnessRatio() gdnative.Real
Undocumented Args: [], Returns: float
func (*Particles2D) GetSpeedScale ¶
func (o *Particles2D) GetSpeedScale() gdnative.Real
Undocumented Args: [], Returns: float
func (*Particles2D) GetTexture ¶
func (o *Particles2D) GetTexture() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*Particles2D) GetUseLocalCoordinates ¶
func (o *Particles2D) GetUseLocalCoordinates() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*Particles2D) GetVFrames ¶
func (o *Particles2D) GetVFrames() gdnative.Int
Undocumented Args: [], Returns: int
func (*Particles2D) GetVisibilityRect ¶
func (o *Particles2D) GetVisibilityRect() gdnative.Rect2
Undocumented Args: [], Returns: Rect2
func (*Particles2D) IsEmitting ¶
func (o *Particles2D) IsEmitting() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*Particles2D) SetAmount ¶
func (o *Particles2D) SetAmount(amount gdnative.Int)
Undocumented Args: [{ false amount int}], Returns: void
func (*Particles2D) SetDrawOrder ¶
func (o *Particles2D) SetDrawOrder(order gdnative.Int)
Undocumented Args: [{ false order int}], Returns: void
func (*Particles2D) SetEmitting ¶
func (o *Particles2D) SetEmitting(emitting gdnative.Bool)
Undocumented Args: [{ false emitting bool}], Returns: void
func (*Particles2D) SetExplosivenessRatio ¶
func (o *Particles2D) SetExplosivenessRatio(ratio gdnative.Real)
Undocumented Args: [{ false ratio float}], Returns: void
func (*Particles2D) SetFixedFps ¶
func (o *Particles2D) SetFixedFps(fps gdnative.Int)
Undocumented Args: [{ false fps int}], Returns: void
func (*Particles2D) SetFractionalDelta ¶
func (o *Particles2D) SetFractionalDelta(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*Particles2D) SetHFrames ¶
func (o *Particles2D) SetHFrames(frames gdnative.Int)
Undocumented Args: [{ false frames int}], Returns: void
func (*Particles2D) SetLifetime ¶
func (o *Particles2D) SetLifetime(secs gdnative.Real)
Undocumented Args: [{ false secs float}], Returns: void
func (*Particles2D) SetNormalMap ¶
func (o *Particles2D) SetNormalMap(texture TextureImplementer)
Undocumented Args: [{ false texture Texture}], Returns: void
func (*Particles2D) SetOneShot ¶
func (o *Particles2D) SetOneShot(secs gdnative.Bool)
Undocumented Args: [{ false secs bool}], Returns: void
func (*Particles2D) SetPreProcessTime ¶
func (o *Particles2D) SetPreProcessTime(secs gdnative.Real)
Undocumented Args: [{ false secs float}], Returns: void
func (*Particles2D) SetProcessMaterial ¶
func (o *Particles2D) SetProcessMaterial(material MaterialImplementer)
Undocumented Args: [{ false material Material}], Returns: void
func (*Particles2D) SetRandomnessRatio ¶
func (o *Particles2D) SetRandomnessRatio(ratio gdnative.Real)
Undocumented Args: [{ false ratio float}], Returns: void
func (*Particles2D) SetSpeedScale ¶
func (o *Particles2D) SetSpeedScale(scale gdnative.Real)
Undocumented Args: [{ false scale float}], Returns: void
func (*Particles2D) SetTexture ¶
func (o *Particles2D) SetTexture(texture TextureImplementer)
Undocumented Args: [{ false texture Texture}], Returns: void
func (*Particles2D) SetUseLocalCoordinates ¶
func (o *Particles2D) SetUseLocalCoordinates(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*Particles2D) SetVFrames ¶
func (o *Particles2D) SetVFrames(frames gdnative.Int)
Undocumented Args: [{ false frames int}], Returns: void
func (*Particles2D) SetVisibilityRect ¶
func (o *Particles2D) SetVisibilityRect(aabb gdnative.Rect2)
Undocumented Args: [{ false aabb Rect2}], Returns: void
type Particles2DDrawOrder ¶
type Particles2DDrawOrder int
Particles2DDrawOrder is an enum for DrawOrder values.
const ( Particles2DDrawOrderIndex Particles2DDrawOrder = 0 Particles2DDrawOrderLifetime Particles2DDrawOrder = 1 )
type Particles2DImplementer ¶
type Particles2DImplementer interface { Node2DImplementer CaptureRect() gdnative.Rect2 GetAmount() gdnative.Int GetExplosivenessRatio() gdnative.Real GetFixedFps() gdnative.Int GetFractionalDelta() gdnative.Bool GetHFrames() gdnative.Int GetLifetime() gdnative.Real GetNormalMap() TextureImplementer GetOneShot() gdnative.Bool GetPreProcessTime() gdnative.Real GetProcessMaterial() MaterialImplementer GetRandomnessRatio() gdnative.Real GetSpeedScale() gdnative.Real GetTexture() TextureImplementer GetUseLocalCoordinates() gdnative.Bool GetVFrames() gdnative.Int GetVisibilityRect() gdnative.Rect2 IsEmitting() gdnative.Bool Restart() SetAmount(amount gdnative.Int) SetDrawOrder(order gdnative.Int) SetEmitting(emitting gdnative.Bool) SetExplosivenessRatio(ratio gdnative.Real) SetFixedFps(fps gdnative.Int) SetFractionalDelta(enable gdnative.Bool) SetHFrames(frames gdnative.Int) SetLifetime(secs gdnative.Real) SetNormalMap(texture TextureImplementer) SetOneShot(secs gdnative.Bool) SetPreProcessTime(secs gdnative.Real) SetProcessMaterial(material MaterialImplementer) SetRandomnessRatio(ratio gdnative.Real) SetSpeedScale(scale gdnative.Real) SetTexture(texture TextureImplementer) SetUseLocalCoordinates(enable gdnative.Bool) SetVFrames(frames gdnative.Int) SetVisibilityRect(aabb gdnative.Rect2) }
Particles2DImplementer is an interface that implements the methods of the Particles2D class.
type ParticlesDrawOrder ¶
type ParticlesDrawOrder int
ParticlesDrawOrder is an enum for DrawOrder values.
const ( ParticlesDrawOrderIndex ParticlesDrawOrder = 0 ParticlesDrawOrderLifetime ParticlesDrawOrder = 1 ParticlesDrawOrderViewDepth ParticlesDrawOrder = 2 )
type ParticlesImplementer ¶
type ParticlesImplementer interface { GeometryInstanceImplementer CaptureAabb() gdnative.Aabb GetAmount() gdnative.Int GetDrawPassMesh(pass gdnative.Int) MeshImplementer GetDrawPasses() gdnative.Int GetExplosivenessRatio() gdnative.Real GetFixedFps() gdnative.Int GetFractionalDelta() gdnative.Bool GetLifetime() gdnative.Real GetOneShot() gdnative.Bool GetPreProcessTime() gdnative.Real GetProcessMaterial() MaterialImplementer GetRandomnessRatio() gdnative.Real GetSpeedScale() gdnative.Real GetUseLocalCoordinates() gdnative.Bool GetVisibilityAabb() gdnative.Aabb IsEmitting() gdnative.Bool Restart() SetAmount(amount gdnative.Int) SetDrawOrder(order gdnative.Int) SetDrawPassMesh(pass gdnative.Int, mesh MeshImplementer) SetDrawPasses(passes gdnative.Int) SetEmitting(emitting gdnative.Bool) SetExplosivenessRatio(ratio gdnative.Real) SetFixedFps(fps gdnative.Int) SetFractionalDelta(enable gdnative.Bool) SetLifetime(secs gdnative.Real) SetOneShot(enable gdnative.Bool) SetPreProcessTime(secs gdnative.Real) SetProcessMaterial(material MaterialImplementer) SetRandomnessRatio(ratio gdnative.Real) SetSpeedScale(scale gdnative.Real) SetUseLocalCoordinates(enable gdnative.Bool) SetVisibilityAabb(aabb gdnative.Aabb) }
ParticlesImplementer is an interface that implements the methods of the Particles class.
type ParticlesMaterial ¶
type ParticlesMaterial struct { Material // contains filtered or unexported fields }
ParticlesMaterial defines particle properties and behavior. It is used in the [code]process_material[/code] of Particles and Particles2D emitter nodes. Some of this material's properties are applied to each particle when emitted, while others can have a CurveTexture applied to vary values over the lifetime of the particle.
func (*ParticlesMaterial) BaseClass ¶
func (o *ParticlesMaterial) BaseClass() string
func (*ParticlesMaterial) GetColor ¶
func (o *ParticlesMaterial) GetColor() gdnative.Color
Undocumented Args: [], Returns: Color
func (*ParticlesMaterial) GetColorRamp ¶
func (o *ParticlesMaterial) GetColorRamp() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*ParticlesMaterial) GetEmissionBoxExtents ¶
func (o *ParticlesMaterial) GetEmissionBoxExtents() gdnative.Vector3
Undocumented Args: [], Returns: Vector3
func (*ParticlesMaterial) GetEmissionColorTexture ¶
func (o *ParticlesMaterial) GetEmissionColorTexture() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*ParticlesMaterial) GetEmissionNormalTexture ¶
func (o *ParticlesMaterial) GetEmissionNormalTexture() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*ParticlesMaterial) GetEmissionPointCount ¶
func (o *ParticlesMaterial) GetEmissionPointCount() gdnative.Int
Undocumented Args: [], Returns: int
func (*ParticlesMaterial) GetEmissionPointTexture ¶
func (o *ParticlesMaterial) GetEmissionPointTexture() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*ParticlesMaterial) GetEmissionShape ¶
func (o *ParticlesMaterial) GetEmissionShape() ParticlesMaterialEmissionShape
Undocumented Args: [], Returns: enum.ParticlesMaterial::EmissionShape
func (*ParticlesMaterial) GetEmissionSphereRadius ¶
func (o *ParticlesMaterial) GetEmissionSphereRadius() gdnative.Real
Undocumented Args: [], Returns: float
func (*ParticlesMaterial) GetFlag ¶
func (o *ParticlesMaterial) GetFlag(flag gdnative.Int) gdnative.Bool
Undocumented Args: [{ false flag int}], Returns: bool
func (*ParticlesMaterial) GetFlatness ¶
func (o *ParticlesMaterial) GetFlatness() gdnative.Real
Undocumented Args: [], Returns: float
func (*ParticlesMaterial) GetGravity ¶
func (o *ParticlesMaterial) GetGravity() gdnative.Vector3
Undocumented Args: [], Returns: Vector3
func (*ParticlesMaterial) GetParam ¶
func (o *ParticlesMaterial) GetParam(param gdnative.Int) gdnative.Real
Undocumented Args: [{ false param int}], Returns: float
func (*ParticlesMaterial) GetParamRandomness ¶
func (o *ParticlesMaterial) GetParamRandomness(param gdnative.Int) gdnative.Real
Undocumented Args: [{ false param int}], Returns: float
func (*ParticlesMaterial) GetParamTexture ¶
func (o *ParticlesMaterial) GetParamTexture(param gdnative.Int) TextureImplementer
Undocumented Args: [{ false param int}], Returns: Texture
func (*ParticlesMaterial) GetSpread ¶
func (o *ParticlesMaterial) GetSpread() gdnative.Real
Undocumented Args: [], Returns: float
func (*ParticlesMaterial) GetTrailColorModifier ¶
func (o *ParticlesMaterial) GetTrailColorModifier() GradientTextureImplementer
Undocumented Args: [], Returns: GradientTexture
func (*ParticlesMaterial) GetTrailDivisor ¶
func (o *ParticlesMaterial) GetTrailDivisor() gdnative.Int
Undocumented Args: [], Returns: int
func (*ParticlesMaterial) GetTrailSizeModifier ¶
func (o *ParticlesMaterial) GetTrailSizeModifier() CurveTextureImplementer
Undocumented Args: [], Returns: CurveTexture
func (*ParticlesMaterial) SetColor ¶
func (o *ParticlesMaterial) SetColor(color gdnative.Color)
Undocumented Args: [{ false color Color}], Returns: void
func (*ParticlesMaterial) SetColorRamp ¶
func (o *ParticlesMaterial) SetColorRamp(ramp TextureImplementer)
Undocumented Args: [{ false ramp Texture}], Returns: void
func (*ParticlesMaterial) SetEmissionBoxExtents ¶
func (o *ParticlesMaterial) SetEmissionBoxExtents(extents gdnative.Vector3)
Undocumented Args: [{ false extents Vector3}], Returns: void
func (*ParticlesMaterial) SetEmissionColorTexture ¶
func (o *ParticlesMaterial) SetEmissionColorTexture(texture TextureImplementer)
Undocumented Args: [{ false texture Texture}], Returns: void
func (*ParticlesMaterial) SetEmissionNormalTexture ¶
func (o *ParticlesMaterial) SetEmissionNormalTexture(texture TextureImplementer)
Undocumented Args: [{ false texture Texture}], Returns: void
func (*ParticlesMaterial) SetEmissionPointCount ¶
func (o *ParticlesMaterial) SetEmissionPointCount(pointCount gdnative.Int)
Undocumented Args: [{ false point_count int}], Returns: void
func (*ParticlesMaterial) SetEmissionPointTexture ¶
func (o *ParticlesMaterial) SetEmissionPointTexture(texture TextureImplementer)
Undocumented Args: [{ false texture Texture}], Returns: void
func (*ParticlesMaterial) SetEmissionShape ¶
func (o *ParticlesMaterial) SetEmissionShape(shape gdnative.Int)
Undocumented Args: [{ false shape int}], Returns: void
func (*ParticlesMaterial) SetEmissionSphereRadius ¶
func (o *ParticlesMaterial) SetEmissionSphereRadius(radius gdnative.Real)
Undocumented Args: [{ false radius float}], Returns: void
func (*ParticlesMaterial) SetFlag ¶
func (o *ParticlesMaterial) SetFlag(flag gdnative.Int, enable gdnative.Bool)
Undocumented Args: [{ false flag int} { false enable bool}], Returns: void
func (*ParticlesMaterial) SetFlatness ¶
func (o *ParticlesMaterial) SetFlatness(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
func (*ParticlesMaterial) SetGravity ¶
func (o *ParticlesMaterial) SetGravity(accelVec gdnative.Vector3)
Undocumented Args: [{ false accel_vec Vector3}], Returns: void
func (*ParticlesMaterial) SetParam ¶
func (o *ParticlesMaterial) SetParam(param gdnative.Int, value gdnative.Real)
Undocumented Args: [{ false param int} { false value float}], Returns: void
func (*ParticlesMaterial) SetParamRandomness ¶
func (o *ParticlesMaterial) SetParamRandomness(param gdnative.Int, randomness gdnative.Real)
Undocumented Args: [{ false param int} { false randomness float}], Returns: void
func (*ParticlesMaterial) SetParamTexture ¶
func (o *ParticlesMaterial) SetParamTexture(param gdnative.Int, texture TextureImplementer)
Undocumented Args: [{ false param int} { false texture Texture}], Returns: void
func (*ParticlesMaterial) SetSpread ¶
func (o *ParticlesMaterial) SetSpread(degrees gdnative.Real)
Undocumented Args: [{ false degrees float}], Returns: void
func (*ParticlesMaterial) SetTrailColorModifier ¶
func (o *ParticlesMaterial) SetTrailColorModifier(texture GradientTextureImplementer)
Undocumented Args: [{ false texture GradientTexture}], Returns: void
func (*ParticlesMaterial) SetTrailDivisor ¶
func (o *ParticlesMaterial) SetTrailDivisor(divisor gdnative.Int)
Undocumented Args: [{ false divisor int}], Returns: void
func (*ParticlesMaterial) SetTrailSizeModifier ¶
func (o *ParticlesMaterial) SetTrailSizeModifier(texture CurveTextureImplementer)
Undocumented Args: [{ false texture CurveTexture}], Returns: void
type ParticlesMaterialEmissionShape ¶
type ParticlesMaterialEmissionShape int
ParticlesMaterialEmissionShape is an enum for EmissionShape values.
const ( ParticlesMaterialEmissionShapeBox ParticlesMaterialEmissionShape = 2 ParticlesMaterialEmissionShapeDirectedPoints ParticlesMaterialEmissionShape = 4 ParticlesMaterialEmissionShapePoint ParticlesMaterialEmissionShape = 0 ParticlesMaterialEmissionShapePoints ParticlesMaterialEmissionShape = 3 ParticlesMaterialEmissionShapeSphere ParticlesMaterialEmissionShape = 1 )
type ParticlesMaterialFlags ¶
type ParticlesMaterialFlags int
ParticlesMaterialFlags is an enum for Flags values.
const ( ParticlesMaterialFlagAlignYToVelocity ParticlesMaterialFlags = 0 ParticlesMaterialFlagMax ParticlesMaterialFlags = 4 ParticlesMaterialFlagRotateY ParticlesMaterialFlags = 1 )
type ParticlesMaterialImplementer ¶
type ParticlesMaterialImplementer interface { MaterialImplementer GetColor() gdnative.Color GetColorRamp() TextureImplementer GetEmissionBoxExtents() gdnative.Vector3 GetEmissionColorTexture() TextureImplementer GetEmissionNormalTexture() TextureImplementer GetEmissionPointCount() gdnative.Int GetEmissionPointTexture() TextureImplementer GetEmissionSphereRadius() gdnative.Real GetFlag(flag gdnative.Int) gdnative.Bool GetFlatness() gdnative.Real GetGravity() gdnative.Vector3 GetParam(param gdnative.Int) gdnative.Real GetParamRandomness(param gdnative.Int) gdnative.Real GetParamTexture(param gdnative.Int) TextureImplementer GetSpread() gdnative.Real GetTrailColorModifier() GradientTextureImplementer GetTrailDivisor() gdnative.Int GetTrailSizeModifier() CurveTextureImplementer SetColor(color gdnative.Color) SetColorRamp(ramp TextureImplementer) SetEmissionBoxExtents(extents gdnative.Vector3) SetEmissionColorTexture(texture TextureImplementer) SetEmissionNormalTexture(texture TextureImplementer) SetEmissionPointCount(pointCount gdnative.Int) SetEmissionPointTexture(texture TextureImplementer) SetEmissionShape(shape gdnative.Int) SetEmissionSphereRadius(radius gdnative.Real) SetFlag(flag gdnative.Int, enable gdnative.Bool) SetFlatness(amount gdnative.Real) SetGravity(accelVec gdnative.Vector3) SetParam(param gdnative.Int, value gdnative.Real) SetParamRandomness(param gdnative.Int, randomness gdnative.Real) SetParamTexture(param gdnative.Int, texture TextureImplementer) SetSpread(degrees gdnative.Real) SetTrailColorModifier(texture GradientTextureImplementer) SetTrailDivisor(divisor gdnative.Int) SetTrailSizeModifier(texture CurveTextureImplementer) }
ParticlesMaterialImplementer is an interface that implements the methods of the ParticlesMaterial class.
type ParticlesMaterialParameter ¶
type ParticlesMaterialParameter int
ParticlesMaterialParameter is an enum for Parameter values.
const ( ParticlesMaterialParamAngle ParticlesMaterialParameter = 7 ParticlesMaterialParamAngularVelocity ParticlesMaterialParameter = 1 ParticlesMaterialParamAnimOffset ParticlesMaterialParameter = 11 ParticlesMaterialParamAnimSpeed ParticlesMaterialParameter = 10 ParticlesMaterialParamDamping ParticlesMaterialParameter = 6 ParticlesMaterialParamHueVariation ParticlesMaterialParameter = 9 ParticlesMaterialParamInitialLinearVelocity ParticlesMaterialParameter = 0 ParticlesMaterialParamLinearAccel ParticlesMaterialParameter = 3 ParticlesMaterialParamMax ParticlesMaterialParameter = 12 ParticlesMaterialParamOrbitVelocity ParticlesMaterialParameter = 2 ParticlesMaterialParamRadialAccel ParticlesMaterialParameter = 4 ParticlesMaterialParamScale ParticlesMaterialParameter = 8 ParticlesMaterialParamTangentialAccel ParticlesMaterialParameter = 5 )
type Path ¶
type Path struct { Spatial // contains filtered or unexported fields }
This class is a container/Node-ification of a Curve3D, so it can have Spatial properties and Node info.
func (*Path) GetCurve ¶
func (o *Path) GetCurve() Curve3DImplementer
Undocumented Args: [], Returns: Curve3D
func (*Path) SetCurve ¶
func (o *Path) SetCurve(curve Curve3DImplementer)
Undocumented Args: [{ false curve Curve3D}], Returns: void
type Path2D ¶
type Path2D struct { Node2D // contains filtered or unexported fields }
Can have PathFollow2D child-nodes moving along the Curve2D. See PathFollow2D for more information on this usage.
func (*Path2D) GetCurve ¶
func (o *Path2D) GetCurve() Curve2DImplementer
Undocumented Args: [], Returns: Curve2D
func (*Path2D) SetCurve ¶
func (o *Path2D) SetCurve(curve Curve2DImplementer)
Undocumented Args: [{ false curve Curve2D}], Returns: void
func (*Path2D) X_CurveChanged ¶
func (o *Path2D) X_CurveChanged()
Undocumented Args: [], Returns: void
type Path2DImplementer ¶
type Path2DImplementer interface { Node2DImplementer X_CurveChanged() GetCurve() Curve2DImplementer SetCurve(curve Curve2DImplementer) }
Path2DImplementer is an interface that implements the methods of the Path2D class.
type PathFollow ¶
type PathFollow struct { Spatial // contains filtered or unexported fields }
This node takes its parent Path, and returns the coordinates of a point within it, given a distance from the first vertex. It is useful for making other nodes follow a path, without coding the movement pattern. For that, the nodes must be descendants of this node. Then, when setting an offset in this node, the descendant nodes will move accordingly.
func (*PathFollow) BaseClass ¶
func (o *PathFollow) BaseClass() string
func (*PathFollow) GetCubicInterpolation ¶
func (o *PathFollow) GetCubicInterpolation() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*PathFollow) GetHOffset ¶
func (o *PathFollow) GetHOffset() gdnative.Real
Undocumented Args: [], Returns: float
func (*PathFollow) GetOffset ¶
func (o *PathFollow) GetOffset() gdnative.Real
Undocumented Args: [], Returns: float
func (*PathFollow) GetRotationMode ¶
func (o *PathFollow) GetRotationMode() PathFollowRotationMode
Undocumented Args: [], Returns: enum.PathFollow::RotationMode
func (*PathFollow) GetUnitOffset ¶
func (o *PathFollow) GetUnitOffset() gdnative.Real
Undocumented Args: [], Returns: float
func (*PathFollow) GetVOffset ¶
func (o *PathFollow) GetVOffset() gdnative.Real
Undocumented Args: [], Returns: float
func (*PathFollow) HasLoop ¶
func (o *PathFollow) HasLoop() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*PathFollow) SetCubicInterpolation ¶
func (o *PathFollow) SetCubicInterpolation(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*PathFollow) SetHOffset ¶
func (o *PathFollow) SetHOffset(hOffset gdnative.Real)
Undocumented Args: [{ false h_offset float}], Returns: void
func (*PathFollow) SetLoop ¶
func (o *PathFollow) SetLoop(loop gdnative.Bool)
Undocumented Args: [{ false loop bool}], Returns: void
func (*PathFollow) SetOffset ¶
func (o *PathFollow) SetOffset(offset gdnative.Real)
Undocumented Args: [{ false offset float}], Returns: void
func (*PathFollow) SetRotationMode ¶
func (o *PathFollow) SetRotationMode(rotationMode gdnative.Int)
Undocumented Args: [{ false rotation_mode int}], Returns: void
func (*PathFollow) SetUnitOffset ¶
func (o *PathFollow) SetUnitOffset(unitOffset gdnative.Real)
Undocumented Args: [{ false unit_offset float}], Returns: void
func (*PathFollow) SetVOffset ¶
func (o *PathFollow) SetVOffset(vOffset gdnative.Real)
Undocumented Args: [{ false v_offset float}], Returns: void
type PathFollow2D ¶
type PathFollow2D struct { Node2D // contains filtered or unexported fields }
This node takes its parent Path2D, and returns the coordinates of a point within it, given a distance from the first vertex. It is useful for making other nodes follow a path, without coding the movement pattern. For that, the nodes must be descendants of this node. Then, when setting an offset in this node, the descendant nodes will move accordingly.
func (*PathFollow2D) BaseClass ¶
func (o *PathFollow2D) BaseClass() string
func (*PathFollow2D) GetCubicInterpolation ¶
func (o *PathFollow2D) GetCubicInterpolation() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*PathFollow2D) GetHOffset ¶
func (o *PathFollow2D) GetHOffset() gdnative.Real
Undocumented Args: [], Returns: float
func (*PathFollow2D) GetLookahead ¶
func (o *PathFollow2D) GetLookahead() gdnative.Real
Undocumented Args: [], Returns: float
func (*PathFollow2D) GetOffset ¶
func (o *PathFollow2D) GetOffset() gdnative.Real
Undocumented Args: [], Returns: float
func (*PathFollow2D) GetUnitOffset ¶
func (o *PathFollow2D) GetUnitOffset() gdnative.Real
Undocumented Args: [], Returns: float
func (*PathFollow2D) GetVOffset ¶
func (o *PathFollow2D) GetVOffset() gdnative.Real
Undocumented Args: [], Returns: float
func (*PathFollow2D) HasLoop ¶
func (o *PathFollow2D) HasLoop() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*PathFollow2D) IsRotating ¶
func (o *PathFollow2D) IsRotating() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*PathFollow2D) SetCubicInterpolation ¶
func (o *PathFollow2D) SetCubicInterpolation(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*PathFollow2D) SetHOffset ¶
func (o *PathFollow2D) SetHOffset(hOffset gdnative.Real)
Undocumented Args: [{ false h_offset float}], Returns: void
func (*PathFollow2D) SetLookahead ¶
func (o *PathFollow2D) SetLookahead(lookahead gdnative.Real)
Undocumented Args: [{ false lookahead float}], Returns: void
func (*PathFollow2D) SetLoop ¶
func (o *PathFollow2D) SetLoop(loop gdnative.Bool)
Undocumented Args: [{ false loop bool}], Returns: void
func (*PathFollow2D) SetOffset ¶
func (o *PathFollow2D) SetOffset(offset gdnative.Real)
Undocumented Args: [{ false offset float}], Returns: void
func (*PathFollow2D) SetRotate ¶
func (o *PathFollow2D) SetRotate(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*PathFollow2D) SetUnitOffset ¶
func (o *PathFollow2D) SetUnitOffset(unitOffset gdnative.Real)
Undocumented Args: [{ false unit_offset float}], Returns: void
func (*PathFollow2D) SetVOffset ¶
func (o *PathFollow2D) SetVOffset(vOffset gdnative.Real)
Undocumented Args: [{ false v_offset float}], Returns: void
type PathFollow2DImplementer ¶
type PathFollow2DImplementer interface { Node2DImplementer GetCubicInterpolation() gdnative.Bool GetHOffset() gdnative.Real GetLookahead() gdnative.Real GetOffset() gdnative.Real GetUnitOffset() gdnative.Real GetVOffset() gdnative.Real HasLoop() gdnative.Bool IsRotating() gdnative.Bool SetCubicInterpolation(enable gdnative.Bool) SetHOffset(hOffset gdnative.Real) SetLookahead(lookahead gdnative.Real) SetLoop(loop gdnative.Bool) SetOffset(offset gdnative.Real) SetRotate(enable gdnative.Bool) SetUnitOffset(unitOffset gdnative.Real) SetVOffset(vOffset gdnative.Real) }
PathFollow2DImplementer is an interface that implements the methods of the PathFollow2D class.
type PathFollowImplementer ¶
type PathFollowImplementer interface { SpatialImplementer GetCubicInterpolation() gdnative.Bool GetHOffset() gdnative.Real GetOffset() gdnative.Real GetUnitOffset() gdnative.Real GetVOffset() gdnative.Real HasLoop() gdnative.Bool SetCubicInterpolation(enable gdnative.Bool) SetHOffset(hOffset gdnative.Real) SetLoop(loop gdnative.Bool) SetOffset(offset gdnative.Real) SetRotationMode(rotationMode gdnative.Int) SetUnitOffset(unitOffset gdnative.Real) SetVOffset(vOffset gdnative.Real) }
PathFollowImplementer is an interface that implements the methods of the PathFollow class.
type PathFollowRotationMode ¶
type PathFollowRotationMode int
PathFollowRotationMode is an enum for RotationMode values.
const ( PathFollowRotationNone PathFollowRotationMode = 0 PathFollowRotationXy PathFollowRotationMode = 2 PathFollowRotationXyz PathFollowRotationMode = 3 PathFollowRotationY PathFollowRotationMode = 1 )
type PathImplementer ¶
type PathImplementer interface { SpatialImplementer X_CurveChanged() GetCurve() Curve3DImplementer SetCurve(curve Curve3DImplementer) }
PathImplementer is an interface that implements the methods of the Path class.
type PerformanceImplementer ¶
type PerformanceImplementer interface { ObjectImplementer GetMonitor(monitor gdnative.Int) gdnative.Real }
PerformanceImplementer is an interface that implements the methods of the Performance class.
type PerformanceMonitor ¶
type PerformanceMonitor int
PerformanceMonitor is an enum for Monitor values.
const ( PerformanceMemoryDynamic PerformanceMonitor = 4 PerformanceMemoryDynamicMax PerformanceMonitor = 6 PerformanceMemoryMessageBufferMax PerformanceMonitor = 7 PerformanceMemoryStatic PerformanceMonitor = 3 PerformanceMemoryStaticMax PerformanceMonitor = 5 PerformanceMonitorMax PerformanceMonitor = 27 PerformanceObjectCount PerformanceMonitor = 8 PerformanceObjectNodeCount PerformanceMonitor = 10 PerformanceObjectResourceCount PerformanceMonitor = 9 PerformancePhysics2DActiveObjects PerformanceMonitor = 21 PerformancePhysics2DCollisionPairs PerformanceMonitor = 22 PerformancePhysics2DIslandCount PerformanceMonitor = 23 PerformancePhysics3DActiveObjects PerformanceMonitor = 24 PerformancePhysics3DCollisionPairs PerformanceMonitor = 25 PerformancePhysics3DIslandCount PerformanceMonitor = 26 PerformanceRenderDrawCallsInFrame PerformanceMonitor = 16 PerformanceRenderMaterialChangesInFrame PerformanceMonitor = 13 PerformanceRenderObjectsInFrame PerformanceMonitor = 11 PerformanceRenderShaderChangesInFrame PerformanceMonitor = 14 PerformanceRenderSurfaceChangesInFrame PerformanceMonitor = 15 PerformanceRenderTextureMemUsed PerformanceMonitor = 18 PerformanceRenderUsageVideoMemTotal PerformanceMonitor = 20 PerformanceRenderVertexMemUsed PerformanceMonitor = 19 PerformanceRenderVerticesInFrame PerformanceMonitor = 12 PerformanceRenderVideoMemUsed PerformanceMonitor = 17 PerformanceTimeFps PerformanceMonitor = 0 PerformanceTimePhysicsProcess PerformanceMonitor = 2 PerformanceTimeProcess PerformanceMonitor = 1 )
type Physics2DDirectBodyState ¶
type Physics2DDirectBodyState struct { Object // contains filtered or unexported fields }
Direct access object to a physics body in the Physics2DServer. This object is passed via the direct state callback of rigid/character bodies, and is intended for changing the direct state of that body.
func (*Physics2DDirectBodyState) BaseClass ¶
func (o *Physics2DDirectBodyState) BaseClass() string
func (*Physics2DDirectBodyState) GetAngularVelocity ¶
func (o *Physics2DDirectBodyState) GetAngularVelocity() gdnative.Real
Undocumented Args: [], Returns: float
func (*Physics2DDirectBodyState) GetContactCollider ¶
func (o *Physics2DDirectBodyState) GetContactCollider(contactIdx gdnative.Int) gdnative.Rid
Return the [RID] of the collider. Args: [{ false contact_idx int}], Returns: RID
func (*Physics2DDirectBodyState) GetContactColliderId ¶
func (o *Physics2DDirectBodyState) GetContactColliderId(contactIdx gdnative.Int) gdnative.Int
Return the object id of the collider. Args: [{ false contact_idx int}], Returns: int
func (*Physics2DDirectBodyState) GetContactColliderObject ¶
func (o *Physics2DDirectBodyState) GetContactColliderObject(contactIdx gdnative.Int) ObjectImplementer
Return the collider object, this depends on how it was created (will return a scene node if such was used to create it). Args: [{ false contact_idx int}], Returns: Object
func (*Physics2DDirectBodyState) GetContactColliderPosition ¶
func (o *Physics2DDirectBodyState) GetContactColliderPosition(contactIdx gdnative.Int) gdnative.Vector2
Return the contact position in the collider. Args: [{ false contact_idx int}], Returns: Vector2
func (*Physics2DDirectBodyState) GetContactColliderShape ¶
func (o *Physics2DDirectBodyState) GetContactColliderShape(contactIdx gdnative.Int) gdnative.Int
Return the collider shape index. Args: [{ false contact_idx int}], Returns: int
func (*Physics2DDirectBodyState) GetContactColliderShapeMetadata ¶
func (o *Physics2DDirectBodyState) GetContactColliderShapeMetadata(contactIdx gdnative.Int) gdnative.Variant
Return the metadata of the collided shape. This metadata is different from [method Object.get_meta], and is set with [method Physics2DServer.shape_set_data]. Args: [{ false contact_idx int}], Returns: Variant
func (*Physics2DDirectBodyState) GetContactColliderVelocityAtPosition ¶
func (o *Physics2DDirectBodyState) GetContactColliderVelocityAtPosition(contactIdx gdnative.Int) gdnative.Vector2
Return the linear velocity vector at contact point of the collider. Args: [{ false contact_idx int}], Returns: Vector2
func (*Physics2DDirectBodyState) GetContactCount ¶
func (o *Physics2DDirectBodyState) GetContactCount() gdnative.Int
Return the amount of contacts this body has with other bodies. Note that by default this returns 0 unless bodies are configured to log contacts. Args: [], Returns: int
func (*Physics2DDirectBodyState) GetContactLocalNormal ¶
func (o *Physics2DDirectBodyState) GetContactLocalNormal(contactIdx gdnative.Int) gdnative.Vector2
Return the local normal (of this body) of the contact point. Args: [{ false contact_idx int}], Returns: Vector2
func (*Physics2DDirectBodyState) GetContactLocalPosition ¶
func (o *Physics2DDirectBodyState) GetContactLocalPosition(contactIdx gdnative.Int) gdnative.Vector2
Return the local position (of this body) of the contact point. Args: [{ false contact_idx int}], Returns: Vector2
func (*Physics2DDirectBodyState) GetContactLocalShape ¶
func (o *Physics2DDirectBodyState) GetContactLocalShape(contactIdx gdnative.Int) gdnative.Int
Return the local shape index of the collision. Args: [{ false contact_idx int}], Returns: int
func (*Physics2DDirectBodyState) GetInverseInertia ¶
func (o *Physics2DDirectBodyState) GetInverseInertia() gdnative.Real
Undocumented Args: [], Returns: float
func (*Physics2DDirectBodyState) GetInverseMass ¶
func (o *Physics2DDirectBodyState) GetInverseMass() gdnative.Real
Undocumented Args: [], Returns: float
func (*Physics2DDirectBodyState) GetLinearVelocity ¶
func (o *Physics2DDirectBodyState) GetLinearVelocity() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*Physics2DDirectBodyState) GetSpaceState ¶
func (o *Physics2DDirectBodyState) GetSpaceState() Physics2DDirectSpaceStateImplementer
Return the current state of space, useful for queries. Args: [], Returns: Physics2DDirectSpaceState
func (*Physics2DDirectBodyState) GetStep ¶
func (o *Physics2DDirectBodyState) GetStep() gdnative.Real
Undocumented Args: [], Returns: float
func (*Physics2DDirectBodyState) GetTotalAngularDamp ¶
func (o *Physics2DDirectBodyState) GetTotalAngularDamp() gdnative.Real
Undocumented Args: [], Returns: float
func (*Physics2DDirectBodyState) GetTotalGravity ¶
func (o *Physics2DDirectBodyState) GetTotalGravity() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*Physics2DDirectBodyState) GetTotalLinearDamp ¶
func (o *Physics2DDirectBodyState) GetTotalLinearDamp() gdnative.Real
Undocumented Args: [], Returns: float
func (*Physics2DDirectBodyState) GetTransform ¶
func (o *Physics2DDirectBodyState) GetTransform() gdnative.Transform2D
Undocumented Args: [], Returns: Transform2D
func (*Physics2DDirectBodyState) IntegrateForces ¶
func (o *Physics2DDirectBodyState) IntegrateForces()
Call the built-in force integration code. Args: [], Returns: void
func (*Physics2DDirectBodyState) IsSleeping ¶
func (o *Physics2DDirectBodyState) IsSleeping() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*Physics2DDirectBodyState) SetAngularVelocity ¶
func (o *Physics2DDirectBodyState) SetAngularVelocity(velocity gdnative.Real)
Undocumented Args: [{ false velocity float}], Returns: void
func (*Physics2DDirectBodyState) SetLinearVelocity ¶
func (o *Physics2DDirectBodyState) SetLinearVelocity(velocity gdnative.Vector2)
Undocumented Args: [{ false velocity Vector2}], Returns: void
func (*Physics2DDirectBodyState) SetSleepState ¶
func (o *Physics2DDirectBodyState) SetSleepState(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*Physics2DDirectBodyState) SetTransform ¶
func (o *Physics2DDirectBodyState) SetTransform(transform gdnative.Transform2D)
Undocumented Args: [{ false transform Transform2D}], Returns: void
type Physics2DDirectBodyStateImplementer ¶
type Physics2DDirectBodyStateImplementer interface { ObjectImplementer GetAngularVelocity() gdnative.Real GetContactCollider(contactIdx gdnative.Int) gdnative.Rid GetContactColliderId(contactIdx gdnative.Int) gdnative.Int GetContactColliderObject(contactIdx gdnative.Int) ObjectImplementer GetContactColliderPosition(contactIdx gdnative.Int) gdnative.Vector2 GetContactColliderShape(contactIdx gdnative.Int) gdnative.Int GetContactColliderShapeMetadata(contactIdx gdnative.Int) gdnative.Variant GetContactColliderVelocityAtPosition(contactIdx gdnative.Int) gdnative.Vector2 GetContactCount() gdnative.Int GetContactLocalNormal(contactIdx gdnative.Int) gdnative.Vector2 GetContactLocalPosition(contactIdx gdnative.Int) gdnative.Vector2 GetContactLocalShape(contactIdx gdnative.Int) gdnative.Int GetInverseInertia() gdnative.Real GetInverseMass() gdnative.Real GetLinearVelocity() gdnative.Vector2 GetSpaceState() Physics2DDirectSpaceStateImplementer GetStep() gdnative.Real GetTotalAngularDamp() gdnative.Real GetTotalGravity() gdnative.Vector2 GetTotalLinearDamp() gdnative.Real GetTransform() gdnative.Transform2D IntegrateForces() IsSleeping() gdnative.Bool SetAngularVelocity(velocity gdnative.Real) SetLinearVelocity(velocity gdnative.Vector2) SetSleepState(enabled gdnative.Bool) SetTransform(transform gdnative.Transform2D) }
Physics2DDirectBodyStateImplementer is an interface that implements the methods of the Physics2DDirectBodyState class.
type Physics2DDirectBodyStateSW ¶
type Physics2DDirectBodyStateSW struct { Physics2DDirectBodyState // contains filtered or unexported fields }
Software implementation of Physics2DDirectBodyState. This object exposes no new methods or properties and should not be used, as Physics2DDirectBodyState selects the best implementation available.
func (*Physics2DDirectBodyStateSW) BaseClass ¶
func (o *Physics2DDirectBodyStateSW) BaseClass() string
type Physics2DDirectBodyStateSWImplementer ¶
type Physics2DDirectBodyStateSWImplementer interface { Physics2DDirectBodyStateImplementer }
Physics2DDirectBodyStateSWImplementer is an interface that implements the methods of the Physics2DDirectBodyStateSW class.
type Physics2DDirectSpaceState ¶
type Physics2DDirectSpaceState struct { Object // contains filtered or unexported fields }
Direct access object to a space in the Physics2DServer. It's used mainly to do queries against objects and areas residing in a given space.
func (*Physics2DDirectSpaceState) BaseClass ¶
func (o *Physics2DDirectSpaceState) BaseClass() string
func (*Physics2DDirectSpaceState) CastMotion ¶
func (o *Physics2DDirectSpaceState) CastMotion(shape Physics2DShapeQueryParametersImplementer) gdnative.Array
Checks how far the shape can travel toward a point. Note that both the shape and the motion are supplied through a [Physics2DShapeQueryParameters] object. The method will return an array with two floats between 0 and 1, both representing a fraction of [code]motion[/code]. The first is how far the shape can move without triggering a collision, and the second is the point at which a collision will occur. If no collision is detected, the returned array will be [1, 1]. If the shape can not move, the array will be empty ([code]dir.empty()==true[/code]). Args: [{ false shape Physics2DShapeQueryParameters}], Returns: Array
func (*Physics2DDirectSpaceState) CollideShape ¶
func (o *Physics2DDirectSpaceState) CollideShape(shape Physics2DShapeQueryParametersImplementer, maxResults gdnative.Int) gdnative.Array
Checks the intersections of a shape, given through a [Physics2DShapeQueryParameters] object, against the space. The resulting array contains a list of points where the shape intersects another. Like with [method intersect_shape], the number of returned results can be limited to save processing time. Args: [{ false shape Physics2DShapeQueryParameters} {32 true max_results int}], Returns: Array
func (*Physics2DDirectSpaceState) GetRestInfo ¶
func (o *Physics2DDirectSpaceState) GetRestInfo(shape Physics2DShapeQueryParametersImplementer) gdnative.Dictionary
Checks the intersections of a shape, given through a [Physics2DShapeQueryParameters] object, against the space. If it collides with more than one shape, the nearest one is selected. Note that this method does not take into account the [code]motion[/code] property of the object. The returned object is a dictionary containing the following fields: [code]collider_id[/code]: The colliding object's ID. [code]linear_velocity[/code]: The colliding object's velocity [Vector2]. If the object is an [Area2D], the result is [code](0, 0)[/code]. [code]metadata[/code]: The intersecting shape's metadata. This metadata is different from [method Object.get_meta], and is set with [method Physics2DServer.shape_set_data]. [code]normal[/code]: The object's surface normal at the intersection point. [code]point[/code]: The intersection point. [code]rid[/code]: The intersecting object's [RID]. [code]shape[/code]: The shape index of the colliding shape. If the shape did not intersect anything, then an empty dictionary ([code]dir.empty()==true[/code]) is returned instead. Args: [{ false shape Physics2DShapeQueryParameters}], Returns: Dictionary
func (*Physics2DDirectSpaceState) IntersectPoint ¶
func (o *Physics2DDirectSpaceState) IntersectPoint(point gdnative.Vector2, maxResults gdnative.Int, exclude gdnative.Array, collisionLayer gdnative.Int) gdnative.Array
Checks whether a point is inside any shape. The shapes the point is inside of are returned in an array containing dictionaries with the following fields: [code]collider[/code]: The colliding object. [code]collider_id[/code]: The colliding object's ID. [code]metadata[/code]: The intersecting shape's metadata. This metadata is different from [method Object.get_meta], and is set with [method Physics2DServer.shape_set_data]. [code]rid[/code]: The intersecting object's [RID]. [code]shape[/code]: The shape index of the colliding shape. Additionally, the method can take an array of objects or [RID]s that are to be excluded from collisions, or a bitmask representing the physics layers to check in. Args: [{ false point Vector2} {32 true max_results int} {[] true exclude Array} {2147483647 true collision_layer int}], Returns: Array
func (*Physics2DDirectSpaceState) IntersectRay ¶
func (o *Physics2DDirectSpaceState) IntersectRay(from gdnative.Vector2, to gdnative.Vector2, exclude gdnative.Array, collisionLayer gdnative.Int) gdnative.Dictionary
Intersects a ray in a given space. The returned object is a dictionary with the following fields: [code]collider[/code]: The colliding object. [code]collider_id[/code]: The colliding object's ID. [code]metadata[/code]: The intersecting shape's metadata. This metadata is different from [method Object.get_meta], and is set with [method Physics2DServer.shape_set_data]. [code]normal[/code]: The object's surface normal at the intersection point. [code]position[/code]: The intersection point. [code]rid[/code]: The intersecting object's [RID]. [code]shape[/code]: The shape index of the colliding shape. If the ray did not intersect anything, then an empty dictionary ([code]dir.empty()==true[/code]) is returned instead. Additionally, the method can take an array of objects or [RID]s that are to be excluded from collisions, or a bitmask representing the physics layers to check in. Args: [{ false from Vector2} { false to Vector2} {[] true exclude Array} {2147483647 true collision_layer int}], Returns: Dictionary
func (*Physics2DDirectSpaceState) IntersectShape ¶
func (o *Physics2DDirectSpaceState) IntersectShape(shape Physics2DShapeQueryParametersImplementer, maxResults gdnative.Int) gdnative.Array
Checks the intersections of a shape, given through a [Physics2DShapeQueryParameters] object, against the space. Note that this method does not take into account the [code]motion[/code] property of the object. The intersected shapes are returned in an array containing dictionaries with the following fields: [code]collider[/code]: The colliding object. [code]collider_id[/code]: The colliding object's ID. [code]metadata[/code]: The intersecting shape's metadata. This metadata is different from [method Object.get_meta], and is set with [method Physics2DServer.shape_set_data]. [code]rid[/code]: The intersecting object's [RID]. [code]shape[/code]: The shape index of the colliding shape. The number of intersections can be limited with the second parameter, to reduce the processing time. Args: [{ false shape Physics2DShapeQueryParameters} {32 true max_results int}], Returns: Array
type Physics2DDirectSpaceStateImplementer ¶
type Physics2DDirectSpaceStateImplementer interface { ObjectImplementer CastMotion(shape Physics2DShapeQueryParametersImplementer) gdnative.Array CollideShape(shape Physics2DShapeQueryParametersImplementer, maxResults gdnative.Int) gdnative.Array GetRestInfo(shape Physics2DShapeQueryParametersImplementer) gdnative.Dictionary IntersectPoint(point gdnative.Vector2, maxResults gdnative.Int, exclude gdnative.Array, collisionLayer gdnative.Int) gdnative.Array IntersectRay(from gdnative.Vector2, to gdnative.Vector2, exclude gdnative.Array, collisionLayer gdnative.Int) gdnative.Dictionary IntersectShape(shape Physics2DShapeQueryParametersImplementer, maxResults gdnative.Int) gdnative.Array }
Physics2DDirectSpaceStateImplementer is an interface that implements the methods of the Physics2DDirectSpaceState class.
type Physics2DServerAreaBodyStatus ¶
type Physics2DServerAreaBodyStatus int
Physics2DServerAreaBodyStatus is an enum for AreaBodyStatus values.
const ( Physics2DServerAreaBodyAdded Physics2DServerAreaBodyStatus = 0 Physics2DServerAreaBodyRemoved Physics2DServerAreaBodyStatus = 1 )
type Physics2DServerAreaParameter ¶
type Physics2DServerAreaParameter int
Physics2DServerAreaParameter is an enum for AreaParameter values.
const ( Physics2DServerAreaParamAngularDamp Physics2DServerAreaParameter = 6 Physics2DServerAreaParamGravity Physics2DServerAreaParameter = 0 Physics2DServerAreaParamGravityDistanceScale Physics2DServerAreaParameter = 3 Physics2DServerAreaParamGravityIsPoint Physics2DServerAreaParameter = 2 Physics2DServerAreaParamGravityPointAttenuation Physics2DServerAreaParameter = 4 Physics2DServerAreaParamGravityVector Physics2DServerAreaParameter = 1 Physics2DServerAreaParamLinearDamp Physics2DServerAreaParameter = 5 Physics2DServerAreaParamPriority Physics2DServerAreaParameter = 7 )
type Physics2DServerAreaSpaceOverrideMode ¶
type Physics2DServerAreaSpaceOverrideMode int
Physics2DServerAreaSpaceOverrideMode is an enum for AreaSpaceOverrideMode values.
const ( Physics2DServerAreaSpaceOverrideCombine Physics2DServerAreaSpaceOverrideMode = 1 Physics2DServerAreaSpaceOverrideCombineReplace Physics2DServerAreaSpaceOverrideMode = 2 Physics2DServerAreaSpaceOverrideDisabled Physics2DServerAreaSpaceOverrideMode = 0 Physics2DServerAreaSpaceOverrideReplace Physics2DServerAreaSpaceOverrideMode = 3 Physics2DServerAreaSpaceOverrideReplaceCombine Physics2DServerAreaSpaceOverrideMode = 4 )
type Physics2DServerBodyMode ¶
type Physics2DServerBodyMode int
Physics2DServerBodyMode is an enum for BodyMode values.
const ( Physics2DServerBodyModeCharacter Physics2DServerBodyMode = 3 Physics2DServerBodyModeKinematic Physics2DServerBodyMode = 1 Physics2DServerBodyModeRigid Physics2DServerBodyMode = 2 Physics2DServerBodyModeStatic Physics2DServerBodyMode = 0 )
type Physics2DServerBodyParameter ¶
type Physics2DServerBodyParameter int
Physics2DServerBodyParameter is an enum for BodyParameter values.
const ( Physics2DServerBodyParamAngularDamp Physics2DServerBodyParameter = 6 Physics2DServerBodyParamBounce Physics2DServerBodyParameter = 0 Physics2DServerBodyParamFriction Physics2DServerBodyParameter = 1 Physics2DServerBodyParamGravityScale Physics2DServerBodyParameter = 4 Physics2DServerBodyParamInertia Physics2DServerBodyParameter = 3 Physics2DServerBodyParamLinearDamp Physics2DServerBodyParameter = 5 Physics2DServerBodyParamMass Physics2DServerBodyParameter = 2 Physics2DServerBodyParamMax Physics2DServerBodyParameter = 7 )
type Physics2DServerBodyState ¶
type Physics2DServerBodyState int
Physics2DServerBodyState is an enum for BodyState values.
const ( Physics2DServerBodyStateAngularVelocity Physics2DServerBodyState = 2 Physics2DServerBodyStateCanSleep Physics2DServerBodyState = 4 Physics2DServerBodyStateLinearVelocity Physics2DServerBodyState = 1 Physics2DServerBodyStateSleeping Physics2DServerBodyState = 3 Physics2DServerBodyStateTransform Physics2DServerBodyState = 0 )
type Physics2DServerCCDMode ¶
type Physics2DServerCCDMode int
Physics2DServerCCDMode is an enum for CCDMode values.
const ( Physics2DServerCcdModeCastRay Physics2DServerCCDMode = 1 Physics2DServerCcdModeCastShape Physics2DServerCCDMode = 2 Physics2DServerCcdModeDisabled Physics2DServerCCDMode = 0 )
type Physics2DServerDampedStringParam ¶
type Physics2DServerDampedStringParam int
Physics2DServerDampedStringParam is an enum for DampedStringParam values.
const ( Physics2DServerDampedStringDamping Physics2DServerDampedStringParam = 2 Physics2DServerDampedStringRestLength Physics2DServerDampedStringParam = 0 Physics2DServerDampedStringStiffness Physics2DServerDampedStringParam = 1 )
type Physics2DServerImplementer ¶
type Physics2DServerImplementer interface { ObjectImplementer AreaAddShape(area gdnative.Rid, shape gdnative.Rid, transform gdnative.Transform2D) AreaAttachObjectInstanceId(area gdnative.Rid, id gdnative.Int) AreaClearShapes(area gdnative.Rid) AreaCreate() gdnative.Rid AreaGetObjectInstanceId(area gdnative.Rid) gdnative.Int AreaGetParam(area gdnative.Rid, param gdnative.Int) gdnative.Variant AreaGetShape(area gdnative.Rid, shapeIdx gdnative.Int) gdnative.Rid AreaGetShapeCount(area gdnative.Rid) gdnative.Int AreaGetShapeTransform(area gdnative.Rid, shapeIdx gdnative.Int) gdnative.Transform2D AreaGetSpace(area gdnative.Rid) gdnative.Rid AreaGetTransform(area gdnative.Rid) gdnative.Transform2D AreaRemoveShape(area gdnative.Rid, shapeIdx gdnative.Int) AreaSetCollisionLayer(area gdnative.Rid, layer gdnative.Int) AreaSetCollisionMask(area gdnative.Rid, mask gdnative.Int) AreaSetMonitorCallback(area gdnative.Rid, receiver ObjectImplementer, method gdnative.String) AreaSetParam(area gdnative.Rid, param gdnative.Int, value gdnative.Variant) AreaSetShape(area gdnative.Rid, shapeIdx gdnative.Int, shape gdnative.Rid) AreaSetShapeDisabled(area gdnative.Rid, shapeIdx gdnative.Int, disable gdnative.Bool) AreaSetShapeTransform(area gdnative.Rid, shapeIdx gdnative.Int, transform gdnative.Transform2D) AreaSetSpace(area gdnative.Rid, space gdnative.Rid) AreaSetSpaceOverrideMode(area gdnative.Rid, mode gdnative.Int) AreaSetTransform(area gdnative.Rid, transform gdnative.Transform2D) BodyAddCollisionException(body gdnative.Rid, exceptedBody gdnative.Rid) BodyAddForce(body gdnative.Rid, offset gdnative.Vector2, force gdnative.Vector2) BodyAddShape(body gdnative.Rid, shape gdnative.Rid, transform gdnative.Transform2D) BodyApplyImpulse(body gdnative.Rid, position gdnative.Vector2, impulse gdnative.Vector2) BodyAttachObjectInstanceId(body gdnative.Rid, id gdnative.Int) BodyClearShapes(body gdnative.Rid) BodyCreate() gdnative.Rid BodyGetCollisionLayer(body gdnative.Rid) gdnative.Int BodyGetCollisionMask(body gdnative.Rid) gdnative.Int BodyGetDirectState(body gdnative.Rid) Physics2DDirectBodyStateImplementer BodyGetMaxContactsReported(body gdnative.Rid) gdnative.Int BodyGetObjectInstanceId(body gdnative.Rid) gdnative.Int BodyGetParam(body gdnative.Rid, param gdnative.Int) gdnative.Real BodyGetShape(body gdnative.Rid, shapeIdx gdnative.Int) gdnative.Rid BodyGetShapeCount(body gdnative.Rid) gdnative.Int BodyGetShapeMetadata(body gdnative.Rid, shapeIdx gdnative.Int) gdnative.Variant BodyGetShapeTransform(body gdnative.Rid, shapeIdx gdnative.Int) gdnative.Transform2D BodyGetSpace(body gdnative.Rid) gdnative.Rid BodyGetState(body gdnative.Rid, state gdnative.Int) gdnative.Variant BodyIsOmittingForceIntegration(body gdnative.Rid) gdnative.Bool BodyRemoveCollisionException(body gdnative.Rid, exceptedBody gdnative.Rid) BodyRemoveShape(body gdnative.Rid, shapeIdx gdnative.Int) BodySetAxisVelocity(body gdnative.Rid, axisVelocity gdnative.Vector2) BodySetCollisionLayer(body gdnative.Rid, layer gdnative.Int) BodySetCollisionMask(body gdnative.Rid, mask gdnative.Int) BodySetContinuousCollisionDetectionMode(body gdnative.Rid, mode gdnative.Int) BodySetForceIntegrationCallback(body gdnative.Rid, receiver ObjectImplementer, method gdnative.String, userdata gdnative.Variant) BodySetMaxContactsReported(body gdnative.Rid, amount gdnative.Int) BodySetMode(body gdnative.Rid, mode gdnative.Int) BodySetOmitForceIntegration(body gdnative.Rid, enable gdnative.Bool) BodySetParam(body gdnative.Rid, param gdnative.Int, value gdnative.Real) BodySetShape(body gdnative.Rid, shapeIdx gdnative.Int, shape gdnative.Rid) BodySetShapeAsOneWayCollision(body gdnative.Rid, shapeIdx gdnative.Int, enable gdnative.Bool) BodySetShapeDisabled(body gdnative.Rid, shapeIdx gdnative.Int, disable gdnative.Bool) BodySetShapeMetadata(body gdnative.Rid, shapeIdx gdnative.Int, metadata gdnative.Variant) BodySetShapeTransform(body gdnative.Rid, shapeIdx gdnative.Int, transform gdnative.Transform2D) BodySetSpace(body gdnative.Rid, space gdnative.Rid) BodySetState(body gdnative.Rid, state gdnative.Int, value gdnative.Variant) BodyTestMotion(body gdnative.Rid, from gdnative.Transform2D, motion gdnative.Vector2, margin gdnative.Real, result Physics2DTestMotionResultImplementer) gdnative.Bool CapsuleShapeCreate() gdnative.Rid CircleShapeCreate() gdnative.Rid ConcavePolygonShapeCreate() gdnative.Rid ConvexPolygonShapeCreate() gdnative.Rid DampedSpringJointCreate(anchorA gdnative.Vector2, anchorB gdnative.Vector2, bodyA gdnative.Rid, bodyB gdnative.Rid) gdnative.Rid DampedStringJointGetParam(joint gdnative.Rid, param gdnative.Int) gdnative.Real DampedStringJointSetParam(joint gdnative.Rid, param gdnative.Int, value gdnative.Real) FreeRid(rid gdnative.Rid) GetProcessInfo(processInfo gdnative.Int) gdnative.Int GrooveJointCreate(groove1A gdnative.Vector2, groove2A gdnative.Vector2, anchorB gdnative.Vector2, bodyA gdnative.Rid, bodyB gdnative.Rid) gdnative.Rid JointGetParam(joint gdnative.Rid, param gdnative.Int) gdnative.Real JointSetParam(joint gdnative.Rid, param gdnative.Int, value gdnative.Real) LineShapeCreate() gdnative.Rid PinJointCreate(anchor gdnative.Vector2, bodyA gdnative.Rid, bodyB gdnative.Rid) gdnative.Rid RayShapeCreate() gdnative.Rid RectangleShapeCreate() gdnative.Rid SegmentShapeCreate() gdnative.Rid SetActive(active gdnative.Bool) ShapeGetData(shape gdnative.Rid) gdnative.Variant ShapeSetData(shape gdnative.Rid, data gdnative.Variant) SpaceCreate() gdnative.Rid SpaceGetDirectState(space gdnative.Rid) Physics2DDirectSpaceStateImplementer SpaceGetParam(space gdnative.Rid, param gdnative.Int) gdnative.Real SpaceIsActive(space gdnative.Rid) gdnative.Bool SpaceSetActive(space gdnative.Rid, active gdnative.Bool) SpaceSetParam(space gdnative.Rid, param gdnative.Int, value gdnative.Real) }
Physics2DServerImplementer is an interface that implements the methods of the Physics2DServer class.
type Physics2DServerJointParam ¶
type Physics2DServerJointParam int
Physics2DServerJointParam is an enum for JointParam values.
const ( Physics2DServerJointParamBias Physics2DServerJointParam = 0 Physics2DServerJointParamMaxBias Physics2DServerJointParam = 1 Physics2DServerJointParamMaxForce Physics2DServerJointParam = 2 )
type Physics2DServerJointType ¶
type Physics2DServerJointType int
Physics2DServerJointType is an enum for JointType values.
const ( Physics2DServerJointDampedSpring Physics2DServerJointType = 2 Physics2DServerJointGroove Physics2DServerJointType = 1 Physics2DServerJointPin Physics2DServerJointType = 0 )
type Physics2DServerProcessInfo ¶
type Physics2DServerProcessInfo int
Physics2DServerProcessInfo is an enum for ProcessInfo values.
const ( Physics2DServerInfoActiveObjects Physics2DServerProcessInfo = 0 Physics2DServerInfoCollisionPairs Physics2DServerProcessInfo = 1 Physics2DServerInfoIslandCount Physics2DServerProcessInfo = 2 )
type Physics2DServerSW ¶
type Physics2DServerSW struct {
// contains filtered or unexported fields
}
This class exposes no new methods or properties and should not be used, as Physics2DServer automatically selects the best implementation available.
func (*Physics2DServerSW) AreaAddShape ¶
func (o *Physics2DServerSW) AreaAddShape(area gdnative.Rid, shape gdnative.Rid, transform gdnative.Transform2D)
Adds a shape to the area, along with a transform matrix. Shapes are usually referenced by their index, so you should track which shape has a given index. Args: [{ false area RID} { false shape RID} {((1, 0), (0, 1), (0, 0)) true transform Transform2D}], Returns: void
func (*Physics2DServerSW) AreaAttachObjectInstanceId ¶
Assigns the area to a descendant of [Object], so it can exist in the node tree. Args: [{ false area RID} { false id int}], Returns: void
func (*Physics2DServerSW) AreaClearShapes ¶
Removes all shapes from an area. It does not delete the shapes, so they can be reassigned later. Args: [{ false area RID}], Returns: void
func (*Physics2DServerSW) AreaCreate ¶
Creates an [Area2D]. Args: [], Returns: RID
func (*Physics2DServerSW) AreaGetObjectInstanceId ¶
Gets the instance ID of the object the area is assigned to. Args: [{ false area RID}], Returns: int
func (*Physics2DServerSW) AreaGetParam ¶
Returns an area parameter value. A list of available parameters is on the AREA_PARAM_* constants. Args: [{ false area RID} { false param int}], Returns: Variant
func (*Physics2DServerSW) AreaGetShape ¶
Returns the [RID] of the nth shape of an area. Args: [{ false area RID} { false shape_idx int}], Returns: RID
func (*Physics2DServerSW) AreaGetShapeCount ¶
Returns the number of shapes assigned to an area. Args: [{ false area RID}], Returns: int
func (*Physics2DServerSW) AreaGetShapeTransform ¶
func (o *Physics2DServerSW) AreaGetShapeTransform(area gdnative.Rid, shapeIdx gdnative.Int) gdnative.Transform2D
Returns the transform matrix of a shape within an area. Args: [{ false area RID} { false shape_idx int}], Returns: Transform2D
func (*Physics2DServerSW) AreaGetSpace ¶
Returns the space assigned to the area. Args: [{ false area RID}], Returns: RID
func (*Physics2DServerSW) AreaGetSpaceOverrideMode ¶
func (o *Physics2DServerSW) AreaGetSpaceOverrideMode(area gdnative.Rid) Physics2DServerAreaSpaceOverrideMode
Returns the space override mode for the area. Args: [{ false area RID}], Returns: enum.Physics2DServer::AreaSpaceOverrideMode
func (*Physics2DServerSW) AreaGetTransform ¶
func (o *Physics2DServerSW) AreaGetTransform(area gdnative.Rid) gdnative.Transform2D
Returns the transform matrix for an area. Args: [{ false area RID}], Returns: Transform2D
func (*Physics2DServerSW) AreaRemoveShape ¶
Removes a shape from an area. It does not delete the shape, so it can be reassigned later. Args: [{ false area RID} { false shape_idx int}], Returns: void
func (*Physics2DServerSW) AreaSetCollisionLayer ¶
Assigns the area to one or many physics layers. Args: [{ false area RID} { false layer int}], Returns: void
func (*Physics2DServerSW) AreaSetCollisionMask ¶
Sets which physics layers the area will monitor. Args: [{ false area RID} { false mask int}], Returns: void
func (*Physics2DServerSW) AreaSetMonitorCallback ¶
func (o *Physics2DServerSW) AreaSetMonitorCallback(area gdnative.Rid, receiver ObjectImplementer, method gdnative.String)
Sets the function to call when any body/area enters or exits the area. This callback will be called for any object interacting with the area, and takes five parameters: 1: AREA_BODY_ADDED or AREA_BODY_REMOVED, depending on whether the object entered or exited the area. 2: [RID] of the object that entered/exited the area. 3: Instance ID of the object that entered/exited the area. 4: The shape index of the object that entered/exited the area. 5: The shape index of the area where the object entered/exited. Args: [{ false area RID} { false receiver Object} { false method String}], Returns: void
func (*Physics2DServerSW) AreaSetParam ¶
func (o *Physics2DServerSW) AreaSetParam(area gdnative.Rid, param gdnative.Int, value gdnative.Variant)
Sets the value for an area parameter. A list of available parameters is on the AREA_PARAM_* constants. Args: [{ false area RID} { false param int} { false value Variant}], Returns: void
func (*Physics2DServerSW) AreaSetShape ¶
func (o *Physics2DServerSW) AreaSetShape(area gdnative.Rid, shapeIdx gdnative.Int, shape gdnative.Rid)
Substitutes a given area shape by another. The old shape is selected by its index, the new one by its [RID]. Args: [{ false area RID} { false shape_idx int} { false shape RID}], Returns: void
func (*Physics2DServerSW) AreaSetShapeDisabled ¶
func (o *Physics2DServerSW) AreaSetShapeDisabled(area gdnative.Rid, shapeIdx gdnative.Int, disable gdnative.Bool)
Disables a given shape in an area. Args: [{ false area RID} { false shape_idx int} { false disable bool}], Returns: void
func (*Physics2DServerSW) AreaSetShapeTransform ¶
func (o *Physics2DServerSW) AreaSetShapeTransform(area gdnative.Rid, shapeIdx gdnative.Int, transform gdnative.Transform2D)
Sets the transform matrix for an area shape. Args: [{ false area RID} { false shape_idx int} { false transform Transform2D}], Returns: void
func (*Physics2DServerSW) AreaSetSpace ¶
Assigns a space to the area. Args: [{ false area RID} { false space RID}], Returns: void
func (*Physics2DServerSW) AreaSetSpaceOverrideMode ¶
Sets the space override mode for the area. The modes are described in the constants AREA_SPACE_OVERRIDE_*. Args: [{ false area RID} { false mode int}], Returns: void
func (*Physics2DServerSW) AreaSetTransform ¶
func (o *Physics2DServerSW) AreaSetTransform(area gdnative.Rid, transform gdnative.Transform2D)
Sets the transform matrix for an area. Args: [{ false area RID} { false transform Transform2D}], Returns: void
func (*Physics2DServerSW) BaseClass ¶
func (o *Physics2DServerSW) BaseClass() string
func (*Physics2DServerSW) BodyAddCollisionException ¶
Adds a body to the list of bodies exempt from collisions. Args: [{ false body RID} { false excepted_body RID}], Returns: void
func (*Physics2DServerSW) BodyAddForce ¶
func (o *Physics2DServerSW) BodyAddForce(body gdnative.Rid, offset gdnative.Vector2, force gdnative.Vector2)
Adds a positioned force to the applied force and torque. As with [method body_apply_impulse], both the force and the offset from the body origin are in global coordinates. A force differs from an impulse in that, while the two are forces, the impulse clears itself after being applied. Args: [{ false body RID} { false offset Vector2} { false force Vector2}], Returns: void
func (*Physics2DServerSW) BodyAddShape ¶
func (o *Physics2DServerSW) BodyAddShape(body gdnative.Rid, shape gdnative.Rid, transform gdnative.Transform2D)
Adds a shape to the body, along with a transform matrix. Shapes are usually referenced by their index, so you should track which shape has a given index. Args: [{ false body RID} { false shape RID} {((1, 0), (0, 1), (0, 0)) true transform Transform2D}], Returns: void
func (*Physics2DServerSW) BodyApplyImpulse ¶
func (o *Physics2DServerSW) BodyApplyImpulse(body gdnative.Rid, position gdnative.Vector2, impulse gdnative.Vector2)
Adds a positioned impulse to the applied force and torque. Both the force and the offset from the body origin are in global coordinates. Args: [{ false body RID} { false position Vector2} { false impulse Vector2}], Returns: void
func (*Physics2DServerSW) BodyAttachObjectInstanceId ¶
Assigns the area to a descendant of [Object], so it can exist in the node tree. Args: [{ false body RID} { false id int}], Returns: void
func (*Physics2DServerSW) BodyClearShapes ¶
Removes all shapes from a body. Args: [{ false body RID}], Returns: void
func (*Physics2DServerSW) BodyCreate ¶
Creates a physics body. The first parameter can be any value from constants BODY_MODE*, for the type of body created. Additionally, the body can be created in sleeping state to save processing time. Args: [], Returns: RID
func (*Physics2DServerSW) BodyGetCollisionLayer ¶
Returns the physics layer or layers a body belongs to. Args: [{ false body RID}], Returns: int
func (*Physics2DServerSW) BodyGetCollisionMask ¶
Returns the physics layer or layers a body can collide with. Args: [{ false body RID}], Returns: int
func (*Physics2DServerSW) BodyGetContinuousCollisionDetectionMode ¶
func (o *Physics2DServerSW) BodyGetContinuousCollisionDetectionMode(body gdnative.Rid) Physics2DServerCCDMode
Returns the continuous collision detection mode. Args: [{ false body RID}], Returns: enum.Physics2DServer::CCDMode
func (*Physics2DServerSW) BodyGetDirectState ¶
func (o *Physics2DServerSW) BodyGetDirectState(body gdnative.Rid) Physics2DDirectBodyStateImplementer
Returns the [Physics2DDirectBodyState] of the body. Args: [{ false body RID}], Returns: Physics2DDirectBodyState
func (*Physics2DServerSW) BodyGetMaxContactsReported ¶
Returns the maximum contacts that can be reported. See [method body_set_max_contacts_reported]. Args: [{ false body RID}], Returns: int
func (*Physics2DServerSW) BodyGetMode ¶
func (o *Physics2DServerSW) BodyGetMode(body gdnative.Rid) Physics2DServerBodyMode
Returns the body mode. Args: [{ false body RID}], Returns: enum.Physics2DServer::BodyMode
func (*Physics2DServerSW) BodyGetObjectInstanceId ¶
Gets the instance ID of the object the area is assigned to. Args: [{ false body RID}], Returns: int
func (*Physics2DServerSW) BodyGetParam ¶
Returns the value of a body parameter. A list of available parameters is on the BODY_PARAM_* constants. Args: [{ false body RID} { false param int}], Returns: float
func (*Physics2DServerSW) BodyGetShape ¶
Returns the [RID] of the nth shape of a body. Args: [{ false body RID} { false shape_idx int}], Returns: RID
func (*Physics2DServerSW) BodyGetShapeCount ¶
Returns the number of shapes assigned to a body. Args: [{ false body RID}], Returns: int
func (*Physics2DServerSW) BodyGetShapeMetadata ¶
func (o *Physics2DServerSW) BodyGetShapeMetadata(body gdnative.Rid, shapeIdx gdnative.Int) gdnative.Variant
Returns the metadata of a shape of a body. Args: [{ false body RID} { false shape_idx int}], Returns: Variant
func (*Physics2DServerSW) BodyGetShapeTransform ¶
func (o *Physics2DServerSW) BodyGetShapeTransform(body gdnative.Rid, shapeIdx gdnative.Int) gdnative.Transform2D
Returns the transform matrix of a body shape. Args: [{ false body RID} { false shape_idx int}], Returns: Transform2D
func (*Physics2DServerSW) BodyGetSpace ¶
Returns the [RID] of the space assigned to a body. Args: [{ false body RID}], Returns: RID
func (*Physics2DServerSW) BodyGetState ¶
Returns a body state. Args: [{ false body RID} { false state int}], Returns: Variant
func (*Physics2DServerSW) BodyIsOmittingForceIntegration ¶
Returns whether a body uses a callback function to calculate its own physics (see [method body_set_force_integration_callback]). Args: [{ false body RID}], Returns: bool
func (*Physics2DServerSW) BodyRemoveCollisionException ¶
func (o *Physics2DServerSW) BodyRemoveCollisionException(body gdnative.Rid, exceptedBody gdnative.Rid)
Removes a body from the list of bodies exempt from collisions. Args: [{ false body RID} { false excepted_body RID}], Returns: void
func (*Physics2DServerSW) BodyRemoveShape ¶
Removes a shape from a body. The shape is not deleted, so it can be reused afterwards. Args: [{ false body RID} { false shape_idx int}], Returns: void
func (*Physics2DServerSW) BodySetAxisVelocity ¶
Sets an axis velocity. The velocity in the given vector axis will be set as the given vector length. This is useful for jumping behavior. Args: [{ false body RID} { false axis_velocity Vector2}], Returns: void
func (*Physics2DServerSW) BodySetCollisionLayer ¶
Sets the physics layer or layers a body belongs to. Args: [{ false body RID} { false layer int}], Returns: void
func (*Physics2DServerSW) BodySetCollisionMask ¶
Sets the physics layer or layers a body can collide with. Args: [{ false body RID} { false mask int}], Returns: void
func (*Physics2DServerSW) BodySetContinuousCollisionDetectionMode ¶
func (o *Physics2DServerSW) BodySetContinuousCollisionDetectionMode(body gdnative.Rid, mode gdnative.Int)
Sets the continuous collision detection mode from any of the CCD_MODE_* constants. Continuous collision detection tries to predict where a moving body will collide, instead of moving it and correcting its movement if it collided. Args: [{ false body RID} { false mode int}], Returns: void
func (*Physics2DServerSW) BodySetForceIntegrationCallback ¶
func (o *Physics2DServerSW) BodySetForceIntegrationCallback(body gdnative.Rid, receiver ObjectImplementer, method gdnative.String, userdata gdnative.Variant)
Sets the function used to calculate physics for an object, if that object allows it (see [method body_set_omit_force integration]). Args: [{ false body RID} { false receiver Object} { false method String} {Null true userdata Variant}], Returns: void
func (*Physics2DServerSW) BodySetMaxContactsReported ¶
Sets the maximum contacts to report. Bodies can keep a log of the contacts with other bodies, this is enabled by setting the maximum amount of contacts reported to a number greater than 0. Args: [{ false body RID} { false amount int}], Returns: void
func (*Physics2DServerSW) BodySetMode ¶
Sets the body mode, from one of the constants BODY_MODE*. Args: [{ false body RID} { false mode int}], Returns: void
func (*Physics2DServerSW) BodySetOmitForceIntegration ¶
Sets whether a body uses a callback function to calculate its own physics (see [method body_set_force_integration_callback]). Args: [{ false body RID} { false enable bool}], Returns: void
func (*Physics2DServerSW) BodySetParam ¶
func (o *Physics2DServerSW) BodySetParam(body gdnative.Rid, param gdnative.Int, value gdnative.Real)
Sets a body parameter. A list of available parameters is on the BODY_PARAM_* constants. Args: [{ false body RID} { false param int} { false value float}], Returns: void
func (*Physics2DServerSW) BodySetShape ¶
func (o *Physics2DServerSW) BodySetShape(body gdnative.Rid, shapeIdx gdnative.Int, shape gdnative.Rid)
Substitutes a given body shape by another. The old shape is selected by its index, the new one by its [RID]. Args: [{ false body RID} { false shape_idx int} { false shape RID}], Returns: void
func (*Physics2DServerSW) BodySetShapeAsOneWayCollision ¶
func (o *Physics2DServerSW) BodySetShapeAsOneWayCollision(body gdnative.Rid, shapeIdx gdnative.Int, enable gdnative.Bool)
Enables one way collision on body if [code]enable[/code] is [code]true[/code]. Args: [{ false body RID} { false shape_idx int} { false enable bool}], Returns: void
func (*Physics2DServerSW) BodySetShapeDisabled ¶
func (o *Physics2DServerSW) BodySetShapeDisabled(body gdnative.Rid, shapeIdx gdnative.Int, disable gdnative.Bool)
Disables shape in body if [code]disable[/code] is [code]true[/code]. Args: [{ false body RID} { false shape_idx int} { false disable bool}], Returns: void
func (*Physics2DServerSW) BodySetShapeMetadata ¶
func (o *Physics2DServerSW) BodySetShapeMetadata(body gdnative.Rid, shapeIdx gdnative.Int, metadata gdnative.Variant)
Sets metadata of a shape within a body. This metadata is different from [method Object.set_meta], and can be retrieved on shape queries. Args: [{ false body RID} { false shape_idx int} { false metadata Variant}], Returns: void
func (*Physics2DServerSW) BodySetShapeTransform ¶
func (o *Physics2DServerSW) BodySetShapeTransform(body gdnative.Rid, shapeIdx gdnative.Int, transform gdnative.Transform2D)
Sets the transform matrix for a body shape. Args: [{ false body RID} { false shape_idx int} { false transform Transform2D}], Returns: void
func (*Physics2DServerSW) BodySetSpace ¶
Assigns a space to the body (see [method create_space]). Args: [{ false body RID} { false space RID}], Returns: void
func (*Physics2DServerSW) BodySetState ¶
func (o *Physics2DServerSW) BodySetState(body gdnative.Rid, state gdnative.Int, value gdnative.Variant)
Sets a body state (see BODY_STATE* constants). Args: [{ false body RID} { false state int} { false value Variant}], Returns: void
func (*Physics2DServerSW) BodyTestMotion ¶
func (o *Physics2DServerSW) BodyTestMotion(body gdnative.Rid, from gdnative.Transform2D, motion gdnative.Vector2, margin gdnative.Real, result Physics2DTestMotionResultImplementer) gdnative.Bool
Returns whether a body can move from a given point in a given direction. Apart from the boolean return value, a [Physics2DTestMotionResult] can be passed to return additional information in. Args: [{ false body RID} { false from Transform2D} { false motion Vector2} {0.08 true margin float} {Null true result Physics2DTestMotionResult}], Returns: bool
func (*Physics2DServerSW) CapsuleShapeCreate ¶
Args: [], Returns: RID
func (*Physics2DServerSW) CircleShapeCreate ¶
Args: [], Returns: RID
func (*Physics2DServerSW) ConcavePolygonShapeCreate ¶
Args: [], Returns: RID
func (*Physics2DServerSW) ConvexPolygonShapeCreate ¶
Args: [], Returns: RID
func (*Physics2DServerSW) DampedSpringJointCreate ¶
func (o *Physics2DServerSW) DampedSpringJointCreate(anchorA gdnative.Vector2, anchorB gdnative.Vector2, bodyA gdnative.Rid, bodyB gdnative.Rid) gdnative.Rid
Creates a damped spring joint between two bodies. If not specified, the second body is assumed to be the joint itself. Args: [{ false anchor_a Vector2} { false anchor_b Vector2} { false body_a RID} {[RID] true body_b RID}], Returns: RID
func (*Physics2DServerSW) DampedStringJointGetParam ¶
func (o *Physics2DServerSW) DampedStringJointGetParam(joint gdnative.Rid, param gdnative.Int) gdnative.Real
Returns the value of a damped spring joint parameter. Args: [{ false joint RID} { false param int}], Returns: float
func (*Physics2DServerSW) DampedStringJointSetParam ¶
func (o *Physics2DServerSW) DampedStringJointSetParam(joint gdnative.Rid, param gdnative.Int, value gdnative.Real)
Sets a damped spring joint parameter. Parameters are explained in the DAMPED_STRING* constants. Args: [{ false joint RID} { false param int} { false value float}], Returns: void
func (*Physics2DServerSW) FreeRid ¶
Destroys any of the objects created by Physics2DServer. If the [RID] passed is not one of the objects that can be created by Physics2DServer, an error will be sent to the console. Args: [{ false rid RID}], Returns: void
func (*Physics2DServerSW) GetProcessInfo ¶
Returns information about the current state of the 2D physics engine. The states are listed under the INFO_* constants. Args: [{ false process_info int}], Returns: int
func (*Physics2DServerSW) GrooveJointCreate ¶
func (o *Physics2DServerSW) GrooveJointCreate(groove1A gdnative.Vector2, groove2A gdnative.Vector2, anchorB gdnative.Vector2, bodyA gdnative.Rid, bodyB gdnative.Rid) gdnative.Rid
Creates a groove joint between two bodies. If not specified, the bodyies are assumed to be the joint itself. Args: [{ false groove1_a Vector2} { false groove2_a Vector2} { false anchor_b Vector2} {[RID] true body_a RID} {[RID] true body_b RID}], Returns: RID
func (*Physics2DServerSW) JointGetParam ¶
Returns the value of a joint parameter. Args: [{ false joint RID} { false param int}], Returns: float
func (*Physics2DServerSW) JointGetType ¶
func (o *Physics2DServerSW) JointGetType(joint gdnative.Rid) Physics2DServerJointType
Returns the type of a joint (see JOINT_* constants). Args: [{ false joint RID}], Returns: enum.Physics2DServer::JointType
func (*Physics2DServerSW) JointSetParam ¶
func (o *Physics2DServerSW) JointSetParam(joint gdnative.Rid, param gdnative.Int, value gdnative.Real)
Sets a joint parameter. Parameters are explained in the JOINT_PARAM* constants. Args: [{ false joint RID} { false param int} { false value float}], Returns: void
func (*Physics2DServerSW) LineShapeCreate ¶
Args: [], Returns: RID
func (*Physics2DServerSW) PinJointCreate ¶
func (o *Physics2DServerSW) PinJointCreate(anchor gdnative.Vector2, bodyA gdnative.Rid, bodyB gdnative.Rid) gdnative.Rid
Creates a pin joint between two bodies. If not specified, the second body is assumed to be the joint itself. Args: [{ false anchor Vector2} { false body_a RID} {[RID] true body_b RID}], Returns: RID
func (*Physics2DServerSW) RayShapeCreate ¶
Args: [], Returns: RID
func (*Physics2DServerSW) RectangleShapeCreate ¶
Args: [], Returns: RID
func (*Physics2DServerSW) SegmentShapeCreate ¶
Args: [], Returns: RID
func (*Physics2DServerSW) SetActive ¶
Activates or deactivates the 2D physics engine. Args: [{ false active bool}], Returns: void
func (*Physics2DServerSW) ShapeGetData ¶
Returns the shape data. Args: [{ false shape RID}], Returns: Variant
func (*Physics2DServerSW) ShapeGetType ¶
func (o *Physics2DServerSW) ShapeGetType(shape gdnative.Rid) Physics2DServerShapeType
Returns the type of shape (see SHAPE_* constants). Args: [{ false shape RID}], Returns: enum.Physics2DServer::ShapeType
func (*Physics2DServerSW) ShapeSetData ¶
Sets the shape data that defines its shape and size. The data to be passed depends on the kind of shape created [method shape_get_type]. Args: [{ false shape RID} { false data Variant}], Returns: void
func (*Physics2DServerSW) SpaceCreate ¶
Creates a space. A space is a collection of parameters for the physics engine that can be assigned to an area or a body. It can be assigned to an area with [method area_set_space], or to a body with [method body_set_space]. Args: [], Returns: RID
func (*Physics2DServerSW) SpaceGetDirectState ¶
func (o *Physics2DServerSW) SpaceGetDirectState(space gdnative.Rid) Physics2DDirectSpaceStateImplementer
Returns the state of a space, a [Physics2DDirectSpaceState]. This object can be used to make collision/intersection queries. Args: [{ false space RID}], Returns: Physics2DDirectSpaceState
func (*Physics2DServerSW) SpaceGetParam ¶
Returns the value of a space parameter. Args: [{ false space RID} { false param int}], Returns: float
func (*Physics2DServerSW) SpaceIsActive ¶
Returns whether the space is active. Args: [{ false space RID}], Returns: bool
func (*Physics2DServerSW) SpaceSetActive ¶
Marks a space as active. It will not have an effect, unless it is assigned to an area or body. Args: [{ false space RID} { false active bool}], Returns: void
func (*Physics2DServerSW) SpaceSetParam ¶
func (o *Physics2DServerSW) SpaceSetParam(space gdnative.Rid, param gdnative.Int, value gdnative.Real)
Sets the value for a space parameter. A list of available parameters is on the SPACE_PARAM_* constants. Args: [{ false space RID} { false param int} { false value float}], Returns: void
type Physics2DServerSWImplementer ¶
type Physics2DServerSWImplementer interface { Physics2DServerImplementer }
Physics2DServerSWImplementer is an interface that implements the methods of the Physics2DServerSW class.
type Physics2DServerShapeType ¶
type Physics2DServerShapeType int
Physics2DServerShapeType is an enum for ShapeType values.
const ( Physics2DServerShapeCapsule Physics2DServerShapeType = 5 Physics2DServerShapeCircle Physics2DServerShapeType = 3 Physics2DServerShapeConcavePolygon Physics2DServerShapeType = 7 Physics2DServerShapeConvexPolygon Physics2DServerShapeType = 6 Physics2DServerShapeCustom Physics2DServerShapeType = 8 Physics2DServerShapeLine Physics2DServerShapeType = 0 Physics2DServerShapeRay Physics2DServerShapeType = 1 Physics2DServerShapeRectangle Physics2DServerShapeType = 4 Physics2DServerShapeSegment Physics2DServerShapeType = 2 )
type Physics2DServerSpaceParameter ¶
type Physics2DServerSpaceParameter int
Physics2DServerSpaceParameter is an enum for SpaceParameter values.
const ( Physics2DServerSpaceParamBodyAngularVelocitySleepThreshold Physics2DServerSpaceParameter = 4 Physics2DServerSpaceParamBodyLinearVelocitySleepThreshold Physics2DServerSpaceParameter = 3 Physics2DServerSpaceParamBodyMaxAllowedPenetration Physics2DServerSpaceParameter = 2 Physics2DServerSpaceParamBodyTimeToSleep Physics2DServerSpaceParameter = 5 Physics2DServerSpaceParamConstraintDefaultBias Physics2DServerSpaceParameter = 6 Physics2DServerSpaceParamContactMaxSeparation Physics2DServerSpaceParameter = 1 Physics2DServerSpaceParamContactRecycleRadius Physics2DServerSpaceParameter = 0 )
type Physics2DShapeQueryParameters ¶
type Physics2DShapeQueryParameters struct { Reference // contains filtered or unexported fields }
This class contains the shape and other parameters for intersection/collision queries.
func (*Physics2DShapeQueryParameters) BaseClass ¶
func (o *Physics2DShapeQueryParameters) BaseClass() string
func (*Physics2DShapeQueryParameters) GetCollisionLayer ¶
func (o *Physics2DShapeQueryParameters) GetCollisionLayer() gdnative.Int
Undocumented Args: [], Returns: int
func (*Physics2DShapeQueryParameters) GetExclude ¶
func (o *Physics2DShapeQueryParameters) GetExclude() gdnative.Array
Undocumented Args: [], Returns: Array
func (*Physics2DShapeQueryParameters) GetMargin ¶
func (o *Physics2DShapeQueryParameters) GetMargin() gdnative.Real
Undocumented Args: [], Returns: float
func (*Physics2DShapeQueryParameters) GetMotion ¶
func (o *Physics2DShapeQueryParameters) GetMotion() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*Physics2DShapeQueryParameters) GetShapeRid ¶
func (o *Physics2DShapeQueryParameters) GetShapeRid() gdnative.Rid
Undocumented Args: [], Returns: RID
func (*Physics2DShapeQueryParameters) GetTransform ¶
func (o *Physics2DShapeQueryParameters) GetTransform() gdnative.Transform2D
Undocumented Args: [], Returns: Transform2D
func (*Physics2DShapeQueryParameters) SetCollisionLayer ¶
func (o *Physics2DShapeQueryParameters) SetCollisionLayer(collisionLayer gdnative.Int)
Undocumented Args: [{ false collision_layer int}], Returns: void
func (*Physics2DShapeQueryParameters) SetExclude ¶
func (o *Physics2DShapeQueryParameters) SetExclude(exclude gdnative.Array)
Undocumented Args: [{ false exclude Array}], Returns: void
func (*Physics2DShapeQueryParameters) SetMargin ¶
func (o *Physics2DShapeQueryParameters) SetMargin(margin gdnative.Real)
Undocumented Args: [{ false margin float}], Returns: void
func (*Physics2DShapeQueryParameters) SetMotion ¶
func (o *Physics2DShapeQueryParameters) SetMotion(motion gdnative.Vector2)
Undocumented Args: [{ false motion Vector2}], Returns: void
func (*Physics2DShapeQueryParameters) SetShape ¶
func (o *Physics2DShapeQueryParameters) SetShape(shape ResourceImplementer)
Set the [Shape2D] that will be used for collision/intersection queries. Args: [{ false shape Resource}], Returns: void
func (*Physics2DShapeQueryParameters) SetShapeRid ¶
func (o *Physics2DShapeQueryParameters) SetShapeRid(shape gdnative.Rid)
Undocumented Args: [{ false shape RID}], Returns: void
func (*Physics2DShapeQueryParameters) SetTransform ¶
func (o *Physics2DShapeQueryParameters) SetTransform(transform gdnative.Transform2D)
Undocumented Args: [{ false transform Transform2D}], Returns: void
type Physics2DShapeQueryParametersImplementer ¶
type Physics2DShapeQueryParametersImplementer interface { ReferenceImplementer GetCollisionLayer() gdnative.Int GetExclude() gdnative.Array GetMargin() gdnative.Real GetMotion() gdnative.Vector2 GetShapeRid() gdnative.Rid GetTransform() gdnative.Transform2D SetCollisionLayer(collisionLayer gdnative.Int) SetExclude(exclude gdnative.Array) SetMargin(margin gdnative.Real) SetMotion(motion gdnative.Vector2) SetShape(shape ResourceImplementer) SetShapeRid(shape gdnative.Rid) SetTransform(transform gdnative.Transform2D) }
Physics2DShapeQueryParametersImplementer is an interface that implements the methods of the Physics2DShapeQueryParameters class.
type Physics2DShapeQueryResult ¶
type Physics2DShapeQueryResult struct { Reference // contains filtered or unexported fields }
func (*Physics2DShapeQueryResult) BaseClass ¶
func (o *Physics2DShapeQueryResult) BaseClass() string
func (*Physics2DShapeQueryResult) GetResultCount ¶
func (o *Physics2DShapeQueryResult) GetResultCount() gdnative.Int
Args: [], Returns: int
func (*Physics2DShapeQueryResult) GetResultObject ¶
func (o *Physics2DShapeQueryResult) GetResultObject(idx gdnative.Int) ObjectImplementer
Args: [{ false idx int}], Returns: Object
func (*Physics2DShapeQueryResult) GetResultObjectId ¶
func (o *Physics2DShapeQueryResult) GetResultObjectId(idx gdnative.Int) gdnative.Int
Args: [{ false idx int}], Returns: int
func (*Physics2DShapeQueryResult) GetResultObjectShape ¶
func (o *Physics2DShapeQueryResult) GetResultObjectShape(idx gdnative.Int) gdnative.Int
Args: [{ false idx int}], Returns: int
func (*Physics2DShapeQueryResult) GetResultRid ¶
func (o *Physics2DShapeQueryResult) GetResultRid(idx gdnative.Int) gdnative.Rid
Args: [{ false idx int}], Returns: RID
type Physics2DShapeQueryResultImplementer ¶
type Physics2DShapeQueryResultImplementer interface { ReferenceImplementer GetResultCount() gdnative.Int GetResultObject(idx gdnative.Int) ObjectImplementer GetResultObjectId(idx gdnative.Int) gdnative.Int GetResultObjectShape(idx gdnative.Int) gdnative.Int GetResultRid(idx gdnative.Int) gdnative.Rid }
Physics2DShapeQueryResultImplementer is an interface that implements the methods of the Physics2DShapeQueryResult class.
type Physics2DTestMotionResult ¶
type Physics2DTestMotionResult struct { Reference // contains filtered or unexported fields }
func (*Physics2DTestMotionResult) BaseClass ¶
func (o *Physics2DTestMotionResult) BaseClass() string
func (*Physics2DTestMotionResult) GetCollider ¶
func (o *Physics2DTestMotionResult) GetCollider() ObjectImplementer
Undocumented Args: [], Returns: Object
func (*Physics2DTestMotionResult) GetColliderId ¶
func (o *Physics2DTestMotionResult) GetColliderId() gdnative.Int
Undocumented Args: [], Returns: int
func (*Physics2DTestMotionResult) GetColliderRid ¶
func (o *Physics2DTestMotionResult) GetColliderRid() gdnative.Rid
Undocumented Args: [], Returns: RID
func (*Physics2DTestMotionResult) GetColliderShape ¶
func (o *Physics2DTestMotionResult) GetColliderShape() gdnative.Int
Undocumented Args: [], Returns: int
func (*Physics2DTestMotionResult) GetColliderVelocity ¶
func (o *Physics2DTestMotionResult) GetColliderVelocity() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*Physics2DTestMotionResult) GetCollisionNormal ¶
func (o *Physics2DTestMotionResult) GetCollisionNormal() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*Physics2DTestMotionResult) GetCollisionPoint ¶
func (o *Physics2DTestMotionResult) GetCollisionPoint() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*Physics2DTestMotionResult) GetMotion ¶
func (o *Physics2DTestMotionResult) GetMotion() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*Physics2DTestMotionResult) GetMotionRemainder ¶
func (o *Physics2DTestMotionResult) GetMotionRemainder() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
type Physics2DTestMotionResultImplementer ¶
type Physics2DTestMotionResultImplementer interface { ReferenceImplementer GetCollider() ObjectImplementer GetColliderId() gdnative.Int GetColliderRid() gdnative.Rid GetColliderShape() gdnative.Int GetColliderVelocity() gdnative.Vector2 GetCollisionNormal() gdnative.Vector2 GetCollisionPoint() gdnative.Vector2 GetMotion() gdnative.Vector2 GetMotionRemainder() gdnative.Vector2 }
Physics2DTestMotionResultImplementer is an interface that implements the methods of the Physics2DTestMotionResult class.
type PhysicsBody ¶
type PhysicsBody struct { CollisionObject // contains filtered or unexported fields }
PhysicsBody is an abstract base class for implementing a physics body. All *Body types inherit from it.
func (*PhysicsBody) AddCollisionExceptionWith ¶
func (o *PhysicsBody) AddCollisionExceptionWith(body ObjectImplementer)
Adds a body to the list of bodies that this body can't collide with. Args: [{ false body Object}], Returns: void
func (*PhysicsBody) BaseClass ¶
func (o *PhysicsBody) BaseClass() string
func (*PhysicsBody) GetCollisionLayer ¶
func (o *PhysicsBody) GetCollisionLayer() gdnative.Int
Undocumented Args: [], Returns: int
func (*PhysicsBody) GetCollisionLayerBit ¶
func (o *PhysicsBody) GetCollisionLayerBit(bit gdnative.Int) gdnative.Bool
Args: [{ false bit int}], Returns: bool
func (*PhysicsBody) GetCollisionMask ¶
func (o *PhysicsBody) GetCollisionMask() gdnative.Int
Undocumented Args: [], Returns: int
func (*PhysicsBody) GetCollisionMaskBit ¶
func (o *PhysicsBody) GetCollisionMaskBit(bit gdnative.Int) gdnative.Bool
Args: [{ false bit int}], Returns: bool
func (*PhysicsBody) RemoveCollisionExceptionWith ¶
func (o *PhysicsBody) RemoveCollisionExceptionWith(body ObjectImplementer)
Removes a body from the list of bodies that this body can't collide with. Args: [{ false body Object}], Returns: void
func (*PhysicsBody) SetCollisionLayer ¶
func (o *PhysicsBody) SetCollisionLayer(layer gdnative.Int)
Undocumented Args: [{ false layer int}], Returns: void
func (*PhysicsBody) SetCollisionLayerBit ¶
func (o *PhysicsBody) SetCollisionLayerBit(bit gdnative.Int, value gdnative.Bool)
Args: [{ false bit int} { false value bool}], Returns: void
func (*PhysicsBody) SetCollisionMask ¶
func (o *PhysicsBody) SetCollisionMask(mask gdnative.Int)
Undocumented Args: [{ false mask int}], Returns: void
func (*PhysicsBody) SetCollisionMaskBit ¶
func (o *PhysicsBody) SetCollisionMaskBit(bit gdnative.Int, value gdnative.Bool)
Args: [{ false bit int} { false value bool}], Returns: void
func (*PhysicsBody) X_GetLayers ¶
func (o *PhysicsBody) X_GetLayers() gdnative.Int
Undocumented Args: [], Returns: int
func (*PhysicsBody) X_SetLayers ¶
func (o *PhysicsBody) X_SetLayers(mask gdnative.Int)
Undocumented Args: [{ false mask int}], Returns: void
type PhysicsBody2D ¶
type PhysicsBody2D struct { CollisionObject2D // contains filtered or unexported fields }
PhysicsBody2D is an abstract base class for implementing a physics body. All *Body2D types inherit from it.
func (*PhysicsBody2D) AddCollisionExceptionWith ¶
func (o *PhysicsBody2D) AddCollisionExceptionWith(body ObjectImplementer)
Adds a body to the list of bodies that this body can't collide with. Args: [{ false body Object}], Returns: void
func (*PhysicsBody2D) BaseClass ¶
func (o *PhysicsBody2D) BaseClass() string
func (*PhysicsBody2D) GetCollisionLayer ¶
func (o *PhysicsBody2D) GetCollisionLayer() gdnative.Int
Undocumented Args: [], Returns: int
func (*PhysicsBody2D) GetCollisionLayerBit ¶
func (o *PhysicsBody2D) GetCollisionLayerBit(bit gdnative.Int) gdnative.Bool
Return an individual bit on the collision mask. Args: [{ false bit int}], Returns: bool
func (*PhysicsBody2D) GetCollisionMask ¶
func (o *PhysicsBody2D) GetCollisionMask() gdnative.Int
Undocumented Args: [], Returns: int
func (*PhysicsBody2D) GetCollisionMaskBit ¶
func (o *PhysicsBody2D) GetCollisionMaskBit(bit gdnative.Int) gdnative.Bool
Return an individual bit on the collision mask. Args: [{ false bit int}], Returns: bool
func (*PhysicsBody2D) RemoveCollisionExceptionWith ¶
func (o *PhysicsBody2D) RemoveCollisionExceptionWith(body ObjectImplementer)
Removes a body from the list of bodies that this body can't collide with. Args: [{ false body Object}], Returns: void
func (*PhysicsBody2D) SetCollisionLayer ¶
func (o *PhysicsBody2D) SetCollisionLayer(layer gdnative.Int)
Undocumented Args: [{ false layer int}], Returns: void
func (*PhysicsBody2D) SetCollisionLayerBit ¶
func (o *PhysicsBody2D) SetCollisionLayerBit(bit gdnative.Int, value gdnative.Bool)
Set/clear individual bits on the layer mask. This makes getting a body in/out of only one layer easier. Args: [{ false bit int} { false value bool}], Returns: void
func (*PhysicsBody2D) SetCollisionMask ¶
func (o *PhysicsBody2D) SetCollisionMask(mask gdnative.Int)
Undocumented Args: [{ false mask int}], Returns: void
func (*PhysicsBody2D) SetCollisionMaskBit ¶
func (o *PhysicsBody2D) SetCollisionMaskBit(bit gdnative.Int, value gdnative.Bool)
Set/clear individual bits on the collision mask. This makes selecting the areas scanned easier. Args: [{ false bit int} { false value bool}], Returns: void
func (*PhysicsBody2D) X_GetLayers ¶
func (o *PhysicsBody2D) X_GetLayers() gdnative.Int
Undocumented Args: [], Returns: int
func (*PhysicsBody2D) X_SetLayers ¶
func (o *PhysicsBody2D) X_SetLayers(mask gdnative.Int)
Undocumented Args: [{ false mask int}], Returns: void
type PhysicsBody2DImplementer ¶
type PhysicsBody2DImplementer interface { CollisionObject2DImplementer X_GetLayers() gdnative.Int X_SetLayers(mask gdnative.Int) AddCollisionExceptionWith(body ObjectImplementer) GetCollisionLayer() gdnative.Int GetCollisionLayerBit(bit gdnative.Int) gdnative.Bool GetCollisionMask() gdnative.Int GetCollisionMaskBit(bit gdnative.Int) gdnative.Bool RemoveCollisionExceptionWith(body ObjectImplementer) SetCollisionLayer(layer gdnative.Int) SetCollisionLayerBit(bit gdnative.Int, value gdnative.Bool) SetCollisionMask(mask gdnative.Int) SetCollisionMaskBit(bit gdnative.Int, value gdnative.Bool) }
PhysicsBody2DImplementer is an interface that implements the methods of the PhysicsBody2D class.
type PhysicsBodyImplementer ¶
type PhysicsBodyImplementer interface { CollisionObjectImplementer X_GetLayers() gdnative.Int X_SetLayers(mask gdnative.Int) AddCollisionExceptionWith(body ObjectImplementer) GetCollisionLayer() gdnative.Int GetCollisionLayerBit(bit gdnative.Int) gdnative.Bool GetCollisionMask() gdnative.Int GetCollisionMaskBit(bit gdnative.Int) gdnative.Bool RemoveCollisionExceptionWith(body ObjectImplementer) SetCollisionLayer(layer gdnative.Int) SetCollisionLayerBit(bit gdnative.Int, value gdnative.Bool) SetCollisionMask(mask gdnative.Int) SetCollisionMaskBit(bit gdnative.Int, value gdnative.Bool) }
PhysicsBodyImplementer is an interface that implements the methods of the PhysicsBody class.
type PhysicsDirectBodyState ¶
type PhysicsDirectBodyState struct { Object // contains filtered or unexported fields }
func (*PhysicsDirectBodyState) AddForce ¶
func (o *PhysicsDirectBodyState) AddForce(force gdnative.Vector3, position gdnative.Vector3)
Args: [{ false force Vector3} { false position Vector3}], Returns: void
func (*PhysicsDirectBodyState) ApplyImpulse ¶
func (o *PhysicsDirectBodyState) ApplyImpulse(position gdnative.Vector3, j gdnative.Vector3)
Args: [{ false position Vector3} { false j Vector3}], Returns: void
func (*PhysicsDirectBodyState) ApplyTorqeImpulse ¶
func (o *PhysicsDirectBodyState) ApplyTorqeImpulse(j gdnative.Vector3)
Undocumented Args: [{ false j Vector3}], Returns: void
func (*PhysicsDirectBodyState) BaseClass ¶
func (o *PhysicsDirectBodyState) BaseClass() string
func (*PhysicsDirectBodyState) GetAngularVelocity ¶
func (o *PhysicsDirectBodyState) GetAngularVelocity() gdnative.Vector3
Undocumented Args: [], Returns: Vector3
func (*PhysicsDirectBodyState) GetCenterOfMass ¶
func (o *PhysicsDirectBodyState) GetCenterOfMass() gdnative.Vector3
Undocumented Args: [], Returns: Vector3
func (*PhysicsDirectBodyState) GetContactCollider ¶
func (o *PhysicsDirectBodyState) GetContactCollider(contactIdx gdnative.Int) gdnative.Rid
Args: [{ false contact_idx int}], Returns: RID
func (*PhysicsDirectBodyState) GetContactColliderId ¶
func (o *PhysicsDirectBodyState) GetContactColliderId(contactIdx gdnative.Int) gdnative.Int
Args: [{ false contact_idx int}], Returns: int
func (*PhysicsDirectBodyState) GetContactColliderObject ¶
func (o *PhysicsDirectBodyState) GetContactColliderObject(contactIdx gdnative.Int) ObjectImplementer
Args: [{ false contact_idx int}], Returns: Object
func (*PhysicsDirectBodyState) GetContactColliderPosition ¶
func (o *PhysicsDirectBodyState) GetContactColliderPosition(contactIdx gdnative.Int) gdnative.Vector3
Args: [{ false contact_idx int}], Returns: Vector3
func (*PhysicsDirectBodyState) GetContactColliderShape ¶
func (o *PhysicsDirectBodyState) GetContactColliderShape(contactIdx gdnative.Int) gdnative.Int
Args: [{ false contact_idx int}], Returns: int
func (*PhysicsDirectBodyState) GetContactColliderVelocityAtPosition ¶
func (o *PhysicsDirectBodyState) GetContactColliderVelocityAtPosition(contactIdx gdnative.Int) gdnative.Vector3
Args: [{ false contact_idx int}], Returns: Vector3
func (*PhysicsDirectBodyState) GetContactCount ¶
func (o *PhysicsDirectBodyState) GetContactCount() gdnative.Int
Args: [], Returns: int
func (*PhysicsDirectBodyState) GetContactLocalNormal ¶
func (o *PhysicsDirectBodyState) GetContactLocalNormal(contactIdx gdnative.Int) gdnative.Vector3
Args: [{ false contact_idx int}], Returns: Vector3
func (*PhysicsDirectBodyState) GetContactLocalPosition ¶
func (o *PhysicsDirectBodyState) GetContactLocalPosition(contactIdx gdnative.Int) gdnative.Vector3
Args: [{ false contact_idx int}], Returns: Vector3
func (*PhysicsDirectBodyState) GetContactLocalShape ¶
func (o *PhysicsDirectBodyState) GetContactLocalShape(contactIdx gdnative.Int) gdnative.Int
Args: [{ false contact_idx int}], Returns: int
func (*PhysicsDirectBodyState) GetInverseInertia ¶
func (o *PhysicsDirectBodyState) GetInverseInertia() gdnative.Vector3
Undocumented Args: [], Returns: Vector3
func (*PhysicsDirectBodyState) GetInverseMass ¶
func (o *PhysicsDirectBodyState) GetInverseMass() gdnative.Real
Undocumented Args: [], Returns: float
func (*PhysicsDirectBodyState) GetLinearVelocity ¶
func (o *PhysicsDirectBodyState) GetLinearVelocity() gdnative.Vector3
Undocumented Args: [], Returns: Vector3
func (*PhysicsDirectBodyState) GetPrincipalInertiaAxes ¶
func (o *PhysicsDirectBodyState) GetPrincipalInertiaAxes() gdnative.Basis
Undocumented Args: [], Returns: Basis
func (*PhysicsDirectBodyState) GetSpaceState ¶
func (o *PhysicsDirectBodyState) GetSpaceState() PhysicsDirectSpaceStateImplementer
Args: [], Returns: PhysicsDirectSpaceState
func (*PhysicsDirectBodyState) GetStep ¶
func (o *PhysicsDirectBodyState) GetStep() gdnative.Real
Undocumented Args: [], Returns: float
func (*PhysicsDirectBodyState) GetTotalAngularDamp ¶
func (o *PhysicsDirectBodyState) GetTotalAngularDamp() gdnative.Real
Undocumented Args: [], Returns: float
func (*PhysicsDirectBodyState) GetTotalGravity ¶
func (o *PhysicsDirectBodyState) GetTotalGravity() gdnative.Vector3
Undocumented Args: [], Returns: Vector3
func (*PhysicsDirectBodyState) GetTotalLinearDamp ¶
func (o *PhysicsDirectBodyState) GetTotalLinearDamp() gdnative.Real
Undocumented Args: [], Returns: float
func (*PhysicsDirectBodyState) GetTransform ¶
func (o *PhysicsDirectBodyState) GetTransform() gdnative.Transform
Undocumented Args: [], Returns: Transform
func (*PhysicsDirectBodyState) IntegrateForces ¶
func (o *PhysicsDirectBodyState) IntegrateForces()
Args: [], Returns: void
func (*PhysicsDirectBodyState) IsSleeping ¶
func (o *PhysicsDirectBodyState) IsSleeping() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*PhysicsDirectBodyState) SetAngularVelocity ¶
func (o *PhysicsDirectBodyState) SetAngularVelocity(velocity gdnative.Vector3)
Undocumented Args: [{ false velocity Vector3}], Returns: void
func (*PhysicsDirectBodyState) SetLinearVelocity ¶
func (o *PhysicsDirectBodyState) SetLinearVelocity(velocity gdnative.Vector3)
Undocumented Args: [{ false velocity Vector3}], Returns: void
func (*PhysicsDirectBodyState) SetSleepState ¶
func (o *PhysicsDirectBodyState) SetSleepState(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*PhysicsDirectBodyState) SetTransform ¶
func (o *PhysicsDirectBodyState) SetTransform(transform gdnative.Transform)
Undocumented Args: [{ false transform Transform}], Returns: void
type PhysicsDirectBodyStateImplementer ¶
type PhysicsDirectBodyStateImplementer interface { ObjectImplementer AddForce(force gdnative.Vector3, position gdnative.Vector3) ApplyImpulse(position gdnative.Vector3, j gdnative.Vector3) ApplyTorqeImpulse(j gdnative.Vector3) GetAngularVelocity() gdnative.Vector3 GetCenterOfMass() gdnative.Vector3 GetContactCollider(contactIdx gdnative.Int) gdnative.Rid GetContactColliderId(contactIdx gdnative.Int) gdnative.Int GetContactColliderObject(contactIdx gdnative.Int) ObjectImplementer GetContactColliderPosition(contactIdx gdnative.Int) gdnative.Vector3 GetContactColliderShape(contactIdx gdnative.Int) gdnative.Int GetContactColliderVelocityAtPosition(contactIdx gdnative.Int) gdnative.Vector3 GetContactCount() gdnative.Int GetContactLocalNormal(contactIdx gdnative.Int) gdnative.Vector3 GetContactLocalPosition(contactIdx gdnative.Int) gdnative.Vector3 GetContactLocalShape(contactIdx gdnative.Int) gdnative.Int GetInverseInertia() gdnative.Vector3 GetInverseMass() gdnative.Real GetLinearVelocity() gdnative.Vector3 GetPrincipalInertiaAxes() gdnative.Basis GetSpaceState() PhysicsDirectSpaceStateImplementer GetStep() gdnative.Real GetTotalAngularDamp() gdnative.Real GetTotalGravity() gdnative.Vector3 GetTotalLinearDamp() gdnative.Real GetTransform() gdnative.Transform IntegrateForces() IsSleeping() gdnative.Bool SetAngularVelocity(velocity gdnative.Vector3) SetLinearVelocity(velocity gdnative.Vector3) SetSleepState(enabled gdnative.Bool) SetTransform(transform gdnative.Transform) }
PhysicsDirectBodyStateImplementer is an interface that implements the methods of the PhysicsDirectBodyState class.
type PhysicsDirectSpaceState ¶
type PhysicsDirectSpaceState struct { Object // contains filtered or unexported fields }
Direct access object to a space in the PhysicsServer. It's used mainly to do queries against objects and areas residing in a given space.
func (*PhysicsDirectSpaceState) BaseClass ¶
func (o *PhysicsDirectSpaceState) BaseClass() string
func (*PhysicsDirectSpaceState) CastMotion ¶
func (o *PhysicsDirectSpaceState) CastMotion(shape PhysicsShapeQueryParametersImplementer, motion gdnative.Vector3) gdnative.Array
Checks whether the shape can travel to a point. The method will return an array with two floats between 0 and 1, both representing a fraction of [code]motion[/code]. The first is how far the shape can move without triggering a collision, and the second is the point at which a collision will occur. If no collision is detected, the returned array will be [1, 1]. If the shape can not move, the array will be empty ([code]dir.empty()==true[/code]). Args: [{ false shape PhysicsShapeQueryParameters} { false motion Vector3}], Returns: Array
func (*PhysicsDirectSpaceState) CollideShape ¶
func (o *PhysicsDirectSpaceState) CollideShape(shape PhysicsShapeQueryParametersImplementer, maxResults gdnative.Int) gdnative.Array
Checks the intersections of a shape, given through a [PhysicsShapeQueryParameters] object, against the space. The resulting array contains a list of points where the shape intersects another. Like with [method intersect_shape], the number of returned results can be limited to save processing time. Args: [{ false shape PhysicsShapeQueryParameters} {32 true max_results int}], Returns: Array
func (*PhysicsDirectSpaceState) GetRestInfo ¶
func (o *PhysicsDirectSpaceState) GetRestInfo(shape PhysicsShapeQueryParametersImplementer) gdnative.Dictionary
Checks the intersections of a shape, given through a [PhysicsShapeQueryParameters] object, against the space. If it collides with more than a shape, the nearest one is selected. The returned object is a dictionary containing the following fields: [code]collider_id[/code]: The colliding object's ID. [code]linear_velocity[/code]: The colliding object's velocity [Vector3]. If the object is an [Area], the result is [code](0, 0, 0)[/code]. [code]normal[/code]: The object's surface normal at the intersection point. [code]point[/code]: The intersection point. [code]rid[/code]: The intersecting object's [RID]. [code]shape[/code]: The shape index of the colliding shape. If the shape did not intersect anything, then an empty dictionary ([code]dir.empty()==true[/code]) is returned instead. Args: [{ false shape PhysicsShapeQueryParameters}], Returns: Dictionary
func (*PhysicsDirectSpaceState) IntersectRay ¶
func (o *PhysicsDirectSpaceState) IntersectRay(from gdnative.Vector3, to gdnative.Vector3, exclude gdnative.Array, collisionLayer gdnative.Int) gdnative.Dictionary
Intersects a ray in a given space. The returned object is a dictionary with the following fields: [code]collider[/code]: The colliding object. [code]collider_id[/code]: The colliding object's ID. [code]normal[/code]: The object's surface normal at the intersection point. [code]position[/code]: The intersection point. [code]rid[/code]: The intersecting object's [RID]. [code]shape[/code]: The shape index of the colliding shape. If the ray did not intersect anything, then an empty dictionary ([code]dir.empty()==true[/code]) is returned instead. Additionally, the method can take an array of objects or [RID]s that are to be excluded from collisions, or a bitmask representing the physics layers to check in. Args: [{ false from Vector3} { false to Vector3} {[] true exclude Array} {2147483647 true collision_layer int}], Returns: Dictionary
func (*PhysicsDirectSpaceState) IntersectShape ¶
func (o *PhysicsDirectSpaceState) IntersectShape(shape PhysicsShapeQueryParametersImplementer, maxResults gdnative.Int) gdnative.Array
Checks the intersections of a shape, given through a [PhysicsShapeQueryParameters] object, against the space. The intersected shapes are returned in an array containing dictionaries with the following fields: [code]collider[/code]: The colliding object. [code]collider_id[/code]: The colliding object's ID. [code]rid[/code]: The intersecting object's [RID]. [code]shape[/code]: The shape index of the colliding shape. The number of intersections can be limited with the second parameter, to reduce the processing time. Args: [{ false shape PhysicsShapeQueryParameters} {32 true max_results int}], Returns: Array
type PhysicsDirectSpaceStateImplementer ¶
type PhysicsDirectSpaceStateImplementer interface { ObjectImplementer CastMotion(shape PhysicsShapeQueryParametersImplementer, motion gdnative.Vector3) gdnative.Array CollideShape(shape PhysicsShapeQueryParametersImplementer, maxResults gdnative.Int) gdnative.Array GetRestInfo(shape PhysicsShapeQueryParametersImplementer) gdnative.Dictionary IntersectRay(from gdnative.Vector3, to gdnative.Vector3, exclude gdnative.Array, collisionLayer gdnative.Int) gdnative.Dictionary IntersectShape(shape PhysicsShapeQueryParametersImplementer, maxResults gdnative.Int) gdnative.Array }
PhysicsDirectSpaceStateImplementer is an interface that implements the methods of the PhysicsDirectSpaceState class.
type PhysicsServerAreaBodyStatus ¶
type PhysicsServerAreaBodyStatus int
PhysicsServerAreaBodyStatus is an enum for AreaBodyStatus values.
const ( PhysicsServerAreaBodyAdded PhysicsServerAreaBodyStatus = 0 PhysicsServerAreaBodyRemoved PhysicsServerAreaBodyStatus = 1 )
type PhysicsServerAreaParameter ¶
type PhysicsServerAreaParameter int
PhysicsServerAreaParameter is an enum for AreaParameter values.
const ( PhysicsServerAreaParamAngularDamp PhysicsServerAreaParameter = 6 PhysicsServerAreaParamGravity PhysicsServerAreaParameter = 0 PhysicsServerAreaParamGravityDistanceScale PhysicsServerAreaParameter = 3 PhysicsServerAreaParamGravityIsPoint PhysicsServerAreaParameter = 2 PhysicsServerAreaParamGravityPointAttenuation PhysicsServerAreaParameter = 4 PhysicsServerAreaParamGravityVector PhysicsServerAreaParameter = 1 PhysicsServerAreaParamLinearDamp PhysicsServerAreaParameter = 5 PhysicsServerAreaParamPriority PhysicsServerAreaParameter = 7 )
type PhysicsServerAreaSpaceOverrideMode ¶
type PhysicsServerAreaSpaceOverrideMode int
PhysicsServerAreaSpaceOverrideMode is an enum for AreaSpaceOverrideMode values.
const ( PhysicsServerAreaSpaceOverrideCombine PhysicsServerAreaSpaceOverrideMode = 1 PhysicsServerAreaSpaceOverrideCombineReplace PhysicsServerAreaSpaceOverrideMode = 2 PhysicsServerAreaSpaceOverrideDisabled PhysicsServerAreaSpaceOverrideMode = 0 PhysicsServerAreaSpaceOverrideReplace PhysicsServerAreaSpaceOverrideMode = 3 PhysicsServerAreaSpaceOverrideReplaceCombine PhysicsServerAreaSpaceOverrideMode = 4 )
type PhysicsServerBodyAxis ¶
type PhysicsServerBodyAxis int
PhysicsServerBodyAxis is an enum for BodyAxis values.
const ( PhysicsServerBodyAxisAngularX PhysicsServerBodyAxis = 8 PhysicsServerBodyAxisAngularY PhysicsServerBodyAxis = 16 PhysicsServerBodyAxisAngularZ PhysicsServerBodyAxis = 32 PhysicsServerBodyAxisLinearX PhysicsServerBodyAxis = 1 PhysicsServerBodyAxisLinearY PhysicsServerBodyAxis = 2 PhysicsServerBodyAxisLinearZ PhysicsServerBodyAxis = 4 )
type PhysicsServerBodyMode ¶
type PhysicsServerBodyMode int
PhysicsServerBodyMode is an enum for BodyMode values.
const ( PhysicsServerBodyModeCharacter PhysicsServerBodyMode = 4 PhysicsServerBodyModeKinematic PhysicsServerBodyMode = 1 PhysicsServerBodyModeRigid PhysicsServerBodyMode = 2 PhysicsServerBodyModeSoft PhysicsServerBodyMode = 3 PhysicsServerBodyModeStatic PhysicsServerBodyMode = 0 )
type PhysicsServerBodyParameter ¶
type PhysicsServerBodyParameter int
PhysicsServerBodyParameter is an enum for BodyParameter values.
const ( PhysicsServerBodyParamAngularDamp PhysicsServerBodyParameter = 5 PhysicsServerBodyParamBounce PhysicsServerBodyParameter = 0 PhysicsServerBodyParamFriction PhysicsServerBodyParameter = 1 PhysicsServerBodyParamGravityScale PhysicsServerBodyParameter = 3 PhysicsServerBodyParamLinearDamp PhysicsServerBodyParameter = 4 PhysicsServerBodyParamMass PhysicsServerBodyParameter = 2 PhysicsServerBodyParamMax PhysicsServerBodyParameter = 6 )
type PhysicsServerBodyState ¶
type PhysicsServerBodyState int
PhysicsServerBodyState is an enum for BodyState values.
const ( PhysicsServerBodyStateAngularVelocity PhysicsServerBodyState = 2 PhysicsServerBodyStateCanSleep PhysicsServerBodyState = 4 PhysicsServerBodyStateLinearVelocity PhysicsServerBodyState = 1 PhysicsServerBodyStateSleeping PhysicsServerBodyState = 3 PhysicsServerBodyStateTransform PhysicsServerBodyState = 0 )
type PhysicsServerConeTwistJointParam ¶
type PhysicsServerConeTwistJointParam int
PhysicsServerConeTwistJointParam is an enum for ConeTwistJointParam values.
const ( PhysicsServerConeTwistJointBias PhysicsServerConeTwistJointParam = 2 PhysicsServerConeTwistJointRelaxation PhysicsServerConeTwistJointParam = 4 PhysicsServerConeTwistJointSoftness PhysicsServerConeTwistJointParam = 3 PhysicsServerConeTwistJointSwingSpan PhysicsServerConeTwistJointParam = 0 PhysicsServerConeTwistJointTwistSpan PhysicsServerConeTwistJointParam = 1 )
type PhysicsServerG6DOFJointAxisFlag ¶
type PhysicsServerG6DOFJointAxisFlag int
PhysicsServerG6DOFJointAxisFlag is an enum for G6DOFJointAxisFlag values.
const ( PhysicsServerG6DofJointFlagEnableAngularLimit PhysicsServerG6DOFJointAxisFlag = 1 PhysicsServerG6DofJointFlagEnableLinearLimit PhysicsServerG6DOFJointAxisFlag = 0 PhysicsServerG6DofJointFlagEnableMotor PhysicsServerG6DOFJointAxisFlag = 2 )
type PhysicsServerG6DOFJointAxisParam ¶
type PhysicsServerG6DOFJointAxisParam int
PhysicsServerG6DOFJointAxisParam is an enum for G6DOFJointAxisParam values.
const ( PhysicsServerG6DofJointAngularDamping PhysicsServerG6DOFJointAxisParam = 8 PhysicsServerG6DofJointAngularErp PhysicsServerG6DOFJointAxisParam = 11 PhysicsServerG6DofJointAngularForceLimit PhysicsServerG6DOFJointAxisParam = 10 PhysicsServerG6DofJointAngularLimitSoftness PhysicsServerG6DOFJointAxisParam = 7 PhysicsServerG6DofJointAngularLowerLimit PhysicsServerG6DOFJointAxisParam = 5 PhysicsServerG6DofJointAngularMotorForceLimit PhysicsServerG6DOFJointAxisParam = 13 PhysicsServerG6DofJointAngularMotorTargetVelocity PhysicsServerG6DOFJointAxisParam = 12 PhysicsServerG6DofJointAngularRestitution PhysicsServerG6DOFJointAxisParam = 9 PhysicsServerG6DofJointAngularUpperLimit PhysicsServerG6DOFJointAxisParam = 6 PhysicsServerG6DofJointLinearDamping PhysicsServerG6DOFJointAxisParam = 4 PhysicsServerG6DofJointLinearLimitSoftness PhysicsServerG6DOFJointAxisParam = 2 PhysicsServerG6DofJointLinearLowerLimit PhysicsServerG6DOFJointAxisParam = 0 PhysicsServerG6DofJointLinearRestitution PhysicsServerG6DOFJointAxisParam = 3 PhysicsServerG6DofJointLinearUpperLimit PhysicsServerG6DOFJointAxisParam = 1 )
type PhysicsServerHingeJointFlag ¶
type PhysicsServerHingeJointFlag int
PhysicsServerHingeJointFlag is an enum for HingeJointFlag values.
const ( PhysicsServerHingeJointFlagEnableMotor PhysicsServerHingeJointFlag = 1 PhysicsServerHingeJointFlagUseLimit PhysicsServerHingeJointFlag = 0 )
type PhysicsServerHingeJointParam ¶
type PhysicsServerHingeJointParam int
PhysicsServerHingeJointParam is an enum for HingeJointParam values.
const ( PhysicsServerHingeJointBias PhysicsServerHingeJointParam = 0 PhysicsServerHingeJointLimitBias PhysicsServerHingeJointParam = 3 PhysicsServerHingeJointLimitLower PhysicsServerHingeJointParam = 2 PhysicsServerHingeJointLimitRelaxation PhysicsServerHingeJointParam = 5 PhysicsServerHingeJointLimitSoftness PhysicsServerHingeJointParam = 4 PhysicsServerHingeJointLimitUpper PhysicsServerHingeJointParam = 1 PhysicsServerHingeJointMotorMaxImpulse PhysicsServerHingeJointParam = 7 PhysicsServerHingeJointMotorTargetVelocity PhysicsServerHingeJointParam = 6 )
type PhysicsServerImplementer ¶
type PhysicsServerImplementer interface { ObjectImplementer AreaAddShape(area gdnative.Rid, shape gdnative.Rid, transform gdnative.Transform) AreaAttachObjectInstanceId(area gdnative.Rid, id gdnative.Int) AreaClearShapes(area gdnative.Rid) AreaCreate() gdnative.Rid AreaGetObjectInstanceId(area gdnative.Rid) gdnative.Int AreaGetParam(area gdnative.Rid, param gdnative.Int) gdnative.Variant AreaGetShape(area gdnative.Rid, shapeIdx gdnative.Int) gdnative.Rid AreaGetShapeCount(area gdnative.Rid) gdnative.Int AreaGetShapeTransform(area gdnative.Rid, shapeIdx gdnative.Int) gdnative.Transform AreaGetSpace(area gdnative.Rid) gdnative.Rid AreaGetTransform(area gdnative.Rid) gdnative.Transform AreaIsRayPickable(area gdnative.Rid) gdnative.Bool AreaRemoveShape(area gdnative.Rid, shapeIdx gdnative.Int) AreaSetCollisionLayer(area gdnative.Rid, layer gdnative.Int) AreaSetCollisionMask(area gdnative.Rid, mask gdnative.Int) AreaSetMonitorCallback(area gdnative.Rid, receiver ObjectImplementer, method gdnative.String) AreaSetParam(area gdnative.Rid, param gdnative.Int, value gdnative.Variant) AreaSetRayPickable(area gdnative.Rid, enable gdnative.Bool) AreaSetShape(area gdnative.Rid, shapeIdx gdnative.Int, shape gdnative.Rid) AreaSetShapeTransform(area gdnative.Rid, shapeIdx gdnative.Int, transform gdnative.Transform) AreaSetSpace(area gdnative.Rid, space gdnative.Rid) AreaSetSpaceOverrideMode(area gdnative.Rid, mode gdnative.Int) AreaSetTransform(area gdnative.Rid, transform gdnative.Transform) BodyAddCollisionException(body gdnative.Rid, exceptedBody gdnative.Rid) BodyAddShape(body gdnative.Rid, shape gdnative.Rid, transform gdnative.Transform) BodyApplyImpulse(body gdnative.Rid, position gdnative.Vector3, impulse gdnative.Vector3) BodyApplyTorqueImpulse(body gdnative.Rid, impulse gdnative.Vector3) BodyAttachObjectInstanceId(body gdnative.Rid, id gdnative.Int) BodyClearShapes(body gdnative.Rid) BodyCreate(mode gdnative.Int, initSleeping gdnative.Bool) gdnative.Rid BodyGetCollisionLayer(body gdnative.Rid) gdnative.Int BodyGetCollisionMask(body gdnative.Rid) gdnative.Int BodyGetDirectState(body gdnative.Rid) PhysicsDirectBodyStateImplementer BodyGetKinematicSafeMargin(body gdnative.Rid) gdnative.Real BodyGetMaxContactsReported(body gdnative.Rid) gdnative.Int BodyGetObjectInstanceId(body gdnative.Rid) gdnative.Int BodyGetParam(body gdnative.Rid, param gdnative.Int) gdnative.Real BodyGetShape(body gdnative.Rid, shapeIdx gdnative.Int) gdnative.Rid BodyGetShapeCount(body gdnative.Rid) gdnative.Int BodyGetShapeTransform(body gdnative.Rid, shapeIdx gdnative.Int) gdnative.Transform BodyGetSpace(body gdnative.Rid) gdnative.Rid BodyGetState(body gdnative.Rid, state gdnative.Int) gdnative.Variant BodyIsAxisLocked(body gdnative.Rid, axis gdnative.Int) gdnative.Bool BodyIsContinuousCollisionDetectionEnabled(body gdnative.Rid) gdnative.Bool BodyIsOmittingForceIntegration(body gdnative.Rid) gdnative.Bool BodyIsRayPickable(body gdnative.Rid) gdnative.Bool BodyRemoveCollisionException(body gdnative.Rid, exceptedBody gdnative.Rid) BodyRemoveShape(body gdnative.Rid, shapeIdx gdnative.Int) BodySetAxisLock(body gdnative.Rid, axis gdnative.Int, lock gdnative.Bool) BodySetAxisVelocity(body gdnative.Rid, axisVelocity gdnative.Vector3) BodySetCollisionLayer(body gdnative.Rid, layer gdnative.Int) BodySetCollisionMask(body gdnative.Rid, mask gdnative.Int) BodySetEnableContinuousCollisionDetection(body gdnative.Rid, enable gdnative.Bool) BodySetForceIntegrationCallback(body gdnative.Rid, receiver ObjectImplementer, method gdnative.String, userdata gdnative.Variant) BodySetKinematicSafeMargin(body gdnative.Rid, margin gdnative.Real) BodySetMaxContactsReported(body gdnative.Rid, amount gdnative.Int) BodySetMode(body gdnative.Rid, mode gdnative.Int) BodySetOmitForceIntegration(body gdnative.Rid, enable gdnative.Bool) BodySetParam(body gdnative.Rid, param gdnative.Int, value gdnative.Real) BodySetRayPickable(body gdnative.Rid, enable gdnative.Bool) BodySetShape(body gdnative.Rid, shapeIdx gdnative.Int, shape gdnative.Rid) BodySetShapeTransform(body gdnative.Rid, shapeIdx gdnative.Int, transform gdnative.Transform) BodySetSpace(body gdnative.Rid, space gdnative.Rid) BodySetState(body gdnative.Rid, state gdnative.Int, value gdnative.Variant) ConeTwistJointGetParam(joint gdnative.Rid, param gdnative.Int) gdnative.Real ConeTwistJointSetParam(joint gdnative.Rid, param gdnative.Int, value gdnative.Real) FreeRid(rid gdnative.Rid) Generic6DofJointGetFlag(joint gdnative.Rid, axis gdnative.Int, flag gdnative.Int) gdnative.Bool Generic6DofJointGetParam(joint gdnative.Rid, axis gdnative.Int, param gdnative.Int) gdnative.Real Generic6DofJointSetFlag(joint gdnative.Rid, axis gdnative.Int, flag gdnative.Int, enable gdnative.Bool) Generic6DofJointSetParam(joint gdnative.Rid, axis gdnative.Int, param gdnative.Int, value gdnative.Real) GetProcessInfo(processInfo gdnative.Int) gdnative.Int HingeJointGetFlag(joint gdnative.Rid, flag gdnative.Int) gdnative.Bool HingeJointGetParam(joint gdnative.Rid, param gdnative.Int) gdnative.Real HingeJointSetFlag(joint gdnative.Rid, flag gdnative.Int, enabled gdnative.Bool) HingeJointSetParam(joint gdnative.Rid, param gdnative.Int, value gdnative.Real) JointCreateConeTwist(bodyA gdnative.Rid, localRefA gdnative.Transform, bodyB gdnative.Rid, localRefB gdnative.Transform) gdnative.Rid JointCreateGeneric6Dof(bodyA gdnative.Rid, localRefA gdnative.Transform, bodyB gdnative.Rid, localRefB gdnative.Transform) gdnative.Rid JointCreateHinge(bodyA gdnative.Rid, hingeA gdnative.Transform, bodyB gdnative.Rid, hingeB gdnative.Transform) gdnative.Rid JointCreatePin(bodyA gdnative.Rid, localA gdnative.Vector3, bodyB gdnative.Rid, localB gdnative.Vector3) gdnative.Rid JointCreateSlider(bodyA gdnative.Rid, localRefA gdnative.Transform, bodyB gdnative.Rid, localRefB gdnative.Transform) gdnative.Rid JointGetSolverPriority(joint gdnative.Rid) gdnative.Int JointSetSolverPriority(joint gdnative.Rid, priority gdnative.Int) PinJointGetLocalA(joint gdnative.Rid) gdnative.Vector3 PinJointGetLocalB(joint gdnative.Rid) gdnative.Vector3 PinJointGetParam(joint gdnative.Rid, param gdnative.Int) gdnative.Real PinJointSetLocalA(joint gdnative.Rid, localA gdnative.Vector3) PinJointSetLocalB(joint gdnative.Rid, localB gdnative.Vector3) PinJointSetParam(joint gdnative.Rid, param gdnative.Int, value gdnative.Real) SetActive(active gdnative.Bool) ShapeCreate(aType gdnative.Int) gdnative.Rid ShapeGetData(shape gdnative.Rid) gdnative.Variant ShapeSetData(shape gdnative.Rid, data gdnative.Variant) SliderJointGetParam(joint gdnative.Rid, param gdnative.Int) gdnative.Real SliderJointSetParam(joint gdnative.Rid, param gdnative.Int, value gdnative.Real) SpaceCreate() gdnative.Rid SpaceGetDirectState(space gdnative.Rid) PhysicsDirectSpaceStateImplementer SpaceGetParam(space gdnative.Rid, param gdnative.Int) gdnative.Real SpaceIsActive(space gdnative.Rid) gdnative.Bool SpaceSetActive(space gdnative.Rid, active gdnative.Bool) SpaceSetParam(space gdnative.Rid, param gdnative.Int, value gdnative.Real) }
PhysicsServerImplementer is an interface that implements the methods of the PhysicsServer class.
type PhysicsServerJointType ¶
type PhysicsServerJointType int
PhysicsServerJointType is an enum for JointType values.
const ( PhysicsServerJoint6Dof PhysicsServerJointType = 4 PhysicsServerJointConeTwist PhysicsServerJointType = 3 PhysicsServerJointHinge PhysicsServerJointType = 1 PhysicsServerJointPin PhysicsServerJointType = 0 PhysicsServerJointSlider PhysicsServerJointType = 2 )
type PhysicsServerPinJointParam ¶
type PhysicsServerPinJointParam int
PhysicsServerPinJointParam is an enum for PinJointParam values.
const ( PhysicsServerPinJointBias PhysicsServerPinJointParam = 0 PhysicsServerPinJointDamping PhysicsServerPinJointParam = 1 PhysicsServerPinJointImpulseClamp PhysicsServerPinJointParam = 2 )
type PhysicsServerProcessInfo ¶
type PhysicsServerProcessInfo int
PhysicsServerProcessInfo is an enum for ProcessInfo values.
const ( PhysicsServerInfoActiveObjects PhysicsServerProcessInfo = 0 PhysicsServerInfoCollisionPairs PhysicsServerProcessInfo = 1 PhysicsServerInfoIslandCount PhysicsServerProcessInfo = 2 )
type PhysicsServerShapeType ¶
type PhysicsServerShapeType int
PhysicsServerShapeType is an enum for ShapeType values.
const ( PhysicsServerShapeBox PhysicsServerShapeType = 3 PhysicsServerShapeCapsule PhysicsServerShapeType = 4 PhysicsServerShapeConcavePolygon PhysicsServerShapeType = 6 PhysicsServerShapeConvexPolygon PhysicsServerShapeType = 5 PhysicsServerShapeCustom PhysicsServerShapeType = 8 PhysicsServerShapeHeightmap PhysicsServerShapeType = 7 PhysicsServerShapePlane PhysicsServerShapeType = 0 PhysicsServerShapeRay PhysicsServerShapeType = 1 PhysicsServerShapeSphere PhysicsServerShapeType = 2 )
type PhysicsServerSliderJointParam ¶
type PhysicsServerSliderJointParam int
PhysicsServerSliderJointParam is an enum for SliderJointParam values.
const ( PhysicsServerSliderJointAngularLimitDamping PhysicsServerSliderJointParam = 15 PhysicsServerSliderJointAngularLimitLower PhysicsServerSliderJointParam = 12 PhysicsServerSliderJointAngularLimitRestitution PhysicsServerSliderJointParam = 14 PhysicsServerSliderJointAngularLimitSoftness PhysicsServerSliderJointParam = 13 PhysicsServerSliderJointAngularLimitUpper PhysicsServerSliderJointParam = 11 PhysicsServerSliderJointAngularMotionDamping PhysicsServerSliderJointParam = 18 PhysicsServerSliderJointAngularMotionRestitution PhysicsServerSliderJointParam = 17 PhysicsServerSliderJointAngularMotionSoftness PhysicsServerSliderJointParam = 16 PhysicsServerSliderJointAngularOrthogonalDamping PhysicsServerSliderJointParam = 21 PhysicsServerSliderJointAngularOrthogonalRestitution PhysicsServerSliderJointParam = 20 PhysicsServerSliderJointAngularOrthogonalSoftness PhysicsServerSliderJointParam = 19 PhysicsServerSliderJointLinearLimitDamping PhysicsServerSliderJointParam = 4 PhysicsServerSliderJointLinearLimitLower PhysicsServerSliderJointParam = 1 PhysicsServerSliderJointLinearLimitRestitution PhysicsServerSliderJointParam = 3 PhysicsServerSliderJointLinearLimitSoftness PhysicsServerSliderJointParam = 2 PhysicsServerSliderJointLinearLimitUpper PhysicsServerSliderJointParam = 0 PhysicsServerSliderJointLinearMotionDamping PhysicsServerSliderJointParam = 7 PhysicsServerSliderJointLinearMotionRestitution PhysicsServerSliderJointParam = 6 PhysicsServerSliderJointLinearMotionSoftness PhysicsServerSliderJointParam = 5 PhysicsServerSliderJointLinearOrthogonalDamping PhysicsServerSliderJointParam = 10 PhysicsServerSliderJointLinearOrthogonalRestitution PhysicsServerSliderJointParam = 9 PhysicsServerSliderJointLinearOrthogonalSoftness PhysicsServerSliderJointParam = 8 PhysicsServerSliderJointMax PhysicsServerSliderJointParam = 22 )
type PhysicsServerSpaceParameter ¶
type PhysicsServerSpaceParameter int
PhysicsServerSpaceParameter is an enum for SpaceParameter values.
const ( PhysicsServerSpaceParamBodyAngularVelocityDampRatio PhysicsServerSpaceParameter = 6 PhysicsServerSpaceParamBodyAngularVelocitySleepThreshold PhysicsServerSpaceParameter = 4 PhysicsServerSpaceParamBodyLinearVelocitySleepThreshold PhysicsServerSpaceParameter = 3 PhysicsServerSpaceParamBodyMaxAllowedPenetration PhysicsServerSpaceParameter = 2 PhysicsServerSpaceParamBodyTimeToSleep PhysicsServerSpaceParameter = 5 PhysicsServerSpaceParamConstraintDefaultBias PhysicsServerSpaceParameter = 7 PhysicsServerSpaceParamContactMaxSeparation PhysicsServerSpaceParameter = 1 PhysicsServerSpaceParamContactRecycleRadius PhysicsServerSpaceParameter = 0 )
type PhysicsShapeQueryParameters ¶
type PhysicsShapeQueryParameters struct { Reference // contains filtered or unexported fields }
func (*PhysicsShapeQueryParameters) BaseClass ¶
func (o *PhysicsShapeQueryParameters) BaseClass() string
func (*PhysicsShapeQueryParameters) GetCollisionMask ¶
func (o *PhysicsShapeQueryParameters) GetCollisionMask() gdnative.Int
Undocumented Args: [], Returns: int
func (*PhysicsShapeQueryParameters) GetExclude ¶
func (o *PhysicsShapeQueryParameters) GetExclude() gdnative.Array
Undocumented Args: [], Returns: Array
func (*PhysicsShapeQueryParameters) GetMargin ¶
func (o *PhysicsShapeQueryParameters) GetMargin() gdnative.Real
Undocumented Args: [], Returns: float
func (*PhysicsShapeQueryParameters) GetShapeRid ¶
func (o *PhysicsShapeQueryParameters) GetShapeRid() gdnative.Rid
Undocumented Args: [], Returns: RID
func (*PhysicsShapeQueryParameters) GetTransform ¶
func (o *PhysicsShapeQueryParameters) GetTransform() gdnative.Transform
Undocumented Args: [], Returns: Transform
func (*PhysicsShapeQueryParameters) SetCollisionMask ¶
func (o *PhysicsShapeQueryParameters) SetCollisionMask(collisionMask gdnative.Int)
Undocumented Args: [{ false collision_mask int}], Returns: void
func (*PhysicsShapeQueryParameters) SetExclude ¶
func (o *PhysicsShapeQueryParameters) SetExclude(exclude gdnative.Array)
Undocumented Args: [{ false exclude Array}], Returns: void
func (*PhysicsShapeQueryParameters) SetMargin ¶
func (o *PhysicsShapeQueryParameters) SetMargin(margin gdnative.Real)
Undocumented Args: [{ false margin float}], Returns: void
func (*PhysicsShapeQueryParameters) SetShape ¶
func (o *PhysicsShapeQueryParameters) SetShape(shape ResourceImplementer)
Args: [{ false shape Resource}], Returns: void
func (*PhysicsShapeQueryParameters) SetShapeRid ¶
func (o *PhysicsShapeQueryParameters) SetShapeRid(shape gdnative.Rid)
Undocumented Args: [{ false shape RID}], Returns: void
func (*PhysicsShapeQueryParameters) SetTransform ¶
func (o *PhysicsShapeQueryParameters) SetTransform(transform gdnative.Transform)
Undocumented Args: [{ false transform Transform}], Returns: void
type PhysicsShapeQueryParametersImplementer ¶
type PhysicsShapeQueryParametersImplementer interface { ReferenceImplementer GetCollisionMask() gdnative.Int GetExclude() gdnative.Array GetMargin() gdnative.Real GetShapeRid() gdnative.Rid GetTransform() gdnative.Transform SetCollisionMask(collisionMask gdnative.Int) SetExclude(exclude gdnative.Array) SetMargin(margin gdnative.Real) SetShape(shape ResourceImplementer) SetShapeRid(shape gdnative.Rid) SetTransform(transform gdnative.Transform) }
PhysicsShapeQueryParametersImplementer is an interface that implements the methods of the PhysicsShapeQueryParameters class.
type PhysicsShapeQueryResult ¶
type PhysicsShapeQueryResult struct { Reference // contains filtered or unexported fields }
func (*PhysicsShapeQueryResult) BaseClass ¶
func (o *PhysicsShapeQueryResult) BaseClass() string
func (*PhysicsShapeQueryResult) GetResultCount ¶
func (o *PhysicsShapeQueryResult) GetResultCount() gdnative.Int
Args: [], Returns: int
func (*PhysicsShapeQueryResult) GetResultObject ¶
func (o *PhysicsShapeQueryResult) GetResultObject(idx gdnative.Int) ObjectImplementer
Args: [{ false idx int}], Returns: Object
func (*PhysicsShapeQueryResult) GetResultObjectId ¶
func (o *PhysicsShapeQueryResult) GetResultObjectId(idx gdnative.Int) gdnative.Int
Args: [{ false idx int}], Returns: int
func (*PhysicsShapeQueryResult) GetResultObjectShape ¶
func (o *PhysicsShapeQueryResult) GetResultObjectShape(idx gdnative.Int) gdnative.Int
Args: [{ false idx int}], Returns: int
func (*PhysicsShapeQueryResult) GetResultRid ¶
func (o *PhysicsShapeQueryResult) GetResultRid(idx gdnative.Int) gdnative.Rid
Args: [{ false idx int}], Returns: RID
type PhysicsShapeQueryResultImplementer ¶
type PhysicsShapeQueryResultImplementer interface { ReferenceImplementer GetResultCount() gdnative.Int GetResultObject(idx gdnative.Int) ObjectImplementer GetResultObjectId(idx gdnative.Int) gdnative.Int GetResultObjectShape(idx gdnative.Int) gdnative.Int GetResultRid(idx gdnative.Int) gdnative.Rid }
PhysicsShapeQueryResultImplementer is an interface that implements the methods of the PhysicsShapeQueryResult class.
type PinJoint ¶
type PinJoint struct { Joint // contains filtered or unexported fields }
Pin Joint for 3D Rigid Bodies. It pins 2 bodies (rigid or static) together.
type PinJoint2D ¶
type PinJoint2D struct { Joint2D // contains filtered or unexported fields }
Pin Joint for 2D Rigid Bodies. It pins two bodies (rigid or static) together.
func (*PinJoint2D) BaseClass ¶
func (o *PinJoint2D) BaseClass() string
func (*PinJoint2D) GetSoftness ¶
func (o *PinJoint2D) GetSoftness() gdnative.Real
Undocumented Args: [], Returns: float
func (*PinJoint2D) SetSoftness ¶
func (o *PinJoint2D) SetSoftness(softness gdnative.Real)
Undocumented Args: [{ false softness float}], Returns: void
type PinJoint2DImplementer ¶
type PinJoint2DImplementer interface { Joint2DImplementer GetSoftness() gdnative.Real SetSoftness(softness gdnative.Real) }
PinJoint2DImplementer is an interface that implements the methods of the PinJoint2D class.
type PinJointImplementer ¶
type PinJointImplementer interface { JointImplementer GetParam(param gdnative.Int) gdnative.Real SetParam(param gdnative.Int, value gdnative.Real) }
PinJointImplementer is an interface that implements the methods of the PinJoint class.
type PinJointParam ¶
type PinJointParam int
PinJointParam is an enum for Param values.
const ( PinJointParamBias PinJointParam = 0 PinJointParamDamping PinJointParam = 1 PinJointParamImpulseClamp PinJointParam = 2 )
type PlaneMesh ¶
type PlaneMesh struct { PrimitiveMesh // contains filtered or unexported fields }
Class representing a planar PrimitiveMesh. This flat mesh does not have a thickness.
func (*PlaneMesh) GetSubdivideDepth ¶
Undocumented Args: [], Returns: int
func (*PlaneMesh) GetSubdivideWidth ¶
Undocumented Args: [], Returns: int
func (*PlaneMesh) SetSubdivideDepth ¶
Undocumented Args: [{ false subdivide int}], Returns: void
func (*PlaneMesh) SetSubdivideWidth ¶
Undocumented Args: [{ false subdivide int}], Returns: void
type PlaneMeshImplementer ¶
type PlaneMeshImplementer interface { PrimitiveMeshImplementer GetSize() gdnative.Vector2 GetSubdivideDepth() gdnative.Int GetSubdivideWidth() gdnative.Int SetSize(size gdnative.Vector2) SetSubdivideDepth(subdivide gdnative.Int) SetSubdivideWidth(subdivide gdnative.Int) }
PlaneMeshImplementer is an interface that implements the methods of the PlaneMesh class.
type PlaneShape ¶
type PlaneShape struct { Shape // contains filtered or unexported fields }
func (*PlaneShape) BaseClass ¶
func (o *PlaneShape) BaseClass() string
func (*PlaneShape) GetPlane ¶
func (o *PlaneShape) GetPlane() gdnative.Plane
Undocumented Args: [], Returns: Plane
func (*PlaneShape) SetPlane ¶
func (o *PlaneShape) SetPlane(plane gdnative.Plane)
Undocumented Args: [{ false plane Plane}], Returns: void
type PlaneShapeImplementer ¶
type PlaneShapeImplementer interface { ShapeImplementer GetPlane() gdnative.Plane SetPlane(plane gdnative.Plane) }
PlaneShapeImplementer is an interface that implements the methods of the PlaneShape class.
type PluginScript ¶
type PluginScript struct { Script // contains filtered or unexported fields }
Undocumented
func (*PluginScript) BaseClass ¶
func (o *PluginScript) BaseClass() string
type PluginScriptImplementer ¶
type PluginScriptImplementer interface { ScriptImplementer }
PluginScriptImplementer is an interface that implements the methods of the PluginScript class.
type Polygon2D ¶
type Polygon2D struct { Node2D // contains filtered or unexported fields }
A Polygon2D is defined by a set of points. Each point is connected to the next, with the final point being connected to the first, resulting in a closed polygon. Polygon2Ds can be filled with color (solid or gradient) or filled with a given texture.
func (*Polygon2D) GetAntialiased ¶
Undocumented Args: [], Returns: bool
func (*Polygon2D) GetInvertBorder ¶
Undocumented Args: [], Returns: float
func (*Polygon2D) GetPolygon ¶
func (o *Polygon2D) GetPolygon() gdnative.PoolVector2Array
Undocumented Args: [], Returns: PoolVector2Array
func (*Polygon2D) GetTexture ¶
func (o *Polygon2D) GetTexture() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*Polygon2D) GetTextureOffset ¶
Undocumented Args: [], Returns: Vector2
func (*Polygon2D) GetTextureRotation ¶
Undocumented Args: [], Returns: float
func (*Polygon2D) GetTextureRotationDegrees ¶
Undocumented Args: [], Returns: float
func (*Polygon2D) GetTextureScale ¶
Undocumented Args: [], Returns: Vector2
func (*Polygon2D) GetUv ¶
func (o *Polygon2D) GetUv() gdnative.PoolVector2Array
Undocumented Args: [], Returns: PoolVector2Array
func (*Polygon2D) GetVertexColors ¶
func (o *Polygon2D) GetVertexColors() gdnative.PoolColorArray
Undocumented Args: [], Returns: PoolColorArray
func (*Polygon2D) SetAntialiased ¶
Undocumented Args: [{ false antialiased bool}], Returns: void
func (*Polygon2D) SetInvertBorder ¶
Undocumented Args: [{ false invert_border float}], Returns: void
func (*Polygon2D) SetPolygon ¶
func (o *Polygon2D) SetPolygon(polygon gdnative.PoolVector2Array)
Undocumented Args: [{ false polygon PoolVector2Array}], Returns: void
func (*Polygon2D) SetTexture ¶
func (o *Polygon2D) SetTexture(texture TextureImplementer)
Undocumented Args: [{ false texture Texture}], Returns: void
func (*Polygon2D) SetTextureOffset ¶
Undocumented Args: [{ false texture_offset Vector2}], Returns: void
func (*Polygon2D) SetTextureRotation ¶
Undocumented Args: [{ false texture_rotation float}], Returns: void
func (*Polygon2D) SetTextureRotationDegrees ¶
Undocumented Args: [{ false texture_rotation float}], Returns: void
func (*Polygon2D) SetTextureScale ¶
Undocumented Args: [{ false texture_scale Vector2}], Returns: void
func (*Polygon2D) SetUv ¶
func (o *Polygon2D) SetUv(uv gdnative.PoolVector2Array)
Undocumented Args: [{ false uv PoolVector2Array}], Returns: void
func (*Polygon2D) SetVertexColors ¶
func (o *Polygon2D) SetVertexColors(vertexColors gdnative.PoolColorArray)
Undocumented Args: [{ false vertex_colors PoolColorArray}], Returns: void
type Polygon2DImplementer ¶
type Polygon2DImplementer interface { Node2DImplementer GetAntialiased() gdnative.Bool GetColor() gdnative.Color GetInvert() gdnative.Bool GetInvertBorder() gdnative.Real GetOffset() gdnative.Vector2 GetPolygon() gdnative.PoolVector2Array GetTexture() TextureImplementer GetTextureOffset() gdnative.Vector2 GetTextureRotation() gdnative.Real GetTextureRotationDegrees() gdnative.Real GetTextureScale() gdnative.Vector2 GetUv() gdnative.PoolVector2Array GetVertexColors() gdnative.PoolColorArray SetAntialiased(antialiased gdnative.Bool) SetColor(color gdnative.Color) SetInvert(invert gdnative.Bool) SetInvertBorder(invertBorder gdnative.Real) SetOffset(offset gdnative.Vector2) SetPolygon(polygon gdnative.PoolVector2Array) SetTexture(texture TextureImplementer) SetTextureOffset(textureOffset gdnative.Vector2) SetTextureRotation(textureRotation gdnative.Real) SetTextureRotationDegrees(textureRotation gdnative.Real) SetTextureScale(textureScale gdnative.Vector2) SetUv(uv gdnative.PoolVector2Array) SetVertexColors(vertexColors gdnative.PoolColorArray) }
Polygon2DImplementer is an interface that implements the methods of the Polygon2D class.
type PolygonPathFinder ¶
type PolygonPathFinder struct { Resource // contains filtered or unexported fields }
func (*PolygonPathFinder) BaseClass ¶
func (o *PolygonPathFinder) BaseClass() string
func (*PolygonPathFinder) FindPath ¶
func (o *PolygonPathFinder) FindPath(from gdnative.Vector2, to gdnative.Vector2) gdnative.PoolVector2Array
Args: [{ false from Vector2} { false to Vector2}], Returns: PoolVector2Array
func (*PolygonPathFinder) GetBounds ¶
func (o *PolygonPathFinder) GetBounds() gdnative.Rect2
Args: [], Returns: Rect2
func (*PolygonPathFinder) GetClosestPoint ¶
func (o *PolygonPathFinder) GetClosestPoint(point gdnative.Vector2) gdnative.Vector2
Args: [{ false point Vector2}], Returns: Vector2
func (*PolygonPathFinder) GetIntersections ¶
func (o *PolygonPathFinder) GetIntersections(from gdnative.Vector2, to gdnative.Vector2) gdnative.PoolVector2Array
Args: [{ false from Vector2} { false to Vector2}], Returns: PoolVector2Array
func (*PolygonPathFinder) GetPointPenalty ¶
func (o *PolygonPathFinder) GetPointPenalty(idx gdnative.Int) gdnative.Real
Args: [{ false idx int}], Returns: float
func (*PolygonPathFinder) IsPointInside ¶
func (o *PolygonPathFinder) IsPointInside(point gdnative.Vector2) gdnative.Bool
Args: [{ false point Vector2}], Returns: bool
func (*PolygonPathFinder) SetPointPenalty ¶
func (o *PolygonPathFinder) SetPointPenalty(idx gdnative.Int, penalty gdnative.Real)
Args: [{ false idx int} { false penalty float}], Returns: void
func (*PolygonPathFinder) Setup ¶
func (o *PolygonPathFinder) Setup(points gdnative.PoolVector2Array, connections gdnative.PoolIntArray)
Args: [{ false points PoolVector2Array} { false connections PoolIntArray}], Returns: void
func (*PolygonPathFinder) X_GetData ¶
func (o *PolygonPathFinder) X_GetData() gdnative.Dictionary
Undocumented Args: [], Returns: Dictionary
func (*PolygonPathFinder) X_SetData ¶
func (o *PolygonPathFinder) X_SetData(arg0 gdnative.Dictionary)
Undocumented Args: [{ false arg0 Dictionary}], Returns: void
type PolygonPathFinderImplementer ¶
type PolygonPathFinderImplementer interface { ResourceImplementer X_GetData() gdnative.Dictionary X_SetData(arg0 gdnative.Dictionary) FindPath(from gdnative.Vector2, to gdnative.Vector2) gdnative.PoolVector2Array GetBounds() gdnative.Rect2 GetClosestPoint(point gdnative.Vector2) gdnative.Vector2 GetIntersections(from gdnative.Vector2, to gdnative.Vector2) gdnative.PoolVector2Array GetPointPenalty(idx gdnative.Int) gdnative.Real IsPointInside(point gdnative.Vector2) gdnative.Bool SetPointPenalty(idx gdnative.Int, penalty gdnative.Real) Setup(points gdnative.PoolVector2Array, connections gdnative.PoolIntArray) }
PolygonPathFinderImplementer is an interface that implements the methods of the PolygonPathFinder class.
type Popup ¶
type Popup struct { Control // contains filtered or unexported fields }
Popup is a base Control used to show dialogs and popups. It's a subwindow and modal by default (see Control) and has helpers for custom popup behavior.
func (*Popup) IsExclusive ¶
Undocumented Args: [], Returns: bool
func (*Popup) PopupCentered ¶
Popup (show the control in modal form) in the center of the screen, at the current size, or at a size determined by "size". Args: [{(0, 0) true size Vector2}], Returns: void
func (*Popup) PopupCenteredMinsize ¶
Popup (show the control in modal form) in the center of the screen, ensuring the size is never smaller than [code]minsize[/code]. Args: [{(0, 0) true minsize Vector2}], Returns: void
func (*Popup) PopupCenteredRatio ¶
Popup (show the control in modal form) in the center of the screen, scaled at a ratio of size of the screen. Args: [{0.75 true ratio float}], Returns: void
func (*Popup) PopupMethod ¶
Popup (show the control in modal form). Args: [{(0, 0, 0, 0) true bounds Rect2}], Returns: void
func (*Popup) SetExclusive ¶
Undocumented Args: [{ false enable bool}], Returns: void
type PopupDialog ¶
type PopupDialog struct { Popup // contains filtered or unexported fields }
PopupDialog is a base class for popup dialogs, along with WindowDialog.
func (*PopupDialog) BaseClass ¶
func (o *PopupDialog) BaseClass() string
type PopupDialogImplementer ¶
type PopupDialogImplementer interface { PopupImplementer }
PopupDialogImplementer is an interface that implements the methods of the PopupDialog class.
type PopupImplementer ¶
type PopupImplementer interface { ControlImplementer IsExclusive() gdnative.Bool PopupMethod(bounds gdnative.Rect2) PopupCentered(size gdnative.Vector2) PopupCenteredMinsize(minsize gdnative.Vector2) PopupCenteredRatio(ratio gdnative.Real) SetExclusive(enable gdnative.Bool) }
PopupImplementer is an interface that implements the methods of the Popup class.
type PopupMenu ¶
type PopupMenu struct { Popup // contains filtered or unexported fields }
PopupMenu is the typical Control that displays a list of options. They are popular in toolbars or context menus.
func (*PopupMenu) AddCheckItem ¶
Add a new checkable item with text "label". An id can optionally be provided, as well as an accelerator. If no id is provided, one will be created from the index. Note that checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually. Args: [{ false label String} {-1 true id int} {0 true accel int}], Returns: void
func (*PopupMenu) AddCheckShortcut ¶
func (o *PopupMenu) AddCheckShortcut(shortcut ShortCutImplementer, id gdnative.Int, global gdnative.Bool)
Args: [{ false shortcut ShortCut} {-1 true id int} {False true global bool}], Returns: void
func (*PopupMenu) AddIconCheckItem ¶
func (o *PopupMenu) AddIconCheckItem(texture TextureImplementer, label gdnative.String, id gdnative.Int, accel gdnative.Int)
Add a new checkable item with text "label" and icon "texture". An id can optionally be provided, as well as an accelerator. If no id is provided, one will be created from the index. Note that checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually. Args: [{ false texture Texture} { false label String} {-1 true id int} {0 true accel int}], Returns: void
func (*PopupMenu) AddIconCheckShortcut ¶
func (o *PopupMenu) AddIconCheckShortcut(texture TextureImplementer, shortcut ShortCutImplementer, id gdnative.Int, global gdnative.Bool)
Args: [{ false texture Texture} { false shortcut ShortCut} {-1 true id int} {False true global bool}], Returns: void
func (*PopupMenu) AddIconItem ¶
func (o *PopupMenu) AddIconItem(texture TextureImplementer, label gdnative.String, id gdnative.Int, accel gdnative.Int)
Add a new item with text "label" and icon "texture". An id can optionally be provided, as well as an accelerator keybinding. If no id is provided, one will be created from the index. Args: [{ false texture Texture} { false label String} {-1 true id int} {0 true accel int}], Returns: void
func (*PopupMenu) AddIconShortcut ¶
func (o *PopupMenu) AddIconShortcut(texture TextureImplementer, shortcut ShortCutImplementer, id gdnative.Int, global gdnative.Bool)
Args: [{ false texture Texture} { false shortcut ShortCut} {-1 true id int} {False true global bool}], Returns: void
func (*PopupMenu) AddItem ¶
Add a new item with text "label". An id can optionally be provided, as well as an accelerator keybinding. If no id is provided, one will be created from the index. Args: [{ false label String} {-1 true id int} {0 true accel int}], Returns: void
func (*PopupMenu) AddSeparator ¶
func (o *PopupMenu) AddSeparator()
Add a separator between items. Separators also occupy an index. Args: [], Returns: void
func (*PopupMenu) AddShortcut ¶
func (o *PopupMenu) AddShortcut(shortcut ShortCutImplementer, id gdnative.Int, global gdnative.Bool)
Args: [{ false shortcut ShortCut} {-1 true id int} {False true global bool}], Returns: void
func (*PopupMenu) AddSubmenuItem ¶
Adds an item with a submenu. The submenu is the name of a child PopupMenu node that would be shown when the item is clicked. An id can optionally be provided, but if is isn't provided, one will be created from the index. Args: [{ false label String} { false submenu String} {-1 true id int}], Returns: void
func (*PopupMenu) Clear ¶
func (o *PopupMenu) Clear()
Clear the popup menu, in effect removing all items. Args: [], Returns: void
func (*PopupMenu) GetItemAccelerator ¶
Return the accelerator of the item at index "idx". Accelerators are special combinations of keys that activate the item, no matter which control is focused. Args: [{ false idx int}], Returns: int
func (*PopupMenu) GetItemCount ¶
Return the amount of items. Args: [], Returns: int
func (*PopupMenu) GetItemIcon ¶
func (o *PopupMenu) GetItemIcon(idx gdnative.Int) TextureImplementer
Return the icon of the item at index "idx". Args: [{ false idx int}], Returns: Texture
func (*PopupMenu) GetItemId ¶
Return the id of the item at index "idx". Args: [{ false idx int}], Returns: int
func (*PopupMenu) GetItemIndex ¶
Find and return the index of the item containing a given id. Args: [{ false id int}], Returns: int
func (*PopupMenu) GetItemMetadata ¶
Return the metadata of an item, which might be of any type. You can set it with [method set_item_metadata], which provides a simple way of assigning context data to items. Args: [{ false idx int}], Returns: Variant
func (*PopupMenu) GetItemShortcut ¶
func (o *PopupMenu) GetItemShortcut(idx gdnative.Int) ShortCutImplementer
Args: [{ false idx int}], Returns: ShortCut
func (*PopupMenu) GetItemSubmenu ¶
Return the submenu name of the item at index "idx". Args: [{ false idx int}], Returns: String
func (*PopupMenu) GetItemText ¶
Return the text of the item at index "idx". Args: [{ false idx int}], Returns: String
func (*PopupMenu) GetItemTooltip ¶
Args: [{ false idx int}], Returns: String
func (*PopupMenu) IsHideOnCheckableItemSelection ¶
Undocumented Args: [], Returns: bool
func (*PopupMenu) IsHideOnItemSelection ¶
Undocumented Args: [], Returns: bool
func (*PopupMenu) IsHideOnStateItemSelection ¶
Undocumented Args: [], Returns: bool
func (*PopupMenu) IsItemCheckable ¶
Return whether the item at index "idx" has a checkbox. Note that checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually. Args: [{ false idx int}], Returns: bool
func (*PopupMenu) IsItemChecked ¶
Return the checkstate status of the item at index "idx". Args: [{ false idx int}], Returns: bool
func (*PopupMenu) IsItemDisabled ¶
Return whether the item at index "idx" is disabled. When it is disabled it can't be selected, or its action invoked. Args: [{ false idx int}], Returns: bool
func (*PopupMenu) IsItemSeparator ¶
Return whether the item is a separator. If it is, it would be displayed as a line. Args: [{ false idx int}], Returns: bool
func (*PopupMenu) RemoveItem ¶
Removes the item at index "idx" from the menu. Note that the indexes of items after the removed item are going to be shifted by one. Args: [{ false idx int}], Returns: void
func (*PopupMenu) SetHideOnCheckableItemSelection ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*PopupMenu) SetHideOnItemSelection ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*PopupMenu) SetHideOnStateItemSelection ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*PopupMenu) SetItemAccelerator ¶
Set the accelerator of the item at index "idx". Accelerators are special combinations of keys that activate the item, no matter which control is focused. Args: [{ false idx int} { false accel int}], Returns: void
func (*PopupMenu) SetItemAsCheckable ¶
Set whether the item at index "idx" has a checkbox. Note that checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually. Args: [{ false idx int} { false enable bool}], Returns: void
func (*PopupMenu) SetItemAsSeparator ¶
Mark the item at index "idx" as a separator, which means that it would be displayed as a mere line. Args: [{ false idx int} { false enable bool}], Returns: void
func (*PopupMenu) SetItemChecked ¶
Set the checkstate status of the item at index "idx". Args: [{ false idx int} { false checked bool}], Returns: void
func (*PopupMenu) SetItemDisabled ¶
Sets whether the item at index "idx" is disabled or not. When it is disabled it can't be selected, or its action invoked. Args: [{ false idx int} { false disabled bool}], Returns: void
func (*PopupMenu) SetItemIcon ¶
func (o *PopupMenu) SetItemIcon(idx gdnative.Int, icon TextureImplementer)
Args: [{ false idx int} { false icon Texture}], Returns: void
func (*PopupMenu) SetItemId ¶
Set the id of the item at index "idx". Args: [{ false idx int} { false id int}], Returns: void
func (*PopupMenu) SetItemMetadata ¶
Sets the metadata of an item, which might be of any type. You can later get it with [method get_item_metadata], which provides a simple way of assigning context data to items. Args: [{ false idx int} { false metadata Variant}], Returns: void
func (*PopupMenu) SetItemMultistate ¶
Args: [{ false idx int} { false state int}], Returns: void
func (*PopupMenu) SetItemShortcut ¶
func (o *PopupMenu) SetItemShortcut(idx gdnative.Int, shortcut ShortCutImplementer, global gdnative.Bool)
Args: [{ false idx int} { false shortcut ShortCut} {False true global bool}], Returns: void
func (*PopupMenu) SetItemSubmenu ¶
Sets the submenu of the item at index "idx". The submenu is the name of a child PopupMenu node that would be shown when the item is clicked. Args: [{ false idx int} { false submenu String}], Returns: void
func (*PopupMenu) SetItemText ¶
Set the text of the item at index "idx". Args: [{ false idx int} { false text String}], Returns: void
func (*PopupMenu) SetItemTooltip ¶
Args: [{ false idx int} { false tooltip String}], Returns: void
func (*PopupMenu) ToggleItemChecked ¶
Args: [{ false idx int}], Returns: void
func (*PopupMenu) ToggleItemMultistate ¶
Args: [{ false idx int}], Returns: void
func (*PopupMenu) X_GetItems ¶
Undocumented Args: [], Returns: Array
func (*PopupMenu) X_GuiInput ¶
func (o *PopupMenu) X_GuiInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
func (*PopupMenu) X_SetItems ¶
Undocumented Args: [{ false arg0 Array}], Returns: void
func (*PopupMenu) X_SubmenuTimeout ¶
func (o *PopupMenu) X_SubmenuTimeout()
Undocumented Args: [], Returns: void
type PopupMenuImplementer ¶
type PopupMenuImplementer interface { PopupImplementer X_GetItems() gdnative.Array X_SetItems(arg0 gdnative.Array) AddCheckItem(label gdnative.String, id gdnative.Int, accel gdnative.Int) AddCheckShortcut(shortcut ShortCutImplementer, id gdnative.Int, global gdnative.Bool) AddIconCheckItem(texture TextureImplementer, label gdnative.String, id gdnative.Int, accel gdnative.Int) AddIconCheckShortcut(texture TextureImplementer, shortcut ShortCutImplementer, id gdnative.Int, global gdnative.Bool) AddIconItem(texture TextureImplementer, label gdnative.String, id gdnative.Int, accel gdnative.Int) AddIconShortcut(texture TextureImplementer, shortcut ShortCutImplementer, id gdnative.Int, global gdnative.Bool) AddItem(label gdnative.String, id gdnative.Int, accel gdnative.Int) AddSeparator() AddShortcut(shortcut ShortCutImplementer, id gdnative.Int, global gdnative.Bool) Clear() GetItemAccelerator(idx gdnative.Int) gdnative.Int GetItemCount() gdnative.Int GetItemIcon(idx gdnative.Int) TextureImplementer GetItemId(idx gdnative.Int) gdnative.Int GetItemIndex(id gdnative.Int) gdnative.Int GetItemMetadata(idx gdnative.Int) gdnative.Variant GetItemShortcut(idx gdnative.Int) ShortCutImplementer GetItemText(idx gdnative.Int) gdnative.String GetItemTooltip(idx gdnative.Int) gdnative.String IsHideOnCheckableItemSelection() gdnative.Bool IsHideOnItemSelection() gdnative.Bool IsHideOnStateItemSelection() gdnative.Bool IsItemCheckable(idx gdnative.Int) gdnative.Bool IsItemChecked(idx gdnative.Int) gdnative.Bool IsItemDisabled(idx gdnative.Int) gdnative.Bool IsItemSeparator(idx gdnative.Int) gdnative.Bool RemoveItem(idx gdnative.Int) SetHideOnCheckableItemSelection(enable gdnative.Bool) SetHideOnItemSelection(enable gdnative.Bool) SetHideOnStateItemSelection(enable gdnative.Bool) SetItemAccelerator(idx gdnative.Int, accel gdnative.Int) SetItemAsCheckable(idx gdnative.Int, enable gdnative.Bool) SetItemAsSeparator(idx gdnative.Int, enable gdnative.Bool) SetItemChecked(idx gdnative.Int, checked gdnative.Bool) SetItemDisabled(idx gdnative.Int, disabled gdnative.Bool) SetItemIcon(idx gdnative.Int, icon TextureImplementer) SetItemId(idx gdnative.Int, id gdnative.Int) SetItemMetadata(idx gdnative.Int, metadata gdnative.Variant) SetItemMultistate(idx gdnative.Int, state gdnative.Int) SetItemShortcut(idx gdnative.Int, shortcut ShortCutImplementer, global gdnative.Bool) SetItemText(idx gdnative.Int, text gdnative.String) SetItemTooltip(idx gdnative.Int, tooltip gdnative.String) ToggleItemChecked(idx gdnative.Int) ToggleItemMultistate(idx gdnative.Int) }
PopupMenuImplementer is an interface that implements the methods of the PopupMenu class.
type PopupPanel ¶
type PopupPanel struct { Popup // contains filtered or unexported fields }
Class for displaying popups with a panel background. In some cases it might be simpler to use than Popup, since it provides a configurable background. If you are making windows, better check WindowDialog.
func (*PopupPanel) BaseClass ¶
func (o *PopupPanel) BaseClass() string
type PopupPanelImplementer ¶
type PopupPanelImplementer interface { PopupImplementer }
PopupPanelImplementer is an interface that implements the methods of the PopupPanel class.
type Position2D ¶
type Position2D struct { Node2D // contains filtered or unexported fields }
Generic 2D Position hint for editing. It's just like a plain Node2D but displays as a cross in the 2D-Editor at all times.
func (*Position2D) BaseClass ¶
func (o *Position2D) BaseClass() string
type Position2DImplementer ¶
type Position2DImplementer interface { Node2DImplementer }
Position2DImplementer is an interface that implements the methods of the Position2D class.
type Position3D ¶
type Position3D struct { Spatial // contains filtered or unexported fields }
Generic 3D Position hint for editing. It's just like a plain Spatial but displays as a cross in the 3D-Editor at all times.
func (*Position3D) BaseClass ¶
func (o *Position3D) BaseClass() string
type Position3DImplementer ¶
type Position3DImplementer interface { SpatialImplementer }
Position3DImplementer is an interface that implements the methods of the Position3D class.
type PrimitiveMesh ¶
type PrimitiveMesh struct { Mesh // contains filtered or unexported fields }
Base class for all primitive meshes. Handles applying a Material to a primitive mesh.
func (*PrimitiveMesh) BaseClass ¶
func (o *PrimitiveMesh) BaseClass() string
func (*PrimitiveMesh) GetMaterial ¶
func (o *PrimitiveMesh) GetMaterial() MaterialImplementer
Undocumented Args: [], Returns: Material
func (*PrimitiveMesh) GetMeshArrays ¶
func (o *PrimitiveMesh) GetMeshArrays() gdnative.Array
Args: [], Returns: Array
func (*PrimitiveMesh) SetMaterial ¶
func (o *PrimitiveMesh) SetMaterial(material MaterialImplementer)
Undocumented Args: [{ false material Material}], Returns: void
func (*PrimitiveMesh) X_Update ¶
func (o *PrimitiveMesh) X_Update()
Undocumented Args: [], Returns: void
type PrimitiveMeshImplementer ¶
type PrimitiveMeshImplementer interface { MeshImplementer X_Update() GetMaterial() MaterialImplementer GetMeshArrays() gdnative.Array SetMaterial(material MaterialImplementer) }
PrimitiveMeshImplementer is an interface that implements the methods of the PrimitiveMesh class.
type PrismMesh ¶
type PrismMesh struct { PrimitiveMesh // contains filtered or unexported fields }
Class representing a prism-shaped PrimitiveMesh.
func (*PrismMesh) GetLeftToRight ¶
Undocumented Args: [], Returns: float
func (*PrismMesh) GetSubdivideDepth ¶
Undocumented Args: [], Returns: int
func (*PrismMesh) GetSubdivideHeight ¶
Undocumented Args: [], Returns: int
func (*PrismMesh) GetSubdivideWidth ¶
Undocumented Args: [], Returns: int
func (*PrismMesh) SetLeftToRight ¶
Undocumented Args: [{ false left_to_right float}], Returns: void
func (*PrismMesh) SetSubdivideDepth ¶
Undocumented Args: [{ false segments int}], Returns: void
func (*PrismMesh) SetSubdivideHeight ¶
Undocumented Args: [{ false segments int}], Returns: void
func (*PrismMesh) SetSubdivideWidth ¶
Undocumented Args: [{ false segments int}], Returns: void
type PrismMeshImplementer ¶
type PrismMeshImplementer interface { PrimitiveMeshImplementer GetLeftToRight() gdnative.Real GetSize() gdnative.Vector3 GetSubdivideDepth() gdnative.Int GetSubdivideHeight() gdnative.Int GetSubdivideWidth() gdnative.Int SetLeftToRight(leftToRight gdnative.Real) SetSize(size gdnative.Vector3) SetSubdivideDepth(segments gdnative.Int) SetSubdivideHeight(segments gdnative.Int) SetSubdivideWidth(segments gdnative.Int) }
PrismMeshImplementer is an interface that implements the methods of the PrismMesh class.
type ProceduralSky ¶
type ProceduralSky struct { Sky // contains filtered or unexported fields }
func (*ProceduralSky) BaseClass ¶
func (o *ProceduralSky) BaseClass() string
func (*ProceduralSky) GetGroundBottomColor ¶
func (o *ProceduralSky) GetGroundBottomColor() gdnative.Color
Undocumented Args: [], Returns: Color
func (*ProceduralSky) GetGroundCurve ¶
func (o *ProceduralSky) GetGroundCurve() gdnative.Real
Undocumented Args: [], Returns: float
func (*ProceduralSky) GetGroundEnergy ¶
func (o *ProceduralSky) GetGroundEnergy() gdnative.Real
Undocumented Args: [], Returns: float
func (*ProceduralSky) GetGroundHorizonColor ¶
func (o *ProceduralSky) GetGroundHorizonColor() gdnative.Color
Undocumented Args: [], Returns: Color
func (*ProceduralSky) GetSkyCurve ¶
func (o *ProceduralSky) GetSkyCurve() gdnative.Real
Undocumented Args: [], Returns: float
func (*ProceduralSky) GetSkyEnergy ¶
func (o *ProceduralSky) GetSkyEnergy() gdnative.Real
Undocumented Args: [], Returns: float
func (*ProceduralSky) GetSkyHorizonColor ¶
func (o *ProceduralSky) GetSkyHorizonColor() gdnative.Color
Undocumented Args: [], Returns: Color
func (*ProceduralSky) GetSkyTopColor ¶
func (o *ProceduralSky) GetSkyTopColor() gdnative.Color
Undocumented Args: [], Returns: Color
func (*ProceduralSky) GetSunAngleMax ¶
func (o *ProceduralSky) GetSunAngleMax() gdnative.Real
Undocumented Args: [], Returns: float
func (*ProceduralSky) GetSunAngleMin ¶
func (o *ProceduralSky) GetSunAngleMin() gdnative.Real
Undocumented Args: [], Returns: float
func (*ProceduralSky) GetSunColor ¶
func (o *ProceduralSky) GetSunColor() gdnative.Color
Undocumented Args: [], Returns: Color
func (*ProceduralSky) GetSunCurve ¶
func (o *ProceduralSky) GetSunCurve() gdnative.Real
Undocumented Args: [], Returns: float
func (*ProceduralSky) GetSunEnergy ¶
func (o *ProceduralSky) GetSunEnergy() gdnative.Real
Undocumented Args: [], Returns: float
func (*ProceduralSky) GetSunLatitude ¶
func (o *ProceduralSky) GetSunLatitude() gdnative.Real
Undocumented Args: [], Returns: float
func (*ProceduralSky) GetSunLongitude ¶
func (o *ProceduralSky) GetSunLongitude() gdnative.Real
Undocumented Args: [], Returns: float
func (*ProceduralSky) GetTextureSize ¶
func (o *ProceduralSky) GetTextureSize() ProceduralSkyTextureSize
Undocumented Args: [], Returns: enum.ProceduralSky::TextureSize
func (*ProceduralSky) SetGroundBottomColor ¶
func (o *ProceduralSky) SetGroundBottomColor(color gdnative.Color)
Undocumented Args: [{ false color Color}], Returns: void
func (*ProceduralSky) SetGroundCurve ¶
func (o *ProceduralSky) SetGroundCurve(curve gdnative.Real)
Undocumented Args: [{ false curve float}], Returns: void
func (*ProceduralSky) SetGroundEnergy ¶
func (o *ProceduralSky) SetGroundEnergy(energy gdnative.Real)
Undocumented Args: [{ false energy float}], Returns: void
func (*ProceduralSky) SetGroundHorizonColor ¶
func (o *ProceduralSky) SetGroundHorizonColor(color gdnative.Color)
Undocumented Args: [{ false color Color}], Returns: void
func (*ProceduralSky) SetSkyCurve ¶
func (o *ProceduralSky) SetSkyCurve(curve gdnative.Real)
Undocumented Args: [{ false curve float}], Returns: void
func (*ProceduralSky) SetSkyEnergy ¶
func (o *ProceduralSky) SetSkyEnergy(energy gdnative.Real)
Undocumented Args: [{ false energy float}], Returns: void
func (*ProceduralSky) SetSkyHorizonColor ¶
func (o *ProceduralSky) SetSkyHorizonColor(color gdnative.Color)
Undocumented Args: [{ false color Color}], Returns: void
func (*ProceduralSky) SetSkyTopColor ¶
func (o *ProceduralSky) SetSkyTopColor(color gdnative.Color)
Undocumented Args: [{ false color Color}], Returns: void
func (*ProceduralSky) SetSunAngleMax ¶
func (o *ProceduralSky) SetSunAngleMax(degrees gdnative.Real)
Undocumented Args: [{ false degrees float}], Returns: void
func (*ProceduralSky) SetSunAngleMin ¶
func (o *ProceduralSky) SetSunAngleMin(degrees gdnative.Real)
Undocumented Args: [{ false degrees float}], Returns: void
func (*ProceduralSky) SetSunColor ¶
func (o *ProceduralSky) SetSunColor(color gdnative.Color)
Undocumented Args: [{ false color Color}], Returns: void
func (*ProceduralSky) SetSunCurve ¶
func (o *ProceduralSky) SetSunCurve(curve gdnative.Real)
Undocumented Args: [{ false curve float}], Returns: void
func (*ProceduralSky) SetSunEnergy ¶
func (o *ProceduralSky) SetSunEnergy(energy gdnative.Real)
Undocumented Args: [{ false energy float}], Returns: void
func (*ProceduralSky) SetSunLatitude ¶
func (o *ProceduralSky) SetSunLatitude(degrees gdnative.Real)
Undocumented Args: [{ false degrees float}], Returns: void
func (*ProceduralSky) SetSunLongitude ¶
func (o *ProceduralSky) SetSunLongitude(degrees gdnative.Real)
Undocumented Args: [{ false degrees float}], Returns: void
func (*ProceduralSky) SetTextureSize ¶
func (o *ProceduralSky) SetTextureSize(size gdnative.Int)
Undocumented Args: [{ false size int}], Returns: void
func (*ProceduralSky) X_ThreadDone ¶
func (o *ProceduralSky) X_ThreadDone(image ImageImplementer)
Undocumented Args: [{ false image Image}], Returns: void
func (*ProceduralSky) X_UpdateSky ¶
func (o *ProceduralSky) X_UpdateSky()
Undocumented Args: [], Returns: void
type ProceduralSkyImplementer ¶
type ProceduralSkyImplementer interface { SkyImplementer X_ThreadDone(image ImageImplementer) X_UpdateSky() GetGroundBottomColor() gdnative.Color GetGroundCurve() gdnative.Real GetGroundEnergy() gdnative.Real GetGroundHorizonColor() gdnative.Color GetSkyCurve() gdnative.Real GetSkyEnergy() gdnative.Real GetSkyHorizonColor() gdnative.Color GetSkyTopColor() gdnative.Color GetSunAngleMax() gdnative.Real GetSunAngleMin() gdnative.Real GetSunColor() gdnative.Color GetSunCurve() gdnative.Real GetSunEnergy() gdnative.Real GetSunLatitude() gdnative.Real GetSunLongitude() gdnative.Real SetGroundBottomColor(color gdnative.Color) SetGroundCurve(curve gdnative.Real) SetGroundEnergy(energy gdnative.Real) SetGroundHorizonColor(color gdnative.Color) SetSkyCurve(curve gdnative.Real) SetSkyEnergy(energy gdnative.Real) SetSkyHorizonColor(color gdnative.Color) SetSkyTopColor(color gdnative.Color) SetSunAngleMax(degrees gdnative.Real) SetSunAngleMin(degrees gdnative.Real) SetSunColor(color gdnative.Color) SetSunCurve(curve gdnative.Real) SetSunEnergy(energy gdnative.Real) SetSunLatitude(degrees gdnative.Real) SetSunLongitude(degrees gdnative.Real) SetTextureSize(size gdnative.Int) }
ProceduralSkyImplementer is an interface that implements the methods of the ProceduralSky class.
type ProceduralSkyTextureSize ¶
type ProceduralSkyTextureSize int
ProceduralSkyTextureSize is an enum for TextureSize values.
const ( ProceduralSkyTextureSize1024 ProceduralSkyTextureSize = 2 ProceduralSkyTextureSize2048 ProceduralSkyTextureSize = 3 ProceduralSkyTextureSize256 ProceduralSkyTextureSize = 0 ProceduralSkyTextureSize4096 ProceduralSkyTextureSize = 4 ProceduralSkyTextureSize512 ProceduralSkyTextureSize = 1 ProceduralSkyTextureSizeMax ProceduralSkyTextureSize = 5 )
type ProgressBar ¶
type ProgressBar struct { Range // contains filtered or unexported fields }
General purpose progress bar. Shows fill percentage from right to left.
func (*ProgressBar) BaseClass ¶
func (o *ProgressBar) BaseClass() string
func (*ProgressBar) IsPercentVisible ¶
func (o *ProgressBar) IsPercentVisible() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*ProgressBar) SetPercentVisible ¶
func (o *ProgressBar) SetPercentVisible(visible gdnative.Bool)
Undocumented Args: [{ false visible bool}], Returns: void
type ProgressBarImplementer ¶
type ProgressBarImplementer interface { RangeImplementer IsPercentVisible() gdnative.Bool SetPercentVisible(visible gdnative.Bool) }
ProgressBarImplementer is an interface that implements the methods of the ProgressBar class.
type ProjectSettingsImplementer ¶
type ProjectSettingsImplementer interface { ObjectImplementer AddPropertyInfo(hint gdnative.Dictionary) Clear(name gdnative.String) GetOrder(name gdnative.String) gdnative.Int GetSetting(name gdnative.String) gdnative.Variant GlobalizePath(path gdnative.String) gdnative.String HasSetting(name gdnative.String) gdnative.Bool LoadResourcePack(pack gdnative.String) gdnative.Bool LocalizePath(path gdnative.String) gdnative.String PropertyCanRevert(name gdnative.String) gdnative.Bool PropertyGetRevert(name gdnative.String) gdnative.Variant SetInitialValue(name gdnative.String, value gdnative.Variant) SetOrder(name gdnative.String, position gdnative.Int) SetSetting(name gdnative.String, value gdnative.Variant) }
ProjectSettingsImplementer is an interface that implements the methods of the ProjectSettings class.
type ProximityGroup ¶
type ProximityGroup struct { Spatial // contains filtered or unexported fields }
General purpose proximity-detection node.
func (*ProximityGroup) BaseClass ¶
func (o *ProximityGroup) BaseClass() string
func (*ProximityGroup) Broadcast ¶
func (o *ProximityGroup) Broadcast(name gdnative.String, parameters gdnative.Variant)
Args: [{ false name String} { false parameters Variant}], Returns: void
func (*ProximityGroup) GetDispatchMode ¶
func (o *ProximityGroup) GetDispatchMode() ProximityGroupDispatchMode
Undocumented Args: [], Returns: enum.ProximityGroup::DispatchMode
func (*ProximityGroup) GetGridRadius ¶
func (o *ProximityGroup) GetGridRadius() gdnative.Vector3
Undocumented Args: [], Returns: Vector3
func (*ProximityGroup) GetGroupName ¶
func (o *ProximityGroup) GetGroupName() gdnative.String
Undocumented Args: [], Returns: String
func (*ProximityGroup) SetDispatchMode ¶
func (o *ProximityGroup) SetDispatchMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*ProximityGroup) SetGridRadius ¶
func (o *ProximityGroup) SetGridRadius(radius gdnative.Vector3)
Undocumented Args: [{ false radius Vector3}], Returns: void
func (*ProximityGroup) SetGroupName ¶
func (o *ProximityGroup) SetGroupName(name gdnative.String)
Undocumented Args: [{ false name String}], Returns: void
func (*ProximityGroup) X_ProximityGroupBroadcast ¶
func (o *ProximityGroup) X_ProximityGroupBroadcast(name gdnative.String, params gdnative.Variant)
Undocumented Args: [{ false name String} { false params Variant}], Returns: void
type ProximityGroupDispatchMode ¶
type ProximityGroupDispatchMode int
ProximityGroupDispatchMode is an enum for DispatchMode values.
const ( ProximityGroupModeProxy ProximityGroupDispatchMode = 0 ProximityGroupModeSignal ProximityGroupDispatchMode = 1 )
type ProximityGroupImplementer ¶
type ProximityGroupImplementer interface { SpatialImplementer X_ProximityGroupBroadcast(name gdnative.String, params gdnative.Variant) Broadcast(name gdnative.String, parameters gdnative.Variant) GetGridRadius() gdnative.Vector3 GetGroupName() gdnative.String SetDispatchMode(mode gdnative.Int) SetGridRadius(radius gdnative.Vector3) SetGroupName(name gdnative.String) }
ProximityGroupImplementer is an interface that implements the methods of the ProximityGroup class.
type ProxyTexture ¶
type ProxyTexture struct { Texture // contains filtered or unexported fields }
func (*ProxyTexture) BaseClass ¶
func (o *ProxyTexture) BaseClass() string
func (*ProxyTexture) GetBase ¶
func (o *ProxyTexture) GetBase() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*ProxyTexture) SetBase ¶
func (o *ProxyTexture) SetBase(base TextureImplementer)
Undocumented Args: [{ false base Texture}], Returns: void
type ProxyTextureImplementer ¶
type ProxyTextureImplementer interface { TextureImplementer GetBase() TextureImplementer SetBase(base TextureImplementer) }
ProxyTextureImplementer is an interface that implements the methods of the ProxyTexture class.
type QuadMesh ¶
type QuadMesh struct { PrimitiveMesh // contains filtered or unexported fields }
Class representing a square mesh with size (2,2,0). Consider using a PlaneMesh if you require a differently sized plane.
type QuadMeshImplementer ¶
type QuadMeshImplementer interface { PrimitiveMeshImplementer GetSize() gdnative.Vector2 SetSize(size gdnative.Vector2) }
QuadMeshImplementer is an interface that implements the methods of the QuadMesh class.
type Range ¶
type Range struct { Control // contains filtered or unexported fields }
Range is a base class for Control nodes that change a floating point [i]value[/i] between a [i]minimum[/i] and a [i]maximum[/i], using [i]step[/i] and [i]page[/i], for example a ScrollBar.
func (*Range) GetAsRatio ¶
Undocumented Args: [], Returns: float
func (*Range) IsRatioExp ¶
Undocumented Args: [], Returns: bool
func (*Range) IsUsingRoundedValues ¶
Undocumented Args: [], Returns: bool
func (*Range) SetAsRatio ¶
Undocumented Args: [{ false value float}], Returns: void
func (*Range) SetExpRatio ¶
Undocumented Args: [{ false enabled bool}], Returns: void
func (*Range) SetUseRoundedValues ¶
Undocumented Args: [{ false enabled bool}], Returns: void
func (*Range) Share ¶
func (o *Range) Share(with ObjectImplementer)
Binds two Ranges together along with any Ranges previously grouped with either of them. When any of Range's member variables change, it will share the new value with all other Ranges in its group. Args: [{ false with Object}], Returns: void
type RangeImplementer ¶
type RangeImplementer interface { ControlImplementer GetAsRatio() gdnative.Real GetMax() gdnative.Real GetMin() gdnative.Real GetPage() gdnative.Real GetStep() gdnative.Real GetValue() gdnative.Real IsRatioExp() gdnative.Bool IsUsingRoundedValues() gdnative.Bool SetAsRatio(value gdnative.Real) SetExpRatio(enabled gdnative.Bool) SetMax(maximum gdnative.Real) SetMin(minimum gdnative.Real) SetPage(pagesize gdnative.Real) SetStep(step gdnative.Real) SetUseRoundedValues(enabled gdnative.Bool) SetValue(value gdnative.Real) }
RangeImplementer is an interface that implements the methods of the Range class.
type RayCast ¶
type RayCast struct { Spatial // contains filtered or unexported fields }
A RayCast represents a line from its origin to its destination position, [code]cast_to[/code]. It is used to query the 3D space in order to find the closest object along the path of the ray. RayCast can ignore some objects by adding them to the exception list via [code]add_exception[/code], by setting proper filtering with collision layers, or by filtering object types with type masks. Only enabled raycasts will be able to query the space and report collisions. RayCast calculates intersection every physics frame (see Node), and the result is cached so it can be used later until the next frame. If multiple queries are required between physics frames (or during the same frame) use [method force_raycast_update] after adjusting the raycast.
func (*RayCast) AddException ¶
func (o *RayCast) AddException(node ObjectImplementer)
Adds a collision exception so the ray does not report collisions with the specified node. Args: [{ false node Object}], Returns: void
func (*RayCast) AddExceptionRid ¶
Adds a collision exception so the ray does not report collisions with the specified [RID]. Args: [{ false rid RID}], Returns: void
func (*RayCast) ClearExceptions ¶
func (o *RayCast) ClearExceptions()
Removes all collision exceptions for this ray. Args: [], Returns: void
func (*RayCast) ForceRaycastUpdate ¶
func (o *RayCast) ForceRaycastUpdate()
Updates the collision information for the ray. Use this method to update the collision information immediately instead of waiting for the next [code]_physics_process[/code] call, for example if the ray or its parent has changed state. Note: [code]enabled == true[/code] is not required for this to work. Args: [], Returns: void
func (*RayCast) GetCollider ¶
func (o *RayCast) GetCollider() ObjectImplementer
Return the closest object the ray is pointing to. Note that this does not consider the length of the ray, so you must also use [method is_colliding] to check if the object returned is actually colliding with the ray. Example: [codeblock] if RayCast.is_colliding(): var collider = RayCast.get_collider() [/codeblock] Args: [], Returns: Object
func (*RayCast) GetColliderShape ¶
Returns the collision shape of the closest object the ray is pointing to. Note that this does not consider the length of the ray, so you must also use [method is_colliding] to check if the object returned is actually colliding with the ray. Example: [codeblock] if RayCast.is_colliding(): var shape = RayCast.get_collider_shape() [/codeblock] Args: [], Returns: int
func (*RayCast) GetCollisionMask ¶
Undocumented Args: [], Returns: int
func (*RayCast) GetCollisionMaskBit ¶
Returns [code]true[/code] if the bit index passed is turned on. Note that bit indexes range from 0-19. Args: [{ false bit int}], Returns: bool
func (*RayCast) GetCollisionNormal ¶
Returns the normal of the intersecting object's shape at the collision point. Args: [], Returns: Vector3
func (*RayCast) GetCollisionPoint ¶
Returns the collision point at which the ray intersects the closest object. Note: this point is in the [b]global[/b] coordinate system. Args: [], Returns: Vector3
func (*RayCast) GetExcludeParentBody ¶
Undocumented Args: [], Returns: bool
func (*RayCast) IsColliding ¶
Return whether the closest object the ray is pointing to is colliding with the vector (considering the vector length). Args: [], Returns: bool
func (*RayCast) RemoveException ¶
func (o *RayCast) RemoveException(node ObjectImplementer)
Removes a collision exception so the ray does report collisions with the specified node. Args: [{ false node Object}], Returns: void
func (*RayCast) RemoveExceptionRid ¶
Removes a collision exception so the ray does report collisions with the specified [RID]. Args: [{ false rid RID}], Returns: void
func (*RayCast) SetCollisionMask ¶
Undocumented Args: [{ false mask int}], Returns: void
func (*RayCast) SetCollisionMaskBit ¶
Sets the bit index passed to the [code]value[/code] passed. Note that bit indexes range from 0-19. Args: [{ false bit int} { false value bool}], Returns: void
func (*RayCast) SetEnabled ¶
Undocumented Args: [{ false enabled bool}], Returns: void
func (*RayCast) SetExcludeParentBody ¶
Undocumented Args: [{ false mask bool}], Returns: void
type RayCast2D ¶
type RayCast2D struct { Node2D // contains filtered or unexported fields }
A RayCast represents a line from its origin to its destination position, [code]cast_to[/code]. It is used to query the 2D space in order to find the closest object along the path of the ray. RayCast2D can ignore some objects by adding them to the exception list via [code]add_exception[/code], by setting proper filtering with collision layers, or by filtering object types with type masks. Only enabled raycasts will be able to query the space and report collisions. RayCast2D calculates intersection every physics frame (see Node), and the result is cached so it can be used later until the next frame. If multiple queries are required between physics frames (or during the same frame) use [method force_raycast_update] after adjusting the raycast.
func (*RayCast2D) AddException ¶
func (o *RayCast2D) AddException(node ObjectImplementer)
Adds a collision exception so the ray does not report collisions with the specified node. Args: [{ false node Object}], Returns: void
func (*RayCast2D) AddExceptionRid ¶
Adds a collision exception so the ray does not report collisions with the specified [RID]. Args: [{ false rid RID}], Returns: void
func (*RayCast2D) ClearExceptions ¶
func (o *RayCast2D) ClearExceptions()
Removes all collision exceptions for this ray. Args: [], Returns: void
func (*RayCast2D) ForceRaycastUpdate ¶
func (o *RayCast2D) ForceRaycastUpdate()
Updates the collision information for the ray. Use this method to update the collision information immediately instead of waiting for the next [code]_physics_process[/code] call, for example if the ray or its parent has changed state. Note: [code]enabled == true[/code] is not required for this to work. Args: [], Returns: void
func (*RayCast2D) GetCollider ¶
func (o *RayCast2D) GetCollider() ObjectImplementer
Returns the closest object the ray is pointing to. Note that this does not consider the length of the ray, so you must also use [method is_colliding] to check if the object returned is actually colliding with the ray. Example: [codeblock] if RayCast2D.is_colliding(): var collider = RayCast2D.get_collider() [/codeblock] Args: [], Returns: Object
func (*RayCast2D) GetColliderShape ¶
Returns the collision shape of the closest object the ray is pointing to. Note that this does not consider the length of the ray, so you must also use [method is_colliding] to check if the object returned is actually colliding with the ray. Example: [codeblock] if RayCast2D.is_colliding(): var shape = RayCast2D.get_collider_shape() [/codeblock] Args: [], Returns: int
func (*RayCast2D) GetCollisionMask ¶
Undocumented Args: [], Returns: int
func (*RayCast2D) GetCollisionMaskBit ¶
Return an individual bit on the collision mask. Args: [{ false bit int}], Returns: bool
func (*RayCast2D) GetCollisionNormal ¶
Returns the normal of the intersecting object's shape at the collision point. Args: [], Returns: Vector2
func (*RayCast2D) GetCollisionPoint ¶
Returns the collision point at which the ray intersects the closest object. Note: this point is in the [b]global[/b] coordinate system. Args: [], Returns: Vector2
func (*RayCast2D) GetExcludeParentBody ¶
Undocumented Args: [], Returns: bool
func (*RayCast2D) IsColliding ¶
Return whether the closest object the ray is pointing to is colliding with the vector (considering the vector length). Args: [], Returns: bool
func (*RayCast2D) RemoveException ¶
func (o *RayCast2D) RemoveException(node ObjectImplementer)
Removes a collision exception so the ray does report collisions with the specified node. Args: [{ false node Object}], Returns: void
func (*RayCast2D) RemoveExceptionRid ¶
Removes a collision exception so the ray does report collisions with the specified [RID]. Args: [{ false rid RID}], Returns: void
func (*RayCast2D) SetCollisionMask ¶
Undocumented Args: [{ false mask int}], Returns: void
func (*RayCast2D) SetCollisionMaskBit ¶
Set/clear individual bits on the collision mask. This makes selecting the areas scanned easier. Args: [{ false bit int} { false value bool}], Returns: void
func (*RayCast2D) SetEnabled ¶
Undocumented Args: [{ false enabled bool}], Returns: void
func (*RayCast2D) SetExcludeParentBody ¶
Undocumented Args: [{ false mask bool}], Returns: void
type RayCast2DImplementer ¶
type RayCast2DImplementer interface { Node2DImplementer AddException(node ObjectImplementer) AddExceptionRid(rid gdnative.Rid) ClearExceptions() ForceRaycastUpdate() GetCastTo() gdnative.Vector2 GetCollider() ObjectImplementer GetColliderShape() gdnative.Int GetCollisionMask() gdnative.Int GetCollisionMaskBit(bit gdnative.Int) gdnative.Bool GetCollisionNormal() gdnative.Vector2 GetCollisionPoint() gdnative.Vector2 GetExcludeParentBody() gdnative.Bool IsColliding() gdnative.Bool IsEnabled() gdnative.Bool RemoveException(node ObjectImplementer) RemoveExceptionRid(rid gdnative.Rid) SetCastTo(localPoint gdnative.Vector2) SetCollisionMask(mask gdnative.Int) SetCollisionMaskBit(bit gdnative.Int, value gdnative.Bool) SetEnabled(enabled gdnative.Bool) SetExcludeParentBody(mask gdnative.Bool) }
RayCast2DImplementer is an interface that implements the methods of the RayCast2D class.
type RayCastImplementer ¶
type RayCastImplementer interface { SpatialImplementer AddException(node ObjectImplementer) AddExceptionRid(rid gdnative.Rid) ClearExceptions() ForceRaycastUpdate() GetCastTo() gdnative.Vector3 GetCollider() ObjectImplementer GetColliderShape() gdnative.Int GetCollisionMask() gdnative.Int GetCollisionMaskBit(bit gdnative.Int) gdnative.Bool GetCollisionNormal() gdnative.Vector3 GetCollisionPoint() gdnative.Vector3 GetExcludeParentBody() gdnative.Bool IsColliding() gdnative.Bool IsEnabled() gdnative.Bool RemoveException(node ObjectImplementer) RemoveExceptionRid(rid gdnative.Rid) SetCastTo(localPoint gdnative.Vector3) SetCollisionMask(mask gdnative.Int) SetCollisionMaskBit(bit gdnative.Int, value gdnative.Bool) SetEnabled(enabled gdnative.Bool) SetExcludeParentBody(mask gdnative.Bool) }
RayCastImplementer is an interface that implements the methods of the RayCast class.
type RayShape ¶
type RayShape struct { Shape // contains filtered or unexported fields }
Ray shape for 3D collisions, which can be set into a PhysicsBody or Area. A ray is not really a collision body, instead it tries to separate itself from whatever is touching its far endpoint. It's often useful for characters.
type RayShape2D ¶
type RayShape2D struct { Shape2D // contains filtered or unexported fields }
Ray shape for 2D collisions. A ray is not really a collision body, instead it tries to separate itself from whatever is touching its far endpoint. It's often useful for characters.
func (*RayShape2D) BaseClass ¶
func (o *RayShape2D) BaseClass() string
func (*RayShape2D) GetLength ¶
func (o *RayShape2D) GetLength() gdnative.Real
Undocumented Args: [], Returns: float
func (*RayShape2D) SetLength ¶
func (o *RayShape2D) SetLength(length gdnative.Real)
Undocumented Args: [{ false length float}], Returns: void
type RayShape2DImplementer ¶
type RayShape2DImplementer interface { Shape2DImplementer GetLength() gdnative.Real SetLength(length gdnative.Real) }
RayShape2DImplementer is an interface that implements the methods of the RayShape2D class.
type RayShapeImplementer ¶
type RayShapeImplementer interface { ShapeImplementer GetLength() gdnative.Real SetLength(length gdnative.Real) }
RayShapeImplementer is an interface that implements the methods of the RayShape class.
type RectangleShape2D ¶
type RectangleShape2D struct { Shape2D // contains filtered or unexported fields }
Rectangle shape for 2D collisions. This shape is useful for modeling box-like 2D objects.
func (*RectangleShape2D) BaseClass ¶
func (o *RectangleShape2D) BaseClass() string
func (*RectangleShape2D) GetExtents ¶
func (o *RectangleShape2D) GetExtents() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*RectangleShape2D) SetExtents ¶
func (o *RectangleShape2D) SetExtents(extents gdnative.Vector2)
Undocumented Args: [{ false extents Vector2}], Returns: void
type RectangleShape2DImplementer ¶
type RectangleShape2DImplementer interface { Shape2DImplementer GetExtents() gdnative.Vector2 SetExtents(extents gdnative.Vector2) }
RectangleShape2DImplementer is an interface that implements the methods of the RectangleShape2D class.
type Reference ¶
type Reference struct { Object // contains filtered or unexported fields }
Base class for anything that keeps a reference count. Resource and many other helper objects inherit this. References keep an internal reference counter so they are only released when no longer in use.
func (*Reference) ReferenceMethod ¶
Increase the internal reference counter. Use this only if you really know what you are doing. Args: [], Returns: bool
func (*Reference) Unreference ¶
Decrease the internal reference counter. Use this only if you really know what you are doing. Args: [], Returns: bool
type ReferenceImplementer ¶
type ReferenceImplementer interface { ObjectImplementer InitRef() gdnative.Bool ReferenceMethod() gdnative.Bool Unreference() gdnative.Bool }
ReferenceImplementer is an interface that implements the methods of the Reference class.
type ReferenceRect ¶
type ReferenceRect struct { Control // contains filtered or unexported fields }
Reference frame for GUI. It's just like an empty control, except a red box is displayed while editing around its size at all times.
func (*ReferenceRect) BaseClass ¶
func (o *ReferenceRect) BaseClass() string
type ReferenceRectImplementer ¶
type ReferenceRectImplementer interface { ControlImplementer }
ReferenceRectImplementer is an interface that implements the methods of the ReferenceRect class.
type ReflectionProbe ¶
type ReflectionProbe struct { VisualInstance // contains filtered or unexported fields }
func (*ReflectionProbe) AreShadowsEnabled ¶
func (o *ReflectionProbe) AreShadowsEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*ReflectionProbe) BaseClass ¶
func (o *ReflectionProbe) BaseClass() string
func (*ReflectionProbe) GetCullMask ¶
func (o *ReflectionProbe) GetCullMask() gdnative.Int
Undocumented Args: [], Returns: int
func (*ReflectionProbe) GetExtents ¶
func (o *ReflectionProbe) GetExtents() gdnative.Vector3
Undocumented Args: [], Returns: Vector3
func (*ReflectionProbe) GetIntensity ¶
func (o *ReflectionProbe) GetIntensity() gdnative.Real
Undocumented Args: [], Returns: float
func (*ReflectionProbe) GetInteriorAmbient ¶
func (o *ReflectionProbe) GetInteriorAmbient() gdnative.Color
Undocumented Args: [], Returns: Color
func (*ReflectionProbe) GetInteriorAmbientEnergy ¶
func (o *ReflectionProbe) GetInteriorAmbientEnergy() gdnative.Real
Undocumented Args: [], Returns: float
func (*ReflectionProbe) GetInteriorAmbientProbeContribution ¶
func (o *ReflectionProbe) GetInteriorAmbientProbeContribution() gdnative.Real
Undocumented Args: [], Returns: float
func (*ReflectionProbe) GetMaxDistance ¶
func (o *ReflectionProbe) GetMaxDistance() gdnative.Real
Undocumented Args: [], Returns: float
func (*ReflectionProbe) GetOriginOffset ¶
func (o *ReflectionProbe) GetOriginOffset() gdnative.Vector3
Undocumented Args: [], Returns: Vector3
func (*ReflectionProbe) GetUpdateMode ¶
func (o *ReflectionProbe) GetUpdateMode() ReflectionProbeUpdateMode
Undocumented Args: [], Returns: enum.ReflectionProbe::UpdateMode
func (*ReflectionProbe) IsBoxProjectionEnabled ¶
func (o *ReflectionProbe) IsBoxProjectionEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*ReflectionProbe) IsSetAsInterior ¶
func (o *ReflectionProbe) IsSetAsInterior() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*ReflectionProbe) SetAsInterior ¶
func (o *ReflectionProbe) SetAsInterior(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*ReflectionProbe) SetCullMask ¶
func (o *ReflectionProbe) SetCullMask(layers gdnative.Int)
Undocumented Args: [{ false layers int}], Returns: void
func (*ReflectionProbe) SetEnableBoxProjection ¶
func (o *ReflectionProbe) SetEnableBoxProjection(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*ReflectionProbe) SetEnableShadows ¶
func (o *ReflectionProbe) SetEnableShadows(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*ReflectionProbe) SetExtents ¶
func (o *ReflectionProbe) SetExtents(extents gdnative.Vector3)
Undocumented Args: [{ false extents Vector3}], Returns: void
func (*ReflectionProbe) SetIntensity ¶
func (o *ReflectionProbe) SetIntensity(intensity gdnative.Real)
Undocumented Args: [{ false intensity float}], Returns: void
func (*ReflectionProbe) SetInteriorAmbient ¶
func (o *ReflectionProbe) SetInteriorAmbient(ambient gdnative.Color)
Undocumented Args: [{ false ambient Color}], Returns: void
func (*ReflectionProbe) SetInteriorAmbientEnergy ¶
func (o *ReflectionProbe) SetInteriorAmbientEnergy(ambientEnergy gdnative.Real)
Undocumented Args: [{ false ambient_energy float}], Returns: void
func (*ReflectionProbe) SetInteriorAmbientProbeContribution ¶
func (o *ReflectionProbe) SetInteriorAmbientProbeContribution(ambientProbeContribution gdnative.Real)
Undocumented Args: [{ false ambient_probe_contribution float}], Returns: void
func (*ReflectionProbe) SetMaxDistance ¶
func (o *ReflectionProbe) SetMaxDistance(maxDistance gdnative.Real)
Undocumented Args: [{ false max_distance float}], Returns: void
func (*ReflectionProbe) SetOriginOffset ¶
func (o *ReflectionProbe) SetOriginOffset(originOffset gdnative.Vector3)
Undocumented Args: [{ false origin_offset Vector3}], Returns: void
func (*ReflectionProbe) SetUpdateMode ¶
func (o *ReflectionProbe) SetUpdateMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
type ReflectionProbeImplementer ¶
type ReflectionProbeImplementer interface { VisualInstanceImplementer AreShadowsEnabled() gdnative.Bool GetCullMask() gdnative.Int GetExtents() gdnative.Vector3 GetIntensity() gdnative.Real GetInteriorAmbient() gdnative.Color GetInteriorAmbientEnergy() gdnative.Real GetInteriorAmbientProbeContribution() gdnative.Real GetMaxDistance() gdnative.Real GetOriginOffset() gdnative.Vector3 IsBoxProjectionEnabled() gdnative.Bool IsSetAsInterior() gdnative.Bool SetAsInterior(enable gdnative.Bool) SetCullMask(layers gdnative.Int) SetEnableBoxProjection(enable gdnative.Bool) SetEnableShadows(enable gdnative.Bool) SetExtents(extents gdnative.Vector3) SetIntensity(intensity gdnative.Real) SetInteriorAmbient(ambient gdnative.Color) SetInteriorAmbientEnergy(ambientEnergy gdnative.Real) SetInteriorAmbientProbeContribution(ambientProbeContribution gdnative.Real) SetMaxDistance(maxDistance gdnative.Real) SetOriginOffset(originOffset gdnative.Vector3) SetUpdateMode(mode gdnative.Int) }
ReflectionProbeImplementer is an interface that implements the methods of the ReflectionProbe class.
type ReflectionProbeUpdateMode ¶
type ReflectionProbeUpdateMode int
ReflectionProbeUpdateMode is an enum for UpdateMode values.
const ( ReflectionProbeUpdateAlways ReflectionProbeUpdateMode = 1 ReflectionProbeUpdateOnce ReflectionProbeUpdateMode = 0 )
type RegEx ¶
type RegEx struct { Reference // contains filtered or unexported fields }
Undocumented
func (*RegEx) GetGroupCount ¶
Undocumented Args: [], Returns: int
func (*RegEx) GetPattern ¶
Undocumented Args: [], Returns: String
func (*RegEx) Search ¶
func (o *RegEx) Search(subject gdnative.String, offset gdnative.Int, end gdnative.Int) RegExMatchImplementer
Undocumented Args: [{ false subject String} {0 true offset int} {-1 true end int}], Returns: RegExMatch
func (*RegEx) SearchAll ¶
func (o *RegEx) SearchAll(subject gdnative.String, offset gdnative.Int, end gdnative.Int) gdnative.Array
Undocumented Args: [{ false subject String} {0 true offset int} {-1 true end int}], Returns: Array
func (*RegEx) Sub ¶
func (o *RegEx) Sub(subject gdnative.String, replacement gdnative.String, all gdnative.Bool, offset gdnative.Int, end gdnative.Int) gdnative.String
Undocumented Args: [{ false subject String} { false replacement String} {False true all bool} {0 true offset int} {-1 true end int}], Returns: String
type RegExImplementer ¶
type RegExImplementer interface { ReferenceImplementer Clear() GetGroupCount() gdnative.Int GetNames() gdnative.Array GetPattern() gdnative.String IsValid() gdnative.Bool Search(subject gdnative.String, offset gdnative.Int, end gdnative.Int) RegExMatchImplementer SearchAll(subject gdnative.String, offset gdnative.Int, end gdnative.Int) gdnative.Array Sub(subject gdnative.String, replacement gdnative.String, all gdnative.Bool, offset gdnative.Int, end gdnative.Int) gdnative.String }
RegExImplementer is an interface that implements the methods of the RegEx class.
type RegExMatch ¶
type RegExMatch struct { Reference // contains filtered or unexported fields }
Undocumented
func (*RegExMatch) BaseClass ¶
func (o *RegExMatch) BaseClass() string
func (*RegExMatch) GetEnd ¶
func (o *RegExMatch) GetEnd(name gdnative.Variant) gdnative.Int
Undocumented Args: [{0 true name Variant}], Returns: int
func (*RegExMatch) GetGroupCount ¶
func (o *RegExMatch) GetGroupCount() gdnative.Int
Undocumented Args: [], Returns: int
func (*RegExMatch) GetNames ¶
func (o *RegExMatch) GetNames() gdnative.Dictionary
Undocumented Args: [], Returns: Dictionary
func (*RegExMatch) GetStart ¶
func (o *RegExMatch) GetStart(name gdnative.Variant) gdnative.Int
Undocumented Args: [{0 true name Variant}], Returns: int
func (*RegExMatch) GetString ¶
func (o *RegExMatch) GetString(name gdnative.Variant) gdnative.String
Undocumented Args: [{0 true name Variant}], Returns: String
func (*RegExMatch) GetStrings ¶
func (o *RegExMatch) GetStrings() gdnative.Array
Undocumented Args: [], Returns: Array
func (*RegExMatch) GetSubject ¶
func (o *RegExMatch) GetSubject() gdnative.String
Undocumented Args: [], Returns: String
type RegExMatchImplementer ¶
type RegExMatchImplementer interface { ReferenceImplementer GetEnd(name gdnative.Variant) gdnative.Int GetGroupCount() gdnative.Int GetNames() gdnative.Dictionary GetStart(name gdnative.Variant) gdnative.Int GetString(name gdnative.Variant) gdnative.String GetStrings() gdnative.Array GetSubject() gdnative.String }
RegExMatchImplementer is an interface that implements the methods of the RegExMatch class.
type RemoteTransform ¶
type RemoteTransform struct { Spatial // contains filtered or unexported fields }
RemoteTransform leads the [Transform] of another Spatial derived Node (called the remote node) in the scene. It can be set to track another Node's position, rotation and/or scale. It can update using either global or local coordinates.
func (*RemoteTransform) BaseClass ¶
func (o *RemoteTransform) BaseClass() string
func (*RemoteTransform) GetRemoteNode ¶
func (o *RemoteTransform) GetRemoteNode() gdnative.NodePath
Undocumented Args: [], Returns: NodePath
func (*RemoteTransform) GetUpdatePosition ¶
func (o *RemoteTransform) GetUpdatePosition() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*RemoteTransform) GetUpdateRotation ¶
func (o *RemoteTransform) GetUpdateRotation() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*RemoteTransform) GetUpdateScale ¶
func (o *RemoteTransform) GetUpdateScale() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*RemoteTransform) GetUseGlobalCoordinates ¶
func (o *RemoteTransform) GetUseGlobalCoordinates() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*RemoteTransform) SetRemoteNode ¶
func (o *RemoteTransform) SetRemoteNode(path gdnative.NodePath)
Undocumented Args: [{ false path NodePath}], Returns: void
func (*RemoteTransform) SetUpdatePosition ¶
func (o *RemoteTransform) SetUpdatePosition(updateRemotePosition gdnative.Bool)
Undocumented Args: [{ false update_remote_position bool}], Returns: void
func (*RemoteTransform) SetUpdateRotation ¶
func (o *RemoteTransform) SetUpdateRotation(updateRemoteRotation gdnative.Bool)
Undocumented Args: [{ false update_remote_rotation bool}], Returns: void
func (*RemoteTransform) SetUpdateScale ¶
func (o *RemoteTransform) SetUpdateScale(updateRemoteScale gdnative.Bool)
Undocumented Args: [{ false update_remote_scale bool}], Returns: void
func (*RemoteTransform) SetUseGlobalCoordinates ¶
func (o *RemoteTransform) SetUseGlobalCoordinates(useGlobalCoordinates gdnative.Bool)
Undocumented Args: [{ false use_global_coordinates bool}], Returns: void
type RemoteTransform2D ¶
type RemoteTransform2D struct { Node2D // contains filtered or unexported fields }
RemoteTransform2D leads the [Transform2D] of another CanvasItem derived Node (called the remote node) in the scene. It can be set to track another Node's position, rotation and/or scale. It can update using either global or local coordinates.
func (*RemoteTransform2D) BaseClass ¶
func (o *RemoteTransform2D) BaseClass() string
func (*RemoteTransform2D) GetRemoteNode ¶
func (o *RemoteTransform2D) GetRemoteNode() gdnative.NodePath
Undocumented Args: [], Returns: NodePath
func (*RemoteTransform2D) GetUpdatePosition ¶
func (o *RemoteTransform2D) GetUpdatePosition() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*RemoteTransform2D) GetUpdateRotation ¶
func (o *RemoteTransform2D) GetUpdateRotation() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*RemoteTransform2D) GetUpdateScale ¶
func (o *RemoteTransform2D) GetUpdateScale() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*RemoteTransform2D) GetUseGlobalCoordinates ¶
func (o *RemoteTransform2D) GetUseGlobalCoordinates() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*RemoteTransform2D) SetRemoteNode ¶
func (o *RemoteTransform2D) SetRemoteNode(path gdnative.NodePath)
Undocumented Args: [{ false path NodePath}], Returns: void
func (*RemoteTransform2D) SetUpdatePosition ¶
func (o *RemoteTransform2D) SetUpdatePosition(updateRemotePosition gdnative.Bool)
Undocumented Args: [{ false update_remote_position bool}], Returns: void
func (*RemoteTransform2D) SetUpdateRotation ¶
func (o *RemoteTransform2D) SetUpdateRotation(updateRemoteRotation gdnative.Bool)
Undocumented Args: [{ false update_remote_rotation bool}], Returns: void
func (*RemoteTransform2D) SetUpdateScale ¶
func (o *RemoteTransform2D) SetUpdateScale(updateRemoteScale gdnative.Bool)
Undocumented Args: [{ false update_remote_scale bool}], Returns: void
func (*RemoteTransform2D) SetUseGlobalCoordinates ¶
func (o *RemoteTransform2D) SetUseGlobalCoordinates(useGlobalCoordinates gdnative.Bool)
Undocumented Args: [{ false use_global_coordinates bool}], Returns: void
type RemoteTransform2DImplementer ¶
type RemoteTransform2DImplementer interface { Node2DImplementer GetRemoteNode() gdnative.NodePath GetUpdatePosition() gdnative.Bool GetUpdateRotation() gdnative.Bool GetUpdateScale() gdnative.Bool GetUseGlobalCoordinates() gdnative.Bool SetRemoteNode(path gdnative.NodePath) SetUpdatePosition(updateRemotePosition gdnative.Bool) SetUpdateRotation(updateRemoteRotation gdnative.Bool) SetUpdateScale(updateRemoteScale gdnative.Bool) SetUseGlobalCoordinates(useGlobalCoordinates gdnative.Bool) }
RemoteTransform2DImplementer is an interface that implements the methods of the RemoteTransform2D class.
type RemoteTransformImplementer ¶
type RemoteTransformImplementer interface { SpatialImplementer GetRemoteNode() gdnative.NodePath GetUpdatePosition() gdnative.Bool GetUpdateRotation() gdnative.Bool GetUpdateScale() gdnative.Bool GetUseGlobalCoordinates() gdnative.Bool SetRemoteNode(path gdnative.NodePath) SetUpdatePosition(updateRemotePosition gdnative.Bool) SetUpdateRotation(updateRemoteRotation gdnative.Bool) SetUpdateScale(updateRemoteScale gdnative.Bool) SetUseGlobalCoordinates(useGlobalCoordinates gdnative.Bool) }
RemoteTransformImplementer is an interface that implements the methods of the RemoteTransform class.
type Resource ¶
type Resource struct { Reference // contains filtered or unexported fields }
Resource is the base class for all resource types. Resources are primarily data containers. They are reference counted and freed when no longer in use. They are also loaded only once from disk, and further attempts to load the resource will return the same reference (all this in contrast to a Node, which is not reference counted and can be instanced from disk as many times as desired). Resources can be saved externally on disk or bundled into another object, such as a Node or another resource.
func (*Resource) Duplicate ¶
func (o *Resource) Duplicate(subresources gdnative.Bool) ResourceImplementer
Args: [{False true subresources bool}], Returns: Resource
func (*Resource) GetLocalScene ¶
func (o *Resource) GetLocalScene() NodeImplementer
Args: [], Returns: Node
func (*Resource) GetRid ¶
Return the RID of the resource (or an empty RID). Many resources (such as [Texture], [Mesh], etc) are high level abstractions of resources stored in a server, so this function will return the original RID. Args: [], Returns: RID
func (*Resource) IsLocalToScene ¶
Undocumented Args: [], Returns: bool
func (*Resource) SetLocalToScene ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Resource) SetupLocalToScene ¶
func (o *Resource) SetupLocalToScene()
Args: [], Returns: void
func (*Resource) TakeOverPath ¶
Set the path of the resource. Differs from set_path(), if another [code]Resource[/code] exists with "path" it over-takes it, instead of failing. Args: [{ false path String}], Returns: void
func (*Resource) X_SetupLocalToScene ¶
func (o *Resource) X_SetupLocalToScene()
Args: [], Returns: void
type ResourceImplementer ¶
type ResourceImplementer interface { ReferenceImplementer X_SetupLocalToScene() Duplicate(subresources gdnative.Bool) ResourceImplementer GetLocalScene() NodeImplementer GetName() gdnative.String GetPath() gdnative.String GetRid() gdnative.Rid IsLocalToScene() gdnative.Bool SetLocalToScene(enable gdnative.Bool) SetName(name gdnative.String) SetPath(path gdnative.String) SetupLocalToScene() TakeOverPath(path gdnative.String) }
ResourceImplementer is an interface that implements the methods of the Resource class.
type ResourceImporter ¶
type ResourceImporter struct { Reference // contains filtered or unexported fields }
func (*ResourceImporter) BaseClass ¶
func (o *ResourceImporter) BaseClass() string
type ResourceImporterImplementer ¶
type ResourceImporterImplementer interface { ReferenceImplementer }
ResourceImporterImplementer is an interface that implements the methods of the ResourceImporter class.
type ResourceImporterOGGVorbis ¶
type ResourceImporterOGGVorbis struct { ResourceImporter // contains filtered or unexported fields }
Undocumented
func (*ResourceImporterOGGVorbis) BaseClass ¶
func (o *ResourceImporterOGGVorbis) BaseClass() string
type ResourceImporterOGGVorbisImplementer ¶
type ResourceImporterOGGVorbisImplementer interface { ResourceImporterImplementer }
ResourceImporterOGGVorbisImplementer is an interface that implements the methods of the ResourceImporterOGGVorbis class.
type ResourceImporterTheora ¶
type ResourceImporterTheora struct { ResourceImporter // contains filtered or unexported fields }
Undocumented
func (*ResourceImporterTheora) BaseClass ¶
func (o *ResourceImporterTheora) BaseClass() string
type ResourceImporterTheoraImplementer ¶
type ResourceImporterTheoraImplementer interface { ResourceImporterImplementer }
ResourceImporterTheoraImplementer is an interface that implements the methods of the ResourceImporterTheora class.
type ResourceImporterWebm ¶
type ResourceImporterWebm struct { ResourceImporter // contains filtered or unexported fields }
Undocumented
func (*ResourceImporterWebm) BaseClass ¶
func (o *ResourceImporterWebm) BaseClass() string
type ResourceImporterWebmImplementer ¶
type ResourceImporterWebmImplementer interface { ResourceImporterImplementer }
ResourceImporterWebmImplementer is an interface that implements the methods of the ResourceImporterWebm class.
type ResourceInteractiveLoader ¶
type ResourceInteractiveLoader struct { Reference // contains filtered or unexported fields }
Interactive Resource Loader. This object is returned by ResourceLoader when performing an interactive load. It allows to load with high granularity, so this is mainly useful for displaying load bars/percentages.
func (*ResourceInteractiveLoader) BaseClass ¶
func (o *ResourceInteractiveLoader) BaseClass() string
func (*ResourceInteractiveLoader) GetResource ¶
func (o *ResourceInteractiveLoader) GetResource() ResourceImplementer
Return the loaded resource (only if loaded). Otherwise, returns null. Args: [], Returns: Resource
func (*ResourceInteractiveLoader) GetStage ¶
func (o *ResourceInteractiveLoader) GetStage() gdnative.Int
Return the load stage. The total amount of stages can be queried with [method get_stage_count] Args: [], Returns: int
func (*ResourceInteractiveLoader) GetStageCount ¶
func (o *ResourceInteractiveLoader) GetStageCount() gdnative.Int
Return the total amount of stages (calls to [method poll]) needed to completely load this resource. Args: [], Returns: int
func (*ResourceInteractiveLoader) Poll ¶
func (o *ResourceInteractiveLoader) Poll() gdnative.Error
Poll the load. If OK is returned, this means poll will have to be called again. If ERR_FILE_EOF is returned, them the load has finished and the resource can be obtained by calling [method get_resource]. Args: [], Returns: enum.Error
func (*ResourceInteractiveLoader) Wait ¶
func (o *ResourceInteractiveLoader) Wait() gdnative.Error
Args: [], Returns: enum.Error
type ResourceInteractiveLoaderImplementer ¶
type ResourceInteractiveLoaderImplementer interface { ReferenceImplementer GetResource() ResourceImplementer GetStage() gdnative.Int GetStageCount() gdnative.Int }
ResourceInteractiveLoaderImplementer is an interface that implements the methods of the ResourceInteractiveLoader class.
type ResourceLoaderImplementer ¶
type ResourceLoaderImplementer interface { ObjectImplementer GetDependencies(path gdnative.String) gdnative.PoolStringArray GetRecognizedExtensionsForType(aType gdnative.String) gdnative.PoolStringArray Has(path gdnative.String) gdnative.Bool Load(path gdnative.String, typeHint gdnative.String, pNoCache gdnative.Bool) ResourceImplementer LoadInteractive(path gdnative.String, typeHint gdnative.String) ResourceInteractiveLoaderImplementer SetAbortOnMissingResources(abort gdnative.Bool) }
ResourceLoaderImplementer is an interface that implements the methods of the ResourceLoader class.
type ResourcePreloader ¶
type ResourcePreloader struct { Node // contains filtered or unexported fields }
Resource Preloader Node. This node is used to preload sub-resources inside a scene, so when the scene is loaded all the resources are ready to use and be retrieved from here.
func (*ResourcePreloader) AddResource ¶
func (o *ResourcePreloader) AddResource(name gdnative.String, resource ResourceImplementer)
Args: [{ false name String} { false resource Resource}], Returns: void
func (*ResourcePreloader) BaseClass ¶
func (o *ResourcePreloader) BaseClass() string
func (*ResourcePreloader) GetResource ¶
func (o *ResourcePreloader) GetResource(name gdnative.String) ResourceImplementer
Return the resource given a text-id. Args: [{ false name String}], Returns: Resource
func (*ResourcePreloader) GetResourceList ¶
func (o *ResourcePreloader) GetResourceList() gdnative.PoolStringArray
Return the list of resources inside the preloader. Args: [], Returns: PoolStringArray
func (*ResourcePreloader) HasResource ¶
func (o *ResourcePreloader) HasResource(name gdnative.String) gdnative.Bool
Return true if the preloader has a given resource. Args: [{ false name String}], Returns: bool
func (*ResourcePreloader) RemoveResource ¶
func (o *ResourcePreloader) RemoveResource(name gdnative.String)
Remove a resource from the preloader by text id. Args: [{ false name String}], Returns: void
func (*ResourcePreloader) RenameResource ¶
func (o *ResourcePreloader) RenameResource(name gdnative.String, newname gdnative.String)
Rename a resource inside the preloader, from a text-id to a new text-id. Args: [{ false name String} { false newname String}], Returns: void
func (*ResourcePreloader) X_GetResources ¶
func (o *ResourcePreloader) X_GetResources() gdnative.Array
Undocumented Args: [], Returns: Array
func (*ResourcePreloader) X_SetResources ¶
func (o *ResourcePreloader) X_SetResources(arg0 gdnative.Array)
Undocumented Args: [{ false arg0 Array}], Returns: void
type ResourcePreloaderImplementer ¶
type ResourcePreloaderImplementer interface { NodeImplementer X_GetResources() gdnative.Array X_SetResources(arg0 gdnative.Array) AddResource(name gdnative.String, resource ResourceImplementer) GetResource(name gdnative.String) ResourceImplementer GetResourceList() gdnative.PoolStringArray HasResource(name gdnative.String) gdnative.Bool RemoveResource(name gdnative.String) RenameResource(name gdnative.String, newname gdnative.String) }
ResourcePreloaderImplementer is an interface that implements the methods of the ResourcePreloader class.
type ResourceSaverImplementer ¶
type ResourceSaverImplementer interface { ObjectImplementer GetRecognizedExtensions(aType ResourceImplementer) gdnative.PoolStringArray }
ResourceSaverImplementer is an interface that implements the methods of the ResourceSaver class.
type RichTextLabel ¶
type RichTextLabel struct { Control // contains filtered or unexported fields }
Rich text can contain custom text, fonts, images and some basic formatting. The label manages these as an internal tag stack. It also adapts itself to given width/heights. Note that assignments to [member bbcode_text] clear the tag stack and reconstruct it from the property's contents. Any edits made to [member bbcode_text] will erase previous edits made from other manual sources such as [method append_bbcode] and the [code]push_*[/code] / [method pop] methods.
func (*RichTextLabel) AddImage ¶
func (o *RichTextLabel) AddImage(image TextureImplementer)
Adds an image's opening and closing tags to the tag stack. Args: [{ false image Texture}], Returns: void
func (*RichTextLabel) AddText ¶
func (o *RichTextLabel) AddText(text gdnative.String)
Adds raw non-bbcode-parsed text to the tag stack. Args: [{ false text String}], Returns: void
func (*RichTextLabel) AppendBbcode ¶
func (o *RichTextLabel) AppendBbcode(bbcode gdnative.String) gdnative.Error
Parses [code]bbcode[/code] and adds tags to the tag stack as needed. Returns the result of the parsing, [code]OK[/code] if successful. Args: [{ false bbcode String}], Returns: enum.Error
func (*RichTextLabel) BaseClass ¶
func (o *RichTextLabel) BaseClass() string
func (*RichTextLabel) Clear ¶
func (o *RichTextLabel) Clear()
Clears the tag stack and sets [member bbcode_text] to an empty string. Args: [], Returns: void
func (*RichTextLabel) GetBbcode ¶
func (o *RichTextLabel) GetBbcode() gdnative.String
Undocumented Args: [], Returns: String
func (*RichTextLabel) GetLineCount ¶
func (o *RichTextLabel) GetLineCount() gdnative.Int
Returns the total number of newlines in the tag stack's text tags. Considers wrapped text as one line. Args: [], Returns: int
func (*RichTextLabel) GetPercentVisible ¶
func (o *RichTextLabel) GetPercentVisible() gdnative.Real
Undocumented Args: [], Returns: float
func (*RichTextLabel) GetTabSize ¶
func (o *RichTextLabel) GetTabSize() gdnative.Int
Undocumented Args: [], Returns: int
func (*RichTextLabel) GetText ¶
func (o *RichTextLabel) GetText() gdnative.String
Undocumented Args: [], Returns: String
func (*RichTextLabel) GetTotalCharacterCount ¶
func (o *RichTextLabel) GetTotalCharacterCount() gdnative.Int
Returns the total number of characters from text tags. Does not include bbcodes. Args: [], Returns: int
func (*RichTextLabel) GetVScroll ¶
func (o *RichTextLabel) GetVScroll() VScrollBarImplementer
Returns the vertical scrollbar. Args: [], Returns: VScrollBar
func (*RichTextLabel) GetVisibleCharacters ¶
func (o *RichTextLabel) GetVisibleCharacters() gdnative.Int
Undocumented Args: [], Returns: int
func (*RichTextLabel) GetVisibleLineCount ¶
func (o *RichTextLabel) GetVisibleLineCount() gdnative.Int
Returns the number of visible lines. Args: [], Returns: int
func (*RichTextLabel) IsMetaUnderlined ¶
func (o *RichTextLabel) IsMetaUnderlined() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*RichTextLabel) IsOverridingSelectedFontColor ¶
func (o *RichTextLabel) IsOverridingSelectedFontColor() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*RichTextLabel) IsScrollActive ¶
func (o *RichTextLabel) IsScrollActive() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*RichTextLabel) IsScrollFollowing ¶
func (o *RichTextLabel) IsScrollFollowing() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*RichTextLabel) IsSelectionEnabled ¶
func (o *RichTextLabel) IsSelectionEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*RichTextLabel) IsUsingBbcode ¶
func (o *RichTextLabel) IsUsingBbcode() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*RichTextLabel) Newline ¶
func (o *RichTextLabel) Newline()
Adds a newline tag to the tag stack. Args: [], Returns: void
func (*RichTextLabel) ParseBbcode ¶
func (o *RichTextLabel) ParseBbcode(bbcode gdnative.String) gdnative.Error
The assignment version of [method append_bbcode]. Clears the tag stack and inserts the new content. Returns [code]OK[/code] if parses [code]bbcode[/code] successfully. Args: [{ false bbcode String}], Returns: enum.Error
func (*RichTextLabel) Pop ¶
func (o *RichTextLabel) Pop()
Terminates the current tag. Use after [code]push_*[/code] methods to close bbcodes manually. Does not need to follow [code]add_*[/code] methods. Args: [], Returns: void
func (*RichTextLabel) PushAlign ¶
func (o *RichTextLabel) PushAlign(align gdnative.Int)
Adds a [code][right][/code] tag to the tag stack. Args: [{ false align int}], Returns: void
func (*RichTextLabel) PushCell ¶
func (o *RichTextLabel) PushCell()
Adds a [code][cell][/code] tag to the tag stack. Must be inside a [table] tag. See [method push_table] for details. Args: [], Returns: void
func (*RichTextLabel) PushColor ¶
func (o *RichTextLabel) PushColor(color gdnative.Color)
Adds a [code][color][/code] tag to the tag stack. Args: [{ false color Color}], Returns: void
func (*RichTextLabel) PushFont ¶
func (o *RichTextLabel) PushFont(font FontImplementer)
Adds a [code][font][/code] tag to the tag stack. Overrides default fonts for its duration. Args: [{ false font Font}], Returns: void
func (*RichTextLabel) PushIndent ¶
func (o *RichTextLabel) PushIndent(level gdnative.Int)
Adds an [code][indent][/code] tag to the tag stack. Multiplies "level" by current tab_size to determine new margin length. Args: [{ false level int}], Returns: void
func (*RichTextLabel) PushList ¶
func (o *RichTextLabel) PushList(aType gdnative.Int)
Adds a list tag to the tag stack. Similar to the bbcodes [code][ol][/code] or [code][ul][/code], but supports more list types. Not fully implemented! Args: [{ false type int}], Returns: void
func (*RichTextLabel) PushMeta ¶
func (o *RichTextLabel) PushMeta(data gdnative.Variant)
Adds a meta tag to the tag stack. Similar to the bbcode [code][url=something]{text}[/url][/code], but supports non-[String] metadata types. Args: [{ false data Variant}], Returns: void
func (*RichTextLabel) PushTable ¶
func (o *RichTextLabel) PushTable(columns gdnative.Int)
Adds a [code][table=columns][/code] tag to the tag stack. Args: [{ false columns int}], Returns: void
func (*RichTextLabel) PushUnderline ¶
func (o *RichTextLabel) PushUnderline()
Adds a [code][u][/code] tag to the tag stack. Args: [], Returns: void
func (*RichTextLabel) RemoveLine ¶
func (o *RichTextLabel) RemoveLine(line gdnative.Int) gdnative.Bool
Removes a line of content from the label. Returns [code]true[/code] if the line exists. Args: [{ false line int}], Returns: bool
func (*RichTextLabel) ScrollToLine ¶
func (o *RichTextLabel) ScrollToLine(line gdnative.Int)
Scrolls the window's top line to match [code]line[/code]. Args: [{ false line int}], Returns: void
func (*RichTextLabel) SetBbcode ¶
func (o *RichTextLabel) SetBbcode(text gdnative.String)
Undocumented Args: [{ false text String}], Returns: void
func (*RichTextLabel) SetMetaUnderline ¶
func (o *RichTextLabel) SetMetaUnderline(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*RichTextLabel) SetOverrideSelectedFontColor ¶
func (o *RichTextLabel) SetOverrideSelectedFontColor(override gdnative.Bool)
Undocumented Args: [{ false override bool}], Returns: void
func (*RichTextLabel) SetPercentVisible ¶
func (o *RichTextLabel) SetPercentVisible(percentVisible gdnative.Real)
Undocumented Args: [{ false percent_visible float}], Returns: void
func (*RichTextLabel) SetScrollActive ¶
func (o *RichTextLabel) SetScrollActive(active gdnative.Bool)
Undocumented Args: [{ false active bool}], Returns: void
func (*RichTextLabel) SetScrollFollow ¶
func (o *RichTextLabel) SetScrollFollow(follow gdnative.Bool)
Undocumented Args: [{ false follow bool}], Returns: void
func (*RichTextLabel) SetSelectionEnabled ¶
func (o *RichTextLabel) SetSelectionEnabled(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*RichTextLabel) SetTabSize ¶
func (o *RichTextLabel) SetTabSize(spaces gdnative.Int)
Undocumented Args: [{ false spaces int}], Returns: void
func (*RichTextLabel) SetTableColumnExpand ¶
func (o *RichTextLabel) SetTableColumnExpand(column gdnative.Int, expand gdnative.Bool, ratio gdnative.Int)
Edits the selected columns expansion options. If [code]expand[/code] is [code]true[/code], the column expands in proportion to its expansion ratio versus the other columns' ratios. For example, 2 columns with ratios 3 and 4 plus 70 pixels in available width would expand 30 and 40 pixels, respectively. Columns with a [code]false[/code] expand will not contribute to the total ratio. Args: [{ false column int} { false expand bool} { false ratio int}], Returns: void
func (*RichTextLabel) SetText ¶
func (o *RichTextLabel) SetText(text gdnative.String)
Undocumented Args: [{ false text String}], Returns: void
func (*RichTextLabel) SetUseBbcode ¶
func (o *RichTextLabel) SetUseBbcode(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*RichTextLabel) SetVisibleCharacters ¶
func (o *RichTextLabel) SetVisibleCharacters(amount gdnative.Int)
Undocumented Args: [{ false amount int}], Returns: void
func (*RichTextLabel) X_GuiInput ¶
func (o *RichTextLabel) X_GuiInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
func (*RichTextLabel) X_ScrollChanged ¶
func (o *RichTextLabel) X_ScrollChanged(arg0 gdnative.Real)
Undocumented Args: [{ false arg0 float}], Returns: void
type RichTextLabelAlign ¶
type RichTextLabelAlign int
RichTextLabelAlign is an enum for Align values.
const ( RichTextLabelAlignCenter RichTextLabelAlign = 1 RichTextLabelAlignFill RichTextLabelAlign = 3 RichTextLabelAlignLeft RichTextLabelAlign = 0 RichTextLabelAlignRight RichTextLabelAlign = 2 )
type RichTextLabelImplementer ¶
type RichTextLabelImplementer interface { ControlImplementer X_ScrollChanged(arg0 gdnative.Real) AddImage(image TextureImplementer) AddText(text gdnative.String) Clear() GetBbcode() gdnative.String GetLineCount() gdnative.Int GetPercentVisible() gdnative.Real GetTabSize() gdnative.Int GetText() gdnative.String GetTotalCharacterCount() gdnative.Int GetVScroll() VScrollBarImplementer GetVisibleCharacters() gdnative.Int GetVisibleLineCount() gdnative.Int IsMetaUnderlined() gdnative.Bool IsOverridingSelectedFontColor() gdnative.Bool IsScrollActive() gdnative.Bool IsScrollFollowing() gdnative.Bool IsSelectionEnabled() gdnative.Bool IsUsingBbcode() gdnative.Bool Newline() Pop() PushAlign(align gdnative.Int) PushCell() PushColor(color gdnative.Color) PushFont(font FontImplementer) PushIndent(level gdnative.Int) PushList(aType gdnative.Int) PushMeta(data gdnative.Variant) PushTable(columns gdnative.Int) PushUnderline() RemoveLine(line gdnative.Int) gdnative.Bool ScrollToLine(line gdnative.Int) SetBbcode(text gdnative.String) SetMetaUnderline(enable gdnative.Bool) SetOverrideSelectedFontColor(override gdnative.Bool) SetPercentVisible(percentVisible gdnative.Real) SetScrollActive(active gdnative.Bool) SetScrollFollow(follow gdnative.Bool) SetSelectionEnabled(enabled gdnative.Bool) SetTabSize(spaces gdnative.Int) SetTableColumnExpand(column gdnative.Int, expand gdnative.Bool, ratio gdnative.Int) SetText(text gdnative.String) SetUseBbcode(enable gdnative.Bool) SetVisibleCharacters(amount gdnative.Int) }
RichTextLabelImplementer is an interface that implements the methods of the RichTextLabel class.
type RichTextLabelItemType ¶
type RichTextLabelItemType int
RichTextLabelItemType is an enum for ItemType values.
const ( RichTextLabelItemAlign RichTextLabelItemType = 7 RichTextLabelItemColor RichTextLabelItemType = 5 RichTextLabelItemFont RichTextLabelItemType = 4 RichTextLabelItemFrame RichTextLabelItemType = 0 RichTextLabelItemImage RichTextLabelItemType = 2 RichTextLabelItemIndent RichTextLabelItemType = 8 RichTextLabelItemList RichTextLabelItemType = 9 RichTextLabelItemMeta RichTextLabelItemType = 11 RichTextLabelItemNewline RichTextLabelItemType = 3 RichTextLabelItemTable RichTextLabelItemType = 10 RichTextLabelItemText RichTextLabelItemType = 1 RichTextLabelItemUnderline RichTextLabelItemType = 6 )
type RichTextLabelListType ¶
type RichTextLabelListType int
RichTextLabelListType is an enum for ListType values.
const ( RichTextLabelListDots RichTextLabelListType = 2 RichTextLabelListLetters RichTextLabelListType = 1 RichTextLabelListNumbers RichTextLabelListType = 0 )
type RigidBody ¶
type RigidBody struct { PhysicsBody // contains filtered or unexported fields }
This is the node that implements full 3D physics. This means that you do not control a RigidBody directly. Instead you can apply forces to it (gravity, impulses, etc.), and the physics simulation will calculate the resulting movement, collision, bouncing, rotating, etc. A RigidBody has 4 behavior [member mode]s: Rigid, Static, Character, and Kinematic. [b]Note:[/b] Don't change a RigidBody's position every frame or very often. Sporadic changes work fine, but physics runs at a different granularity (fixed hz) than usual rendering (process callback) and maybe even in a separate thread, so changing this from a process loop will yield strange behavior. If you need to directly affect the body's state, use [method _integrate_forces], which allows you to directly access the physics state. If you need to override the default physics behavior, you can write a custom force integration. See [member custom_integrator].
func (*RigidBody) ApplyImpulse ¶
Apply a positioned impulse (which will be affected by the body mass and shape). This is the equivalent of hitting a billiard ball with a cue: a force that is applied once, and only once. Both the impulse and the position are in global coordinates, and the position is relative to the object's origin. Args: [{ false position Vector3} { false impulse Vector3}], Returns: void
func (*RigidBody) GetAngularDamp ¶
Undocumented Args: [], Returns: float
func (*RigidBody) GetAngularVelocity ¶
Undocumented Args: [], Returns: Vector3
func (*RigidBody) GetAxisLock ¶
Undocumented Args: [{ false axis int}], Returns: bool
func (*RigidBody) GetCollidingBodies ¶
Return a list of the bodies colliding with this one. By default, number of max contacts reported is at 0 , see [method set_max_contacts_reported] to increase it. Note that the result of this test is not immediate after moving objects. For performance, list of collisions is updated once per frame and before the physics step. Consider using signals instead. Args: [], Returns: Array
func (*RigidBody) GetFriction ¶
Undocumented Args: [], Returns: float
func (*RigidBody) GetGravityScale ¶
Undocumented Args: [], Returns: float
func (*RigidBody) GetLinearDamp ¶
Undocumented Args: [], Returns: float
func (*RigidBody) GetLinearVelocity ¶
Undocumented Args: [], Returns: Vector3
func (*RigidBody) GetMaxContactsReported ¶
Undocumented Args: [], Returns: int
func (*RigidBody) GetMode ¶
func (o *RigidBody) GetMode() RigidBodyMode
Undocumented Args: [], Returns: enum.RigidBody::Mode
func (*RigidBody) IsAbleToSleep ¶
Undocumented Args: [], Returns: bool
func (*RigidBody) IsContactMonitorEnabled ¶
Undocumented Args: [], Returns: bool
func (*RigidBody) IsSleeping ¶
Undocumented Args: [], Returns: bool
func (*RigidBody) IsUsingContinuousCollisionDetection ¶
Undocumented Args: [], Returns: bool
func (*RigidBody) IsUsingCustomIntegrator ¶
Undocumented Args: [], Returns: bool
func (*RigidBody) SetAngularDamp ¶
Undocumented Args: [{ false angular_damp float}], Returns: void
func (*RigidBody) SetAngularVelocity ¶
Undocumented Args: [{ false angular_velocity Vector3}], Returns: void
func (*RigidBody) SetAxisLock ¶
Undocumented Args: [{ false axis int} { false lock bool}], Returns: void
func (*RigidBody) SetAxisVelocity ¶
Set an axis velocity. The velocity in the given vector axis will be set as the given vector length. This is useful for jumping behavior. Args: [{ false axis_velocity Vector3}], Returns: void
func (*RigidBody) SetCanSleep ¶
Undocumented Args: [{ false able_to_sleep bool}], Returns: void
func (*RigidBody) SetContactMonitor ¶
Undocumented Args: [{ false enabled bool}], Returns: void
func (*RigidBody) SetFriction ¶
Undocumented Args: [{ false friction float}], Returns: void
func (*RigidBody) SetGravityScale ¶
Undocumented Args: [{ false gravity_scale float}], Returns: void
func (*RigidBody) SetLinearDamp ¶
Undocumented Args: [{ false linear_damp float}], Returns: void
func (*RigidBody) SetLinearVelocity ¶
Undocumented Args: [{ false linear_velocity Vector3}], Returns: void
func (*RigidBody) SetMaxContactsReported ¶
Undocumented Args: [{ false amount int}], Returns: void
func (*RigidBody) SetSleeping ¶
Undocumented Args: [{ false sleeping bool}], Returns: void
func (*RigidBody) SetUseContinuousCollisionDetection ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*RigidBody) SetUseCustomIntegrator ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*RigidBody) X_BodyEnterTree ¶
Undocumented Args: [{ false arg0 int}], Returns: void
func (*RigidBody) X_BodyExitTree ¶
Undocumented Args: [{ false arg0 int}], Returns: void
func (*RigidBody) X_DirectStateChanged ¶
func (o *RigidBody) X_DirectStateChanged(arg0 ObjectImplementer)
Undocumented Args: [{ false arg0 Object}], Returns: void
func (*RigidBody) X_IntegrateForces ¶
func (o *RigidBody) X_IntegrateForces(state PhysicsDirectBodyStateImplementer)
Called during physics processing, allowing you to read and safely modify the simulation state for the object. By default it works in addition to the usual physics behavior, but [method set_use_custom_integrator] allows you to disable the default behavior and do fully custom force integration for a body. Args: [{ false state PhysicsDirectBodyState}], Returns: void
type RigidBody2D ¶
type RigidBody2D struct { PhysicsBody2D // contains filtered or unexported fields }
This node implements simulated 2D physics. You do not control a RigidBody2D directly. Instead you apply forces to it (gravity, impulses, etc.) and the physics simulation calculates the resulting movement based on its mass, friction, and other physical properties. A RigidBody2D has 4 behavior [member mode]s: Rigid, Static, Character, and Kinematic. [b]Note:[/b] You should not change a RigidBody2D's [code]position[/code] or [code]linear_velocity[/code] every frame or even very often. If you need to directly affect the body's state, use [method _integrate_forces], which allows you to directly access the physics state. If you need to override the default physics behavior, you can write a custom force integration. See [member custom_integrator].
func (*RigidBody2D) AddForce ¶
func (o *RigidBody2D) AddForce(offset gdnative.Vector2, force gdnative.Vector2)
Adds a positioned force to the body. Both the force and the offset from the body origin are in global coordinates. Args: [{ false offset Vector2} { false force Vector2}], Returns: void
func (*RigidBody2D) ApplyImpulse ¶
func (o *RigidBody2D) ApplyImpulse(offset gdnative.Vector2, impulse gdnative.Vector2)
Applies a positioned impulse to the body (which will be affected by the body mass and shape). This is the equivalent of hitting a billiard ball with a cue: a force that is applied instantaneously. Both the impulse and the offset from the body origin are in global coordinates. Args: [{ false offset Vector2} { false impulse Vector2}], Returns: void
func (*RigidBody2D) BaseClass ¶
func (o *RigidBody2D) BaseClass() string
func (*RigidBody2D) GetAngularDamp ¶
func (o *RigidBody2D) GetAngularDamp() gdnative.Real
Undocumented Args: [], Returns: float
func (*RigidBody2D) GetAngularVelocity ¶
func (o *RigidBody2D) GetAngularVelocity() gdnative.Real
Undocumented Args: [], Returns: float
func (*RigidBody2D) GetAppliedForce ¶
func (o *RigidBody2D) GetAppliedForce() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*RigidBody2D) GetAppliedTorque ¶
func (o *RigidBody2D) GetAppliedTorque() gdnative.Real
Undocumented Args: [], Returns: float
func (*RigidBody2D) GetBounce ¶
func (o *RigidBody2D) GetBounce() gdnative.Real
Undocumented Args: [], Returns: float
func (*RigidBody2D) GetCollidingBodies ¶
func (o *RigidBody2D) GetCollidingBodies() gdnative.Array
Returns a list of the bodies colliding with this one. Use [member contacts_reported] to set the maximum number reported. You must also set [member contact_monitor] to [code]true[/code]. Note that the result of this test is not immediate after moving objects. For performance, list of collisions is updated once per frame and before the physics step. Consider using signals instead. Args: [], Returns: Array
func (*RigidBody2D) GetContinuousCollisionDetectionMode ¶
func (o *RigidBody2D) GetContinuousCollisionDetectionMode() RigidBody2DCCDMode
Undocumented Args: [], Returns: enum.RigidBody2D::CCDMode
func (*RigidBody2D) GetFriction ¶
func (o *RigidBody2D) GetFriction() gdnative.Real
Undocumented Args: [], Returns: float
func (*RigidBody2D) GetGravityScale ¶
func (o *RigidBody2D) GetGravityScale() gdnative.Real
Undocumented Args: [], Returns: float
func (*RigidBody2D) GetInertia ¶
func (o *RigidBody2D) GetInertia() gdnative.Real
Undocumented Args: [], Returns: float
func (*RigidBody2D) GetLinearDamp ¶
func (o *RigidBody2D) GetLinearDamp() gdnative.Real
Undocumented Args: [], Returns: float
func (*RigidBody2D) GetLinearVelocity ¶
func (o *RigidBody2D) GetLinearVelocity() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*RigidBody2D) GetMass ¶
func (o *RigidBody2D) GetMass() gdnative.Real
Undocumented Args: [], Returns: float
func (*RigidBody2D) GetMaxContactsReported ¶
func (o *RigidBody2D) GetMaxContactsReported() gdnative.Int
Undocumented Args: [], Returns: int
func (*RigidBody2D) GetMode ¶
func (o *RigidBody2D) GetMode() RigidBody2DMode
Undocumented Args: [], Returns: enum.RigidBody2D::Mode
func (*RigidBody2D) GetWeight ¶
func (o *RigidBody2D) GetWeight() gdnative.Real
Undocumented Args: [], Returns: float
func (*RigidBody2D) IsAbleToSleep ¶
func (o *RigidBody2D) IsAbleToSleep() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*RigidBody2D) IsContactMonitorEnabled ¶
func (o *RigidBody2D) IsContactMonitorEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*RigidBody2D) IsSleeping ¶
func (o *RigidBody2D) IsSleeping() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*RigidBody2D) IsUsingCustomIntegrator ¶
func (o *RigidBody2D) IsUsingCustomIntegrator() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*RigidBody2D) SetAngularDamp ¶
func (o *RigidBody2D) SetAngularDamp(angularDamp gdnative.Real)
Undocumented Args: [{ false angular_damp float}], Returns: void
func (*RigidBody2D) SetAngularVelocity ¶
func (o *RigidBody2D) SetAngularVelocity(angularVelocity gdnative.Real)
Undocumented Args: [{ false angular_velocity float}], Returns: void
func (*RigidBody2D) SetAppliedForce ¶
func (o *RigidBody2D) SetAppliedForce(force gdnative.Vector2)
Undocumented Args: [{ false force Vector2}], Returns: void
func (*RigidBody2D) SetAppliedTorque ¶
func (o *RigidBody2D) SetAppliedTorque(torque gdnative.Real)
Undocumented Args: [{ false torque float}], Returns: void
func (*RigidBody2D) SetAxisVelocity ¶
func (o *RigidBody2D) SetAxisVelocity(axisVelocity gdnative.Vector2)
Sets the body's velocity on the given axis. The velocity in the given vector axis will be set as the given vector length. This is useful for jumping behavior. Args: [{ false axis_velocity Vector2}], Returns: void
func (*RigidBody2D) SetBounce ¶
func (o *RigidBody2D) SetBounce(bounce gdnative.Real)
Undocumented Args: [{ false bounce float}], Returns: void
func (*RigidBody2D) SetCanSleep ¶
func (o *RigidBody2D) SetCanSleep(ableToSleep gdnative.Bool)
Undocumented Args: [{ false able_to_sleep bool}], Returns: void
func (*RigidBody2D) SetContactMonitor ¶
func (o *RigidBody2D) SetContactMonitor(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*RigidBody2D) SetContinuousCollisionDetectionMode ¶
func (o *RigidBody2D) SetContinuousCollisionDetectionMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*RigidBody2D) SetFriction ¶
func (o *RigidBody2D) SetFriction(friction gdnative.Real)
Undocumented Args: [{ false friction float}], Returns: void
func (*RigidBody2D) SetGravityScale ¶
func (o *RigidBody2D) SetGravityScale(gravityScale gdnative.Real)
Undocumented Args: [{ false gravity_scale float}], Returns: void
func (*RigidBody2D) SetInertia ¶
func (o *RigidBody2D) SetInertia(inertia gdnative.Real)
Undocumented Args: [{ false inertia float}], Returns: void
func (*RigidBody2D) SetLinearDamp ¶
func (o *RigidBody2D) SetLinearDamp(linearDamp gdnative.Real)
Undocumented Args: [{ false linear_damp float}], Returns: void
func (*RigidBody2D) SetLinearVelocity ¶
func (o *RigidBody2D) SetLinearVelocity(linearVelocity gdnative.Vector2)
Undocumented Args: [{ false linear_velocity Vector2}], Returns: void
func (*RigidBody2D) SetMass ¶
func (o *RigidBody2D) SetMass(mass gdnative.Real)
Undocumented Args: [{ false mass float}], Returns: void
func (*RigidBody2D) SetMaxContactsReported ¶
func (o *RigidBody2D) SetMaxContactsReported(amount gdnative.Int)
Undocumented Args: [{ false amount int}], Returns: void
func (*RigidBody2D) SetMode ¶
func (o *RigidBody2D) SetMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*RigidBody2D) SetSleeping ¶
func (o *RigidBody2D) SetSleeping(sleeping gdnative.Bool)
Undocumented Args: [{ false sleeping bool}], Returns: void
func (*RigidBody2D) SetUseCustomIntegrator ¶
func (o *RigidBody2D) SetUseCustomIntegrator(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*RigidBody2D) SetWeight ¶
func (o *RigidBody2D) SetWeight(weight gdnative.Real)
Undocumented Args: [{ false weight float}], Returns: void
func (*RigidBody2D) TestMotion ¶
func (o *RigidBody2D) TestMotion(motion gdnative.Vector2, margin gdnative.Real, result Physics2DTestMotionResultImplementer) gdnative.Bool
Returns [code]true[/code] if a collision would result from moving in the given vector. [code]margin[/code] increases the size of the shapes involved in the collision detection, and [code]result[/code] is an object of type [Physics2DTestMotionResult], which contains additional information about the collision (should there be one). Args: [{ false motion Vector2} {0.08 true margin float} {Null true result Physics2DTestMotionResult}], Returns: bool
func (*RigidBody2D) X_BodyEnterTree ¶
func (o *RigidBody2D) X_BodyEnterTree(arg0 gdnative.Int)
Undocumented Args: [{ false arg0 int}], Returns: void
func (*RigidBody2D) X_BodyExitTree ¶
func (o *RigidBody2D) X_BodyExitTree(arg0 gdnative.Int)
Undocumented Args: [{ false arg0 int}], Returns: void
func (*RigidBody2D) X_DirectStateChanged ¶
func (o *RigidBody2D) X_DirectStateChanged(arg0 ObjectImplementer)
Undocumented Args: [{ false arg0 Object}], Returns: void
func (*RigidBody2D) X_IntegrateForces ¶
func (o *RigidBody2D) X_IntegrateForces(state Physics2DDirectBodyStateImplementer)
Allows you to read and safely modify the simulation state for the object. Use this instead of [Node._physics_process] if you need to directly change the body's [code]position[/code] or other physics properties. By default it works in addition to the usual physics behavior, but [member custom_integrator] allows you to disable the default behavior and write custom force integration for a body. Args: [{ false state Physics2DDirectBodyState}], Returns: void
type RigidBody2DCCDMode ¶
type RigidBody2DCCDMode int
RigidBody2DCCDMode is an enum for CCDMode values.
const ( RigidBody2DCcdModeCastRay RigidBody2DCCDMode = 1 RigidBody2DCcdModeCastShape RigidBody2DCCDMode = 2 RigidBody2DCcdModeDisabled RigidBody2DCCDMode = 0 )
type RigidBody2DImplementer ¶
type RigidBody2DImplementer interface { PhysicsBody2DImplementer X_BodyEnterTree(arg0 gdnative.Int) X_BodyExitTree(arg0 gdnative.Int) X_DirectStateChanged(arg0 ObjectImplementer) X_IntegrateForces(state Physics2DDirectBodyStateImplementer) AddForce(offset gdnative.Vector2, force gdnative.Vector2) ApplyImpulse(offset gdnative.Vector2, impulse gdnative.Vector2) GetAngularDamp() gdnative.Real GetAngularVelocity() gdnative.Real GetAppliedForce() gdnative.Vector2 GetAppliedTorque() gdnative.Real GetBounce() gdnative.Real GetCollidingBodies() gdnative.Array GetFriction() gdnative.Real GetGravityScale() gdnative.Real GetInertia() gdnative.Real GetLinearDamp() gdnative.Real GetLinearVelocity() gdnative.Vector2 GetMass() gdnative.Real GetMaxContactsReported() gdnative.Int GetWeight() gdnative.Real IsAbleToSleep() gdnative.Bool IsContactMonitorEnabled() gdnative.Bool IsSleeping() gdnative.Bool IsUsingCustomIntegrator() gdnative.Bool SetAngularDamp(angularDamp gdnative.Real) SetAngularVelocity(angularVelocity gdnative.Real) SetAppliedForce(force gdnative.Vector2) SetAppliedTorque(torque gdnative.Real) SetAxisVelocity(axisVelocity gdnative.Vector2) SetBounce(bounce gdnative.Real) SetCanSleep(ableToSleep gdnative.Bool) SetContactMonitor(enabled gdnative.Bool) SetContinuousCollisionDetectionMode(mode gdnative.Int) SetFriction(friction gdnative.Real) SetGravityScale(gravityScale gdnative.Real) SetInertia(inertia gdnative.Real) SetLinearDamp(linearDamp gdnative.Real) SetLinearVelocity(linearVelocity gdnative.Vector2) SetMass(mass gdnative.Real) SetMaxContactsReported(amount gdnative.Int) SetMode(mode gdnative.Int) SetSleeping(sleeping gdnative.Bool) SetUseCustomIntegrator(enable gdnative.Bool) SetWeight(weight gdnative.Real) TestMotion(motion gdnative.Vector2, margin gdnative.Real, result Physics2DTestMotionResultImplementer) gdnative.Bool }
RigidBody2DImplementer is an interface that implements the methods of the RigidBody2D class.
type RigidBody2DMode ¶
type RigidBody2DMode int
RigidBody2DMode is an enum for Mode values.
const ( RigidBody2DModeCharacter RigidBody2DMode = 2 RigidBody2DModeKinematic RigidBody2DMode = 3 RigidBody2DModeRigid RigidBody2DMode = 0 RigidBody2DModeStatic RigidBody2DMode = 1 )
type RigidBodyImplementer ¶
type RigidBodyImplementer interface { PhysicsBodyImplementer X_BodyEnterTree(arg0 gdnative.Int) X_BodyExitTree(arg0 gdnative.Int) X_DirectStateChanged(arg0 ObjectImplementer) X_IntegrateForces(state PhysicsDirectBodyStateImplementer) ApplyImpulse(position gdnative.Vector3, impulse gdnative.Vector3) GetAngularDamp() gdnative.Real GetAngularVelocity() gdnative.Vector3 GetAxisLock(axis gdnative.Int) gdnative.Bool GetBounce() gdnative.Real GetCollidingBodies() gdnative.Array GetFriction() gdnative.Real GetGravityScale() gdnative.Real GetLinearDamp() gdnative.Real GetLinearVelocity() gdnative.Vector3 GetMass() gdnative.Real GetMaxContactsReported() gdnative.Int GetWeight() gdnative.Real IsAbleToSleep() gdnative.Bool IsContactMonitorEnabled() gdnative.Bool IsSleeping() gdnative.Bool IsUsingContinuousCollisionDetection() gdnative.Bool IsUsingCustomIntegrator() gdnative.Bool SetAngularDamp(angularDamp gdnative.Real) SetAngularVelocity(angularVelocity gdnative.Vector3) SetAxisLock(axis gdnative.Int, lock gdnative.Bool) SetAxisVelocity(axisVelocity gdnative.Vector3) SetBounce(bounce gdnative.Real) SetCanSleep(ableToSleep gdnative.Bool) SetContactMonitor(enabled gdnative.Bool) SetFriction(friction gdnative.Real) SetGravityScale(gravityScale gdnative.Real) SetLinearDamp(linearDamp gdnative.Real) SetLinearVelocity(linearVelocity gdnative.Vector3) SetMass(mass gdnative.Real) SetMaxContactsReported(amount gdnative.Int) SetMode(mode gdnative.Int) SetSleeping(sleeping gdnative.Bool) SetUseContinuousCollisionDetection(enable gdnative.Bool) SetUseCustomIntegrator(enable gdnative.Bool) SetWeight(weight gdnative.Real) }
RigidBodyImplementer is an interface that implements the methods of the RigidBody class.
type RigidBodyMode ¶
type RigidBodyMode int
RigidBodyMode is an enum for Mode values.
const ( RigidBodyModeCharacter RigidBodyMode = 2 RigidBodyModeKinematic RigidBodyMode = 3 RigidBodyModeRigid RigidBodyMode = 0 RigidBodyModeStatic RigidBodyMode = 1 )
type SceneState ¶
type SceneState struct { Reference // contains filtered or unexported fields }
Maintains a list of resources, nodes, exported and overridden properties, and built-in scripts associated with a scene.
func (*SceneState) BaseClass ¶
func (o *SceneState) BaseClass() string
func (*SceneState) GetConnectionBinds ¶
func (o *SceneState) GetConnectionBinds(idx gdnative.Int) gdnative.Array
Returns the list of bound parameters for the signal at [code]idx[/code]. Args: [{ false idx int}], Returns: Array
func (*SceneState) GetConnectionCount ¶
func (o *SceneState) GetConnectionCount() gdnative.Int
Returns the number of signal connections in the scene. Args: [], Returns: int
func (*SceneState) GetConnectionFlags ¶
func (o *SceneState) GetConnectionFlags(idx gdnative.Int) gdnative.Int
Returns the flags for the signal at [code]idx[/code]. See [Object]'s [code]CONNECT_*[/code] flags. Args: [{ false idx int}], Returns: int
func (*SceneState) GetConnectionMethod ¶
func (o *SceneState) GetConnectionMethod(idx gdnative.Int) gdnative.String
Returns the method connected to the signal at [code]idx[/code]. Args: [{ false idx int}], Returns: String
func (*SceneState) GetConnectionSignal ¶
func (o *SceneState) GetConnectionSignal(idx gdnative.Int) gdnative.String
Returns the name of the signal at [code]idx[/code]. Args: [{ false idx int}], Returns: String
func (*SceneState) GetConnectionSource ¶
func (o *SceneState) GetConnectionSource(idx gdnative.Int) gdnative.NodePath
Returns the path to the node that owns the signal at [code]idx[/code], relative to the root node. Args: [{ false idx int}], Returns: NodePath
func (*SceneState) GetConnectionTarget ¶
func (o *SceneState) GetConnectionTarget(idx gdnative.Int) gdnative.NodePath
Returns the path to the node that owns the method connected to the signal at [code]idx[/code], relative to the root node. Args: [{ false idx int}], Returns: NodePath
func (*SceneState) GetNodeCount ¶
func (o *SceneState) GetNodeCount() gdnative.Int
Returns the number of nodes in the scene. Args: [], Returns: int
func (*SceneState) GetNodeGroups ¶
func (o *SceneState) GetNodeGroups(idx gdnative.Int) gdnative.PoolStringArray
Returns the list of group names associated with the node at [code]idx[/code]. Args: [{ false idx int}], Returns: PoolStringArray
func (*SceneState) GetNodeIndex ¶
func (o *SceneState) GetNodeIndex(idx gdnative.Int) gdnative.Int
Args: [{ false idx int}], Returns: int
func (*SceneState) GetNodeInstance ¶
func (o *SceneState) GetNodeInstance(idx gdnative.Int) PackedSceneImplementer
Returns the scene for the node at [code]idx[/code] or [code]null[/code] if the node is not an instance. Args: [{ false idx int}], Returns: PackedScene
func (*SceneState) GetNodeInstancePlaceholder ¶
func (o *SceneState) GetNodeInstancePlaceholder(idx gdnative.Int) gdnative.String
Returns the path to the represented scene file if the node at [code]idx[/code] is an [InstancePlaceholder]. Args: [{ false idx int}], Returns: String
func (*SceneState) GetNodeName ¶
func (o *SceneState) GetNodeName(idx gdnative.Int) gdnative.String
Returns the name of the node at [code]idx[/code]. Args: [{ false idx int}], Returns: String
func (*SceneState) GetNodeOwnerPath ¶
func (o *SceneState) GetNodeOwnerPath(idx gdnative.Int) gdnative.NodePath
Returns the path to the owner of the node at [code]idx[/code], relative to the root node. Args: [{ false idx int}], Returns: NodePath
func (*SceneState) GetNodePath ¶
Returns the path to the node at [code]idx[/code]. Args: [{ false idx int} {False true for_parent bool}], Returns: NodePath
func (*SceneState) GetNodePropertyCount ¶
func (o *SceneState) GetNodePropertyCount(idx gdnative.Int) gdnative.Int
Returns the number of exported or overridden properties for the node at [code]idx[/code]. Args: [{ false idx int}], Returns: int
func (*SceneState) GetNodePropertyName ¶
Returns the name of the property at [code]prop_idx[/code] for the node at [code]idx[/code]. Args: [{ false idx int} { false prop_idx int}], Returns: String
func (*SceneState) GetNodePropertyValue ¶
Returns the value of the property at [code]prop_idx[/code] for the node at [code]idx[/code]. Args: [{ false idx int} { false prop_idx int}], Returns: Variant
func (*SceneState) GetNodeType ¶
func (o *SceneState) GetNodeType(idx gdnative.Int) gdnative.String
Returns the type of the node at [code]idx[/code]. Args: [{ false idx int}], Returns: String
func (*SceneState) IsNodeInstancePlaceholder ¶
func (o *SceneState) IsNodeInstancePlaceholder(idx gdnative.Int) gdnative.Bool
Returns [code]true[/code] if the node at [code]idx[/code] is an [InstancePlaceholder]. Args: [{ false idx int}], Returns: bool
type SceneStateGenEditState ¶
type SceneStateGenEditState int
SceneStateGenEditState is an enum for GenEditState values.
const ( SceneStateGenEditStateDisabled SceneStateGenEditState = 0 SceneStateGenEditStateInstance SceneStateGenEditState = 1 SceneStateGenEditStateMain SceneStateGenEditState = 2 )
type SceneStateImplementer ¶
type SceneStateImplementer interface { ReferenceImplementer GetConnectionBinds(idx gdnative.Int) gdnative.Array GetConnectionCount() gdnative.Int GetConnectionFlags(idx gdnative.Int) gdnative.Int GetConnectionMethod(idx gdnative.Int) gdnative.String GetConnectionSignal(idx gdnative.Int) gdnative.String GetConnectionSource(idx gdnative.Int) gdnative.NodePath GetConnectionTarget(idx gdnative.Int) gdnative.NodePath GetNodeCount() gdnative.Int GetNodeGroups(idx gdnative.Int) gdnative.PoolStringArray GetNodeIndex(idx gdnative.Int) gdnative.Int GetNodeInstance(idx gdnative.Int) PackedSceneImplementer GetNodeInstancePlaceholder(idx gdnative.Int) gdnative.String GetNodeName(idx gdnative.Int) gdnative.String GetNodeOwnerPath(idx gdnative.Int) gdnative.NodePath GetNodePath(idx gdnative.Int, forParent gdnative.Bool) gdnative.NodePath GetNodePropertyCount(idx gdnative.Int) gdnative.Int GetNodePropertyName(idx gdnative.Int, propIdx gdnative.Int) gdnative.String GetNodePropertyValue(idx gdnative.Int, propIdx gdnative.Int) gdnative.Variant GetNodeType(idx gdnative.Int) gdnative.String IsNodeInstancePlaceholder(idx gdnative.Int) gdnative.Bool }
SceneStateImplementer is an interface that implements the methods of the SceneState class.
type SceneTree ¶
type SceneTree struct { MainLoop // contains filtered or unexported fields }
func (*SceneTree) CallGroup ¶
Args: [{ false group String} { false method String}], Returns: Variant
func (*SceneTree) CallGroupFlags ¶
func (o *SceneTree) CallGroupFlags(flags gdnative.Int, group gdnative.String, method gdnative.String) gdnative.Variant
Args: [{ false flags int} { false group String} { false method String}], Returns: Variant
func (*SceneTree) ChangeScene ¶
Args: [{ false path String}], Returns: enum.Error
func (*SceneTree) ChangeSceneTo ¶
func (o *SceneTree) ChangeSceneTo(packedScene PackedSceneImplementer) gdnative.Error
Args: [{ false packed_scene PackedScene}], Returns: enum.Error
func (*SceneTree) CreateTimer ¶
func (o *SceneTree) CreateTimer(timeSec gdnative.Real, pauseModeProcess gdnative.Bool) SceneTreeTimerImplementer
Args: [{ false time_sec float} {True true pause_mode_process bool}], Returns: SceneTreeTimer
func (*SceneTree) GetCurrentScene ¶
func (o *SceneTree) GetCurrentScene() NodeImplementer
Undocumented Args: [], Returns: Node
func (*SceneTree) GetEditedSceneRoot ¶
func (o *SceneTree) GetEditedSceneRoot() NodeImplementer
Undocumented Args: [], Returns: Node
func (*SceneTree) GetNetworkConnectedPeers ¶
func (o *SceneTree) GetNetworkConnectedPeers() gdnative.PoolIntArray
Args: [], Returns: PoolIntArray
func (*SceneTree) GetNetworkPeer ¶
func (o *SceneTree) GetNetworkPeer() NetworkedMultiplayerPeerImplementer
Undocumented Args: [], Returns: NetworkedMultiplayerPeer
func (*SceneTree) GetNetworkUniqueId ¶
Args: [], Returns: int
func (*SceneTree) GetNodeCount ¶
Args: [], Returns: int
func (*SceneTree) GetNodesInGroup ¶
Args: [{ false group String}], Returns: Array
func (*SceneTree) GetRoot ¶
func (o *SceneTree) GetRoot() ViewportImplementer
Undocumented Args: [], Returns: Viewport
func (*SceneTree) GetRpcSenderId ¶
Args: [], Returns: int
func (*SceneTree) HasNetworkPeer ¶
Returns true if there is a [NetworkedMultiplayerPeer] set (with [method SceneTree.set_network_peer]). Args: [], Returns: bool
func (*SceneTree) IsDebuggingCollisionsHint ¶
Undocumented Args: [], Returns: bool
func (*SceneTree) IsDebuggingNavigationHint ¶
Undocumented Args: [], Returns: bool
func (*SceneTree) IsInputHandled ¶
Args: [], Returns: bool
func (*SceneTree) IsNetworkServer ¶
Returns true if this SceneTree's [NetworkedMultiplayerPeer] is in server mode (listening for connections). Args: [], Returns: bool
func (*SceneTree) IsRefusingNewNetworkConnections ¶
Undocumented Args: [], Returns: bool
func (*SceneTree) IsUsingFontOversampling ¶
Undocumented Args: [], Returns: bool
func (*SceneTree) NotifyGroup ¶
Args: [{ false group String} { false notification int}], Returns: void
func (*SceneTree) NotifyGroupFlags ¶
func (o *SceneTree) NotifyGroupFlags(callFlags gdnative.Int, group gdnative.String, notification gdnative.Int)
Args: [{ false call_flags int} { false group String} { false notification int}], Returns: void
func (*SceneTree) QueueDelete ¶
func (o *SceneTree) QueueDelete(obj ObjectImplementer)
Args: [{ false obj Object}], Returns: void
func (*SceneTree) ReloadCurrentScene ¶
Args: [], Returns: enum.Error
func (*SceneTree) SetAutoAcceptQuit ¶
Args: [{ false enabled bool}], Returns: void
func (*SceneTree) SetCurrentScene ¶
func (o *SceneTree) SetCurrentScene(childNode ObjectImplementer)
Undocumented Args: [{ false child_node Object}], Returns: void
func (*SceneTree) SetDebugCollisionsHint ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*SceneTree) SetDebugNavigationHint ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*SceneTree) SetEditedSceneRoot ¶
func (o *SceneTree) SetEditedSceneRoot(scene ObjectImplementer)
Undocumented Args: [{ false scene Object}], Returns: void
func (*SceneTree) SetGroup ¶
func (o *SceneTree) SetGroup(group gdnative.String, property gdnative.String, value gdnative.Variant)
Args: [{ false group String} { false property String} { false value Variant}], Returns: void
func (*SceneTree) SetGroupFlags ¶
func (o *SceneTree) SetGroupFlags(callFlags gdnative.Int, group gdnative.String, property gdnative.String, value gdnative.Variant)
Args: [{ false call_flags int} { false group String} { false property String} { false value Variant}], Returns: void
func (*SceneTree) SetInputAsHandled ¶
func (o *SceneTree) SetInputAsHandled()
Args: [], Returns: void
func (*SceneTree) SetNetworkPeer ¶
func (o *SceneTree) SetNetworkPeer(peer NetworkedMultiplayerPeerImplementer)
Undocumented Args: [{ false peer NetworkedMultiplayerPeer}], Returns: void
func (*SceneTree) SetQuitOnGoBack ¶
Args: [{ false enabled bool}], Returns: void
func (*SceneTree) SetRefuseNewNetworkConnections ¶
Undocumented Args: [{ false refuse bool}], Returns: void
func (*SceneTree) SetScreenStretch ¶
func (o *SceneTree) SetScreenStretch(mode gdnative.Int, aspect gdnative.Int, minsize gdnative.Vector2, shrink gdnative.Real)
Args: [{ false mode int} { false aspect int} { false minsize Vector2} {1 true shrink float}], Returns: void
func (*SceneTree) SetUseFontOversampling ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*SceneTree) X_ChangeScene ¶
func (o *SceneTree) X_ChangeScene(arg0 ObjectImplementer)
Undocumented Args: [{ false arg0 Object}], Returns: void
func (*SceneTree) X_ConnectedToServer ¶
func (o *SceneTree) X_ConnectedToServer()
Undocumented Args: [], Returns: void
func (*SceneTree) X_ConnectionFailed ¶
func (o *SceneTree) X_ConnectionFailed()
Undocumented Args: [], Returns: void
func (*SceneTree) X_NetworkPeerConnected ¶
Undocumented Args: [{ false arg0 int}], Returns: void
func (*SceneTree) X_NetworkPeerDisconnected ¶
Undocumented Args: [{ false arg0 int}], Returns: void
func (*SceneTree) X_ServerDisconnected ¶
func (o *SceneTree) X_ServerDisconnected()
Undocumented Args: [], Returns: void
type SceneTreeGroupCallFlags ¶
type SceneTreeGroupCallFlags int
SceneTreeGroupCallFlags is an enum for GroupCallFlags values.
const ( SceneTreeGroupCallDefault SceneTreeGroupCallFlags = 0 SceneTreeGroupCallRealtime SceneTreeGroupCallFlags = 2 SceneTreeGroupCallReverse SceneTreeGroupCallFlags = 1 SceneTreeGroupCallUnique SceneTreeGroupCallFlags = 4 )
type SceneTreeImplementer ¶
type SceneTreeImplementer interface { MainLoopImplementer X_ChangeScene(arg0 ObjectImplementer) X_ConnectedToServer() X_ConnectionFailed() X_NetworkPeerConnected(arg0 gdnative.Int) X_NetworkPeerDisconnected(arg0 gdnative.Int) X_ServerDisconnected() CallGroup(group gdnative.String, method gdnative.String) gdnative.Variant CallGroupFlags(flags gdnative.Int, group gdnative.String, method gdnative.String) gdnative.Variant CreateTimer(timeSec gdnative.Real, pauseModeProcess gdnative.Bool) SceneTreeTimerImplementer GetCurrentScene() NodeImplementer GetEditedSceneRoot() NodeImplementer GetFrame() gdnative.Int GetNetworkConnectedPeers() gdnative.PoolIntArray GetNetworkPeer() NetworkedMultiplayerPeerImplementer GetNetworkUniqueId() gdnative.Int GetNodeCount() gdnative.Int GetNodesInGroup(group gdnative.String) gdnative.Array GetRoot() ViewportImplementer GetRpcSenderId() gdnative.Int HasGroup(name gdnative.String) gdnative.Bool HasNetworkPeer() gdnative.Bool IsDebuggingCollisionsHint() gdnative.Bool IsInputHandled() gdnative.Bool IsNetworkServer() gdnative.Bool IsPaused() gdnative.Bool IsRefusingNewNetworkConnections() gdnative.Bool IsUsingFontOversampling() gdnative.Bool NotifyGroup(group gdnative.String, notification gdnative.Int) NotifyGroupFlags(callFlags gdnative.Int, group gdnative.String, notification gdnative.Int) QueueDelete(obj ObjectImplementer) Quit() SetAutoAcceptQuit(enabled gdnative.Bool) SetCurrentScene(childNode ObjectImplementer) SetDebugCollisionsHint(enable gdnative.Bool) SetEditedSceneRoot(scene ObjectImplementer) SetGroup(group gdnative.String, property gdnative.String, value gdnative.Variant) SetGroupFlags(callFlags gdnative.Int, group gdnative.String, property gdnative.String, value gdnative.Variant) SetInputAsHandled() SetNetworkPeer(peer NetworkedMultiplayerPeerImplementer) SetPause(enable gdnative.Bool) SetQuitOnGoBack(enabled gdnative.Bool) SetRefuseNewNetworkConnections(refuse gdnative.Bool) SetScreenStretch(mode gdnative.Int, aspect gdnative.Int, minsize gdnative.Vector2, shrink gdnative.Real) SetUseFontOversampling(enable gdnative.Bool) }
SceneTreeImplementer is an interface that implements the methods of the SceneTree class.
type SceneTreeStretchAspect ¶
type SceneTreeStretchAspect int
SceneTreeStretchAspect is an enum for StretchAspect values.
const ( SceneTreeStretchAspectExpand SceneTreeStretchAspect = 4 SceneTreeStretchAspectIgnore SceneTreeStretchAspect = 0 SceneTreeStretchAspectKeep SceneTreeStretchAspect = 1 SceneTreeStretchAspectKeepHeight SceneTreeStretchAspect = 3 SceneTreeStretchAspectKeepWidth SceneTreeStretchAspect = 2 )
type SceneTreeStretchMode ¶
type SceneTreeStretchMode int
SceneTreeStretchMode is an enum for StretchMode values.
const ( SceneTreeStretchMode2D SceneTreeStretchMode = 1 SceneTreeStretchModeDisabled SceneTreeStretchMode = 0 SceneTreeStretchModeViewport SceneTreeStretchMode = 2 )
type SceneTreeTimer ¶
type SceneTreeTimer struct { Reference // contains filtered or unexported fields }
func (*SceneTreeTimer) BaseClass ¶
func (o *SceneTreeTimer) BaseClass() string
func (*SceneTreeTimer) GetTimeLeft ¶
func (o *SceneTreeTimer) GetTimeLeft() gdnative.Real
Undocumented Args: [], Returns: float
func (*SceneTreeTimer) SetTimeLeft ¶
func (o *SceneTreeTimer) SetTimeLeft(time gdnative.Real)
Undocumented Args: [{ false time float}], Returns: void
type SceneTreeTimerImplementer ¶
type SceneTreeTimerImplementer interface { ReferenceImplementer GetTimeLeft() gdnative.Real SetTimeLeft(time gdnative.Real) }
SceneTreeTimerImplementer is an interface that implements the methods of the SceneTreeTimer class.
type Script ¶
type Script struct { Resource // contains filtered or unexported fields }
A class stored as a resource. The script exends the functionality of all objects that instance it. The 'new' method of a script subclass creates a new instance. [method Object.set_script] extends an existing object, if that object's class matches one of the script's base classes.
func (*Script) CanInstance ¶
Returns true if the script can be instanced. Args: [], Returns: bool
func (*Script) GetBaseScript ¶
func (o *Script) GetBaseScript() ScriptImplementer
Args: [], Returns: Script
func (*Script) GetInstanceBaseType ¶
Args: [], Returns: String
func (*Script) GetSourceCode ¶
Undocumented Args: [], Returns: String
func (*Script) HasScriptSignal ¶
Returns true if the script, or a base class, defines a signal with the given name. Args: [{ false signal_name String}], Returns: bool
func (*Script) HasSourceCode ¶
Returns true if the script contains non-empty source code. Args: [], Returns: bool
func (*Script) InstanceHas ¶
func (o *Script) InstanceHas(baseObject ObjectImplementer) gdnative.Bool
Returns true if 'base_object' is an instance of this script. Args: [{ false base_object Object}], Returns: bool
func (*Script) IsTool ¶
Returns true if the script is a tool script. A tool script can run in the editor. Args: [], Returns: bool
func (*Script) Reload ¶
Reloads the script's class implementation. Returns an error code. Args: [{False true keep_state bool}], Returns: enum.Error
func (*Script) SetSourceCode ¶
Undocumented Args: [{ false source String}], Returns: void
type ScriptEditor ¶
type ScriptEditor struct { PanelContainer // contains filtered or unexported fields }
func (*ScriptEditor) BaseClass ¶
func (o *ScriptEditor) BaseClass() string
func (*ScriptEditor) CanDropDataFw ¶
func (o *ScriptEditor) CanDropDataFw(point gdnative.Vector2, data gdnative.Variant, from ObjectImplementer) gdnative.Bool
Args: [{ false point Vector2} { false data Variant} { false from Object}], Returns: bool
func (*ScriptEditor) DropDataFw ¶
func (o *ScriptEditor) DropDataFw(point gdnative.Vector2, data gdnative.Variant, from ObjectImplementer)
Args: [{ false point Vector2} { false data Variant} { false from Object}], Returns: void
func (*ScriptEditor) GetCurrentScript ¶
func (o *ScriptEditor) GetCurrentScript() ScriptImplementer
Returns a [Script] that is currently active in editor. Args: [], Returns: Script
func (*ScriptEditor) GetDragDataFw ¶
func (o *ScriptEditor) GetDragDataFw(point gdnative.Vector2, from ObjectImplementer) gdnative.Variant
Args: [{ false point Vector2} { false from Object}], Returns: Variant
func (*ScriptEditor) GetOpenScripts ¶
func (o *ScriptEditor) GetOpenScripts() gdnative.Array
Returns an array with all [Script] objects which are currently open in editor. Args: [], Returns: Array
func (*ScriptEditor) OpenScriptCreateDialog ¶
func (o *ScriptEditor) OpenScriptCreateDialog(baseName gdnative.String, basePath gdnative.String)
Args: [{ false base_name String} { false base_path String}], Returns: void
func (*ScriptEditor) X_AddCallback ¶
func (o *ScriptEditor) X_AddCallback(arg0 ObjectImplementer, arg1 gdnative.String, arg2 gdnative.PoolStringArray)
Undocumented Args: [{ false arg0 Object} { false arg1 String} { false arg2 PoolStringArray}], Returns: void
func (*ScriptEditor) X_AutosaveScripts ¶
func (o *ScriptEditor) X_AutosaveScripts()
Undocumented Args: [], Returns: void
func (*ScriptEditor) X_Breaked ¶
func (o *ScriptEditor) X_Breaked(arg0 gdnative.Bool, arg1 gdnative.Bool)
Undocumented Args: [{ false arg0 bool} { false arg1 bool}], Returns: void
func (*ScriptEditor) X_CloseAllTabs ¶
func (o *ScriptEditor) X_CloseAllTabs()
Undocumented Args: [], Returns: void
func (*ScriptEditor) X_CloseCurrentTab ¶
func (o *ScriptEditor) X_CloseCurrentTab()
Undocumented Args: [], Returns: void
func (*ScriptEditor) X_CloseDiscardCurrentTab ¶
func (o *ScriptEditor) X_CloseDiscardCurrentTab(arg0 gdnative.String)
Undocumented Args: [{ false arg0 String}], Returns: void
func (*ScriptEditor) X_CloseDocsTab ¶
func (o *ScriptEditor) X_CloseDocsTab()
Undocumented Args: [], Returns: void
func (*ScriptEditor) X_CloseOtherTabs ¶
func (o *ScriptEditor) X_CloseOtherTabs()
Undocumented Args: [], Returns: void
func (*ScriptEditor) X_CopyScriptPath ¶
func (o *ScriptEditor) X_CopyScriptPath()
Undocumented Args: [], Returns: void
func (*ScriptEditor) X_EditorPause ¶
func (o *ScriptEditor) X_EditorPause()
Undocumented Args: [], Returns: void
func (*ScriptEditor) X_EditorPlay ¶
func (o *ScriptEditor) X_EditorPlay()
Undocumented Args: [], Returns: void
func (*ScriptEditor) X_EditorSettingsChanged ¶
func (o *ScriptEditor) X_EditorSettingsChanged()
Undocumented Args: [], Returns: void
func (*ScriptEditor) X_EditorStop ¶
func (o *ScriptEditor) X_EditorStop()
Undocumented Args: [], Returns: void
func (*ScriptEditor) X_FileDialogAction ¶
func (o *ScriptEditor) X_FileDialogAction(arg0 gdnative.String)
Undocumented Args: [{ false arg0 String}], Returns: void
func (*ScriptEditor) X_GetDebugTooltip ¶
func (o *ScriptEditor) X_GetDebugTooltip(arg0 gdnative.String, arg1 ObjectImplementer) gdnative.String
Undocumented Args: [{ false arg0 String} { false arg1 Object}], Returns: String
func (*ScriptEditor) X_GotoScriptLine ¶
func (o *ScriptEditor) X_GotoScriptLine(arg0 ReferenceImplementer, arg1 gdnative.Int)
Undocumented Args: [{ false arg0 Reference} { false arg1 int}], Returns: void
func (*ScriptEditor) X_GotoScriptLine2 ¶
func (o *ScriptEditor) X_GotoScriptLine2(arg0 gdnative.Int)
Undocumented Args: [{ false arg0 int}], Returns: void
func (*ScriptEditor) X_HelpClassGoto ¶
func (o *ScriptEditor) X_HelpClassGoto(arg0 gdnative.String)
Undocumented Args: [{ false arg0 String}], Returns: void
func (*ScriptEditor) X_HelpClassOpen ¶
func (o *ScriptEditor) X_HelpClassOpen(arg0 gdnative.String)
Undocumented Args: [{ false arg0 String}], Returns: void
func (*ScriptEditor) X_HelpIndex ¶
func (o *ScriptEditor) X_HelpIndex(arg0 gdnative.String)
Undocumented Args: [{ false arg0 String}], Returns: void
func (*ScriptEditor) X_HelpOverviewSelected ¶
func (o *ScriptEditor) X_HelpOverviewSelected(arg0 gdnative.Int)
Undocumented Args: [{ false arg0 int}], Returns: void
func (*ScriptEditor) X_HelpSearch ¶
func (o *ScriptEditor) X_HelpSearch(arg0 gdnative.String)
Undocumented Args: [{ false arg0 String}], Returns: void
func (*ScriptEditor) X_HistoryBack ¶
func (o *ScriptEditor) X_HistoryBack()
Undocumented Args: [], Returns: void
func (*ScriptEditor) X_HistoryForward ¶
func (o *ScriptEditor) X_HistoryForward()
Undocumented Args: [], Returns: void
func (*ScriptEditor) X_LiveAutoReloadRunningScripts ¶
func (o *ScriptEditor) X_LiveAutoReloadRunningScripts()
Undocumented Args: [], Returns: void
func (*ScriptEditor) X_MembersOverviewSelected ¶
func (o *ScriptEditor) X_MembersOverviewSelected(arg0 gdnative.Int)
Undocumented Args: [{ false arg0 int}], Returns: void
func (*ScriptEditor) X_MenuOption ¶
func (o *ScriptEditor) X_MenuOption(arg0 gdnative.Int)
Undocumented Args: [{ false arg0 int}], Returns: void
func (*ScriptEditor) X_OpenRecentScript ¶
func (o *ScriptEditor) X_OpenRecentScript(arg0 gdnative.Int)
Undocumented Args: [{ false arg0 int}], Returns: void
func (*ScriptEditor) X_ReloadScripts ¶
func (o *ScriptEditor) X_ReloadScripts()
Undocumented Args: [], Returns: void
func (*ScriptEditor) X_RequestHelp ¶
func (o *ScriptEditor) X_RequestHelp(arg0 gdnative.String)
Undocumented Args: [{ false arg0 String}], Returns: void
func (*ScriptEditor) X_ResSavedCallback ¶
func (o *ScriptEditor) X_ResSavedCallback(arg0 ResourceImplementer)
Undocumented Args: [{ false arg0 Resource}], Returns: void
func (*ScriptEditor) X_ResaveScripts ¶
func (o *ScriptEditor) X_ResaveScripts(arg0 gdnative.String)
Undocumented Args: [{ false arg0 String}], Returns: void
func (*ScriptEditor) X_SaveHistory ¶
func (o *ScriptEditor) X_SaveHistory()
Undocumented Args: [], Returns: void
func (*ScriptEditor) X_ScriptChanged ¶
func (o *ScriptEditor) X_ScriptChanged()
Undocumented Args: [], Returns: void
func (*ScriptEditor) X_ScriptCreated ¶
func (o *ScriptEditor) X_ScriptCreated(arg0 ScriptImplementer)
Undocumented Args: [{ false arg0 Script}], Returns: void
func (*ScriptEditor) X_ScriptListGuiInput ¶
func (o *ScriptEditor) X_ScriptListGuiInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
func (*ScriptEditor) X_ScriptSelected ¶
func (o *ScriptEditor) X_ScriptSelected(arg0 gdnative.Int)
Undocumented Args: [{ false arg0 int}], Returns: void
func (*ScriptEditor) X_ScriptSplitDragged ¶
func (o *ScriptEditor) X_ScriptSplitDragged(arg0 gdnative.Real)
Undocumented Args: [{ false arg0 float}], Returns: void
func (*ScriptEditor) X_ShowDebugger ¶
func (o *ScriptEditor) X_ShowDebugger(arg0 gdnative.Bool)
Undocumented Args: [{ false arg0 bool}], Returns: void
func (*ScriptEditor) X_TabChanged ¶
func (o *ScriptEditor) X_TabChanged(arg0 gdnative.Int)
Undocumented Args: [{ false arg0 int}], Returns: void
func (*ScriptEditor) X_TreeChanged ¶
func (o *ScriptEditor) X_TreeChanged()
Undocumented Args: [], Returns: void
func (*ScriptEditor) X_UnhandledInput ¶
func (o *ScriptEditor) X_UnhandledInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
func (*ScriptEditor) X_UpdateRecentScripts ¶
func (o *ScriptEditor) X_UpdateRecentScripts()
Undocumented Args: [], Returns: void
func (*ScriptEditor) X_UpdateScriptNames ¶
func (o *ScriptEditor) X_UpdateScriptNames()
Undocumented Args: [], Returns: void
type ScriptEditorImplementer ¶
type ScriptEditorImplementer interface { PanelContainerImplementer X_AddCallback(arg0 ObjectImplementer, arg1 gdnative.String, arg2 gdnative.PoolStringArray) X_AutosaveScripts() X_Breaked(arg0 gdnative.Bool, arg1 gdnative.Bool) X_CloseAllTabs() X_CloseCurrentTab() X_CloseDiscardCurrentTab(arg0 gdnative.String) X_CloseDocsTab() X_CloseOtherTabs() X_CopyScriptPath() X_EditorPause() X_EditorPlay() X_EditorSettingsChanged() X_EditorStop() X_FileDialogAction(arg0 gdnative.String) X_GetDebugTooltip(arg0 gdnative.String, arg1 ObjectImplementer) gdnative.String X_GotoScriptLine(arg0 ReferenceImplementer, arg1 gdnative.Int) X_GotoScriptLine2(arg0 gdnative.Int) X_HelpClassGoto(arg0 gdnative.String) X_HelpClassOpen(arg0 gdnative.String) X_HelpIndex(arg0 gdnative.String) X_HelpOverviewSelected(arg0 gdnative.Int) X_HelpSearch(arg0 gdnative.String) X_HistoryBack() X_HistoryForward() X_LiveAutoReloadRunningScripts() X_MembersOverviewSelected(arg0 gdnative.Int) X_MenuOption(arg0 gdnative.Int) X_OpenRecentScript(arg0 gdnative.Int) X_ReloadScripts() X_RequestHelp(arg0 gdnative.String) X_ResSavedCallback(arg0 ResourceImplementer) X_ResaveScripts(arg0 gdnative.String) X_SaveHistory() X_ScriptChanged() X_ScriptCreated(arg0 ScriptImplementer) X_ScriptListGuiInput(arg0 InputEventImplementer) X_ScriptSelected(arg0 gdnative.Int) X_ScriptSplitDragged(arg0 gdnative.Real) X_ShowDebugger(arg0 gdnative.Bool) X_TabChanged(arg0 gdnative.Int) X_TreeChanged() X_UpdateRecentScripts() X_UpdateScriptNames() CanDropDataFw(point gdnative.Vector2, data gdnative.Variant, from ObjectImplementer) gdnative.Bool DropDataFw(point gdnative.Vector2, data gdnative.Variant, from ObjectImplementer) GetCurrentScript() ScriptImplementer GetDragDataFw(point gdnative.Vector2, from ObjectImplementer) gdnative.Variant GetOpenScripts() gdnative.Array OpenScriptCreateDialog(baseName gdnative.String, basePath gdnative.String) }
ScriptEditorImplementer is an interface that implements the methods of the ScriptEditor class.
type ScriptImplementer ¶
type ScriptImplementer interface { ResourceImplementer CanInstance() gdnative.Bool GetBaseScript() ScriptImplementer GetInstanceBaseType() gdnative.String GetSourceCode() gdnative.String HasScriptSignal(signalName gdnative.String) gdnative.Bool HasSourceCode() gdnative.Bool InstanceHas(baseObject ObjectImplementer) gdnative.Bool IsTool() gdnative.Bool SetSourceCode(source gdnative.String) }
ScriptImplementer is an interface that implements the methods of the Script class.
type ScrollBar ¶
type ScrollBar struct { Range // contains filtered or unexported fields }
Scrollbars are a Range based Control, that display a draggable area (the size of the page). Horizontal (HScrollBar) and Vertical (VScrollBar) versions are available.
func (*ScrollBar) GetCustomStep ¶
Undocumented Args: [], Returns: float
func (*ScrollBar) SetCustomStep ¶
Undocumented Args: [{ false step float}], Returns: void
func (*ScrollBar) X_DragSlaveExit ¶
func (o *ScrollBar) X_DragSlaveExit()
Undocumented Args: [], Returns: void
func (*ScrollBar) X_DragSlaveInput ¶
func (o *ScrollBar) X_DragSlaveInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
func (*ScrollBar) X_GuiInput ¶
func (o *ScrollBar) X_GuiInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
type ScrollBarImplementer ¶
type ScrollBarImplementer interface { RangeImplementer X_DragSlaveExit() X_DragSlaveInput(arg0 InputEventImplementer) GetCustomStep() gdnative.Real SetCustomStep(step gdnative.Real) }
ScrollBarImplementer is an interface that implements the methods of the ScrollBar class.
type ScrollContainer ¶
type ScrollContainer struct { Container // contains filtered or unexported fields }
A ScrollContainer node with a Control child and scrollbar child ([HScrollbar], VScrollBar, or both) will only draw the Control within the ScrollContainer area. Scrollbars will automatically be drawn at the right (for vertical) or bottom (for horizontal) and will enable dragging to move the viewable Control (and its children) within the ScrollContainer. Scrollbars will also automatically resize the grabber based on the minimum_size of the Control relative to the ScrollContainer. Works great with a Panel control. You can set EXPAND on children size flags, so they will upscale to ScrollContainer size if ScrollContainer size is bigger (scroll is invisible for chosen dimension).
func (*ScrollContainer) BaseClass ¶
func (o *ScrollContainer) BaseClass() string
func (*ScrollContainer) GetHScroll ¶
func (o *ScrollContainer) GetHScroll() gdnative.Int
Undocumented Args: [], Returns: int
func (*ScrollContainer) GetVScroll ¶
func (o *ScrollContainer) GetVScroll() gdnative.Int
Undocumented Args: [], Returns: int
func (*ScrollContainer) IsHScrollEnabled ¶
func (o *ScrollContainer) IsHScrollEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*ScrollContainer) IsVScrollEnabled ¶
func (o *ScrollContainer) IsVScrollEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*ScrollContainer) SetEnableHScroll ¶
func (o *ScrollContainer) SetEnableHScroll(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*ScrollContainer) SetEnableVScroll ¶
func (o *ScrollContainer) SetEnableVScroll(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*ScrollContainer) SetHScroll ¶
func (o *ScrollContainer) SetHScroll(value gdnative.Int)
Undocumented Args: [{ false value int}], Returns: void
func (*ScrollContainer) SetVScroll ¶
func (o *ScrollContainer) SetVScroll(value gdnative.Int)
Undocumented Args: [{ false value int}], Returns: void
func (*ScrollContainer) X_GuiInput ¶
func (o *ScrollContainer) X_GuiInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
func (*ScrollContainer) X_ScrollMoved ¶
func (o *ScrollContainer) X_ScrollMoved(arg0 gdnative.Real)
Undocumented Args: [{ false arg0 float}], Returns: void
func (*ScrollContainer) X_UpdateScrollbarPosition ¶
func (o *ScrollContainer) X_UpdateScrollbarPosition()
Undocumented Args: [], Returns: void
type ScrollContainerImplementer ¶
type ScrollContainerImplementer interface { ContainerImplementer X_ScrollMoved(arg0 gdnative.Real) X_UpdateScrollbarPosition() GetHScroll() gdnative.Int GetVScroll() gdnative.Int IsHScrollEnabled() gdnative.Bool IsVScrollEnabled() gdnative.Bool SetEnableHScroll(enable gdnative.Bool) SetEnableVScroll(enable gdnative.Bool) SetHScroll(value gdnative.Int) SetVScroll(value gdnative.Int) }
ScrollContainerImplementer is an interface that implements the methods of the ScrollContainer class.
type SegmentShape2D ¶
type SegmentShape2D struct { Shape2D // contains filtered or unexported fields }
Segment shape for 2D collisions. Consists of two points, [code]a[/code] and [code]b[/code].
func (*SegmentShape2D) BaseClass ¶
func (o *SegmentShape2D) BaseClass() string
func (*SegmentShape2D) GetA ¶
func (o *SegmentShape2D) GetA() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*SegmentShape2D) GetB ¶
func (o *SegmentShape2D) GetB() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*SegmentShape2D) SetA ¶
func (o *SegmentShape2D) SetA(a gdnative.Vector2)
Undocumented Args: [{ false a Vector2}], Returns: void
func (*SegmentShape2D) SetB ¶
func (o *SegmentShape2D) SetB(b gdnative.Vector2)
Undocumented Args: [{ false b Vector2}], Returns: void
type SegmentShape2DImplementer ¶
type SegmentShape2DImplementer interface { Shape2DImplementer GetA() gdnative.Vector2 GetB() gdnative.Vector2 SetA(a gdnative.Vector2) SetB(b gdnative.Vector2) }
SegmentShape2DImplementer is an interface that implements the methods of the SegmentShape2D class.
type Semaphore ¶
type Semaphore struct { Reference // contains filtered or unexported fields }
A synchronization Semaphore. Element used to synchronize multiple [Thread]s. Initialized to zero on creation. Be careful to avoid deadlocks. For a binary version, see Mutex.
type SemaphoreImplementer ¶
type SemaphoreImplementer interface { ReferenceImplementer }
SemaphoreImplementer is an interface that implements the methods of the Semaphore class.
type Separator ¶
type Separator struct { Control // contains filtered or unexported fields }
Separator is a Control used for separating other controls. It's purely a visual decoration. Horizontal (HSeparator) and Vertical (VSeparator) versions are available.
type SeparatorImplementer ¶
type SeparatorImplementer interface { ControlImplementer }
SeparatorImplementer is an interface that implements the methods of the Separator class.
type Shader ¶
type Shader struct { Resource // contains filtered or unexported fields }
To be changed, ignore.
func (*Shader) GetDefaultTextureParam ¶
func (o *Shader) GetDefaultTextureParam(param gdnative.String) TextureImplementer
Args: [{ false param String}], Returns: Texture
func (*Shader) GetMode ¶
func (o *Shader) GetMode() ShaderMode
Args: [], Returns: enum.Shader::Mode
func (*Shader) SetDefaultTextureParam ¶
func (o *Shader) SetDefaultTextureParam(param gdnative.String, texture TextureImplementer)
Args: [{ false param String} { false texture Texture}], Returns: void
type ShaderImplementer ¶
type ShaderImplementer interface { ResourceImplementer GetCode() gdnative.String GetDefaultTextureParam(param gdnative.String) TextureImplementer HasParam(name gdnative.String) gdnative.Bool SetCode(code gdnative.String) SetDefaultTextureParam(param gdnative.String, texture TextureImplementer) }
ShaderImplementer is an interface that implements the methods of the Shader class.
type ShaderMaterial ¶
type ShaderMaterial struct { Material // contains filtered or unexported fields }
func (*ShaderMaterial) BaseClass ¶
func (o *ShaderMaterial) BaseClass() string
func (*ShaderMaterial) GetShader ¶
func (o *ShaderMaterial) GetShader() ShaderImplementer
Undocumented Args: [], Returns: Shader
func (*ShaderMaterial) GetShaderParam ¶
func (o *ShaderMaterial) GetShaderParam(param gdnative.String) gdnative.Variant
Args: [{ false param String}], Returns: Variant
func (*ShaderMaterial) SetShader ¶
func (o *ShaderMaterial) SetShader(shader ShaderImplementer)
Undocumented Args: [{ false shader Shader}], Returns: void
func (*ShaderMaterial) SetShaderParam ¶
func (o *ShaderMaterial) SetShaderParam(param gdnative.String, value gdnative.Variant)
Args: [{ false param String} { false value Variant}], Returns: void
type ShaderMaterialImplementer ¶
type ShaderMaterialImplementer interface { MaterialImplementer GetShader() ShaderImplementer GetShaderParam(param gdnative.String) gdnative.Variant SetShader(shader ShaderImplementer) SetShaderParam(param gdnative.String, value gdnative.Variant) }
ShaderMaterialImplementer is an interface that implements the methods of the ShaderMaterial class.
type ShaderMode ¶
type ShaderMode int
ShaderMode is an enum for Mode values.
const ( ShaderModeCanvasItem ShaderMode = 1 ShaderModeParticles ShaderMode = 2 ShaderModeSpatial ShaderMode = 0 )
type Shape ¶
type Shape struct { Resource // contains filtered or unexported fields }
Base class for all 3D shape resources. All 3D shapes that inherit from this can be set into a PhysicsBody or Area.
type Shape2D ¶
type Shape2D struct { Resource // contains filtered or unexported fields }
Base class for all 2D Shapes. All 2D shape types inherit from this.
func (*Shape2D) Collide ¶
func (o *Shape2D) Collide(localXform gdnative.Transform2D, withShape Shape2DImplementer, shapeXform gdnative.Transform2D) gdnative.Bool
Return whether this shape is colliding with another. This method needs the transformation matrix for this shape ([code]local_xform[/code]), the shape to check collisions with ([code]with_shape[/code]), and the transformation matrix of that shape ([code]shape_xform[/code]). Args: [{ false local_xform Transform2D} { false with_shape Shape2D} { false shape_xform Transform2D}], Returns: bool
func (*Shape2D) CollideAndGetContacts ¶
func (o *Shape2D) CollideAndGetContacts(localXform gdnative.Transform2D, withShape Shape2DImplementer, shapeXform gdnative.Transform2D) gdnative.Variant
Return a list of the points where this shape touches another. If there are no collisions, the list is empty. This method needs the transformation matrix for this shape ([code]local_xform[/code]), the shape to check collisions with ([code]with_shape[/code]), and the transformation matrix of that shape ([code]shape_xform[/code]). Args: [{ false local_xform Transform2D} { false with_shape Shape2D} { false shape_xform Transform2D}], Returns: Variant
func (*Shape2D) CollideWithMotion ¶
func (o *Shape2D) CollideWithMotion(localXform gdnative.Transform2D, localMotion gdnative.Vector2, withShape Shape2DImplementer, shapeXform gdnative.Transform2D, shapeMotion gdnative.Vector2) gdnative.Bool
Return whether this shape would collide with another, if a given movement was applied. This method needs the transformation matrix for this shape ([code]local_xform[/code]), the movement to test on this shape ([code]local_motion[/code]), the shape to check collisions with ([code]with_shape[/code]), the transformation matrix of that shape ([code]shape_xform[/code]), and the movement to test onto the other object ([code]shape_motion[/code]). Args: [{ false local_xform Transform2D} { false local_motion Vector2} { false with_shape Shape2D} { false shape_xform Transform2D} { false shape_motion Vector2}], Returns: bool
func (*Shape2D) CollideWithMotionAndGetContacts ¶
func (o *Shape2D) CollideWithMotionAndGetContacts(localXform gdnative.Transform2D, localMotion gdnative.Vector2, withShape Shape2DImplementer, shapeXform gdnative.Transform2D, shapeMotion gdnative.Vector2) gdnative.Variant
Return a list of the points where this shape would touch another, if a given movement was applied. If there are no collisions, the list is empty. This method needs the transformation matrix for this shape ([code]local_xform[/code]), the movement to test on this shape ([code]local_motion[/code]), the shape to check collisions with ([code]with_shape[/code]), the transformation matrix of that shape ([code]shape_xform[/code]), and the movement to test onto the other object ([code]shape_motion[/code]). Args: [{ false local_xform Transform2D} { false local_motion Vector2} { false with_shape Shape2D} { false shape_xform Transform2D} { false shape_motion Vector2}], Returns: Variant
func (*Shape2D) GetCustomSolverBias ¶
Undocumented Args: [], Returns: float
func (*Shape2D) SetCustomSolverBias ¶
Undocumented Args: [{ false bias float}], Returns: void
type Shape2DImplementer ¶
type Shape2DImplementer interface { ResourceImplementer Collide(localXform gdnative.Transform2D, withShape Shape2DImplementer, shapeXform gdnative.Transform2D) gdnative.Bool CollideAndGetContacts(localXform gdnative.Transform2D, withShape Shape2DImplementer, shapeXform gdnative.Transform2D) gdnative.Variant CollideWithMotion(localXform gdnative.Transform2D, localMotion gdnative.Vector2, withShape Shape2DImplementer, shapeXform gdnative.Transform2D, shapeMotion gdnative.Vector2) gdnative.Bool CollideWithMotionAndGetContacts(localXform gdnative.Transform2D, localMotion gdnative.Vector2, withShape Shape2DImplementer, shapeXform gdnative.Transform2D, shapeMotion gdnative.Vector2) gdnative.Variant GetCustomSolverBias() gdnative.Real SetCustomSolverBias(bias gdnative.Real) }
Shape2DImplementer is an interface that implements the methods of the Shape2D class.
type ShapeImplementer ¶
type ShapeImplementer interface { ResourceImplementer }
ShapeImplementer is an interface that implements the methods of the Shape class.
type ShortCut ¶
type ShortCut struct { Resource // contains filtered or unexported fields }
A shortcut for binding input. Shortcuts are commonly used for interacting with a Control element from a InputEvent.
func (*ShortCut) GetAsText ¶
Returns the Shortcut's [InputEvent] as a [String]. Args: [], Returns: String
func (*ShortCut) GetShortcut ¶
func (o *ShortCut) GetShortcut() InputEventImplementer
Undocumented Args: [], Returns: InputEvent
func (*ShortCut) IsShortcut ¶
func (o *ShortCut) IsShortcut(event InputEventImplementer) gdnative.Bool
Returns [code]true[/code] if the Shortcut's [InputEvent] equals [code]event[/code]. Args: [{ false event InputEvent}], Returns: bool
func (*ShortCut) SetShortcut ¶
func (o *ShortCut) SetShortcut(event InputEventImplementer)
Undocumented Args: [{ false event InputEvent}], Returns: void
type ShortCutImplementer ¶
type ShortCutImplementer interface { ResourceImplementer GetAsText() gdnative.String GetShortcut() InputEventImplementer IsShortcut(event InputEventImplementer) gdnative.Bool IsValid() gdnative.Bool SetShortcut(event InputEventImplementer) }
ShortCutImplementer is an interface that implements the methods of the ShortCut class.
type Signal ¶
type Signal struct { Name string Args []SignalArg DefaultArgs []SignalDefaultArg }
Signal is a structure definition that defines a custom Godot signal.
type SignalArg ¶
type SignalArg struct { Name gdnative.String Value interface{} Hint gdnative.PropertyHint HintString gdnative.String Usage gdnative.PropertyUsageFlags }
SignalArg is any valid Godot class or variant type.
type SignalDefaultArg ¶
type SignalDefaultArg interface{}
type Skeleton ¶
type Skeleton struct { Spatial // contains filtered or unexported fields }
Skeleton provides a hierarchical interface for managing bones, including pose, rest and animation (see Animation). Skeleton will support rag doll dynamics in the future.
func (*Skeleton) AddBone ¶
Add a bone, with name "name". [method get_bone_count] will become the bone index. Args: [{ false name String}], Returns: void
func (*Skeleton) BindChildNodeToBone ¶
func (o *Skeleton) BindChildNodeToBone(boneIdx gdnative.Int, node ObjectImplementer)
Deprecated soon. Args: [{ false bone_idx int} { false node Object}], Returns: void
func (*Skeleton) ClearBones ¶
func (o *Skeleton) ClearBones()
Clear all the bones in this skeleton. Args: [], Returns: void
func (*Skeleton) FindBone ¶
Return the bone index that matches "name" as its name. Args: [{ false name String}], Returns: int
func (*Skeleton) GetBoneCount ¶
Return the amount of bones in the skeleton. Args: [], Returns: int
func (*Skeleton) GetBoneCustomPose ¶
Args: [{ false bone_idx int}], Returns: Transform
func (*Skeleton) GetBoneGlobalPose ¶
Args: [{ false bone_idx int}], Returns: Transform
func (*Skeleton) GetBoneName ¶
Return the name of the bone at index "index" Args: [{ false bone_idx int}], Returns: String
func (*Skeleton) GetBoneParent ¶
Return the bone index which is the parent of the bone at "bone_idx". If -1, then bone has no parent. Note that the parent bone returned will always be less than "bone_idx". Args: [{ false bone_idx int}], Returns: int
func (*Skeleton) GetBonePose ¶
Return the pose transform for bone "bone_idx". Args: [{ false bone_idx int}], Returns: Transform
func (*Skeleton) GetBoneRest ¶
Return the rest transform for a bone "bone_idx". Args: [{ false bone_idx int}], Returns: Transform
func (*Skeleton) GetBoneTransform ¶
Args: [{ false bone_idx int}], Returns: Transform
func (*Skeleton) GetBoundChildNodesToBone ¶
Deprecated soon. Args: [{ false bone_idx int}], Returns: Array
func (*Skeleton) IsBoneRestDisabled ¶
Args: [{ false bone_idx int}], Returns: bool
func (*Skeleton) SetBoneCustomPose ¶
Args: [{ false bone_idx int} { false custom_pose Transform}], Returns: void
func (*Skeleton) SetBoneDisableRest ¶
Args: [{ false bone_idx int} { false disable bool}], Returns: void
func (*Skeleton) SetBoneGlobalPose ¶
Args: [{ false bone_idx int} { false pose Transform}], Returns: void
func (*Skeleton) SetBoneParent ¶
Set the bone index "parent_idx" as the parent of the bone at "bone_idx". If -1, then bone has no parent. Note: "parent_idx" must be less than "bone_idx". Args: [{ false bone_idx int} { false parent_idx int}], Returns: void
func (*Skeleton) SetBonePose ¶
Return the pose transform for bone "bone_idx". Args: [{ false bone_idx int} { false pose Transform}], Returns: void
func (*Skeleton) SetBoneRest ¶
Set the rest transform for bone "bone_idx" Args: [{ false bone_idx int} { false rest Transform}], Returns: void
func (*Skeleton) UnbindChildNodeFromBone ¶
func (o *Skeleton) UnbindChildNodeFromBone(boneIdx gdnative.Int, node ObjectImplementer)
Deprecated soon. Args: [{ false bone_idx int} { false node Object}], Returns: void
func (*Skeleton) UnparentBoneAndRest ¶
Args: [{ false bone_idx int}], Returns: void
type SkeletonImplementer ¶
type SkeletonImplementer interface { SpatialImplementer AddBone(name gdnative.String) BindChildNodeToBone(boneIdx gdnative.Int, node ObjectImplementer) ClearBones() FindBone(name gdnative.String) gdnative.Int GetBoneCount() gdnative.Int GetBoneCustomPose(boneIdx gdnative.Int) gdnative.Transform GetBoneGlobalPose(boneIdx gdnative.Int) gdnative.Transform GetBoneName(boneIdx gdnative.Int) gdnative.String GetBoneParent(boneIdx gdnative.Int) gdnative.Int GetBonePose(boneIdx gdnative.Int) gdnative.Transform GetBoneRest(boneIdx gdnative.Int) gdnative.Transform GetBoneTransform(boneIdx gdnative.Int) gdnative.Transform GetBoundChildNodesToBone(boneIdx gdnative.Int) gdnative.Array IsBoneRestDisabled(boneIdx gdnative.Int) gdnative.Bool SetBoneCustomPose(boneIdx gdnative.Int, customPose gdnative.Transform) SetBoneDisableRest(boneIdx gdnative.Int, disable gdnative.Bool) SetBoneGlobalPose(boneIdx gdnative.Int, pose gdnative.Transform) SetBoneParent(boneIdx gdnative.Int, parentIdx gdnative.Int) SetBonePose(boneIdx gdnative.Int, pose gdnative.Transform) SetBoneRest(boneIdx gdnative.Int, rest gdnative.Transform) UnbindChildNodeFromBone(boneIdx gdnative.Int, node ObjectImplementer) UnparentBoneAndRest(boneIdx gdnative.Int) }
SkeletonImplementer is an interface that implements the methods of the Skeleton class.
type Sky ¶
type Sky struct { Resource // contains filtered or unexported fields }
The base class for PanoramaSky and ProceduralSky.
func (*Sky) GetRadianceSize ¶
func (o *Sky) GetRadianceSize() SkyRadianceSize
Undocumented Args: [], Returns: enum.Sky::RadianceSize
func (*Sky) SetRadianceSize ¶
Undocumented Args: [{ false size int}], Returns: void
type SkyImplementer ¶
type SkyImplementer interface { ResourceImplementer SetRadianceSize(size gdnative.Int) }
SkyImplementer is an interface that implements the methods of the Sky class.
type SkyRadianceSize ¶
type SkyRadianceSize int
SkyRadianceSize is an enum for RadianceSize values.
const ( SkyRadianceSize1024 SkyRadianceSize = 5 SkyRadianceSize128 SkyRadianceSize = 2 SkyRadianceSize2048 SkyRadianceSize = 6 SkyRadianceSize256 SkyRadianceSize = 3 SkyRadianceSize32 SkyRadianceSize = 0 SkyRadianceSize512 SkyRadianceSize = 4 SkyRadianceSize64 SkyRadianceSize = 1 SkyRadianceSizeMax SkyRadianceSize = 7 )
type Slider ¶
type Slider struct { Range // contains filtered or unexported fields }
Base class for GUI Sliders.
func (*Slider) GetTicksOnBorders ¶
Undocumented Args: [], Returns: bool
func (*Slider) IsEditable ¶
Undocumented Args: [], Returns: bool
func (*Slider) SetEditable ¶
Undocumented Args: [{ false editable bool}], Returns: void
func (*Slider) SetTicksOnBorders ¶
Undocumented Args: [{ false ticks_on_border bool}], Returns: void
func (*Slider) X_GuiInput ¶
func (o *Slider) X_GuiInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
type SliderImplementer ¶
type SliderImplementer interface { RangeImplementer GetTicks() gdnative.Int GetTicksOnBorders() gdnative.Bool IsEditable() gdnative.Bool SetEditable(editable gdnative.Bool) SetTicks(count gdnative.Int) SetTicksOnBorders(ticksOnBorder gdnative.Bool) }
SliderImplementer is an interface that implements the methods of the Slider class.
type SliderJoint ¶
type SliderJoint struct { Joint // contains filtered or unexported fields }
Slides across the x-axis of the [Pivot] object.
func (*SliderJoint) BaseClass ¶
func (o *SliderJoint) BaseClass() string
func (*SliderJoint) GetParam ¶
func (o *SliderJoint) GetParam(param gdnative.Int) gdnative.Real
Undocumented Args: [{ false param int}], Returns: float
func (*SliderJoint) SetParam ¶
func (o *SliderJoint) SetParam(param gdnative.Int, value gdnative.Real)
Undocumented Args: [{ false param int} { false value float}], Returns: void
func (*SliderJoint) X_GetLowerLimitAngular ¶
func (o *SliderJoint) X_GetLowerLimitAngular() gdnative.Real
Undocumented Args: [], Returns: float
func (*SliderJoint) X_GetUpperLimitAngular ¶
func (o *SliderJoint) X_GetUpperLimitAngular() gdnative.Real
Undocumented Args: [], Returns: float
func (*SliderJoint) X_SetLowerLimitAngular ¶
func (o *SliderJoint) X_SetLowerLimitAngular(lowerLimitAngular gdnative.Real)
Undocumented Args: [{ false lower_limit_angular float}], Returns: void
func (*SliderJoint) X_SetUpperLimitAngular ¶
func (o *SliderJoint) X_SetUpperLimitAngular(upperLimitAngular gdnative.Real)
Undocumented Args: [{ false upper_limit_angular float}], Returns: void
type SliderJointImplementer ¶
type SliderJointImplementer interface { JointImplementer X_GetLowerLimitAngular() gdnative.Real X_GetUpperLimitAngular() gdnative.Real X_SetLowerLimitAngular(lowerLimitAngular gdnative.Real) X_SetUpperLimitAngular(upperLimitAngular gdnative.Real) GetParam(param gdnative.Int) gdnative.Real SetParam(param gdnative.Int, value gdnative.Real) }
SliderJointImplementer is an interface that implements the methods of the SliderJoint class.
type SliderJointParam ¶
type SliderJointParam int
SliderJointParam is an enum for Param values.
const ( SliderJointParamAngularLimitDamping SliderJointParam = 15 SliderJointParamAngularLimitLower SliderJointParam = 12 SliderJointParamAngularLimitRestitution SliderJointParam = 14 SliderJointParamAngularLimitSoftness SliderJointParam = 13 SliderJointParamAngularLimitUpper SliderJointParam = 11 SliderJointParamAngularMotionDamping SliderJointParam = 18 SliderJointParamAngularMotionRestitution SliderJointParam = 17 SliderJointParamAngularMotionSoftness SliderJointParam = 16 SliderJointParamAngularOrthogonalDamping SliderJointParam = 21 SliderJointParamAngularOrthogonalRestitution SliderJointParam = 20 SliderJointParamAngularOrthogonalSoftness SliderJointParam = 19 SliderJointParamLinearLimitDamping SliderJointParam = 4 SliderJointParamLinearLimitLower SliderJointParam = 1 SliderJointParamLinearLimitRestitution SliderJointParam = 3 SliderJointParamLinearLimitSoftness SliderJointParam = 2 SliderJointParamLinearLimitUpper SliderJointParam = 0 SliderJointParamLinearMotionDamping SliderJointParam = 7 SliderJointParamLinearMotionRestitution SliderJointParam = 6 SliderJointParamLinearMotionSoftness SliderJointParam = 5 SliderJointParamLinearOrthogonalDamping SliderJointParam = 10 SliderJointParamLinearOrthogonalRestitution SliderJointParam = 9 SliderJointParamLinearOrthogonalSoftness SliderJointParam = 8 SliderJointParamMax SliderJointParam = 22 )
type Spatial ¶
type Spatial struct { Node // contains filtered or unexported fields }
Most basic 3D game object, with a 3D [Transform] and visibility settings. All other 3D game objects inherit from Spatial. Use Spatial as a parent node to move, scale, rotate and show/hide children in a 3D project. Affine operations (rotate, scale, translate) happen in parent's local coordinate system, unless the Spatial object is set as top level. Affine operations in this coordinate system correspond to direct affine operations on the Spatial's transform. The word local below refers to this coordinate system. The coordinate system that is attached to the Spatial object itself is referred to as object-local coordinate system.
func (*Spatial) GetGizmo ¶
func (o *Spatial) GetGizmo() SpatialGizmoImplementer
Undocumented Args: [], Returns: SpatialGizmo
func (*Spatial) GetGlobalTransform ¶
Undocumented Args: [], Returns: Transform
func (*Spatial) GetParentSpatial ¶
func (o *Spatial) GetParentSpatial() SpatialImplementer
Returns the parent [code]Spatial[/code], or an empty [Object] if no parent exists or parent is not of type [code]Spatial[/code]. Args: [], Returns: Spatial
func (*Spatial) GetRotation ¶
Undocumented Args: [], Returns: Vector3
func (*Spatial) GetRotationDegrees ¶
Undocumented Args: [], Returns: Vector3
func (*Spatial) GetTransform ¶
Undocumented Args: [], Returns: Transform
func (*Spatial) GetTranslation ¶
Undocumented Args: [], Returns: Vector3
func (*Spatial) GetWorld ¶
func (o *Spatial) GetWorld() WorldImplementer
Returns the current [World] resource this Spatial node is registered to. Args: [], Returns: World
func (*Spatial) GlobalRotate ¶
Rotates the global (world) transformation around axis, a unit [Vector3], by specified angle in radians. The rotation axis is in global coordinate system. Args: [{ false axis Vector3} { false angle float}], Returns: void
func (*Spatial) GlobalScale ¶
Args: [{ false scale Vector3}], Returns: void
func (*Spatial) GlobalTranslate ¶
Moves the global (world) transformation by [Vector3] offset. The offset is in global coordinate system. Args: [{ false offset Vector3}], Returns: void
func (*Spatial) Hide ¶
func (o *Spatial) Hide()
Disables rendering of this node. Change Spatial Visible property to false. Args: [], Returns: void
func (*Spatial) IsLocalTransformNotificationEnabled ¶
Returns whether node notifies about its local transformation changes. Spatial will not propagate this by default. Args: [], Returns: bool
func (*Spatial) IsSetAsToplevel ¶
Returns whether this node is set as Toplevel, that is whether it ignores its parent nodes transformations. Args: [], Returns: bool
func (*Spatial) IsTransformNotificationEnabled ¶
Returns whether the node notifies about its global and local transformation changes. Spatial will not propagate this by default. Args: [], Returns: bool
func (*Spatial) IsVisibleInTree ¶
Returns whether the node is visible, taking into consideration that its parents visibility. Args: [], Returns: bool
func (*Spatial) LookAt ¶
Rotates itself to point into direction of target position. Operations take place in global space. Args: [{ false target Vector3} { false up Vector3}], Returns: void
func (*Spatial) LookAtFromPosition ¶
func (o *Spatial) LookAtFromPosition(position gdnative.Vector3, target gdnative.Vector3, up gdnative.Vector3)
Moves the node to specified position and then rotates itself to point into direction of target position. Operations take place in global space. Args: [{ false position Vector3} { false target Vector3} { false up Vector3}], Returns: void
func (*Spatial) Orthonormalize ¶
func (o *Spatial) Orthonormalize()
Resets this node's transformations (like scale, skew and taper) preserving its rotation and translation by performing Gram-Schmidt orthonormalization on this node's [Transform3D]. Args: [], Returns: void
func (*Spatial) Rotate ¶
Rotates the local transformation around axis, a unit [Vector3], by specified angle in radians. Args: [{ false axis Vector3} { false angle float}], Returns: void
func (*Spatial) RotateObjectLocal ¶
Rotates the local transformation around axis, a unit [Vector3], by specified angle in radians. The rotation axis is in object-local coordinate system. Args: [{ false axis Vector3} { false angle float}], Returns: void
func (*Spatial) RotateX ¶
Rotates the local transformation around the X axis by angle in radians Args: [{ false angle float}], Returns: void
func (*Spatial) RotateY ¶
Rotates the local transformation around the Y axis by angle in radians. Args: [{ false angle float}], Returns: void
func (*Spatial) RotateZ ¶
Rotates the local transformation around the Z axis by angle in radians. Args: [{ false angle float}], Returns: void
func (*Spatial) ScaleObjectLocal ¶
Scales the local transformation by given 3D scale factors in object-local coordinate system. Args: [{ false scale Vector3}], Returns: void
func (*Spatial) SetAsToplevel ¶
Makes the node ignore its parents transformations. Node transformations are only in global space. Args: [{ false enable bool}], Returns: void
func (*Spatial) SetGizmo ¶
func (o *Spatial) SetGizmo(gizmo SpatialGizmoImplementer)
Undocumented Args: [{ false gizmo SpatialGizmo}], Returns: void
func (*Spatial) SetGlobalTransform ¶
Undocumented Args: [{ false global Transform}], Returns: void
func (*Spatial) SetIdentity ¶
func (o *Spatial) SetIdentity()
Reset all transformations for this node. Set its [Transform3D] to identity matrix. Args: [], Returns: void
func (*Spatial) SetIgnoreTransformNotification ¶
Set whether the node ignores notification that its transformation (global or local) changed. Args: [{ false enabled bool}], Returns: void
func (*Spatial) SetNotifyLocalTransform ¶
Set whether the node notifies about its local transformation changes. Spatial will not propagate this by default. Args: [{ false enable bool}], Returns: void
func (*Spatial) SetNotifyTransform ¶
Set whether the node notifies about its global and local transformation changes. Spatial will not propagate this by default. Args: [{ false enable bool}], Returns: void
func (*Spatial) SetRotation ¶
Undocumented Args: [{ false euler Vector3}], Returns: void
func (*Spatial) SetRotationDegrees ¶
Undocumented Args: [{ false euler_degrees Vector3}], Returns: void
func (*Spatial) SetTransform ¶
Undocumented Args: [{ false local Transform}], Returns: void
func (*Spatial) SetTranslation ¶
Undocumented Args: [{ false translation Vector3}], Returns: void
func (*Spatial) SetVisible ¶
Undocumented Args: [{ false visible bool}], Returns: void
func (*Spatial) Show ¶
func (o *Spatial) Show()
Enables rendering of this node. Change Spatial Visible property to "True". Args: [], Returns: void
func (*Spatial) ToGlobal ¶
Transforms [Vector3] "local_point" from this node's local space to world space. Args: [{ false local_point Vector3}], Returns: Vector3
func (*Spatial) ToLocal ¶
Transforms [Vector3] "global_point" from world space to this node's local space. Args: [{ false global_point Vector3}], Returns: Vector3
func (*Spatial) Translate ¶
Changes the node's position by given offset [Vector3]. Args: [{ false offset Vector3}], Returns: void
func (*Spatial) TranslateObjectLocal ¶
Args: [{ false offset Vector3}], Returns: void
func (*Spatial) UpdateGizmo ¶
func (o *Spatial) UpdateGizmo()
Updates the [SpatialGizmo] of this node. Args: [], Returns: void
func (*Spatial) X_UpdateGizmo ¶
func (o *Spatial) X_UpdateGizmo()
Undocumented Args: [], Returns: void
type SpatialGizmo ¶
type SpatialGizmo struct { Reference // contains filtered or unexported fields }
func (*SpatialGizmo) BaseClass ¶
func (o *SpatialGizmo) BaseClass() string
type SpatialGizmoImplementer ¶
type SpatialGizmoImplementer interface { ReferenceImplementer }
SpatialGizmoImplementer is an interface that implements the methods of the SpatialGizmo class.
type SpatialImplementer ¶
type SpatialImplementer interface { NodeImplementer X_UpdateGizmo() GetGizmo() SpatialGizmoImplementer GetGlobalTransform() gdnative.Transform GetParentSpatial() SpatialImplementer GetRotation() gdnative.Vector3 GetRotationDegrees() gdnative.Vector3 GetScale() gdnative.Vector3 GetTransform() gdnative.Transform GetTranslation() gdnative.Vector3 GetWorld() WorldImplementer GlobalRotate(axis gdnative.Vector3, angle gdnative.Real) GlobalScale(scale gdnative.Vector3) GlobalTranslate(offset gdnative.Vector3) Hide() IsLocalTransformNotificationEnabled() gdnative.Bool IsSetAsToplevel() gdnative.Bool IsTransformNotificationEnabled() gdnative.Bool IsVisible() gdnative.Bool IsVisibleInTree() gdnative.Bool LookAt(target gdnative.Vector3, up gdnative.Vector3) LookAtFromPosition(position gdnative.Vector3, target gdnative.Vector3, up gdnative.Vector3) Orthonormalize() Rotate(axis gdnative.Vector3, angle gdnative.Real) RotateObjectLocal(axis gdnative.Vector3, angle gdnative.Real) RotateX(angle gdnative.Real) RotateY(angle gdnative.Real) RotateZ(angle gdnative.Real) ScaleObjectLocal(scale gdnative.Vector3) SetAsToplevel(enable gdnative.Bool) SetGizmo(gizmo SpatialGizmoImplementer) SetGlobalTransform(global gdnative.Transform) SetIdentity() SetIgnoreTransformNotification(enabled gdnative.Bool) SetNotifyLocalTransform(enable gdnative.Bool) SetNotifyTransform(enable gdnative.Bool) SetRotation(euler gdnative.Vector3) SetRotationDegrees(eulerDegrees gdnative.Vector3) SetScale(scale gdnative.Vector3) SetTransform(local gdnative.Transform) SetTranslation(translation gdnative.Vector3) SetVisible(visible gdnative.Bool) Show() ToGlobal(localPoint gdnative.Vector3) gdnative.Vector3 ToLocal(globalPoint gdnative.Vector3) gdnative.Vector3 Translate(offset gdnative.Vector3) TranslateObjectLocal(offset gdnative.Vector3) UpdateGizmo() }
SpatialImplementer is an interface that implements the methods of the Spatial class.
type SpatialMaterial ¶
type SpatialMaterial struct { Material // contains filtered or unexported fields }
func (*SpatialMaterial) BaseClass ¶
func (o *SpatialMaterial) BaseClass() string
func (*SpatialMaterial) GetAlbedo ¶
func (o *SpatialMaterial) GetAlbedo() gdnative.Color
Undocumented Args: [], Returns: Color
func (*SpatialMaterial) GetAlphaScissorThreshold ¶
func (o *SpatialMaterial) GetAlphaScissorThreshold() gdnative.Real
Undocumented Args: [], Returns: float
func (*SpatialMaterial) GetAnisotropy ¶
func (o *SpatialMaterial) GetAnisotropy() gdnative.Real
Undocumented Args: [], Returns: float
func (*SpatialMaterial) GetAoLightAffect ¶
func (o *SpatialMaterial) GetAoLightAffect() gdnative.Real
Undocumented Args: [], Returns: float
func (*SpatialMaterial) GetAoTextureChannel ¶
func (o *SpatialMaterial) GetAoTextureChannel() SpatialMaterialTextureChannel
Undocumented Args: [], Returns: enum.SpatialMaterial::TextureChannel
func (*SpatialMaterial) GetBillboardMode ¶
func (o *SpatialMaterial) GetBillboardMode() SpatialMaterialBillboardMode
Undocumented Args: [], Returns: enum.SpatialMaterial::BillboardMode
func (*SpatialMaterial) GetBlendMode ¶
func (o *SpatialMaterial) GetBlendMode() SpatialMaterialBlendMode
Undocumented Args: [], Returns: enum.SpatialMaterial::BlendMode
func (*SpatialMaterial) GetClearcoat ¶
func (o *SpatialMaterial) GetClearcoat() gdnative.Real
Undocumented Args: [], Returns: float
func (*SpatialMaterial) GetClearcoatGloss ¶
func (o *SpatialMaterial) GetClearcoatGloss() gdnative.Real
Undocumented Args: [], Returns: float
func (*SpatialMaterial) GetCullMode ¶
func (o *SpatialMaterial) GetCullMode() SpatialMaterialCullMode
Undocumented Args: [], Returns: enum.SpatialMaterial::CullMode
func (*SpatialMaterial) GetDepthDeepParallaxMaxLayers ¶
func (o *SpatialMaterial) GetDepthDeepParallaxMaxLayers() gdnative.Int
Undocumented Args: [], Returns: int
func (*SpatialMaterial) GetDepthDeepParallaxMinLayers ¶
func (o *SpatialMaterial) GetDepthDeepParallaxMinLayers() gdnative.Int
Undocumented Args: [], Returns: int
func (*SpatialMaterial) GetDepthDrawMode ¶
func (o *SpatialMaterial) GetDepthDrawMode() SpatialMaterialDepthDrawMode
Undocumented Args: [], Returns: enum.SpatialMaterial::DepthDrawMode
func (*SpatialMaterial) GetDepthScale ¶
func (o *SpatialMaterial) GetDepthScale() gdnative.Real
Undocumented Args: [], Returns: float
func (*SpatialMaterial) GetDetailBlendMode ¶
func (o *SpatialMaterial) GetDetailBlendMode() SpatialMaterialBlendMode
Undocumented Args: [], Returns: enum.SpatialMaterial::BlendMode
func (*SpatialMaterial) GetDetailUv ¶
func (o *SpatialMaterial) GetDetailUv() SpatialMaterialDetailUV
Undocumented Args: [], Returns: enum.SpatialMaterial::DetailUV
func (*SpatialMaterial) GetDiffuseMode ¶
func (o *SpatialMaterial) GetDiffuseMode() SpatialMaterialDiffuseMode
Undocumented Args: [], Returns: enum.SpatialMaterial::DiffuseMode
func (*SpatialMaterial) GetDistanceFadeMaxDistance ¶
func (o *SpatialMaterial) GetDistanceFadeMaxDistance() gdnative.Real
Undocumented Args: [], Returns: float
func (*SpatialMaterial) GetDistanceFadeMinDistance ¶
func (o *SpatialMaterial) GetDistanceFadeMinDistance() gdnative.Real
Undocumented Args: [], Returns: float
func (*SpatialMaterial) GetEmission ¶
func (o *SpatialMaterial) GetEmission() gdnative.Color
Undocumented Args: [], Returns: Color
func (*SpatialMaterial) GetEmissionEnergy ¶
func (o *SpatialMaterial) GetEmissionEnergy() gdnative.Real
Undocumented Args: [], Returns: float
func (*SpatialMaterial) GetEmissionOperator ¶
func (o *SpatialMaterial) GetEmissionOperator() SpatialMaterialEmissionOperator
Undocumented Args: [], Returns: enum.SpatialMaterial::EmissionOperator
func (*SpatialMaterial) GetFeature ¶
func (o *SpatialMaterial) GetFeature(feature gdnative.Int) gdnative.Bool
Undocumented Args: [{ false feature int}], Returns: bool
func (*SpatialMaterial) GetFlag ¶
func (o *SpatialMaterial) GetFlag(flag gdnative.Int) gdnative.Bool
Undocumented Args: [{ false flag int}], Returns: bool
func (*SpatialMaterial) GetGrow ¶
func (o *SpatialMaterial) GetGrow() gdnative.Real
Undocumented Args: [], Returns: float
func (*SpatialMaterial) GetLineWidth ¶
func (o *SpatialMaterial) GetLineWidth() gdnative.Real
Undocumented Args: [], Returns: float
func (*SpatialMaterial) GetMetallic ¶
func (o *SpatialMaterial) GetMetallic() gdnative.Real
Undocumented Args: [], Returns: float
func (*SpatialMaterial) GetMetallicTextureChannel ¶
func (o *SpatialMaterial) GetMetallicTextureChannel() SpatialMaterialTextureChannel
Undocumented Args: [], Returns: enum.SpatialMaterial::TextureChannel
func (*SpatialMaterial) GetNormalScale ¶
func (o *SpatialMaterial) GetNormalScale() gdnative.Real
Undocumented Args: [], Returns: float
func (*SpatialMaterial) GetParticlesAnimHFrames ¶
func (o *SpatialMaterial) GetParticlesAnimHFrames() gdnative.Int
Undocumented Args: [], Returns: int
func (*SpatialMaterial) GetParticlesAnimLoop ¶
func (o *SpatialMaterial) GetParticlesAnimLoop() gdnative.Int
Undocumented Args: [], Returns: int
func (*SpatialMaterial) GetParticlesAnimVFrames ¶
func (o *SpatialMaterial) GetParticlesAnimVFrames() gdnative.Int
Undocumented Args: [], Returns: int
func (*SpatialMaterial) GetPointSize ¶
func (o *SpatialMaterial) GetPointSize() gdnative.Real
Undocumented Args: [], Returns: float
func (*SpatialMaterial) GetProximityFadeDistance ¶
func (o *SpatialMaterial) GetProximityFadeDistance() gdnative.Real
Undocumented Args: [], Returns: float
func (*SpatialMaterial) GetRefraction ¶
func (o *SpatialMaterial) GetRefraction() gdnative.Real
Undocumented Args: [], Returns: float
func (*SpatialMaterial) GetRefractionTextureChannel ¶
func (o *SpatialMaterial) GetRefractionTextureChannel() SpatialMaterialTextureChannel
Undocumented Args: [], Returns: enum.SpatialMaterial::TextureChannel
func (*SpatialMaterial) GetRim ¶
func (o *SpatialMaterial) GetRim() gdnative.Real
Undocumented Args: [], Returns: float
func (*SpatialMaterial) GetRimTint ¶
func (o *SpatialMaterial) GetRimTint() gdnative.Real
Undocumented Args: [], Returns: float
func (*SpatialMaterial) GetRoughness ¶
func (o *SpatialMaterial) GetRoughness() gdnative.Real
Undocumented Args: [], Returns: float
func (*SpatialMaterial) GetRoughnessTextureChannel ¶
func (o *SpatialMaterial) GetRoughnessTextureChannel() SpatialMaterialTextureChannel
Undocumented Args: [], Returns: enum.SpatialMaterial::TextureChannel
func (*SpatialMaterial) GetSpecular ¶
func (o *SpatialMaterial) GetSpecular() gdnative.Real
Undocumented Args: [], Returns: float
func (*SpatialMaterial) GetSpecularMode ¶
func (o *SpatialMaterial) GetSpecularMode() SpatialMaterialSpecularMode
Undocumented Args: [], Returns: enum.SpatialMaterial::SpecularMode
func (*SpatialMaterial) GetSubsurfaceScatteringStrength ¶
func (o *SpatialMaterial) GetSubsurfaceScatteringStrength() gdnative.Real
Undocumented Args: [], Returns: float
func (*SpatialMaterial) GetTexture ¶
func (o *SpatialMaterial) GetTexture(param gdnative.Int) TextureImplementer
Undocumented Args: [{ false param int}], Returns: Texture
func (*SpatialMaterial) GetTransmission ¶
func (o *SpatialMaterial) GetTransmission() gdnative.Color
Undocumented Args: [], Returns: Color
func (*SpatialMaterial) GetUv1Offset ¶
func (o *SpatialMaterial) GetUv1Offset() gdnative.Vector3
Undocumented Args: [], Returns: Vector3
func (*SpatialMaterial) GetUv1Scale ¶
func (o *SpatialMaterial) GetUv1Scale() gdnative.Vector3
Undocumented Args: [], Returns: Vector3
func (*SpatialMaterial) GetUv1TriplanarBlendSharpness ¶
func (o *SpatialMaterial) GetUv1TriplanarBlendSharpness() gdnative.Real
Undocumented Args: [], Returns: float
func (*SpatialMaterial) GetUv2Offset ¶
func (o *SpatialMaterial) GetUv2Offset() gdnative.Vector3
Undocumented Args: [], Returns: Vector3
func (*SpatialMaterial) GetUv2Scale ¶
func (o *SpatialMaterial) GetUv2Scale() gdnative.Vector3
Undocumented Args: [], Returns: Vector3
func (*SpatialMaterial) GetUv2TriplanarBlendSharpness ¶
func (o *SpatialMaterial) GetUv2TriplanarBlendSharpness() gdnative.Real
Undocumented Args: [], Returns: float
func (*SpatialMaterial) IsDepthDeepParallaxEnabled ¶
func (o *SpatialMaterial) IsDepthDeepParallaxEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*SpatialMaterial) IsDistanceFadeEnabled ¶
func (o *SpatialMaterial) IsDistanceFadeEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*SpatialMaterial) IsGrowEnabled ¶
func (o *SpatialMaterial) IsGrowEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*SpatialMaterial) IsProximityFadeEnabled ¶
func (o *SpatialMaterial) IsProximityFadeEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*SpatialMaterial) SetAlbedo ¶
func (o *SpatialMaterial) SetAlbedo(albedo gdnative.Color)
Undocumented Args: [{ false albedo Color}], Returns: void
func (*SpatialMaterial) SetAlphaScissorThreshold ¶
func (o *SpatialMaterial) SetAlphaScissorThreshold(threshold gdnative.Real)
Undocumented Args: [{ false threshold float}], Returns: void
func (*SpatialMaterial) SetAnisotropy ¶
func (o *SpatialMaterial) SetAnisotropy(anisotropy gdnative.Real)
Undocumented Args: [{ false anisotropy float}], Returns: void
func (*SpatialMaterial) SetAoLightAffect ¶
func (o *SpatialMaterial) SetAoLightAffect(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
func (*SpatialMaterial) SetAoTextureChannel ¶
func (o *SpatialMaterial) SetAoTextureChannel(channel gdnative.Int)
Undocumented Args: [{ false channel int}], Returns: void
func (*SpatialMaterial) SetBillboardMode ¶
func (o *SpatialMaterial) SetBillboardMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*SpatialMaterial) SetBlendMode ¶
func (o *SpatialMaterial) SetBlendMode(blendMode gdnative.Int)
Undocumented Args: [{ false blend_mode int}], Returns: void
func (*SpatialMaterial) SetClearcoat ¶
func (o *SpatialMaterial) SetClearcoat(clearcoat gdnative.Real)
Undocumented Args: [{ false clearcoat float}], Returns: void
func (*SpatialMaterial) SetClearcoatGloss ¶
func (o *SpatialMaterial) SetClearcoatGloss(clearcoatGloss gdnative.Real)
Undocumented Args: [{ false clearcoat_gloss float}], Returns: void
func (*SpatialMaterial) SetCullMode ¶
func (o *SpatialMaterial) SetCullMode(cullMode gdnative.Int)
Undocumented Args: [{ false cull_mode int}], Returns: void
func (*SpatialMaterial) SetDepthDeepParallax ¶
func (o *SpatialMaterial) SetDepthDeepParallax(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*SpatialMaterial) SetDepthDeepParallaxMaxLayers ¶
func (o *SpatialMaterial) SetDepthDeepParallaxMaxLayers(layer gdnative.Int)
Undocumented Args: [{ false layer int}], Returns: void
func (*SpatialMaterial) SetDepthDeepParallaxMinLayers ¶
func (o *SpatialMaterial) SetDepthDeepParallaxMinLayers(layer gdnative.Int)
Undocumented Args: [{ false layer int}], Returns: void
func (*SpatialMaterial) SetDepthDrawMode ¶
func (o *SpatialMaterial) SetDepthDrawMode(depthDrawMode gdnative.Int)
Undocumented Args: [{ false depth_draw_mode int}], Returns: void
func (*SpatialMaterial) SetDepthScale ¶
func (o *SpatialMaterial) SetDepthScale(depthScale gdnative.Real)
Undocumented Args: [{ false depth_scale float}], Returns: void
func (*SpatialMaterial) SetDetailBlendMode ¶
func (o *SpatialMaterial) SetDetailBlendMode(detailBlendMode gdnative.Int)
Undocumented Args: [{ false detail_blend_mode int}], Returns: void
func (*SpatialMaterial) SetDetailUv ¶
func (o *SpatialMaterial) SetDetailUv(detailUv gdnative.Int)
Undocumented Args: [{ false detail_uv int}], Returns: void
func (*SpatialMaterial) SetDiffuseMode ¶
func (o *SpatialMaterial) SetDiffuseMode(diffuseMode gdnative.Int)
Undocumented Args: [{ false diffuse_mode int}], Returns: void
func (*SpatialMaterial) SetDistanceFade ¶
func (o *SpatialMaterial) SetDistanceFade(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*SpatialMaterial) SetDistanceFadeMaxDistance ¶
func (o *SpatialMaterial) SetDistanceFadeMaxDistance(distance gdnative.Real)
Undocumented Args: [{ false distance float}], Returns: void
func (*SpatialMaterial) SetDistanceFadeMinDistance ¶
func (o *SpatialMaterial) SetDistanceFadeMinDistance(distance gdnative.Real)
Undocumented Args: [{ false distance float}], Returns: void
func (*SpatialMaterial) SetEmission ¶
func (o *SpatialMaterial) SetEmission(emission gdnative.Color)
Undocumented Args: [{ false emission Color}], Returns: void
func (*SpatialMaterial) SetEmissionEnergy ¶
func (o *SpatialMaterial) SetEmissionEnergy(emissionEnergy gdnative.Real)
Undocumented Args: [{ false emission_energy float}], Returns: void
func (*SpatialMaterial) SetEmissionOperator ¶
func (o *SpatialMaterial) SetEmissionOperator(operator gdnative.Int)
Undocumented Args: [{ false operator int}], Returns: void
func (*SpatialMaterial) SetFeature ¶
func (o *SpatialMaterial) SetFeature(feature gdnative.Int, enable gdnative.Bool)
Undocumented Args: [{ false feature int} { false enable bool}], Returns: void
func (*SpatialMaterial) SetFlag ¶
func (o *SpatialMaterial) SetFlag(flag gdnative.Int, enable gdnative.Bool)
Undocumented Args: [{ false flag int} { false enable bool}], Returns: void
func (*SpatialMaterial) SetGrow ¶
func (o *SpatialMaterial) SetGrow(amount gdnative.Real)
Undocumented Args: [{ false amount float}], Returns: void
func (*SpatialMaterial) SetGrowEnabled ¶
func (o *SpatialMaterial) SetGrowEnabled(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*SpatialMaterial) SetLineWidth ¶
func (o *SpatialMaterial) SetLineWidth(lineWidth gdnative.Real)
Undocumented Args: [{ false line_width float}], Returns: void
func (*SpatialMaterial) SetMetallic ¶
func (o *SpatialMaterial) SetMetallic(metallic gdnative.Real)
Undocumented Args: [{ false metallic float}], Returns: void
func (*SpatialMaterial) SetMetallicTextureChannel ¶
func (o *SpatialMaterial) SetMetallicTextureChannel(channel gdnative.Int)
Undocumented Args: [{ false channel int}], Returns: void
func (*SpatialMaterial) SetNormalScale ¶
func (o *SpatialMaterial) SetNormalScale(normalScale gdnative.Real)
Undocumented Args: [{ false normal_scale float}], Returns: void
func (*SpatialMaterial) SetParticlesAnimHFrames ¶
func (o *SpatialMaterial) SetParticlesAnimHFrames(frames gdnative.Int)
Undocumented Args: [{ false frames int}], Returns: void
func (*SpatialMaterial) SetParticlesAnimLoop ¶
func (o *SpatialMaterial) SetParticlesAnimLoop(frames gdnative.Int)
Undocumented Args: [{ false frames int}], Returns: void
func (*SpatialMaterial) SetParticlesAnimVFrames ¶
func (o *SpatialMaterial) SetParticlesAnimVFrames(frames gdnative.Int)
Undocumented Args: [{ false frames int}], Returns: void
func (*SpatialMaterial) SetPointSize ¶
func (o *SpatialMaterial) SetPointSize(pointSize gdnative.Real)
Undocumented Args: [{ false point_size float}], Returns: void
func (*SpatialMaterial) SetProximityFade ¶
func (o *SpatialMaterial) SetProximityFade(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*SpatialMaterial) SetProximityFadeDistance ¶
func (o *SpatialMaterial) SetProximityFadeDistance(distance gdnative.Real)
Undocumented Args: [{ false distance float}], Returns: void
func (*SpatialMaterial) SetRefraction ¶
func (o *SpatialMaterial) SetRefraction(refraction gdnative.Real)
Undocumented Args: [{ false refraction float}], Returns: void
func (*SpatialMaterial) SetRefractionTextureChannel ¶
func (o *SpatialMaterial) SetRefractionTextureChannel(channel gdnative.Int)
Undocumented Args: [{ false channel int}], Returns: void
func (*SpatialMaterial) SetRim ¶
func (o *SpatialMaterial) SetRim(rim gdnative.Real)
Undocumented Args: [{ false rim float}], Returns: void
func (*SpatialMaterial) SetRimTint ¶
func (o *SpatialMaterial) SetRimTint(rimTint gdnative.Real)
Undocumented Args: [{ false rim_tint float}], Returns: void
func (*SpatialMaterial) SetRoughness ¶
func (o *SpatialMaterial) SetRoughness(roughness gdnative.Real)
Undocumented Args: [{ false roughness float}], Returns: void
func (*SpatialMaterial) SetRoughnessTextureChannel ¶
func (o *SpatialMaterial) SetRoughnessTextureChannel(channel gdnative.Int)
Undocumented Args: [{ false channel int}], Returns: void
func (*SpatialMaterial) SetSpecular ¶
func (o *SpatialMaterial) SetSpecular(specular gdnative.Real)
Undocumented Args: [{ false specular float}], Returns: void
func (*SpatialMaterial) SetSpecularMode ¶
func (o *SpatialMaterial) SetSpecularMode(specularMode gdnative.Int)
Undocumented Args: [{ false specular_mode int}], Returns: void
func (*SpatialMaterial) SetSubsurfaceScatteringStrength ¶
func (o *SpatialMaterial) SetSubsurfaceScatteringStrength(strength gdnative.Real)
Undocumented Args: [{ false strength float}], Returns: void
func (*SpatialMaterial) SetTexture ¶
func (o *SpatialMaterial) SetTexture(param gdnative.Int, texture TextureImplementer)
Undocumented Args: [{ false param int} { false texture Texture}], Returns: void
func (*SpatialMaterial) SetTransmission ¶
func (o *SpatialMaterial) SetTransmission(transmission gdnative.Color)
Undocumented Args: [{ false transmission Color}], Returns: void
func (*SpatialMaterial) SetUv1Offset ¶
func (o *SpatialMaterial) SetUv1Offset(offset gdnative.Vector3)
Undocumented Args: [{ false offset Vector3}], Returns: void
func (*SpatialMaterial) SetUv1Scale ¶
func (o *SpatialMaterial) SetUv1Scale(scale gdnative.Vector3)
Undocumented Args: [{ false scale Vector3}], Returns: void
func (*SpatialMaterial) SetUv1TriplanarBlendSharpness ¶
func (o *SpatialMaterial) SetUv1TriplanarBlendSharpness(sharpness gdnative.Real)
Undocumented Args: [{ false sharpness float}], Returns: void
func (*SpatialMaterial) SetUv2Offset ¶
func (o *SpatialMaterial) SetUv2Offset(offset gdnative.Vector3)
Undocumented Args: [{ false offset Vector3}], Returns: void
func (*SpatialMaterial) SetUv2Scale ¶
func (o *SpatialMaterial) SetUv2Scale(scale gdnative.Vector3)
Undocumented Args: [{ false scale Vector3}], Returns: void
func (*SpatialMaterial) SetUv2TriplanarBlendSharpness ¶
func (o *SpatialMaterial) SetUv2TriplanarBlendSharpness(sharpness gdnative.Real)
Undocumented Args: [{ false sharpness float}], Returns: void
type SpatialMaterialBillboardMode ¶
type SpatialMaterialBillboardMode int
SpatialMaterialBillboardMode is an enum for BillboardMode values.
const ( SpatialMaterialBillboardDisabled SpatialMaterialBillboardMode = 0 SpatialMaterialBillboardEnabled SpatialMaterialBillboardMode = 1 SpatialMaterialBillboardFixedY SpatialMaterialBillboardMode = 2 SpatialMaterialBillboardParticles SpatialMaterialBillboardMode = 3 )
type SpatialMaterialBlendMode ¶
type SpatialMaterialBlendMode int
SpatialMaterialBlendMode is an enum for BlendMode values.
const ( SpatialMaterialBlendModeAdd SpatialMaterialBlendMode = 1 SpatialMaterialBlendModeMix SpatialMaterialBlendMode = 0 SpatialMaterialBlendModeMul SpatialMaterialBlendMode = 3 SpatialMaterialBlendModeSub SpatialMaterialBlendMode = 2 )
type SpatialMaterialCullMode ¶
type SpatialMaterialCullMode int
SpatialMaterialCullMode is an enum for CullMode values.
const ( SpatialMaterialCullBack SpatialMaterialCullMode = 0 SpatialMaterialCullDisabled SpatialMaterialCullMode = 2 SpatialMaterialCullFront SpatialMaterialCullMode = 1 )
type SpatialMaterialDepthDrawMode ¶
type SpatialMaterialDepthDrawMode int
SpatialMaterialDepthDrawMode is an enum for DepthDrawMode values.
const ( SpatialMaterialDepthDrawAlphaOpaquePrepass SpatialMaterialDepthDrawMode = 3 SpatialMaterialDepthDrawAlways SpatialMaterialDepthDrawMode = 1 SpatialMaterialDepthDrawDisabled SpatialMaterialDepthDrawMode = 2 SpatialMaterialDepthDrawOpaqueOnly SpatialMaterialDepthDrawMode = 0 )
type SpatialMaterialDetailUV ¶
type SpatialMaterialDetailUV int
SpatialMaterialDetailUV is an enum for DetailUV values.
const ( SpatialMaterialDetailUv1 SpatialMaterialDetailUV = 0 SpatialMaterialDetailUv2 SpatialMaterialDetailUV = 1 )
type SpatialMaterialDiffuseMode ¶
type SpatialMaterialDiffuseMode int
SpatialMaterialDiffuseMode is an enum for DiffuseMode values.
const ( SpatialMaterialDiffuseBurley SpatialMaterialDiffuseMode = 0 SpatialMaterialDiffuseLambert SpatialMaterialDiffuseMode = 1 SpatialMaterialDiffuseLambertWrap SpatialMaterialDiffuseMode = 2 SpatialMaterialDiffuseOrenNayar SpatialMaterialDiffuseMode = 3 SpatialMaterialDiffuseToon SpatialMaterialDiffuseMode = 4 )
type SpatialMaterialEmissionOperator ¶
type SpatialMaterialEmissionOperator int
SpatialMaterialEmissionOperator is an enum for EmissionOperator values.
const ( SpatialMaterialEmissionOpAdd SpatialMaterialEmissionOperator = 0 SpatialMaterialEmissionOpMultiply SpatialMaterialEmissionOperator = 1 )
type SpatialMaterialFeature ¶
type SpatialMaterialFeature int
SpatialMaterialFeature is an enum for Feature values.
const ( SpatialMaterialFeatureAmbientOcclusion SpatialMaterialFeature = 6 SpatialMaterialFeatureAnisotropy SpatialMaterialFeature = 5 SpatialMaterialFeatureClearcoat SpatialMaterialFeature = 4 SpatialMaterialFeatureDepthMapping SpatialMaterialFeature = 7 SpatialMaterialFeatureDetail SpatialMaterialFeature = 11 SpatialMaterialFeatureEmission SpatialMaterialFeature = 1 SpatialMaterialFeatureMax SpatialMaterialFeature = 12 SpatialMaterialFeatureNormalMapping SpatialMaterialFeature = 2 SpatialMaterialFeatureRefraction SpatialMaterialFeature = 10 SpatialMaterialFeatureRim SpatialMaterialFeature = 3 SpatialMaterialFeatureSubsuraceScattering SpatialMaterialFeature = 8 SpatialMaterialFeatureTransmission SpatialMaterialFeature = 9 SpatialMaterialFeatureTransparent SpatialMaterialFeature = 0 )
type SpatialMaterialFlags ¶
type SpatialMaterialFlags int
SpatialMaterialFlags is an enum for Flags values.
const ( SpatialMaterialFlagAlbedoFromVertexColor SpatialMaterialFlags = 3 SpatialMaterialFlagAlbedoTextureForceSrgb SpatialMaterialFlags = 13 SpatialMaterialFlagAoOnUv2 SpatialMaterialFlags = 10 SpatialMaterialFlagDisableDepthTest SpatialMaterialFlags = 2 SpatialMaterialFlagEmissionOnUv2 SpatialMaterialFlags = 11 SpatialMaterialFlagFixedSize SpatialMaterialFlags = 6 SpatialMaterialFlagMax SpatialMaterialFlags = 14 SpatialMaterialFlagSrgbVertexColor SpatialMaterialFlags = 4 SpatialMaterialFlagTriplanarUseWorld SpatialMaterialFlags = 9 SpatialMaterialFlagUnshaded SpatialMaterialFlags = 0 SpatialMaterialFlagUseAlphaScissor SpatialMaterialFlags = 12 SpatialMaterialFlagUsePointSize SpatialMaterialFlags = 5 SpatialMaterialFlagUseVertexLighting SpatialMaterialFlags = 1 SpatialMaterialFlagUv1UseTriplanar SpatialMaterialFlags = 7 SpatialMaterialFlagUv2UseTriplanar SpatialMaterialFlags = 8 )
type SpatialMaterialImplementer ¶
type SpatialMaterialImplementer interface { MaterialImplementer GetAlbedo() gdnative.Color GetAlphaScissorThreshold() gdnative.Real GetAnisotropy() gdnative.Real GetAoLightAffect() gdnative.Real GetClearcoat() gdnative.Real GetClearcoatGloss() gdnative.Real GetDepthDeepParallaxMaxLayers() gdnative.Int GetDepthDeepParallaxMinLayers() gdnative.Int GetDepthScale() gdnative.Real GetDistanceFadeMaxDistance() gdnative.Real GetDistanceFadeMinDistance() gdnative.Real GetEmission() gdnative.Color GetEmissionEnergy() gdnative.Real GetFeature(feature gdnative.Int) gdnative.Bool GetFlag(flag gdnative.Int) gdnative.Bool GetGrow() gdnative.Real GetLineWidth() gdnative.Real GetMetallic() gdnative.Real GetNormalScale() gdnative.Real GetParticlesAnimHFrames() gdnative.Int GetParticlesAnimLoop() gdnative.Int GetParticlesAnimVFrames() gdnative.Int GetPointSize() gdnative.Real GetProximityFadeDistance() gdnative.Real GetRefraction() gdnative.Real GetRim() gdnative.Real GetRimTint() gdnative.Real GetRoughness() gdnative.Real GetSpecular() gdnative.Real GetSubsurfaceScatteringStrength() gdnative.Real GetTexture(param gdnative.Int) TextureImplementer GetTransmission() gdnative.Color GetUv1Offset() gdnative.Vector3 GetUv1Scale() gdnative.Vector3 GetUv1TriplanarBlendSharpness() gdnative.Real GetUv2Offset() gdnative.Vector3 GetUv2Scale() gdnative.Vector3 GetUv2TriplanarBlendSharpness() gdnative.Real IsDepthDeepParallaxEnabled() gdnative.Bool IsDistanceFadeEnabled() gdnative.Bool IsGrowEnabled() gdnative.Bool IsProximityFadeEnabled() gdnative.Bool SetAlbedo(albedo gdnative.Color) SetAlphaScissorThreshold(threshold gdnative.Real) SetAnisotropy(anisotropy gdnative.Real) SetAoLightAffect(amount gdnative.Real) SetAoTextureChannel(channel gdnative.Int) SetBillboardMode(mode gdnative.Int) SetBlendMode(blendMode gdnative.Int) SetClearcoat(clearcoat gdnative.Real) SetClearcoatGloss(clearcoatGloss gdnative.Real) SetCullMode(cullMode gdnative.Int) SetDepthDeepParallax(enable gdnative.Bool) SetDepthDeepParallaxMaxLayers(layer gdnative.Int) SetDepthDeepParallaxMinLayers(layer gdnative.Int) SetDepthDrawMode(depthDrawMode gdnative.Int) SetDepthScale(depthScale gdnative.Real) SetDetailBlendMode(detailBlendMode gdnative.Int) SetDetailUv(detailUv gdnative.Int) SetDiffuseMode(diffuseMode gdnative.Int) SetDistanceFade(enabled gdnative.Bool) SetDistanceFadeMaxDistance(distance gdnative.Real) SetDistanceFadeMinDistance(distance gdnative.Real) SetEmission(emission gdnative.Color) SetEmissionEnergy(emissionEnergy gdnative.Real) SetEmissionOperator(operator gdnative.Int) SetFeature(feature gdnative.Int, enable gdnative.Bool) SetFlag(flag gdnative.Int, enable gdnative.Bool) SetGrow(amount gdnative.Real) SetGrowEnabled(enable gdnative.Bool) SetLineWidth(lineWidth gdnative.Real) SetMetallic(metallic gdnative.Real) SetMetallicTextureChannel(channel gdnative.Int) SetNormalScale(normalScale gdnative.Real) SetParticlesAnimHFrames(frames gdnative.Int) SetParticlesAnimLoop(frames gdnative.Int) SetParticlesAnimVFrames(frames gdnative.Int) SetPointSize(pointSize gdnative.Real) SetProximityFade(enabled gdnative.Bool) SetProximityFadeDistance(distance gdnative.Real) SetRefraction(refraction gdnative.Real) SetRefractionTextureChannel(channel gdnative.Int) SetRim(rim gdnative.Real) SetRimTint(rimTint gdnative.Real) SetRoughness(roughness gdnative.Real) SetRoughnessTextureChannel(channel gdnative.Int) SetSpecular(specular gdnative.Real) SetSpecularMode(specularMode gdnative.Int) SetSubsurfaceScatteringStrength(strength gdnative.Real) SetTexture(param gdnative.Int, texture TextureImplementer) SetTransmission(transmission gdnative.Color) SetUv1Offset(offset gdnative.Vector3) SetUv1Scale(scale gdnative.Vector3) SetUv1TriplanarBlendSharpness(sharpness gdnative.Real) SetUv2Offset(offset gdnative.Vector3) SetUv2Scale(scale gdnative.Vector3) SetUv2TriplanarBlendSharpness(sharpness gdnative.Real) }
SpatialMaterialImplementer is an interface that implements the methods of the SpatialMaterial class.
type SpatialMaterialSpecularMode ¶
type SpatialMaterialSpecularMode int
SpatialMaterialSpecularMode is an enum for SpecularMode values.
const ( SpatialMaterialSpecularBlinn SpatialMaterialSpecularMode = 1 SpatialMaterialSpecularDisabled SpatialMaterialSpecularMode = 4 SpatialMaterialSpecularPhong SpatialMaterialSpecularMode = 2 SpatialMaterialSpecularSchlickGgx SpatialMaterialSpecularMode = 0 SpatialMaterialSpecularToon SpatialMaterialSpecularMode = 3 )
type SpatialMaterialTextureChannel ¶
type SpatialMaterialTextureChannel int
SpatialMaterialTextureChannel is an enum for TextureChannel values.
const ( SpatialMaterialTextureChannelAlpha SpatialMaterialTextureChannel = 3 SpatialMaterialTextureChannelBlue SpatialMaterialTextureChannel = 2 SpatialMaterialTextureChannelGrayscale SpatialMaterialTextureChannel = 4 SpatialMaterialTextureChannelGreen SpatialMaterialTextureChannel = 1 SpatialMaterialTextureChannelRed SpatialMaterialTextureChannel = 0 )
type SpatialMaterialTextureParam ¶
type SpatialMaterialTextureParam int
SpatialMaterialTextureParam is an enum for TextureParam values.
const ( SpatialMaterialTextureAlbedo SpatialMaterialTextureParam = 0 SpatialMaterialTextureAmbientOcclusion SpatialMaterialTextureParam = 8 SpatialMaterialTextureClearcoat SpatialMaterialTextureParam = 6 SpatialMaterialTextureDepth SpatialMaterialTextureParam = 9 SpatialMaterialTextureDetailAlbedo SpatialMaterialTextureParam = 14 SpatialMaterialTextureDetailMask SpatialMaterialTextureParam = 13 SpatialMaterialTextureDetailNormal SpatialMaterialTextureParam = 15 SpatialMaterialTextureEmission SpatialMaterialTextureParam = 3 SpatialMaterialTextureFlowmap SpatialMaterialTextureParam = 7 SpatialMaterialTextureMax SpatialMaterialTextureParam = 16 SpatialMaterialTextureMetallic SpatialMaterialTextureParam = 1 SpatialMaterialTextureNormal SpatialMaterialTextureParam = 4 SpatialMaterialTextureRefraction SpatialMaterialTextureParam = 12 SpatialMaterialTextureRim SpatialMaterialTextureParam = 5 SpatialMaterialTextureRoughness SpatialMaterialTextureParam = 2 SpatialMaterialTextureSubsurfaceScattering SpatialMaterialTextureParam = 10 SpatialMaterialTextureTransmission SpatialMaterialTextureParam = 11 )
type SpatialVelocityTracker ¶
type SpatialVelocityTracker struct { Reference // contains filtered or unexported fields }
func (*SpatialVelocityTracker) BaseClass ¶
func (o *SpatialVelocityTracker) BaseClass() string
func (*SpatialVelocityTracker) GetTrackedLinearVelocity ¶
func (o *SpatialVelocityTracker) GetTrackedLinearVelocity() gdnative.Vector3
Args: [], Returns: Vector3
func (*SpatialVelocityTracker) IsTrackingPhysicsStep ¶
func (o *SpatialVelocityTracker) IsTrackingPhysicsStep() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*SpatialVelocityTracker) Reset ¶
func (o *SpatialVelocityTracker) Reset(position gdnative.Vector3)
Args: [{ false position Vector3}], Returns: void
func (*SpatialVelocityTracker) SetTrackPhysicsStep ¶
func (o *SpatialVelocityTracker) SetTrackPhysicsStep(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*SpatialVelocityTracker) UpdatePosition ¶
func (o *SpatialVelocityTracker) UpdatePosition(position gdnative.Vector3)
Args: [{ false position Vector3}], Returns: void
type SpatialVelocityTrackerImplementer ¶
type SpatialVelocityTrackerImplementer interface { ReferenceImplementer GetTrackedLinearVelocity() gdnative.Vector3 IsTrackingPhysicsStep() gdnative.Bool Reset(position gdnative.Vector3) SetTrackPhysicsStep(enable gdnative.Bool) UpdatePosition(position gdnative.Vector3) }
SpatialVelocityTrackerImplementer is an interface that implements the methods of the SpatialVelocityTracker class.
type SphereMesh ¶
type SphereMesh struct { PrimitiveMesh // contains filtered or unexported fields }
Class representing a spherical PrimitiveMesh.
func (*SphereMesh) BaseClass ¶
func (o *SphereMesh) BaseClass() string
func (*SphereMesh) GetHeight ¶
func (o *SphereMesh) GetHeight() gdnative.Real
Undocumented Args: [], Returns: float
func (*SphereMesh) GetIsHemisphere ¶
func (o *SphereMesh) GetIsHemisphere() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*SphereMesh) GetRadialSegments ¶
func (o *SphereMesh) GetRadialSegments() gdnative.Int
Undocumented Args: [], Returns: int
func (*SphereMesh) GetRadius ¶
func (o *SphereMesh) GetRadius() gdnative.Real
Undocumented Args: [], Returns: float
func (*SphereMesh) GetRings ¶
func (o *SphereMesh) GetRings() gdnative.Int
Undocumented Args: [], Returns: int
func (*SphereMesh) SetHeight ¶
func (o *SphereMesh) SetHeight(height gdnative.Real)
Undocumented Args: [{ false height float}], Returns: void
func (*SphereMesh) SetIsHemisphere ¶
func (o *SphereMesh) SetIsHemisphere(isHemisphere gdnative.Bool)
Undocumented Args: [{ false is_hemisphere bool}], Returns: void
func (*SphereMesh) SetRadialSegments ¶
func (o *SphereMesh) SetRadialSegments(radialSegments gdnative.Int)
Undocumented Args: [{ false radial_segments int}], Returns: void
func (*SphereMesh) SetRadius ¶
func (o *SphereMesh) SetRadius(radius gdnative.Real)
Undocumented Args: [{ false radius float}], Returns: void
func (*SphereMesh) SetRings ¶
func (o *SphereMesh) SetRings(rings gdnative.Int)
Undocumented Args: [{ false rings int}], Returns: void
type SphereMeshImplementer ¶
type SphereMeshImplementer interface { PrimitiveMeshImplementer GetHeight() gdnative.Real GetIsHemisphere() gdnative.Bool GetRadialSegments() gdnative.Int GetRadius() gdnative.Real GetRings() gdnative.Int SetHeight(height gdnative.Real) SetIsHemisphere(isHemisphere gdnative.Bool) SetRadialSegments(radialSegments gdnative.Int) SetRadius(radius gdnative.Real) SetRings(rings gdnative.Int) }
SphereMeshImplementer is an interface that implements the methods of the SphereMesh class.
type SphereShape ¶
type SphereShape struct { Shape // contains filtered or unexported fields }
Sphere shape for 3D collisions, which can be set into a PhysicsBody or Area. This shape is useful for modeling sphere-like 3D objects.
func (*SphereShape) BaseClass ¶
func (o *SphereShape) BaseClass() string
func (*SphereShape) GetRadius ¶
func (o *SphereShape) GetRadius() gdnative.Real
Undocumented Args: [], Returns: float
func (*SphereShape) SetRadius ¶
func (o *SphereShape) SetRadius(radius gdnative.Real)
Undocumented Args: [{ false radius float}], Returns: void
type SphereShapeImplementer ¶
type SphereShapeImplementer interface { ShapeImplementer GetRadius() gdnative.Real SetRadius(radius gdnative.Real) }
SphereShapeImplementer is an interface that implements the methods of the SphereShape class.
type SpinBox ¶
type SpinBox struct { Range // contains filtered or unexported fields }
SpinBox is a numerical input text field. It allows entering integers and floats.
func (*SpinBox) GetLineEdit ¶
func (o *SpinBox) GetLineEdit() LineEditImplementer
Args: [], Returns: LineEdit
func (*SpinBox) IsEditable ¶
Undocumented Args: [], Returns: bool
func (*SpinBox) SetEditable ¶
Undocumented Args: [{ false editable bool}], Returns: void
func (*SpinBox) X_GuiInput ¶
func (o *SpinBox) X_GuiInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
func (*SpinBox) X_LineEditFocusExit ¶
func (o *SpinBox) X_LineEditFocusExit()
Undocumented Args: [], Returns: void
func (*SpinBox) X_LineEditInput ¶
func (o *SpinBox) X_LineEditInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
func (*SpinBox) X_RangeClickTimeout ¶
func (o *SpinBox) X_RangeClickTimeout()
Undocumented Args: [], Returns: void
func (*SpinBox) X_TextEntered ¶
Undocumented Args: [{ false arg0 String}], Returns: void
type SpinBoxImplementer ¶
type SpinBoxImplementer interface { RangeImplementer X_LineEditFocusExit() X_LineEditInput(arg0 InputEventImplementer) X_RangeClickTimeout() X_TextEntered(arg0 gdnative.String) GetLineEdit() LineEditImplementer GetPrefix() gdnative.String GetSuffix() gdnative.String IsEditable() gdnative.Bool SetEditable(editable gdnative.Bool) SetPrefix(prefix gdnative.String) SetSuffix(suffix gdnative.String) }
SpinBoxImplementer is an interface that implements the methods of the SpinBox class.
type SplitContainer ¶
type SplitContainer struct { Container // contains filtered or unexported fields }
Container for splitting two controls vertically or horizontally, with a grabber that allows adjusting the split offset or ratio.
func (*SplitContainer) BaseClass ¶
func (o *SplitContainer) BaseClass() string
func (*SplitContainer) GetDraggerVisibility ¶
func (o *SplitContainer) GetDraggerVisibility() SplitContainerDraggerVisibility
Undocumented Args: [], Returns: enum.SplitContainer::DraggerVisibility
func (*SplitContainer) GetSplitOffset ¶
func (o *SplitContainer) GetSplitOffset() gdnative.Int
Undocumented Args: [], Returns: int
func (*SplitContainer) IsCollapsed ¶
func (o *SplitContainer) IsCollapsed() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*SplitContainer) SetCollapsed ¶
func (o *SplitContainer) SetCollapsed(collapsed gdnative.Bool)
Undocumented Args: [{ false collapsed bool}], Returns: void
func (*SplitContainer) SetDraggerVisibility ¶
func (o *SplitContainer) SetDraggerVisibility(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*SplitContainer) SetSplitOffset ¶
func (o *SplitContainer) SetSplitOffset(offset gdnative.Int)
Undocumented Args: [{ false offset int}], Returns: void
func (*SplitContainer) X_GuiInput ¶
func (o *SplitContainer) X_GuiInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
type SplitContainerDraggerVisibility ¶
type SplitContainerDraggerVisibility int
SplitContainerDraggerVisibility is an enum for DraggerVisibility values.
const ( SplitContainerDraggerHidden SplitContainerDraggerVisibility = 1 SplitContainerDraggerHiddenCollapsed SplitContainerDraggerVisibility = 2 SplitContainerDraggerVisible SplitContainerDraggerVisibility = 0 )
type SplitContainerImplementer ¶
type SplitContainerImplementer interface { ContainerImplementer GetSplitOffset() gdnative.Int IsCollapsed() gdnative.Bool SetCollapsed(collapsed gdnative.Bool) SetDraggerVisibility(mode gdnative.Int) SetSplitOffset(offset gdnative.Int) }
SplitContainerImplementer is an interface that implements the methods of the SplitContainer class.
type SpotLight ¶
type SpotLight struct { Light // contains filtered or unexported fields }
A SpotLight light is a type of Light node that emits lights in a specific direction, in the shape of a cone. The light is attenuated through the distance and this attenuation can be configured by changing the energy, radius and attenuation parameters of Light. TODO: Image of a spotlight.
type SpotLightImplementer ¶
type SpotLightImplementer interface { LightImplementer }
SpotLightImplementer is an interface that implements the methods of the SpotLight class.
type Sprite ¶
type Sprite struct { Node2D // contains filtered or unexported fields }
A node that displays a 2D texture. The texture displayed can be a region from a larger atlas texture, or a frame from a sprite sheet animation.
func (*Sprite) GetHframes ¶
Undocumented Args: [], Returns: int
func (*Sprite) GetNormalMap ¶
func (o *Sprite) GetNormalMap() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*Sprite) GetRegionRect ¶
Undocumented Args: [], Returns: Rect2
func (*Sprite) GetTexture ¶
func (o *Sprite) GetTexture() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*Sprite) GetVframes ¶
Undocumented Args: [], Returns: int
func (*Sprite) IsCentered ¶
Undocumented Args: [], Returns: bool
func (*Sprite) IsFlippedH ¶
Undocumented Args: [], Returns: bool
func (*Sprite) IsFlippedV ¶
Undocumented Args: [], Returns: bool
func (*Sprite) IsRegionFilterClipEnabled ¶
Undocumented Args: [], Returns: bool
func (*Sprite) SetCentered ¶
Undocumented Args: [{ false centered bool}], Returns: void
func (*Sprite) SetHframes ¶
Undocumented Args: [{ false hframes int}], Returns: void
func (*Sprite) SetNormalMap ¶
func (o *Sprite) SetNormalMap(normalMap TextureImplementer)
Undocumented Args: [{ false normal_map Texture}], Returns: void
func (*Sprite) SetRegionFilterClip ¶
Undocumented Args: [{ false enabled bool}], Returns: void
func (*Sprite) SetRegionRect ¶
Undocumented Args: [{ false rect Rect2}], Returns: void
func (*Sprite) SetTexture ¶
func (o *Sprite) SetTexture(texture TextureImplementer)
Undocumented Args: [{ false texture Texture}], Returns: void
func (*Sprite) SetVframes ¶
Undocumented Args: [{ false vframes int}], Returns: void
type Sprite3D ¶
type Sprite3D struct { SpriteBase3D // contains filtered or unexported fields }
A node that displays a 2D texture in a 3D environment. The texture displayed can be a region from a larger atlas texture, or a frame from a sprite sheet animation.
func (*Sprite3D) GetHframes ¶
Undocumented Args: [], Returns: int
func (*Sprite3D) GetRegionRect ¶
Undocumented Args: [], Returns: Rect2
func (*Sprite3D) GetTexture ¶
func (o *Sprite3D) GetTexture() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*Sprite3D) GetVframes ¶
Undocumented Args: [], Returns: int
func (*Sprite3D) SetHframes ¶
Undocumented Args: [{ false hframes int}], Returns: void
func (*Sprite3D) SetRegionRect ¶
Undocumented Args: [{ false rect Rect2}], Returns: void
func (*Sprite3D) SetTexture ¶
func (o *Sprite3D) SetTexture(texture TextureImplementer)
Undocumented Args: [{ false texture Texture}], Returns: void
func (*Sprite3D) SetVframes ¶
Undocumented Args: [{ false vframes int}], Returns: void
type Sprite3DImplementer ¶
type Sprite3DImplementer interface { SpriteBase3DImplementer GetFrame() gdnative.Int GetHframes() gdnative.Int GetRegionRect() gdnative.Rect2 GetTexture() TextureImplementer GetVframes() gdnative.Int IsRegion() gdnative.Bool SetFrame(frame gdnative.Int) SetHframes(hframes gdnative.Int) SetRegion(enabled gdnative.Bool) SetRegionRect(rect gdnative.Rect2) SetTexture(texture TextureImplementer) SetVframes(vframes gdnative.Int) }
Sprite3DImplementer is an interface that implements the methods of the Sprite3D class.
type SpriteBase3D ¶
type SpriteBase3D struct { GeometryInstance // contains filtered or unexported fields }
A node that displays 2D texture information in a 3D environment.
func (*SpriteBase3D) BaseClass ¶
func (o *SpriteBase3D) BaseClass() string
func (*SpriteBase3D) GetAlphaCutMode ¶
func (o *SpriteBase3D) GetAlphaCutMode() SpriteBase3DAlphaCutMode
Undocumented Args: [], Returns: enum.SpriteBase3D::AlphaCutMode
func (*SpriteBase3D) GetAxis ¶
func (o *SpriteBase3D) GetAxis() gdnative.Vector3Axis
Undocumented Args: [], Returns: enum.Vector3::Axis
func (*SpriteBase3D) GetDrawFlag ¶
func (o *SpriteBase3D) GetDrawFlag(flag gdnative.Int) gdnative.Bool
Undocumented Args: [{ false flag int}], Returns: bool
func (*SpriteBase3D) GetItemRect ¶
func (o *SpriteBase3D) GetItemRect() gdnative.Rect2
Args: [], Returns: Rect2
func (*SpriteBase3D) GetModulate ¶
func (o *SpriteBase3D) GetModulate() gdnative.Color
Undocumented Args: [], Returns: Color
func (*SpriteBase3D) GetOffset ¶
func (o *SpriteBase3D) GetOffset() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*SpriteBase3D) GetOpacity ¶
func (o *SpriteBase3D) GetOpacity() gdnative.Real
Undocumented Args: [], Returns: float
func (*SpriteBase3D) GetPixelSize ¶
func (o *SpriteBase3D) GetPixelSize() gdnative.Real
Undocumented Args: [], Returns: float
func (*SpriteBase3D) IsCentered ¶
func (o *SpriteBase3D) IsCentered() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*SpriteBase3D) IsFlippedH ¶
func (o *SpriteBase3D) IsFlippedH() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*SpriteBase3D) IsFlippedV ¶
func (o *SpriteBase3D) IsFlippedV() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*SpriteBase3D) SetAlphaCutMode ¶
func (o *SpriteBase3D) SetAlphaCutMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*SpriteBase3D) SetAxis ¶
func (o *SpriteBase3D) SetAxis(axis gdnative.Int)
Undocumented Args: [{ false axis int}], Returns: void
func (*SpriteBase3D) SetCentered ¶
func (o *SpriteBase3D) SetCentered(centered gdnative.Bool)
Undocumented Args: [{ false centered bool}], Returns: void
func (*SpriteBase3D) SetDrawFlag ¶
func (o *SpriteBase3D) SetDrawFlag(flag gdnative.Int, enabled gdnative.Bool)
Undocumented Args: [{ false flag int} { false enabled bool}], Returns: void
func (*SpriteBase3D) SetFlipH ¶
func (o *SpriteBase3D) SetFlipH(flipH gdnative.Bool)
Undocumented Args: [{ false flip_h bool}], Returns: void
func (*SpriteBase3D) SetFlipV ¶
func (o *SpriteBase3D) SetFlipV(flipV gdnative.Bool)
Undocumented Args: [{ false flip_v bool}], Returns: void
func (*SpriteBase3D) SetModulate ¶
func (o *SpriteBase3D) SetModulate(modulate gdnative.Color)
Undocumented Args: [{ false modulate Color}], Returns: void
func (*SpriteBase3D) SetOffset ¶
func (o *SpriteBase3D) SetOffset(offset gdnative.Vector2)
Undocumented Args: [{ false offset Vector2}], Returns: void
func (*SpriteBase3D) SetOpacity ¶
func (o *SpriteBase3D) SetOpacity(opacity gdnative.Real)
Undocumented Args: [{ false opacity float}], Returns: void
func (*SpriteBase3D) SetPixelSize ¶
func (o *SpriteBase3D) SetPixelSize(pixelSize gdnative.Real)
Undocumented Args: [{ false pixel_size float}], Returns: void
func (*SpriteBase3D) X_ImUpdate ¶
func (o *SpriteBase3D) X_ImUpdate()
Undocumented Args: [], Returns: void
func (*SpriteBase3D) X_QueueUpdate ¶
func (o *SpriteBase3D) X_QueueUpdate()
Undocumented Args: [], Returns: void
type SpriteBase3DAlphaCutMode ¶
type SpriteBase3DAlphaCutMode int
SpriteBase3DAlphaCutMode is an enum for AlphaCutMode values.
const ( SpriteBase3DAlphaCutDisabled SpriteBase3DAlphaCutMode = 0 SpriteBase3DAlphaCutDiscard SpriteBase3DAlphaCutMode = 1 SpriteBase3DAlphaCutOpaquePrepass SpriteBase3DAlphaCutMode = 2 )
type SpriteBase3DDrawFlags ¶
type SpriteBase3DDrawFlags int
SpriteBase3DDrawFlags is an enum for DrawFlags values.
const ( SpriteBase3DFlagDoubleSided SpriteBase3DDrawFlags = 2 SpriteBase3DFlagMax SpriteBase3DDrawFlags = 3 SpriteBase3DFlagShaded SpriteBase3DDrawFlags = 1 SpriteBase3DFlagTransparent SpriteBase3DDrawFlags = 0 )
type SpriteBase3DImplementer ¶
type SpriteBase3DImplementer interface { GeometryInstanceImplementer X_ImUpdate() X_QueueUpdate() GetDrawFlag(flag gdnative.Int) gdnative.Bool GetItemRect() gdnative.Rect2 GetModulate() gdnative.Color GetOffset() gdnative.Vector2 GetOpacity() gdnative.Real GetPixelSize() gdnative.Real IsCentered() gdnative.Bool IsFlippedH() gdnative.Bool IsFlippedV() gdnative.Bool SetAlphaCutMode(mode gdnative.Int) SetAxis(axis gdnative.Int) SetCentered(centered gdnative.Bool) SetDrawFlag(flag gdnative.Int, enabled gdnative.Bool) SetFlipH(flipH gdnative.Bool) SetFlipV(flipV gdnative.Bool) SetModulate(modulate gdnative.Color) SetOffset(offset gdnative.Vector2) SetOpacity(opacity gdnative.Real) SetPixelSize(pixelSize gdnative.Real) }
SpriteBase3DImplementer is an interface that implements the methods of the SpriteBase3D class.
type SpriteFrames ¶
type SpriteFrames struct { Resource // contains filtered or unexported fields }
Sprite frame library for AnimatedSprite. Contains frames and animation data for playback.
func (*SpriteFrames) AddAnimation ¶
func (o *SpriteFrames) AddAnimation(anim gdnative.String)
Adds a new animation to the the library. Args: [{ false anim String}], Returns: void
func (*SpriteFrames) AddFrame ¶
func (o *SpriteFrames) AddFrame(anim gdnative.String, frame TextureImplementer, atPosition gdnative.Int)
Adds a frame to the given animation. Args: [{ false anim String} { false frame Texture} {-1 true at_position int}], Returns: void
func (*SpriteFrames) BaseClass ¶
func (o *SpriteFrames) BaseClass() string
func (*SpriteFrames) Clear ¶
func (o *SpriteFrames) Clear(anim gdnative.String)
Removes all frames from the given animation. Args: [{ false anim String}], Returns: void
func (*SpriteFrames) ClearAll ¶
func (o *SpriteFrames) ClearAll()
Removes all animations. A "default" animation will be created. Args: [], Returns: void
func (*SpriteFrames) GetAnimationLoop ¶
func (o *SpriteFrames) GetAnimationLoop(anim gdnative.String) gdnative.Bool
If [code]true[/code] the given animation will loop. Args: [{ false anim String}], Returns: bool
func (*SpriteFrames) GetAnimationSpeed ¶
func (o *SpriteFrames) GetAnimationSpeed(anim gdnative.String) gdnative.Real
The animation's speed in frames per second. Args: [{ false anim String}], Returns: float
func (*SpriteFrames) GetFrame ¶
func (o *SpriteFrames) GetFrame(anim gdnative.String, idx gdnative.Int) TextureImplementer
Returns the animation's selected frame. Args: [{ false anim String} { false idx int}], Returns: Texture
func (*SpriteFrames) GetFrameCount ¶
func (o *SpriteFrames) GetFrameCount(anim gdnative.String) gdnative.Int
Returns the number of frames in the animation. Args: [{ false anim String}], Returns: int
func (*SpriteFrames) HasAnimation ¶
func (o *SpriteFrames) HasAnimation(anim gdnative.String) gdnative.Bool
If [code]true[/code] the named animation exists. Args: [{ false anim String}], Returns: bool
func (*SpriteFrames) RemoveAnimation ¶
func (o *SpriteFrames) RemoveAnimation(anim gdnative.String)
Removes the given animation. Args: [{ false anim String}], Returns: void
func (*SpriteFrames) RemoveFrame ¶
func (o *SpriteFrames) RemoveFrame(anim gdnative.String, idx gdnative.Int)
Removes the animation's selected frame. Args: [{ false anim String} { false idx int}], Returns: void
func (*SpriteFrames) RenameAnimation ¶
func (o *SpriteFrames) RenameAnimation(anim gdnative.String, newname gdnative.String)
Changes the animation's name to [code]newname[/code]. Args: [{ false anim String} { false newname String}], Returns: void
func (*SpriteFrames) SetAnimationLoop ¶
func (o *SpriteFrames) SetAnimationLoop(anim gdnative.String, loop gdnative.Bool)
If [code]true[/code] the animation will loop. Args: [{ false anim String} { false loop bool}], Returns: void
func (*SpriteFrames) SetAnimationSpeed ¶
func (o *SpriteFrames) SetAnimationSpeed(anim gdnative.String, speed gdnative.Real)
The animation's speed in frames per second. Args: [{ false anim String} { false speed float}], Returns: void
func (*SpriteFrames) SetFrame ¶
func (o *SpriteFrames) SetFrame(anim gdnative.String, idx gdnative.Int, txt TextureImplementer)
Sets the texture of the given frame. Args: [{ false anim String} { false idx int} { false txt Texture}], Returns: void
func (*SpriteFrames) X_GetAnimations ¶
func (o *SpriteFrames) X_GetAnimations() gdnative.Array
Undocumented Args: [], Returns: Array
func (*SpriteFrames) X_GetFrames ¶
func (o *SpriteFrames) X_GetFrames() gdnative.Array
Undocumented Args: [], Returns: Array
func (*SpriteFrames) X_SetAnimations ¶
func (o *SpriteFrames) X_SetAnimations(arg0 gdnative.Array)
Undocumented Args: [{ false arg0 Array}], Returns: void
func (*SpriteFrames) X_SetFrames ¶
func (o *SpriteFrames) X_SetFrames(arg0 gdnative.Array)
Undocumented Args: [{ false arg0 Array}], Returns: void
type SpriteFramesImplementer ¶
type SpriteFramesImplementer interface { ResourceImplementer X_GetAnimations() gdnative.Array X_GetFrames() gdnative.Array X_SetAnimations(arg0 gdnative.Array) X_SetFrames(arg0 gdnative.Array) AddAnimation(anim gdnative.String) AddFrame(anim gdnative.String, frame TextureImplementer, atPosition gdnative.Int) Clear(anim gdnative.String) ClearAll() GetAnimationLoop(anim gdnative.String) gdnative.Bool GetAnimationSpeed(anim gdnative.String) gdnative.Real GetFrame(anim gdnative.String, idx gdnative.Int) TextureImplementer GetFrameCount(anim gdnative.String) gdnative.Int HasAnimation(anim gdnative.String) gdnative.Bool RemoveAnimation(anim gdnative.String) RemoveFrame(anim gdnative.String, idx gdnative.Int) RenameAnimation(anim gdnative.String, newname gdnative.String) SetAnimationLoop(anim gdnative.String, loop gdnative.Bool) SetAnimationSpeed(anim gdnative.String, speed gdnative.Real) SetFrame(anim gdnative.String, idx gdnative.Int, txt TextureImplementer) }
SpriteFramesImplementer is an interface that implements the methods of the SpriteFrames class.
type SpriteImplementer ¶
type SpriteImplementer interface { Node2DImplementer GetFrame() gdnative.Int GetHframes() gdnative.Int GetNormalMap() TextureImplementer GetOffset() gdnative.Vector2 GetRegionRect() gdnative.Rect2 GetTexture() TextureImplementer GetVframes() gdnative.Int IsCentered() gdnative.Bool IsFlippedH() gdnative.Bool IsFlippedV() gdnative.Bool IsRegion() gdnative.Bool IsRegionFilterClipEnabled() gdnative.Bool SetCentered(centered gdnative.Bool) SetFlipH(flipH gdnative.Bool) SetFlipV(flipV gdnative.Bool) SetFrame(frame gdnative.Int) SetHframes(hframes gdnative.Int) SetNormalMap(normalMap TextureImplementer) SetOffset(offset gdnative.Vector2) SetRegion(enabled gdnative.Bool) SetRegionFilterClip(enabled gdnative.Bool) SetRegionRect(rect gdnative.Rect2) SetTexture(texture TextureImplementer) SetVframes(vframes gdnative.Int) }
SpriteImplementer is an interface that implements the methods of the Sprite class.
type StaticBody ¶
type StaticBody struct { PhysicsBody // contains filtered or unexported fields }
Static body for 3D Physics. A static body is a simple body that is not intended to move. They don't consume any CPU resources in contrast to a [RigidBody3D] so they are great for scenario collision. A static body can also be animated by using simulated motion mode. This is useful for implementing functionalities such as moving platforms. When this mode is active the body can be animated and automatically computes linear and angular velocity to apply in that frame and to influence other bodies. Alternatively, a constant linear or angular velocity can be set for the static body, so even if it doesn't move, it affects other bodies as if it was moving (this is useful for simulating conveyor belts or conveyor wheels).
func (*StaticBody) BaseClass ¶
func (o *StaticBody) BaseClass() string
func (*StaticBody) GetBounce ¶
func (o *StaticBody) GetBounce() gdnative.Real
Undocumented Args: [], Returns: float
func (*StaticBody) GetConstantAngularVelocity ¶
func (o *StaticBody) GetConstantAngularVelocity() gdnative.Vector3
Undocumented Args: [], Returns: Vector3
func (*StaticBody) GetConstantLinearVelocity ¶
func (o *StaticBody) GetConstantLinearVelocity() gdnative.Vector3
Undocumented Args: [], Returns: Vector3
func (*StaticBody) GetFriction ¶
func (o *StaticBody) GetFriction() gdnative.Real
Undocumented Args: [], Returns: float
func (*StaticBody) SetBounce ¶
func (o *StaticBody) SetBounce(bounce gdnative.Real)
Undocumented Args: [{ false bounce float}], Returns: void
func (*StaticBody) SetConstantAngularVelocity ¶
func (o *StaticBody) SetConstantAngularVelocity(vel gdnative.Vector3)
Undocumented Args: [{ false vel Vector3}], Returns: void
func (*StaticBody) SetConstantLinearVelocity ¶
func (o *StaticBody) SetConstantLinearVelocity(vel gdnative.Vector3)
Undocumented Args: [{ false vel Vector3}], Returns: void
func (*StaticBody) SetFriction ¶
func (o *StaticBody) SetFriction(friction gdnative.Real)
Undocumented Args: [{ false friction float}], Returns: void
type StaticBody2D ¶
type StaticBody2D struct { PhysicsBody2D // contains filtered or unexported fields }
Static body for 2D Physics. A StaticBody2D is a body that is not intended to move. It is ideal for implementing objects in the environment, such as walls or platforms. Additionally, a constant linear or angular velocity can be set for the static body, which will affect colliding bodies as if it were moving (for example, a conveyor belt).
func (*StaticBody2D) BaseClass ¶
func (o *StaticBody2D) BaseClass() string
func (*StaticBody2D) GetBounce ¶
func (o *StaticBody2D) GetBounce() gdnative.Real
Undocumented Args: [], Returns: float
func (*StaticBody2D) GetConstantAngularVelocity ¶
func (o *StaticBody2D) GetConstantAngularVelocity() gdnative.Real
Undocumented Args: [], Returns: float
func (*StaticBody2D) GetConstantLinearVelocity ¶
func (o *StaticBody2D) GetConstantLinearVelocity() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*StaticBody2D) GetFriction ¶
func (o *StaticBody2D) GetFriction() gdnative.Real
Undocumented Args: [], Returns: float
func (*StaticBody2D) SetBounce ¶
func (o *StaticBody2D) SetBounce(bounce gdnative.Real)
Undocumented Args: [{ false bounce float}], Returns: void
func (*StaticBody2D) SetConstantAngularVelocity ¶
func (o *StaticBody2D) SetConstantAngularVelocity(vel gdnative.Real)
Undocumented Args: [{ false vel float}], Returns: void
func (*StaticBody2D) SetConstantLinearVelocity ¶
func (o *StaticBody2D) SetConstantLinearVelocity(vel gdnative.Vector2)
Undocumented Args: [{ false vel Vector2}], Returns: void
func (*StaticBody2D) SetFriction ¶
func (o *StaticBody2D) SetFriction(friction gdnative.Real)
Undocumented Args: [{ false friction float}], Returns: void
type StaticBody2DImplementer ¶
type StaticBody2DImplementer interface { PhysicsBody2DImplementer GetBounce() gdnative.Real GetConstantAngularVelocity() gdnative.Real GetConstantLinearVelocity() gdnative.Vector2 GetFriction() gdnative.Real SetBounce(bounce gdnative.Real) SetConstantAngularVelocity(vel gdnative.Real) SetConstantLinearVelocity(vel gdnative.Vector2) SetFriction(friction gdnative.Real) }
StaticBody2DImplementer is an interface that implements the methods of the StaticBody2D class.
type StaticBodyImplementer ¶
type StaticBodyImplementer interface { PhysicsBodyImplementer GetBounce() gdnative.Real GetConstantAngularVelocity() gdnative.Vector3 GetConstantLinearVelocity() gdnative.Vector3 GetFriction() gdnative.Real SetBounce(bounce gdnative.Real) SetConstantAngularVelocity(vel gdnative.Vector3) SetConstantLinearVelocity(vel gdnative.Vector3) SetFriction(friction gdnative.Real) }
StaticBodyImplementer is an interface that implements the methods of the StaticBody class.
type StreamPeer ¶
type StreamPeer struct { Reference // contains filtered or unexported fields }
StreamPeer is an abstraction and base class for stream-based protocols (such as TCP or Unix Sockets). It provides an API for sending and receiving data through streams as raw data or strings.
func (*StreamPeer) BaseClass ¶
func (o *StreamPeer) BaseClass() string
func (*StreamPeer) Get16 ¶
func (o *StreamPeer) Get16() gdnative.Int
Get a signed 16 bit value from the stream. Args: [], Returns: int
func (*StreamPeer) Get32 ¶
func (o *StreamPeer) Get32() gdnative.Int
Get a signed 32 bit value from the stream. Args: [], Returns: int
func (*StreamPeer) Get64 ¶
func (o *StreamPeer) Get64() gdnative.Int
Get a signed 64 bit value from the stream. Args: [], Returns: int
func (*StreamPeer) Get8 ¶
func (o *StreamPeer) Get8() gdnative.Int
Get a signed byte from the stream. Args: [], Returns: int
func (*StreamPeer) GetAvailableBytes ¶
func (o *StreamPeer) GetAvailableBytes() gdnative.Int
Return the amount of bytes this [code]StreamPeer[/code] has available. Args: [], Returns: int
func (*StreamPeer) GetData ¶
func (o *StreamPeer) GetData(bytes gdnative.Int) gdnative.Array
Return a chunk data with the received bytes. The amount of bytes to be received can be requested in the "bytes" argument. If not enough bytes are available, the function will block until the desired amount is received. This function returns two values, an Error code and a data array. Args: [{ false bytes int}], Returns: Array
func (*StreamPeer) GetDouble ¶
func (o *StreamPeer) GetDouble() gdnative.Real
Get a double-precision float from the stream. Args: [], Returns: float
func (*StreamPeer) GetFloat ¶
func (o *StreamPeer) GetFloat() gdnative.Real
Get a single-precision float from the stream. Args: [], Returns: float
func (*StreamPeer) GetPartialData ¶
func (o *StreamPeer) GetPartialData(bytes gdnative.Int) gdnative.Array
Return a chunk data with the received bytes. The amount of bytes to be received can be requested in the "bytes" argument. If not enough bytes are available, the function will return how many were actually received. This function returns two values, an Error code, and a data array. Args: [{ false bytes int}], Returns: Array
func (*StreamPeer) GetString ¶
func (o *StreamPeer) GetString(bytes gdnative.Int) gdnative.String
Get a string with byte-length "bytes" from the stream. Args: [{ false bytes int}], Returns: String
func (*StreamPeer) GetU16 ¶
func (o *StreamPeer) GetU16() gdnative.Int
Get an unsigned 16 bit value from the stream. Args: [], Returns: int
func (*StreamPeer) GetU32 ¶
func (o *StreamPeer) GetU32() gdnative.Int
Get an unsigned 32 bit value from the stream. Args: [], Returns: int
func (*StreamPeer) GetU64 ¶
func (o *StreamPeer) GetU64() gdnative.Int
Get an unsigned 64 bit value from the stream. Args: [], Returns: int
func (*StreamPeer) GetU8 ¶
func (o *StreamPeer) GetU8() gdnative.Int
Get an unsigned byte from the stream. Args: [], Returns: int
func (*StreamPeer) GetUtf8String ¶
func (o *StreamPeer) GetUtf8String(bytes gdnative.Int) gdnative.String
Get a utf8 string with byte-length "bytes" from the stream (this decodes the string sent as utf8). Args: [{ false bytes int}], Returns: String
func (*StreamPeer) GetVar ¶
func (o *StreamPeer) GetVar() gdnative.Variant
Get a Variant from the stream. Args: [], Returns: Variant
func (*StreamPeer) IsBigEndianEnabled ¶
func (o *StreamPeer) IsBigEndianEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*StreamPeer) Put16 ¶
func (o *StreamPeer) Put16(value gdnative.Int)
Put a signed 16 bit value into the stream. Args: [{ false value int}], Returns: void
func (*StreamPeer) Put32 ¶
func (o *StreamPeer) Put32(value gdnative.Int)
Put a signed 32 bit value into the stream. Args: [{ false value int}], Returns: void
func (*StreamPeer) Put64 ¶
func (o *StreamPeer) Put64(value gdnative.Int)
Put a signed 64 bit value into the stream. Args: [{ false value int}], Returns: void
func (*StreamPeer) Put8 ¶
func (o *StreamPeer) Put8(value gdnative.Int)
Put a signed byte into the stream. Args: [{ false value int}], Returns: void
func (*StreamPeer) PutData ¶
func (o *StreamPeer) PutData(data gdnative.PoolByteArray) gdnative.Error
Send a chunk of data through the connection, blocking if necessary until the data is done sending. This function returns an Error code. Args: [{ false data PoolByteArray}], Returns: enum.Error
func (*StreamPeer) PutDouble ¶
func (o *StreamPeer) PutDouble(value gdnative.Real)
Put a double-precision float into the stream. Args: [{ false value float}], Returns: void
func (*StreamPeer) PutFloat ¶
func (o *StreamPeer) PutFloat(value gdnative.Real)
Put a single-precision float into the stream. Args: [{ false value float}], Returns: void
func (*StreamPeer) PutPartialData ¶
func (o *StreamPeer) PutPartialData(data gdnative.PoolByteArray) gdnative.Array
Send a chunk of data through the connection, if all the data could not be sent at once, only part of it will. This function returns two values, an Error code and an integer, describing how much data was actually sent. Args: [{ false data PoolByteArray}], Returns: Array
func (*StreamPeer) PutU16 ¶
func (o *StreamPeer) PutU16(value gdnative.Int)
Put an unsigned 16 bit value into the stream. Args: [{ false value int}], Returns: void
func (*StreamPeer) PutU32 ¶
func (o *StreamPeer) PutU32(value gdnative.Int)
Put an unsigned 32 bit value into the stream. Args: [{ false value int}], Returns: void
func (*StreamPeer) PutU64 ¶
func (o *StreamPeer) PutU64(value gdnative.Int)
Put an unsigned 64 bit value into the stream. Args: [{ false value int}], Returns: void
func (*StreamPeer) PutU8 ¶
func (o *StreamPeer) PutU8(value gdnative.Int)
Put an unsigned byte into the stream. Args: [{ false value int}], Returns: void
func (*StreamPeer) PutUtf8String ¶
func (o *StreamPeer) PutUtf8String(value gdnative.String)
Put a zero-terminated utf8 string into the stream. Args: [{ false value String}], Returns: void
func (*StreamPeer) PutVar ¶
func (o *StreamPeer) PutVar(value gdnative.Variant)
Put a Variant into the stream. Args: [{ false value Variant}], Returns: void
func (*StreamPeer) SetBigEndian ¶
func (o *StreamPeer) SetBigEndian(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
type StreamPeerBuffer ¶
type StreamPeerBuffer struct { StreamPeer // contains filtered or unexported fields }
func (*StreamPeerBuffer) BaseClass ¶
func (o *StreamPeerBuffer) BaseClass() string
func (*StreamPeerBuffer) Duplicate ¶
func (o *StreamPeerBuffer) Duplicate() StreamPeerBufferImplementer
Args: [], Returns: StreamPeerBuffer
func (*StreamPeerBuffer) GetDataArray ¶
func (o *StreamPeerBuffer) GetDataArray() gdnative.PoolByteArray
Undocumented Args: [], Returns: PoolByteArray
func (*StreamPeerBuffer) GetPosition ¶
func (o *StreamPeerBuffer) GetPosition() gdnative.Int
Args: [], Returns: int
func (*StreamPeerBuffer) GetSize ¶
func (o *StreamPeerBuffer) GetSize() gdnative.Int
Args: [], Returns: int
func (*StreamPeerBuffer) Resize ¶
func (o *StreamPeerBuffer) Resize(size gdnative.Int)
Args: [{ false size int}], Returns: void
func (*StreamPeerBuffer) Seek ¶
func (o *StreamPeerBuffer) Seek(position gdnative.Int)
Args: [{ false position int}], Returns: void
func (*StreamPeerBuffer) SetDataArray ¶
func (o *StreamPeerBuffer) SetDataArray(data gdnative.PoolByteArray)
Undocumented Args: [{ false data PoolByteArray}], Returns: void
type StreamPeerBufferImplementer ¶
type StreamPeerBufferImplementer interface { StreamPeerImplementer Clear() Duplicate() StreamPeerBufferImplementer GetDataArray() gdnative.PoolByteArray GetPosition() gdnative.Int GetSize() gdnative.Int Resize(size gdnative.Int) Seek(position gdnative.Int) SetDataArray(data gdnative.PoolByteArray) }
StreamPeerBufferImplementer is an interface that implements the methods of the StreamPeerBuffer class.
type StreamPeerImplementer ¶
type StreamPeerImplementer interface { ReferenceImplementer Get16() gdnative.Int Get32() gdnative.Int Get64() gdnative.Int Get8() gdnative.Int GetAvailableBytes() gdnative.Int GetData(bytes gdnative.Int) gdnative.Array GetDouble() gdnative.Real GetFloat() gdnative.Real GetPartialData(bytes gdnative.Int) gdnative.Array GetString(bytes gdnative.Int) gdnative.String GetU16() gdnative.Int GetU32() gdnative.Int GetU64() gdnative.Int GetU8() gdnative.Int GetUtf8String(bytes gdnative.Int) gdnative.String GetVar() gdnative.Variant IsBigEndianEnabled() gdnative.Bool Put16(value gdnative.Int) Put32(value gdnative.Int) Put64(value gdnative.Int) Put8(value gdnative.Int) PutDouble(value gdnative.Real) PutFloat(value gdnative.Real) PutPartialData(data gdnative.PoolByteArray) gdnative.Array PutU16(value gdnative.Int) PutU32(value gdnative.Int) PutU64(value gdnative.Int) PutU8(value gdnative.Int) PutUtf8String(value gdnative.String) PutVar(value gdnative.Variant) SetBigEndian(enable gdnative.Bool) }
StreamPeerImplementer is an interface that implements the methods of the StreamPeer class.
type StreamPeerSSL ¶
type StreamPeerSSL struct { StreamPeer // contains filtered or unexported fields }
SSL Stream peer. This object can be used to connect to SSL servers.
func (*StreamPeerSSL) AcceptStream ¶
func (o *StreamPeerSSL) AcceptStream(stream StreamPeerImplementer) gdnative.Error
Args: [{ false stream StreamPeer}], Returns: enum.Error
func (*StreamPeerSSL) BaseClass ¶
func (o *StreamPeerSSL) BaseClass() string
func (*StreamPeerSSL) ConnectToStream ¶
func (o *StreamPeerSSL) ConnectToStream(stream StreamPeerImplementer, validateCerts gdnative.Bool, forHostname gdnative.String) gdnative.Error
Connect to a peer using an underlying [StreamPeer] "stream", when "validate_certs" is true, [code]StreamPeerSSL[/code] will validate that the certificate presented by the peer matches the "for_hostname". Args: [{ false stream StreamPeer} {False true validate_certs bool} { true for_hostname String}], Returns: enum.Error
func (*StreamPeerSSL) DisconnectFromStream ¶
func (o *StreamPeerSSL) DisconnectFromStream()
Disconnect from host. Args: [], Returns: void
func (*StreamPeerSSL) GetStatus ¶
func (o *StreamPeerSSL) GetStatus() StreamPeerSSLStatus
Return the status of the connection, one of STATUS_* enum. Args: [], Returns: enum.StreamPeerSSL::Status
type StreamPeerSSLImplementer ¶
type StreamPeerSSLImplementer interface { StreamPeerImplementer DisconnectFromStream() }
StreamPeerSSLImplementer is an interface that implements the methods of the StreamPeerSSL class.
type StreamPeerSSLStatus ¶
type StreamPeerSSLStatus int
StreamPeerSSLStatus is an enum for Status values.
const ( StreamPeerSSLStatusConnected StreamPeerSSLStatus = 1 StreamPeerSSLStatusDisconnected StreamPeerSSLStatus = 0 StreamPeerSSLStatusErrorHostnameMismatch StreamPeerSSLStatus = 3 StreamPeerSSLStatusErrorNoCertificate StreamPeerSSLStatus = 2 )
type StreamPeerTCP ¶
type StreamPeerTCP struct { StreamPeer // contains filtered or unexported fields }
TCP Stream peer. This object can be used to connect to TCP servers, or also is returned by a tcp server.
func (*StreamPeerTCP) BaseClass ¶
func (o *StreamPeerTCP) BaseClass() string
func (*StreamPeerTCP) ConnectToHost ¶
Connect to the specified host:port pair. A hostname will be resolved if valid. Returns [OK] on success or [FAILED] on failure. Args: [{ false host String} { false port int}], Returns: enum.Error
func (*StreamPeerTCP) DisconnectFromHost ¶
func (o *StreamPeerTCP) DisconnectFromHost()
Disconnect from host. Args: [], Returns: void
func (*StreamPeerTCP) GetConnectedHost ¶
func (o *StreamPeerTCP) GetConnectedHost() gdnative.String
Return the IP of this peer. Args: [], Returns: String
func (*StreamPeerTCP) GetConnectedPort ¶
func (o *StreamPeerTCP) GetConnectedPort() gdnative.Int
Return the port of this peer. Args: [], Returns: int
func (*StreamPeerTCP) GetStatus ¶
func (o *StreamPeerTCP) GetStatus() StreamPeerTCPStatus
Return the status of the connection, one of STATUS_* enum. Args: [], Returns: enum.StreamPeerTCP::Status
func (*StreamPeerTCP) IsConnectedToHost ¶
func (o *StreamPeerTCP) IsConnectedToHost() gdnative.Bool
Args: [], Returns: bool
func (*StreamPeerTCP) SetNoDelay ¶
func (o *StreamPeerTCP) SetNoDelay(enabled gdnative.Bool)
Disable Nagle algorithm to improve latency for small packets. Note that for applications that send large packets, or need to transfer a lot of data, this can reduce total bandwidth. Args: [{ false enabled bool}], Returns: void
type StreamPeerTCPImplementer ¶
type StreamPeerTCPImplementer interface { StreamPeerImplementer DisconnectFromHost() GetConnectedHost() gdnative.String GetConnectedPort() gdnative.Int IsConnectedToHost() gdnative.Bool SetNoDelay(enabled gdnative.Bool) }
StreamPeerTCPImplementer is an interface that implements the methods of the StreamPeerTCP class.
type StreamPeerTCPStatus ¶
type StreamPeerTCPStatus int
StreamPeerTCPStatus is an enum for Status values.
const ( StreamPeerTCPStatusConnected StreamPeerTCPStatus = 2 StreamPeerTCPStatusConnecting StreamPeerTCPStatus = 1 StreamPeerTCPStatusError StreamPeerTCPStatus = 3 StreamPeerTCPStatusNone StreamPeerTCPStatus = 0 )
type StreamTexture ¶
type StreamTexture struct { Texture // contains filtered or unexported fields }
A texture that is loaded from a .stex file.
func (*StreamTexture) BaseClass ¶
func (o *StreamTexture) BaseClass() string
func (*StreamTexture) GetLoadPath ¶
func (o *StreamTexture) GetLoadPath() gdnative.String
Undocumented Args: [], Returns: String
type StreamTextureImplementer ¶
type StreamTextureImplementer interface { TextureImplementer GetLoadPath() gdnative.String }
StreamTextureImplementer is an interface that implements the methods of the StreamTexture class.
type StyleBox ¶
type StyleBox struct { Resource // contains filtered or unexported fields }
StyleBox is Resource that provides an abstract base class for drawing stylized boxes for the UI. StyleBoxes are used for drawing the styles of buttons, line edit backgrounds, tree backgrounds, etc. and also for testing a transparency mask for pointer signals. If mask test fails on a StyleBox assigned as mask to a control, clicks and motion signals will go through it to the one below.
func (*StyleBox) GetCenterSize ¶
Args: [], Returns: Vector2
func (*StyleBox) GetDefaultMargin ¶
Undocumented Args: [{ false margin int}], Returns: float
func (*StyleBox) GetMargin ¶
Return the offset of margin "margin" (see MARGIN_* enum). Args: [{ false margin int}], Returns: float
func (*StyleBox) GetMinimumSize ¶
Return the minimum size that this stylebox can be shrunk to. Args: [], Returns: Vector2
func (*StyleBox) GetOffset ¶
Return the "offset" of a stylebox, this is a helper function, like writing [code]Vector2(style.get_margin(MARGIN_LEFT), style.get_margin(MARGIN_TOP))[/code]. Args: [], Returns: Vector2
func (*StyleBox) SetDefaultMargin ¶
Undocumented Args: [{ false margin int} { false offset float}], Returns: void
type StyleBoxEmpty ¶
type StyleBoxEmpty struct { StyleBox // contains filtered or unexported fields }
Empty stylebox (really does not display anything).
func (*StyleBoxEmpty) BaseClass ¶
func (o *StyleBoxEmpty) BaseClass() string
type StyleBoxEmptyImplementer ¶
type StyleBoxEmptyImplementer interface { StyleBoxImplementer }
StyleBoxEmptyImplementer is an interface that implements the methods of the StyleBoxEmpty class.
type StyleBoxFlat ¶
type StyleBoxFlat struct { StyleBox // contains filtered or unexported fields }
This stylebox can be used to achieve all kinds of looks without the need of a texture. Those properties are customizable: - Color - Border width (individual width for each border) - Rounded corners (individual radius for each corner) - Shadow About corner radius: Setting corner radius to high values is allowed. As soon as corners would overlap the stylebox will switch to a relative system. Example: [codeblock] height = 30 corner_radius_top_left = 50 corner_radius_bottom_left = 100 [/codeblock] The relative system now would take the 1:2 ratio of the two left corners to calculate the actual corner width. Both corners added will [b]never[/b] be more than the height. Result: [codeblock] corner_radius_top_left: 10 corner_radius_bottom_left: 20 [/codeblock]
func (*StyleBoxFlat) BaseClass ¶
func (o *StyleBoxFlat) BaseClass() string
func (*StyleBoxFlat) GetAaSize ¶
func (o *StyleBoxFlat) GetAaSize() gdnative.Int
Undocumented Args: [], Returns: int
func (*StyleBoxFlat) GetBgColor ¶
func (o *StyleBoxFlat) GetBgColor() gdnative.Color
Undocumented Args: [], Returns: Color
func (*StyleBoxFlat) GetBorderBlend ¶
func (o *StyleBoxFlat) GetBorderBlend() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*StyleBoxFlat) GetBorderColor ¶
func (o *StyleBoxFlat) GetBorderColor() gdnative.Color
Undocumented Args: [], Returns: Color
func (*StyleBoxFlat) GetBorderWidth ¶
func (o *StyleBoxFlat) GetBorderWidth(margin gdnative.Int) gdnative.Int
Undocumented Args: [{ false margin int}], Returns: int
func (*StyleBoxFlat) GetBorderWidthMin ¶
func (o *StyleBoxFlat) GetBorderWidthMin() gdnative.Int
Args: [], Returns: int
func (*StyleBoxFlat) GetCornerDetail ¶
func (o *StyleBoxFlat) GetCornerDetail() gdnative.Int
Undocumented Args: [], Returns: int
func (*StyleBoxFlat) GetCornerRadius ¶
func (o *StyleBoxFlat) GetCornerRadius(corner gdnative.Int) gdnative.Int
Undocumented Args: [{ false corner int}], Returns: int
func (*StyleBoxFlat) GetExpandMargin ¶
func (o *StyleBoxFlat) GetExpandMargin(margin gdnative.Int) gdnative.Real
Undocumented Args: [{ false margin int}], Returns: float
func (*StyleBoxFlat) GetShadowColor ¶
func (o *StyleBoxFlat) GetShadowColor() gdnative.Color
Undocumented Args: [], Returns: Color
func (*StyleBoxFlat) GetShadowSize ¶
func (o *StyleBoxFlat) GetShadowSize() gdnative.Int
Undocumented Args: [], Returns: int
func (*StyleBoxFlat) IsAntiAliased ¶
func (o *StyleBoxFlat) IsAntiAliased() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*StyleBoxFlat) IsDrawCenterEnabled ¶
func (o *StyleBoxFlat) IsDrawCenterEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*StyleBoxFlat) SetAaSize ¶
func (o *StyleBoxFlat) SetAaSize(size gdnative.Int)
Undocumented Args: [{ false size int}], Returns: void
func (*StyleBoxFlat) SetAntiAliased ¶
func (o *StyleBoxFlat) SetAntiAliased(antiAliased gdnative.Bool)
Undocumented Args: [{ false anti_aliased bool}], Returns: void
func (*StyleBoxFlat) SetBgColor ¶
func (o *StyleBoxFlat) SetBgColor(color gdnative.Color)
Undocumented Args: [{ false color Color}], Returns: void
func (*StyleBoxFlat) SetBorderBlend ¶
func (o *StyleBoxFlat) SetBorderBlend(blend gdnative.Bool)
Undocumented Args: [{ false blend bool}], Returns: void
func (*StyleBoxFlat) SetBorderColor ¶
func (o *StyleBoxFlat) SetBorderColor(color gdnative.Color)
Undocumented Args: [{ false color Color}], Returns: void
func (*StyleBoxFlat) SetBorderWidth ¶
func (o *StyleBoxFlat) SetBorderWidth(margin gdnative.Int, width gdnative.Int)
Undocumented Args: [{ false margin int} { false width int}], Returns: void
func (*StyleBoxFlat) SetBorderWidthAll ¶
func (o *StyleBoxFlat) SetBorderWidthAll(width gdnative.Int)
Args: [{ false width int}], Returns: void
func (*StyleBoxFlat) SetCornerDetail ¶
func (o *StyleBoxFlat) SetCornerDetail(detail gdnative.Int)
Undocumented Args: [{ false detail int}], Returns: void
func (*StyleBoxFlat) SetCornerRadius ¶
func (o *StyleBoxFlat) SetCornerRadius(corner gdnative.Int, radius gdnative.Int)
Undocumented Args: [{ false corner int} { false radius int}], Returns: void
func (*StyleBoxFlat) SetCornerRadiusAll ¶
func (o *StyleBoxFlat) SetCornerRadiusAll(radius gdnative.Int)
Args: [{ false radius int}], Returns: void
func (*StyleBoxFlat) SetCornerRadiusIndividual ¶
func (o *StyleBoxFlat) SetCornerRadiusIndividual(radiusTopLeft gdnative.Int, radiusTopRight gdnative.Int, radiusBottomRight gdnative.Int, radiusBottomLeft gdnative.Int)
Args: [{ false radius_top_left int} { false radius_top_right int} { false radius_bottom_right int} { false radius_bottom_left int}], Returns: void
func (*StyleBoxFlat) SetDrawCenter ¶
func (o *StyleBoxFlat) SetDrawCenter(drawCenter gdnative.Bool)
Undocumented Args: [{ false draw_center bool}], Returns: void
func (*StyleBoxFlat) SetExpandMargin ¶
func (o *StyleBoxFlat) SetExpandMargin(margin gdnative.Int, size gdnative.Real)
Undocumented Args: [{ false margin int} { false size float}], Returns: void
func (*StyleBoxFlat) SetExpandMarginAll ¶
func (o *StyleBoxFlat) SetExpandMarginAll(size gdnative.Real)
Args: [{ false size float}], Returns: void
func (*StyleBoxFlat) SetExpandMarginIndividual ¶
func (o *StyleBoxFlat) SetExpandMarginIndividual(sizeLeft gdnative.Real, sizeTop gdnative.Real, sizeRight gdnative.Real, sizeBottom gdnative.Real)
Args: [{ false size_left float} { false size_top float} { false size_right float} { false size_bottom float}], Returns: void
func (*StyleBoxFlat) SetShadowColor ¶
func (o *StyleBoxFlat) SetShadowColor(color gdnative.Color)
Undocumented Args: [{ false color Color}], Returns: void
func (*StyleBoxFlat) SetShadowSize ¶
func (o *StyleBoxFlat) SetShadowSize(size gdnative.Int)
Undocumented Args: [{ false size int}], Returns: void
type StyleBoxFlatImplementer ¶
type StyleBoxFlatImplementer interface { StyleBoxImplementer GetAaSize() gdnative.Int GetBgColor() gdnative.Color GetBorderBlend() gdnative.Bool GetBorderColor() gdnative.Color GetBorderWidth(margin gdnative.Int) gdnative.Int GetBorderWidthMin() gdnative.Int GetCornerDetail() gdnative.Int GetCornerRadius(corner gdnative.Int) gdnative.Int GetExpandMargin(margin gdnative.Int) gdnative.Real GetShadowColor() gdnative.Color GetShadowSize() gdnative.Int IsAntiAliased() gdnative.Bool IsDrawCenterEnabled() gdnative.Bool SetAaSize(size gdnative.Int) SetAntiAliased(antiAliased gdnative.Bool) SetBgColor(color gdnative.Color) SetBorderBlend(blend gdnative.Bool) SetBorderColor(color gdnative.Color) SetBorderWidth(margin gdnative.Int, width gdnative.Int) SetBorderWidthAll(width gdnative.Int) SetCornerDetail(detail gdnative.Int) SetCornerRadius(corner gdnative.Int, radius gdnative.Int) SetCornerRadiusAll(radius gdnative.Int) SetCornerRadiusIndividual(radiusTopLeft gdnative.Int, radiusTopRight gdnative.Int, radiusBottomRight gdnative.Int, radiusBottomLeft gdnative.Int) SetDrawCenter(drawCenter gdnative.Bool) SetExpandMargin(margin gdnative.Int, size gdnative.Real) SetExpandMarginAll(size gdnative.Real) SetExpandMarginIndividual(sizeLeft gdnative.Real, sizeTop gdnative.Real, sizeRight gdnative.Real, sizeBottom gdnative.Real) SetShadowColor(color gdnative.Color) SetShadowSize(size gdnative.Int) }
StyleBoxFlatImplementer is an interface that implements the methods of the StyleBoxFlat class.
type StyleBoxImplementer ¶
type StyleBoxImplementer interface { ResourceImplementer Draw(canvasItem gdnative.Rid, rect gdnative.Rect2) GetCenterSize() gdnative.Vector2 GetDefaultMargin(margin gdnative.Int) gdnative.Real GetMargin(margin gdnative.Int) gdnative.Real GetMinimumSize() gdnative.Vector2 GetOffset() gdnative.Vector2 SetDefaultMargin(margin gdnative.Int, offset gdnative.Real) TestMask(point gdnative.Vector2, rect gdnative.Rect2) gdnative.Bool }
StyleBoxImplementer is an interface that implements the methods of the StyleBox class.
type StyleBoxLine ¶
type StyleBoxLine struct { StyleBox // contains filtered or unexported fields }
func (*StyleBoxLine) BaseClass ¶
func (o *StyleBoxLine) BaseClass() string
func (*StyleBoxLine) GetColor ¶
func (o *StyleBoxLine) GetColor() gdnative.Color
Undocumented Args: [], Returns: Color
func (*StyleBoxLine) GetGrow ¶
func (o *StyleBoxLine) GetGrow() gdnative.Real
Undocumented Args: [], Returns: float
func (*StyleBoxLine) GetThickness ¶
func (o *StyleBoxLine) GetThickness() gdnative.Int
Undocumented Args: [], Returns: int
func (*StyleBoxLine) IsVertical ¶
func (o *StyleBoxLine) IsVertical() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*StyleBoxLine) SetColor ¶
func (o *StyleBoxLine) SetColor(color gdnative.Color)
Undocumented Args: [{ false color Color}], Returns: void
func (*StyleBoxLine) SetGrow ¶
func (o *StyleBoxLine) SetGrow(grow gdnative.Real)
Undocumented Args: [{ false grow float}], Returns: void
func (*StyleBoxLine) SetThickness ¶
func (o *StyleBoxLine) SetThickness(thickness gdnative.Int)
Undocumented Args: [{ false thickness int}], Returns: void
func (*StyleBoxLine) SetVertical ¶
func (o *StyleBoxLine) SetVertical(vertical gdnative.Bool)
Undocumented Args: [{ false vertical bool}], Returns: void
type StyleBoxLineImplementer ¶
type StyleBoxLineImplementer interface { StyleBoxImplementer GetColor() gdnative.Color GetGrow() gdnative.Real GetThickness() gdnative.Int IsVertical() gdnative.Bool SetColor(color gdnative.Color) SetGrow(grow gdnative.Real) SetThickness(thickness gdnative.Int) SetVertical(vertical gdnative.Bool) }
StyleBoxLineImplementer is an interface that implements the methods of the StyleBoxLine class.
type StyleBoxTexture ¶
type StyleBoxTexture struct { StyleBox // contains filtered or unexported fields }
Texture Based 3x3 scale style. This stylebox performs a 3x3 scaling of a texture, where only the center cell is fully stretched. This allows for the easy creation of bordered styles.
func (*StyleBoxTexture) BaseClass ¶
func (o *StyleBoxTexture) BaseClass() string
func (*StyleBoxTexture) GetExpandMarginSize ¶
func (o *StyleBoxTexture) GetExpandMarginSize(margin gdnative.Int) gdnative.Real
Undocumented Args: [{ false margin int}], Returns: float
func (*StyleBoxTexture) GetHAxisStretchMode ¶
func (o *StyleBoxTexture) GetHAxisStretchMode() StyleBoxTextureAxisStretchMode
Undocumented Args: [], Returns: enum.StyleBoxTexture::AxisStretchMode
func (*StyleBoxTexture) GetMarginSize ¶
func (o *StyleBoxTexture) GetMarginSize(margin gdnative.Int) gdnative.Real
Undocumented Args: [{ false margin int}], Returns: float
func (*StyleBoxTexture) GetModulate ¶
func (o *StyleBoxTexture) GetModulate() gdnative.Color
Undocumented Args: [], Returns: Color
func (*StyleBoxTexture) GetNormalMap ¶
func (o *StyleBoxTexture) GetNormalMap() ResourceImplementer
Undocumented Args: [], Returns: Resource
func (*StyleBoxTexture) GetRegionRect ¶
func (o *StyleBoxTexture) GetRegionRect() gdnative.Rect2
Undocumented Args: [], Returns: Rect2
func (*StyleBoxTexture) GetTexture ¶
func (o *StyleBoxTexture) GetTexture() ResourceImplementer
Undocumented Args: [], Returns: Resource
func (*StyleBoxTexture) GetVAxisStretchMode ¶
func (o *StyleBoxTexture) GetVAxisStretchMode() StyleBoxTextureAxisStretchMode
Undocumented Args: [], Returns: enum.StyleBoxTexture::AxisStretchMode
func (*StyleBoxTexture) IsDrawCenterEnabled ¶
func (o *StyleBoxTexture) IsDrawCenterEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*StyleBoxTexture) SetDrawCenter ¶
func (o *StyleBoxTexture) SetDrawCenter(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*StyleBoxTexture) SetExpandMarginAll ¶
func (o *StyleBoxTexture) SetExpandMarginAll(size gdnative.Real)
Args: [{ false size float}], Returns: void
func (*StyleBoxTexture) SetExpandMarginIndividual ¶
func (o *StyleBoxTexture) SetExpandMarginIndividual(sizeLeft gdnative.Real, sizeTop gdnative.Real, sizeRight gdnative.Real, sizeBottom gdnative.Real)
Args: [{ false size_left float} { false size_top float} { false size_right float} { false size_bottom float}], Returns: void
func (*StyleBoxTexture) SetExpandMarginSize ¶
func (o *StyleBoxTexture) SetExpandMarginSize(margin gdnative.Int, size gdnative.Real)
Undocumented Args: [{ false margin int} { false size float}], Returns: void
func (*StyleBoxTexture) SetHAxisStretchMode ¶
func (o *StyleBoxTexture) SetHAxisStretchMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*StyleBoxTexture) SetMarginSize ¶
func (o *StyleBoxTexture) SetMarginSize(margin gdnative.Int, size gdnative.Real)
Undocumented Args: [{ false margin int} { false size float}], Returns: void
func (*StyleBoxTexture) SetModulate ¶
func (o *StyleBoxTexture) SetModulate(color gdnative.Color)
Undocumented Args: [{ false color Color}], Returns: void
func (*StyleBoxTexture) SetNormalMap ¶
func (o *StyleBoxTexture) SetNormalMap(normalMap ResourceImplementer)
Undocumented Args: [{ false normal_map Resource}], Returns: void
func (*StyleBoxTexture) SetRegionRect ¶
func (o *StyleBoxTexture) SetRegionRect(region gdnative.Rect2)
Undocumented Args: [{ false region Rect2}], Returns: void
func (*StyleBoxTexture) SetTexture ¶
func (o *StyleBoxTexture) SetTexture(texture ResourceImplementer)
Undocumented Args: [{ false texture Resource}], Returns: void
func (*StyleBoxTexture) SetVAxisStretchMode ¶
func (o *StyleBoxTexture) SetVAxisStretchMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
type StyleBoxTextureAxisStretchMode ¶
type StyleBoxTextureAxisStretchMode int
StyleBoxTextureAxisStretchMode is an enum for AxisStretchMode values.
const ( StyleBoxTextureAxisStretchModeStretch StyleBoxTextureAxisStretchMode = 0 StyleBoxTextureAxisStretchModeTile StyleBoxTextureAxisStretchMode = 1 StyleBoxTextureAxisStretchModeTileFit StyleBoxTextureAxisStretchMode = 2 )
type StyleBoxTextureImplementer ¶
type StyleBoxTextureImplementer interface { StyleBoxImplementer GetExpandMarginSize(margin gdnative.Int) gdnative.Real GetMarginSize(margin gdnative.Int) gdnative.Real GetModulate() gdnative.Color GetNormalMap() ResourceImplementer GetRegionRect() gdnative.Rect2 GetTexture() ResourceImplementer IsDrawCenterEnabled() gdnative.Bool SetDrawCenter(enable gdnative.Bool) SetExpandMarginAll(size gdnative.Real) SetExpandMarginIndividual(sizeLeft gdnative.Real, sizeTop gdnative.Real, sizeRight gdnative.Real, sizeBottom gdnative.Real) SetExpandMarginSize(margin gdnative.Int, size gdnative.Real) SetHAxisStretchMode(mode gdnative.Int) SetMarginSize(margin gdnative.Int, size gdnative.Real) SetModulate(color gdnative.Color) SetNormalMap(normalMap ResourceImplementer) SetRegionRect(region gdnative.Rect2) SetTexture(texture ResourceImplementer) SetVAxisStretchMode(mode gdnative.Int) }
StyleBoxTextureImplementer is an interface that implements the methods of the StyleBoxTexture class.
type SurfaceTool ¶
type SurfaceTool struct { Reference // contains filtered or unexported fields }
The [code]SurfaceTool[/code] is used to construct a Mesh by specifying vertex attributes individually. It can be used to construct a Mesh from script. All properties except index need to be added before a call to [method add_vertex]. For example adding vertex colors and UVs looks like [codeblock] var st = SurfaceTool.new() st.begin(Mesh.PRIMITIVE_TRIANGLES) st.add_color(Color(1, 0, 0)) st.add_uv(Vector2(0, 0)) st.add_vertex(Vector3(0, 0, 0)) [/codeblock] The [code]SurfaceTool[/code] now contains one vertex of a triangle which has a UV coordinate and a specified [Color]. If another vertex were added without calls to [method add_uv] or [method add_color] then the last values would be used. It is very important that vertex attributes are passed [b]before[/b] the call to [method add_vertex], failure to do this will result in an error when committing the vertex information to a mesh.
func (*SurfaceTool) AddBones ¶
func (o *SurfaceTool) AddBones(bones gdnative.PoolIntArray)
Add an array of bones for the next Vertex to use. Args: [{ false bones PoolIntArray}], Returns: void
func (*SurfaceTool) AddColor ¶
func (o *SurfaceTool) AddColor(color gdnative.Color)
Specify a [Color] for the next Vertex to use. Args: [{ false color Color}], Returns: void
func (*SurfaceTool) AddIndex ¶
func (o *SurfaceTool) AddIndex(index gdnative.Int)
Adds an index to index array if you are using indexed Vertices. Does not need to be called before adding Vertex. Args: [{ false index int}], Returns: void
func (*SurfaceTool) AddNormal ¶
func (o *SurfaceTool) AddNormal(normal gdnative.Vector3)
Specify a normal for the next Vertex to use. Args: [{ false normal Vector3}], Returns: void
func (*SurfaceTool) AddSmoothGroup ¶
func (o *SurfaceTool) AddSmoothGroup(smooth gdnative.Bool)
Specify whether current Vertex (if using only Vertex arrays) or current index (if also using index arrays) should utilize smooth normals for normal calculation. Args: [{ false smooth bool}], Returns: void
func (*SurfaceTool) AddTangent ¶
func (o *SurfaceTool) AddTangent(tangent gdnative.Plane)
Specify a Tangent for the next Vertex to use. Args: [{ false tangent Plane}], Returns: void
func (*SurfaceTool) AddToFormat ¶
func (o *SurfaceTool) AddToFormat(flags gdnative.Int)
Args: [{ false flags int}], Returns: void
func (*SurfaceTool) AddTriangleFan ¶
func (o *SurfaceTool) AddTriangleFan(vertexes gdnative.PoolVector3Array, uvs gdnative.PoolVector2Array, colors gdnative.PoolColorArray, uv2S gdnative.PoolVector2Array, normals gdnative.PoolVector3Array, tangents gdnative.Array)
Insert a triangle fan made of array data into [Mesh] being constructed. Args: [{ false vertexes PoolVector3Array} {[] true uvs PoolVector2Array} {[PoolColorArray] true colors PoolColorArray} {[] true uv2s PoolVector2Array} {[] true normals PoolVector3Array} {[] true tangents Array}], Returns: void
func (*SurfaceTool) AddUv ¶
func (o *SurfaceTool) AddUv(uv gdnative.Vector2)
Specify UV Coordinate for next Vertex to use. Args: [{ false uv Vector2}], Returns: void
func (*SurfaceTool) AddUv2 ¶
func (o *SurfaceTool) AddUv2(uv2 gdnative.Vector2)
Specify an optional second set of UV coordinates for next Vertex to use. Args: [{ false uv2 Vector2}], Returns: void
func (*SurfaceTool) AddVertex ¶
func (o *SurfaceTool) AddVertex(vertex gdnative.Vector3)
Specify position of current Vertex. Should be called after specifying other vertex properties (e.g. Color, UV). Args: [{ false vertex Vector3}], Returns: void
func (*SurfaceTool) AddWeights ¶
func (o *SurfaceTool) AddWeights(weights gdnative.PoolRealArray)
Specify weight value for next Vertex to use. Args: [{ false weights PoolRealArray}], Returns: void
func (*SurfaceTool) AppendFrom ¶
func (o *SurfaceTool) AppendFrom(existing MeshImplementer, surface gdnative.Int, transform gdnative.Transform)
Args: [{ false existing Mesh} { false surface int} { false transform Transform}], Returns: void
func (*SurfaceTool) BaseClass ¶
func (o *SurfaceTool) BaseClass() string
func (*SurfaceTool) Begin ¶
func (o *SurfaceTool) Begin(primitive gdnative.Int)
Called before adding any Vertices. Takes the primitive type as an argument (e.g. Mesh.PRIMITIVE_TRIANGLES). Args: [{ false primitive int}], Returns: void
func (*SurfaceTool) Clear ¶
func (o *SurfaceTool) Clear()
Clear all information passed into the surface tool so far. Args: [], Returns: void
func (*SurfaceTool) Commit ¶
func (o *SurfaceTool) Commit(existing ArrayMeshImplementer, flags gdnative.Int) ArrayMeshImplementer
Returns a constructed [ArrayMesh] from current information passed in. If an existing [ArrayMesh] is passed in as an argument, will add an extra surface to the existing [ArrayMesh]. Args: [{Null true existing ArrayMesh} {97792 true flags int}], Returns: ArrayMesh
func (*SurfaceTool) CreateFrom ¶
func (o *SurfaceTool) CreateFrom(existing MeshImplementer, surface gdnative.Int)
Args: [{ false existing Mesh} { false surface int}], Returns: void
func (*SurfaceTool) Deindex ¶
func (o *SurfaceTool) Deindex()
Removes index array by expanding Vertex array. Args: [], Returns: void
func (*SurfaceTool) GenerateNormals ¶
func (o *SurfaceTool) GenerateNormals()
Generates normals from Vertices so you do not have to do it manually. Args: [], Returns: void
func (*SurfaceTool) GenerateTangents ¶
func (o *SurfaceTool) GenerateTangents()
Args: [], Returns: void
func (*SurfaceTool) Index ¶
func (o *SurfaceTool) Index()
Shrinks Vertex array by creating an index array. Avoids reusing Vertices. Args: [], Returns: void
func (*SurfaceTool) SetMaterial ¶
func (o *SurfaceTool) SetMaterial(material MaterialImplementer)
Sets [Material] to be used by the [Mesh] you are constructing. Args: [{ false material Material}], Returns: void
type SurfaceToolImplementer ¶
type SurfaceToolImplementer interface { ReferenceImplementer AddBones(bones gdnative.PoolIntArray) AddColor(color gdnative.Color) AddIndex(index gdnative.Int) AddNormal(normal gdnative.Vector3) AddSmoothGroup(smooth gdnative.Bool) AddTangent(tangent gdnative.Plane) AddToFormat(flags gdnative.Int) AddTriangleFan(vertexes gdnative.PoolVector3Array, uvs gdnative.PoolVector2Array, colors gdnative.PoolColorArray, uv2S gdnative.PoolVector2Array, normals gdnative.PoolVector3Array, tangents gdnative.Array) AddUv(uv gdnative.Vector2) AddUv2(uv2 gdnative.Vector2) AddVertex(vertex gdnative.Vector3) AddWeights(weights gdnative.PoolRealArray) AppendFrom(existing MeshImplementer, surface gdnative.Int, transform gdnative.Transform) Begin(primitive gdnative.Int) Clear() Commit(existing ArrayMeshImplementer, flags gdnative.Int) ArrayMeshImplementer CreateFrom(existing MeshImplementer, surface gdnative.Int) Deindex() GenerateNormals() GenerateTangents() Index() SetMaterial(material MaterialImplementer) }
SurfaceToolImplementer is an interface that implements the methods of the SurfaceTool class.
type TCP_Server ¶
type TCP_Server struct { Reference // contains filtered or unexported fields }
TCP Server class. Listens to connections on a port and returns a StreamPeerTCP when got a connection.
func (*TCP_Server) BaseClass ¶
func (o *TCP_Server) BaseClass() string
func (*TCP_Server) IsConnectionAvailable ¶
func (o *TCP_Server) IsConnectionAvailable() gdnative.Bool
Return true if a connection is available for taking. Args: [], Returns: bool
func (*TCP_Server) Listen ¶
Listen on the "port" binding to "bind_address". If "bind_address" is set as "*" (default), the server will listen on all available addresses (both IPv4 and IPv6). If "bind_address" is set as "0.0.0.0" (for IPv4) or "::" (for IPv6), the server will listen on all available addresses matching that IP type. If "bind_address" is set to any valid address (e.g. "192.168.1.101", "::1", etc), the server will only listen on the interface with that addresses (or fail if no interface with the given address exists). Args: [{ false port int} {* true bind_address String}], Returns: enum.Error
func (*TCP_Server) TakeConnection ¶
func (o *TCP_Server) TakeConnection() StreamPeerTCPImplementer
If a connection is available, return a StreamPeerTCP with the connection/ Args: [], Returns: StreamPeerTCP
type TCP_ServerImplementer ¶
type TCP_ServerImplementer interface { ReferenceImplementer IsConnectionAvailable() gdnative.Bool Stop() TakeConnection() StreamPeerTCPImplementer }
TCP_ServerImplementer is an interface that implements the methods of the TCP_Server class.
type TabContainer ¶
type TabContainer struct { Control // contains filtered or unexported fields }
Sets the active tab's [code]visible[/code] property to the value [code]true[/code]. Sets all other children's to [code]false[/code]. Ignores non-Control children. Individual tabs are always visible unless you use [method set_tab_disabled] and [method set_tab_title] to hide it. To hide only a tab's content, nest the content inside a child Control, so it receives the [code]TabContainer[/code]'s visibility setting instead.
func (*TabContainer) AreTabsVisible ¶
func (o *TabContainer) AreTabsVisible() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*TabContainer) BaseClass ¶
func (o *TabContainer) BaseClass() string
func (*TabContainer) GetCurrentTab ¶
func (o *TabContainer) GetCurrentTab() gdnative.Int
Undocumented Args: [], Returns: int
func (*TabContainer) GetCurrentTabControl ¶
func (o *TabContainer) GetCurrentTabControl() ControlImplementer
Returns the child [Control] node located at the active tab index. Args: [], Returns: Control
func (*TabContainer) GetPopup ¶
func (o *TabContainer) GetPopup() PopupImplementer
Returns the [Popup] node instance if one has been set already with [method set_popup]. Args: [], Returns: Popup
func (*TabContainer) GetPreviousTab ¶
func (o *TabContainer) GetPreviousTab() gdnative.Int
Returns the previously active tab index. Args: [], Returns: int
func (*TabContainer) GetTabAlign ¶
func (o *TabContainer) GetTabAlign() TabContainerTabAlign
Undocumented Args: [], Returns: enum.TabContainer::TabAlign
func (*TabContainer) GetTabControl ¶
func (o *TabContainer) GetTabControl(idx gdnative.Int) ControlImplementer
Returns the currently visible tab's [Control] node. Args: [{ false idx int}], Returns: Control
func (*TabContainer) GetTabCount ¶
func (o *TabContainer) GetTabCount() gdnative.Int
Returns the number of tabs. Args: [], Returns: int
func (*TabContainer) GetTabDisabled ¶
func (o *TabContainer) GetTabDisabled(tabIdx gdnative.Int) gdnative.Bool
Returns [code]true[/code] if the tab at index [code]tab_idx[/code] is disabled. Args: [{ false tab_idx int}], Returns: bool
func (*TabContainer) GetTabIcon ¶
func (o *TabContainer) GetTabIcon(tabIdx gdnative.Int) TextureImplementer
Returns the [Texture] for the tab at index [code]tab_idx[/code] or null if the tab has no [Texture]. Args: [{ false tab_idx int}], Returns: Texture
func (*TabContainer) GetTabTitle ¶
func (o *TabContainer) GetTabTitle(tabIdx gdnative.Int) gdnative.String
Returns the title of the tab at index [code]tab_idx[/code]. Tab titles default to the name of the indexed child node, but this can be overridden with [method set_tab_title]. Args: [{ false tab_idx int}], Returns: String
func (*TabContainer) SetCurrentTab ¶
func (o *TabContainer) SetCurrentTab(tabIdx gdnative.Int)
Undocumented Args: [{ false tab_idx int}], Returns: void
func (*TabContainer) SetPopup ¶
func (o *TabContainer) SetPopup(popup ObjectImplementer)
If set on a [Popup] node instance, a popup menu icon appears in the top-right corner of the [code]TabContainer[/code]. Clicking it will expand the [Popup] node. Args: [{ false popup Object}], Returns: void
func (*TabContainer) SetTabAlign ¶
func (o *TabContainer) SetTabAlign(align gdnative.Int)
Undocumented Args: [{ false align int}], Returns: void
func (*TabContainer) SetTabDisabled ¶
func (o *TabContainer) SetTabDisabled(tabIdx gdnative.Int, disabled gdnative.Bool)
If [code]disabled[/code] is false, hides the tab at index [code]tab_idx[/code]. Note that its title text will remain, unless also removed with [method set_tab_title]. Args: [{ false tab_idx int} { false disabled bool}], Returns: void
func (*TabContainer) SetTabIcon ¶
func (o *TabContainer) SetTabIcon(tabIdx gdnative.Int, icon TextureImplementer)
Sets an icon for the tab at index [code]tab_idx[/code]. Args: [{ false tab_idx int} { false icon Texture}], Returns: void
func (*TabContainer) SetTabTitle ¶
func (o *TabContainer) SetTabTitle(tabIdx gdnative.Int, title gdnative.String)
Sets a title for the tab at index [code]tab_idx[/code]. Tab titles default to the name of the indexed child node, but this can be overridden with [method set_tab_title]. Args: [{ false tab_idx int} { false title String}], Returns: void
func (*TabContainer) SetTabsVisible ¶
func (o *TabContainer) SetTabsVisible(visible gdnative.Bool)
Undocumented Args: [{ false visible bool}], Returns: void
func (*TabContainer) X_ChildRenamedCallback ¶
func (o *TabContainer) X_ChildRenamedCallback()
Undocumented Args: [], Returns: void
func (*TabContainer) X_GuiInput ¶
func (o *TabContainer) X_GuiInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
func (*TabContainer) X_OnThemeChanged ¶
func (o *TabContainer) X_OnThemeChanged()
Undocumented Args: [], Returns: void
func (*TabContainer) X_UpdateCurrentTab ¶
func (o *TabContainer) X_UpdateCurrentTab()
Undocumented Args: [], Returns: void
type TabContainerImplementer ¶
type TabContainerImplementer interface { ControlImplementer X_ChildRenamedCallback() X_OnThemeChanged() X_UpdateCurrentTab() AreTabsVisible() gdnative.Bool GetCurrentTab() gdnative.Int GetCurrentTabControl() ControlImplementer GetPopup() PopupImplementer GetPreviousTab() gdnative.Int GetTabControl(idx gdnative.Int) ControlImplementer GetTabCount() gdnative.Int GetTabDisabled(tabIdx gdnative.Int) gdnative.Bool GetTabIcon(tabIdx gdnative.Int) TextureImplementer GetTabTitle(tabIdx gdnative.Int) gdnative.String SetCurrentTab(tabIdx gdnative.Int) SetPopup(popup ObjectImplementer) SetTabAlign(align gdnative.Int) SetTabDisabled(tabIdx gdnative.Int, disabled gdnative.Bool) SetTabIcon(tabIdx gdnative.Int, icon TextureImplementer) SetTabTitle(tabIdx gdnative.Int, title gdnative.String) SetTabsVisible(visible gdnative.Bool) }
TabContainerImplementer is an interface that implements the methods of the TabContainer class.
type TabContainerTabAlign ¶
type TabContainerTabAlign int
TabContainerTabAlign is an enum for TabAlign values.
const ( TabContainerAlignCenter TabContainerTabAlign = 1 TabContainerAlignLeft TabContainerTabAlign = 0 TabContainerAlignRight TabContainerTabAlign = 2 )
type Tabs ¶
type Tabs struct { Control // contains filtered or unexported fields }
Simple tabs control, similar to TabContainer but is only in charge of drawing tabs, not interact with children.
func (*Tabs) AddTab ¶
func (o *Tabs) AddTab(title gdnative.String, icon TextureImplementer)
Args: [{ true title String} {[Object:null] true icon Texture}], Returns: void
func (*Tabs) EnsureTabVisible ¶
Args: [{ false idx int}], Returns: void
func (*Tabs) GetCurrentTab ¶
Undocumented Args: [], Returns: int
func (*Tabs) GetOffsetButtonsVisible ¶
Args: [], Returns: bool
func (*Tabs) GetScrollingEnabled ¶
Undocumented Args: [], Returns: bool
func (*Tabs) GetTabAlign ¶
func (o *Tabs) GetTabAlign() TabsTabAlign
Undocumented Args: [], Returns: enum.Tabs::TabAlign
func (*Tabs) GetTabCloseDisplayPolicy ¶
func (o *Tabs) GetTabCloseDisplayPolicy() TabsCloseButtonDisplayPolicy
Undocumented Args: [], Returns: enum.Tabs::CloseButtonDisplayPolicy
func (*Tabs) GetTabDisabled ¶
Args: [{ false tab_idx int}], Returns: bool
func (*Tabs) GetTabIcon ¶
func (o *Tabs) GetTabIcon(tabIdx gdnative.Int) TextureImplementer
Args: [{ false tab_idx int}], Returns: Texture
func (*Tabs) GetTabRect ¶
Returns tab [Rect2] with local position and size. Args: [{ false tab_idx int}], Returns: Rect2
func (*Tabs) GetTabTitle ¶
Args: [{ false tab_idx int}], Returns: String
func (*Tabs) SetCurrentTab ¶
Undocumented Args: [{ false tab_idx int}], Returns: void
func (*Tabs) SetScrollingEnabled ¶
Undocumented Args: [{ false enabled bool}], Returns: void
func (*Tabs) SetTabAlign ¶
Undocumented Args: [{ false align int}], Returns: void
func (*Tabs) SetTabCloseDisplayPolicy ¶
Undocumented Args: [{ false policy int}], Returns: void
func (*Tabs) SetTabDisabled ¶
Args: [{ false tab_idx int} { false disabled bool}], Returns: void
func (*Tabs) SetTabIcon ¶
func (o *Tabs) SetTabIcon(tabIdx gdnative.Int, icon TextureImplementer)
Args: [{ false tab_idx int} { false icon Texture}], Returns: void
func (*Tabs) SetTabTitle ¶
Args: [{ false tab_idx int} { false title String}], Returns: void
func (*Tabs) X_GuiInput ¶
func (o *Tabs) X_GuiInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
type TabsCloseButtonDisplayPolicy ¶
type TabsCloseButtonDisplayPolicy int
TabsCloseButtonDisplayPolicy is an enum for CloseButtonDisplayPolicy values.
const ( TabsCloseButtonMax TabsCloseButtonDisplayPolicy = 3 TabsCloseButtonShowActiveOnly TabsCloseButtonDisplayPolicy = 1 TabsCloseButtonShowAlways TabsCloseButtonDisplayPolicy = 2 TabsCloseButtonShowNever TabsCloseButtonDisplayPolicy = 0 )
type TabsImplementer ¶
type TabsImplementer interface { ControlImplementer AddTab(title gdnative.String, icon TextureImplementer) EnsureTabVisible(idx gdnative.Int) GetCurrentTab() gdnative.Int GetOffsetButtonsVisible() gdnative.Bool GetScrollingEnabled() gdnative.Bool GetTabCount() gdnative.Int GetTabDisabled(tabIdx gdnative.Int) gdnative.Bool GetTabIcon(tabIdx gdnative.Int) TextureImplementer GetTabOffset() gdnative.Int GetTabRect(tabIdx gdnative.Int) gdnative.Rect2 GetTabTitle(tabIdx gdnative.Int) gdnative.String MoveTab(from gdnative.Int, to gdnative.Int) RemoveTab(tabIdx gdnative.Int) SetCurrentTab(tabIdx gdnative.Int) SetScrollingEnabled(enabled gdnative.Bool) SetTabAlign(align gdnative.Int) SetTabCloseDisplayPolicy(policy gdnative.Int) SetTabDisabled(tabIdx gdnative.Int, disabled gdnative.Bool) SetTabIcon(tabIdx gdnative.Int, icon TextureImplementer) SetTabTitle(tabIdx gdnative.Int, title gdnative.String) }
TabsImplementer is an interface that implements the methods of the Tabs class.
type TabsTabAlign ¶
type TabsTabAlign int
TabsTabAlign is an enum for TabAlign values.
const ( TabsAlignCenter TabsTabAlign = 1 TabsAlignLeft TabsTabAlign = 0 TabsAlignMax TabsTabAlign = 3 TabsAlignRight TabsTabAlign = 2 )
type TextEdit ¶
type TextEdit struct { Control // contains filtered or unexported fields }
TextEdit is meant for editing large, multiline text. It also has facilities for editing code, such as syntax highlighting support and multiple levels of undo/redo.
func (*TextEdit) AddColorRegion ¶
func (o *TextEdit) AddColorRegion(beginKey gdnative.String, endKey gdnative.String, color gdnative.Color, lineOnly gdnative.Bool)
Add color region (given the delimiters) and its colors. Args: [{ false begin_key String} { false end_key String} { false color Color} {False true line_only bool}], Returns: void
func (*TextEdit) AddKeywordColor ¶
Add a keyword and its color. Args: [{ false keyword String} { false color Color}], Returns: void
func (*TextEdit) ClearColors ¶
func (o *TextEdit) ClearColors()
Clear all the syntax coloring information. Args: [], Returns: void
func (*TextEdit) ClearUndoHistory ¶
func (o *TextEdit) ClearUndoHistory()
Clear the undo history. Args: [], Returns: void
func (*TextEdit) Copy ¶
func (o *TextEdit) Copy()
Copy the current selection. Args: [], Returns: void
func (*TextEdit) CursorGetBlinkEnabled ¶
Undocumented Args: [], Returns: bool
func (*TextEdit) CursorGetBlinkSpeed ¶
Undocumented Args: [], Returns: float
func (*TextEdit) CursorGetColumn ¶
Return the column the editing cursor is at. Args: [], Returns: int
func (*TextEdit) CursorGetLine ¶
Return the line the editing cursor is at. Args: [], Returns: int
func (*TextEdit) CursorIsBlockMode ¶
Undocumented Args: [], Returns: bool
func (*TextEdit) CursorSetBlinkEnabled ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*TextEdit) CursorSetBlinkSpeed ¶
Undocumented Args: [{ false blink_speed float}], Returns: void
func (*TextEdit) CursorSetBlockMode ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*TextEdit) CursorSetColumn ¶
Args: [{ false column int} {True true adjust_viewport bool}], Returns: void
func (*TextEdit) CursorSetLine ¶
func (o *TextEdit) CursorSetLine(line gdnative.Int, adjustViewport gdnative.Bool, canBeHidden gdnative.Bool)
Args: [{ false line int} {True true adjust_viewport bool} {True true can_be_hidden bool}], Returns: void
func (*TextEdit) Deselect ¶
func (o *TextEdit) Deselect()
Clears the current selection. Args: [], Returns: void
func (*TextEdit) GetLine ¶
Return the text of a specific line. Args: [{ false line int}], Returns: String
func (*TextEdit) GetLineCount ¶
Return the amount of total lines in the text. Args: [], Returns: int
func (*TextEdit) GetMenu ¶
func (o *TextEdit) GetMenu() PopupMenuImplementer
Args: [], Returns: PopupMenu
func (*TextEdit) GetSelectionFromColumn ¶
Return the selection begin column. Args: [], Returns: int
func (*TextEdit) GetSelectionFromLine ¶
Return the selection begin line. Args: [], Returns: int
func (*TextEdit) GetSelectionText ¶
Return the text inside the selection. Args: [], Returns: String
func (*TextEdit) GetSelectionToColumn ¶
Return the selection end column. Args: [], Returns: int
func (*TextEdit) GetSelectionToLine ¶
Return the selection end line. Args: [], Returns: int
func (*TextEdit) GetVScrollSpeed ¶
Undocumented Args: [], Returns: float
func (*TextEdit) GetWordUnderCursor ¶
Args: [], Returns: String
func (*TextEdit) InsertTextAtCursor ¶
Insert a given text at the cursor position. Args: [{ false text String}], Returns: void
func (*TextEdit) IsContextMenuEnabled ¶
Undocumented Args: [], Returns: bool
func (*TextEdit) IsHidingEnabled ¶
Undocumented Args: [], Returns: int
func (*TextEdit) IsHighlightAllOccurrencesEnabled ¶
Undocumented Args: [], Returns: bool
func (*TextEdit) IsHighlightCurrentLineEnabled ¶
Undocumented Args: [], Returns: bool
func (*TextEdit) IsLineHidden ¶
Args: [{ false line int}], Returns: bool
func (*TextEdit) IsOverridingSelectedFontColor ¶
Undocumented Args: [], Returns: bool
func (*TextEdit) IsReadonly ¶
Undocumented Args: [], Returns: bool
func (*TextEdit) IsRightClickMovingCaret ¶
Undocumented Args: [], Returns: bool
func (*TextEdit) IsSelectionActive ¶
Return true if the selection is active. Args: [], Returns: bool
func (*TextEdit) IsShowLineNumbersEnabled ¶
Undocumented Args: [], Returns: bool
func (*TextEdit) IsSmoothScrollEnabled ¶
Undocumented Args: [], Returns: bool
func (*TextEdit) IsSyntaxColoringEnabled ¶
Undocumented Args: [], Returns: bool
func (*TextEdit) IsWrapping ¶
Undocumented Args: [], Returns: bool
func (*TextEdit) MenuOption ¶
Args: [{ false option int}], Returns: void
func (*TextEdit) Paste ¶
func (o *TextEdit) Paste()
Paste the current selection. Args: [], Returns: void
func (*TextEdit) Search ¶
func (o *TextEdit) Search(key gdnative.String, flags gdnative.Int, fromLine gdnative.Int, fromColumn gdnative.Int) gdnative.PoolIntArray
Perform a search inside the text. Search flags can be specified in the SEARCH_* enum. Args: [{ false key String} { false flags int} { false from_line int} { false from_column int}], Returns: PoolIntArray
func (*TextEdit) Select ¶
func (o *TextEdit) Select(fromLine gdnative.Int, fromColumn gdnative.Int, toLine gdnative.Int, toColumn gdnative.Int)
Perform selection, from line/column to line/column. Args: [{ false from_line int} { false from_column int} { false to_line int} { false to_column int}], Returns: void
func (*TextEdit) SelectAll ¶
func (o *TextEdit) SelectAll()
Select all the text. Args: [], Returns: void
func (*TextEdit) SetContextMenuEnabled ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*TextEdit) SetHidingEnabled ¶
Undocumented Args: [{ false enable int}], Returns: void
func (*TextEdit) SetHighlightAllOccurrences ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*TextEdit) SetHighlightCurrentLine ¶
Undocumented Args: [{ false enabled bool}], Returns: void
func (*TextEdit) SetLineAsHidden ¶
Args: [{ false line int} { false enable bool}], Returns: void
func (*TextEdit) SetOverrideSelectedFontColor ¶
Undocumented Args: [{ false override bool}], Returns: void
func (*TextEdit) SetReadonly ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*TextEdit) SetRightClickMovesCaret ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*TextEdit) SetShowLineNumbers ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*TextEdit) SetSmoothScrollEnable ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*TextEdit) SetSyntaxColoring ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*TextEdit) SetVScrollSpeed ¶
Undocumented Args: [{ false speed float}], Returns: void
func (*TextEdit) ToggleFoldLine ¶
Toggle the folding of the code block at the given line. Args: [{ false line int}], Returns: void
func (*TextEdit) UnfoldLine ¶
Args: [{ false line int}], Returns: void
func (*TextEdit) X_ClickSelectionHeld ¶
func (o *TextEdit) X_ClickSelectionHeld()
Undocumented Args: [], Returns: void
func (*TextEdit) X_CursorChangedEmit ¶
func (o *TextEdit) X_CursorChangedEmit()
Undocumented Args: [], Returns: void
func (*TextEdit) X_GuiInput ¶
func (o *TextEdit) X_GuiInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
func (*TextEdit) X_PushCurrentOp ¶
func (o *TextEdit) X_PushCurrentOp()
Undocumented Args: [], Returns: void
func (*TextEdit) X_ScrollMoved ¶
Undocumented Args: [{ false arg0 float}], Returns: void
func (*TextEdit) X_TextChangedEmit ¶
func (o *TextEdit) X_TextChangedEmit()
Undocumented Args: [], Returns: void
func (*TextEdit) X_ToggleDrawCaret ¶
func (o *TextEdit) X_ToggleDrawCaret()
Undocumented Args: [], Returns: void
func (*TextEdit) X_VScrollInput ¶
func (o *TextEdit) X_VScrollInput()
Undocumented Args: [], Returns: void
type TextEditImplementer ¶
type TextEditImplementer interface { ControlImplementer X_ClickSelectionHeld() X_CursorChangedEmit() X_PushCurrentOp() X_ScrollMoved(arg0 gdnative.Real) X_TextChangedEmit() X_ToggleDrawCaret() X_VScrollInput() AddColorRegion(beginKey gdnative.String, endKey gdnative.String, color gdnative.Color, lineOnly gdnative.Bool) AddKeywordColor(keyword gdnative.String, color gdnative.Color) CanFold(line gdnative.Int) gdnative.Bool ClearColors() ClearUndoHistory() Copy() CursorGetBlinkEnabled() gdnative.Bool CursorGetBlinkSpeed() gdnative.Real CursorGetColumn() gdnative.Int CursorGetLine() gdnative.Int CursorIsBlockMode() gdnative.Bool CursorSetBlinkEnabled(enable gdnative.Bool) CursorSetBlinkSpeed(blinkSpeed gdnative.Real) CursorSetBlockMode(enable gdnative.Bool) CursorSetColumn(column gdnative.Int, adjustViewport gdnative.Bool) CursorSetLine(line gdnative.Int, adjustViewport gdnative.Bool, canBeHidden gdnative.Bool) Cut() Deselect() FoldAllLines() FoldLine(line gdnative.Int) GetLine(line gdnative.Int) gdnative.String GetLineCount() gdnative.Int GetMenu() PopupMenuImplementer GetSelectionFromColumn() gdnative.Int GetSelectionFromLine() gdnative.Int GetSelectionText() gdnative.String GetSelectionToColumn() gdnative.Int GetSelectionToLine() gdnative.Int GetText() gdnative.String GetVScrollSpeed() gdnative.Real GetWordUnderCursor() gdnative.String InsertTextAtCursor(text gdnative.String) IsContextMenuEnabled() gdnative.Bool IsFolded(line gdnative.Int) gdnative.Bool IsHidingEnabled() gdnative.Int IsHighlightAllOccurrencesEnabled() gdnative.Bool IsHighlightCurrentLineEnabled() gdnative.Bool IsLineHidden(line gdnative.Int) gdnative.Bool IsOverridingSelectedFontColor() gdnative.Bool IsReadonly() gdnative.Bool IsRightClickMovingCaret() gdnative.Bool IsSelectionActive() gdnative.Bool IsShowLineNumbersEnabled() gdnative.Bool IsSmoothScrollEnabled() gdnative.Bool IsSyntaxColoringEnabled() gdnative.Bool IsWrapping() gdnative.Bool MenuOption(option gdnative.Int) Paste() Redo() Search(key gdnative.String, flags gdnative.Int, fromLine gdnative.Int, fromColumn gdnative.Int) gdnative.PoolIntArray Select(fromLine gdnative.Int, fromColumn gdnative.Int, toLine gdnative.Int, toColumn gdnative.Int) SelectAll() SetContextMenuEnabled(enable gdnative.Bool) SetHidingEnabled(enable gdnative.Int) SetHighlightAllOccurrences(enable gdnative.Bool) SetHighlightCurrentLine(enabled gdnative.Bool) SetLineAsHidden(line gdnative.Int, enable gdnative.Bool) SetOverrideSelectedFontColor(override gdnative.Bool) SetReadonly(enable gdnative.Bool) SetRightClickMovesCaret(enable gdnative.Bool) SetShowLineNumbers(enable gdnative.Bool) SetSmoothScrollEnable(enable gdnative.Bool) SetSyntaxColoring(enable gdnative.Bool) SetText(text gdnative.String) SetVScrollSpeed(speed gdnative.Real) SetWrap(enable gdnative.Bool) ToggleFoldLine(line gdnative.Int) Undo() UnfoldLine(line gdnative.Int) UnhideAllLines() }
TextEditImplementer is an interface that implements the methods of the TextEdit class.
type TextEditMenuItems ¶
type TextEditMenuItems int
TextEditMenuItems is an enum for MenuItems values.
const ( TextEditMenuClear TextEditMenuItems = 3 TextEditMenuCopy TextEditMenuItems = 1 TextEditMenuCut TextEditMenuItems = 0 TextEditMenuMax TextEditMenuItems = 6 TextEditMenuPaste TextEditMenuItems = 2 TextEditMenuSelectAll TextEditMenuItems = 4 TextEditMenuUndo TextEditMenuItems = 5 )
type TextEditSearchFlags ¶
type TextEditSearchFlags int
TextEditSearchFlags is an enum for SearchFlags values.
const ( TextEditSearchBackwards TextEditSearchFlags = 4 TextEditSearchMatchCase TextEditSearchFlags = 1 TextEditSearchWholeWords TextEditSearchFlags = 2 )
type Texture ¶
type Texture struct { Resource // contains filtered or unexported fields }
A texture works by registering an image in the video hardware, which then can be used in 3D models or 2D Sprite or GUI Control.
func (*Texture) Draw ¶
func (o *Texture) Draw(canvasItem gdnative.Rid, position gdnative.Vector2, modulate gdnative.Color, transpose gdnative.Bool, normalMap TextureImplementer)
Args: [{ false canvas_item RID} { false position Vector2} {1,1,1,1 true modulate Color} {False true transpose bool} {Null true normal_map Texture}], Returns: void
func (*Texture) DrawRect ¶
func (o *Texture) DrawRect(canvasItem gdnative.Rid, rect gdnative.Rect2, tile gdnative.Bool, modulate gdnative.Color, transpose gdnative.Bool, normalMap TextureImplementer)
Args: [{ false canvas_item RID} { false rect Rect2} { false tile bool} {1,1,1,1 true modulate Color} {False true transpose bool} {Null true normal_map Texture}], Returns: void
func (*Texture) DrawRectRegion ¶
func (o *Texture) DrawRectRegion(canvasItem gdnative.Rid, rect gdnative.Rect2, srcRect gdnative.Rect2, modulate gdnative.Color, transpose gdnative.Bool, normalMap TextureImplementer, clipUv gdnative.Bool)
Args: [{ false canvas_item RID} { false rect Rect2} { false src_rect Rect2} {1,1,1,1 true modulate Color} {False true transpose bool} {Null true normal_map Texture} {True true clip_uv bool}], Returns: void
type TextureButton ¶
type TextureButton struct { BaseButton // contains filtered or unexported fields }
[code]TextureButton[/code] has the same functionality as Button, except it uses sprites instead of Godot's Theme resource. It is faster to create, but it doesn't support localization like more complex Controls. The Normal state's texture is required. Others are optional.
func (*TextureButton) BaseClass ¶
func (o *TextureButton) BaseClass() string
func (*TextureButton) GetClickMask ¶
func (o *TextureButton) GetClickMask() BitMapImplementer
Undocumented Args: [], Returns: BitMap
func (*TextureButton) GetDisabledTexture ¶
func (o *TextureButton) GetDisabledTexture() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*TextureButton) GetExpand ¶
func (o *TextureButton) GetExpand() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*TextureButton) GetFocusedTexture ¶
func (o *TextureButton) GetFocusedTexture() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*TextureButton) GetHoverTexture ¶
func (o *TextureButton) GetHoverTexture() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*TextureButton) GetNormalTexture ¶
func (o *TextureButton) GetNormalTexture() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*TextureButton) GetPressedTexture ¶
func (o *TextureButton) GetPressedTexture() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*TextureButton) GetStretchMode ¶
func (o *TextureButton) GetStretchMode() TextureButtonStretchMode
Undocumented Args: [], Returns: enum.TextureButton::StretchMode
func (*TextureButton) SetClickMask ¶
func (o *TextureButton) SetClickMask(mask BitMapImplementer)
Undocumented Args: [{ false mask BitMap}], Returns: void
func (*TextureButton) SetDisabledTexture ¶
func (o *TextureButton) SetDisabledTexture(texture TextureImplementer)
Undocumented Args: [{ false texture Texture}], Returns: void
func (*TextureButton) SetExpand ¶
func (o *TextureButton) SetExpand(pExpand gdnative.Bool)
Undocumented Args: [{ false p_expand bool}], Returns: void
func (*TextureButton) SetFocusedTexture ¶
func (o *TextureButton) SetFocusedTexture(texture TextureImplementer)
Undocumented Args: [{ false texture Texture}], Returns: void
func (*TextureButton) SetHoverTexture ¶
func (o *TextureButton) SetHoverTexture(texture TextureImplementer)
Undocumented Args: [{ false texture Texture}], Returns: void
func (*TextureButton) SetNormalTexture ¶
func (o *TextureButton) SetNormalTexture(texture TextureImplementer)
Undocumented Args: [{ false texture Texture}], Returns: void
func (*TextureButton) SetPressedTexture ¶
func (o *TextureButton) SetPressedTexture(texture TextureImplementer)
Undocumented Args: [{ false texture Texture}], Returns: void
func (*TextureButton) SetStretchMode ¶
func (o *TextureButton) SetStretchMode(pMode gdnative.Int)
Undocumented Args: [{ false p_mode int}], Returns: void
type TextureButtonImplementer ¶
type TextureButtonImplementer interface { BaseButtonImplementer GetClickMask() BitMapImplementer GetDisabledTexture() TextureImplementer GetExpand() gdnative.Bool GetFocusedTexture() TextureImplementer GetHoverTexture() TextureImplementer GetNormalTexture() TextureImplementer GetPressedTexture() TextureImplementer SetClickMask(mask BitMapImplementer) SetDisabledTexture(texture TextureImplementer) SetExpand(pExpand gdnative.Bool) SetFocusedTexture(texture TextureImplementer) SetHoverTexture(texture TextureImplementer) SetNormalTexture(texture TextureImplementer) SetPressedTexture(texture TextureImplementer) SetStretchMode(pMode gdnative.Int) }
TextureButtonImplementer is an interface that implements the methods of the TextureButton class.
type TextureButtonStretchMode ¶
type TextureButtonStretchMode int
TextureButtonStretchMode is an enum for StretchMode values.
const ( TextureButtonStretchKeep TextureButtonStretchMode = 2 TextureButtonStretchKeepAspect TextureButtonStretchMode = 4 TextureButtonStretchKeepAspectCentered TextureButtonStretchMode = 5 TextureButtonStretchKeepAspectCovered TextureButtonStretchMode = 6 TextureButtonStretchKeepCentered TextureButtonStretchMode = 3 TextureButtonStretchScale TextureButtonStretchMode = 0 TextureButtonStretchTile TextureButtonStretchMode = 1 )
type TextureFlags ¶
type TextureFlags int
TextureFlags is an enum for Flags values.
const ( TextureFlagsDefault TextureFlags = 7 TextureFlagAnisotropicFilter TextureFlags = 8 TextureFlagConvertToLinear TextureFlags = 16 TextureFlagFilter TextureFlags = 4 TextureFlagMipmaps TextureFlags = 1 TextureFlagMirroredRepeat TextureFlags = 32 TextureFlagRepeat TextureFlags = 2 TextureFlagVideoSurface TextureFlags = 4096 )
type TextureImplementer ¶
type TextureImplementer interface { ResourceImplementer Draw(canvasItem gdnative.Rid, position gdnative.Vector2, modulate gdnative.Color, transpose gdnative.Bool, normalMap TextureImplementer) DrawRect(canvasItem gdnative.Rid, rect gdnative.Rect2, tile gdnative.Bool, modulate gdnative.Color, transpose gdnative.Bool, normalMap TextureImplementer) DrawRectRegion(canvasItem gdnative.Rid, rect gdnative.Rect2, srcRect gdnative.Rect2, modulate gdnative.Color, transpose gdnative.Bool, normalMap TextureImplementer, clipUv gdnative.Bool) GetData() ImageImplementer GetFlags() gdnative.Int GetHeight() gdnative.Int GetSize() gdnative.Vector2 GetWidth() gdnative.Int HasAlpha() gdnative.Bool SetFlags(flags gdnative.Int) }
TextureImplementer is an interface that implements the methods of the Texture class.
type TextureProgress ¶
type TextureProgress struct { Range // contains filtered or unexported fields }
TextureProgress works like ProgressBar but it uses up to 3 textures instead of Godot's Theme resource. Works horizontally, vertically, and radially.
func (*TextureProgress) BaseClass ¶
func (o *TextureProgress) BaseClass() string
func (*TextureProgress) GetFillDegrees ¶
func (o *TextureProgress) GetFillDegrees() gdnative.Real
Undocumented Args: [], Returns: float
func (*TextureProgress) GetFillMode ¶
func (o *TextureProgress) GetFillMode() gdnative.Int
Undocumented Args: [], Returns: int
func (*TextureProgress) GetNinePatchStretch ¶
func (o *TextureProgress) GetNinePatchStretch() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*TextureProgress) GetOverTexture ¶
func (o *TextureProgress) GetOverTexture() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*TextureProgress) GetProgressTexture ¶
func (o *TextureProgress) GetProgressTexture() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*TextureProgress) GetRadialCenterOffset ¶
func (o *TextureProgress) GetRadialCenterOffset() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*TextureProgress) GetRadialInitialAngle ¶
func (o *TextureProgress) GetRadialInitialAngle() gdnative.Real
Undocumented Args: [], Returns: float
func (*TextureProgress) GetStretchMargin ¶
func (o *TextureProgress) GetStretchMargin(margin gdnative.Int) gdnative.Int
Undocumented Args: [{ false margin int}], Returns: int
func (*TextureProgress) GetUnderTexture ¶
func (o *TextureProgress) GetUnderTexture() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*TextureProgress) SetFillDegrees ¶
func (o *TextureProgress) SetFillDegrees(mode gdnative.Real)
Undocumented Args: [{ false mode float}], Returns: void
func (*TextureProgress) SetFillMode ¶
func (o *TextureProgress) SetFillMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*TextureProgress) SetNinePatchStretch ¶
func (o *TextureProgress) SetNinePatchStretch(stretch gdnative.Bool)
Undocumented Args: [{ false stretch bool}], Returns: void
func (*TextureProgress) SetOverTexture ¶
func (o *TextureProgress) SetOverTexture(tex TextureImplementer)
Undocumented Args: [{ false tex Texture}], Returns: void
func (*TextureProgress) SetProgressTexture ¶
func (o *TextureProgress) SetProgressTexture(tex TextureImplementer)
Undocumented Args: [{ false tex Texture}], Returns: void
func (*TextureProgress) SetRadialCenterOffset ¶
func (o *TextureProgress) SetRadialCenterOffset(mode gdnative.Vector2)
Undocumented Args: [{ false mode Vector2}], Returns: void
func (*TextureProgress) SetRadialInitialAngle ¶
func (o *TextureProgress) SetRadialInitialAngle(mode gdnative.Real)
Undocumented Args: [{ false mode float}], Returns: void
func (*TextureProgress) SetStretchMargin ¶
func (o *TextureProgress) SetStretchMargin(margin gdnative.Int, value gdnative.Int)
Undocumented Args: [{ false margin int} { false value int}], Returns: void
func (*TextureProgress) SetUnderTexture ¶
func (o *TextureProgress) SetUnderTexture(tex TextureImplementer)
Undocumented Args: [{ false tex Texture}], Returns: void
type TextureProgressFillMode ¶
type TextureProgressFillMode int
TextureProgressFillMode is an enum for FillMode values.
const ( TextureProgressFillBottomToTop TextureProgressFillMode = 3 TextureProgressFillClockwise TextureProgressFillMode = 4 TextureProgressFillCounterClockwise TextureProgressFillMode = 5 TextureProgressFillLeftToRight TextureProgressFillMode = 0 TextureProgressFillRightToLeft TextureProgressFillMode = 1 TextureProgressFillTopToBottom TextureProgressFillMode = 2 )
type TextureProgressImplementer ¶
type TextureProgressImplementer interface { RangeImplementer GetFillDegrees() gdnative.Real GetFillMode() gdnative.Int GetNinePatchStretch() gdnative.Bool GetOverTexture() TextureImplementer GetProgressTexture() TextureImplementer GetRadialCenterOffset() gdnative.Vector2 GetRadialInitialAngle() gdnative.Real GetStretchMargin(margin gdnative.Int) gdnative.Int GetUnderTexture() TextureImplementer SetFillDegrees(mode gdnative.Real) SetFillMode(mode gdnative.Int) SetNinePatchStretch(stretch gdnative.Bool) SetOverTexture(tex TextureImplementer) SetProgressTexture(tex TextureImplementer) SetRadialCenterOffset(mode gdnative.Vector2) SetRadialInitialAngle(mode gdnative.Real) SetStretchMargin(margin gdnative.Int, value gdnative.Int) SetUnderTexture(tex TextureImplementer) }
TextureProgressImplementer is an interface that implements the methods of the TextureProgress class.
type TextureRect ¶
type TextureRect struct { Control // contains filtered or unexported fields }
Use TextureRect to draw icons and sprites in your User Interfaces. To create panels and menu boxes, take a look at [NinePatchFrame]. Its Stretch Mode property controls the texture's scale and placement. It can scale, tile and stay centered inside its bounding rectangle. TextureRect is one of the 5 most common nodes to create game UI.
func (*TextureRect) BaseClass ¶
func (o *TextureRect) BaseClass() string
func (*TextureRect) GetStretchMode ¶
func (o *TextureRect) GetStretchMode() TextureRectStretchMode
Undocumented Args: [], Returns: enum.TextureRect::StretchMode
func (*TextureRect) GetTexture ¶
func (o *TextureRect) GetTexture() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*TextureRect) HasExpand ¶
func (o *TextureRect) HasExpand() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*TextureRect) SetExpand ¶
func (o *TextureRect) SetExpand(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*TextureRect) SetStretchMode ¶
func (o *TextureRect) SetStretchMode(stretchMode gdnative.Int)
Undocumented Args: [{ false stretch_mode int}], Returns: void
func (*TextureRect) SetTexture ¶
func (o *TextureRect) SetTexture(texture TextureImplementer)
Undocumented Args: [{ false texture Texture}], Returns: void
type TextureRectImplementer ¶
type TextureRectImplementer interface { ControlImplementer GetTexture() TextureImplementer HasExpand() gdnative.Bool SetExpand(enable gdnative.Bool) SetStretchMode(stretchMode gdnative.Int) SetTexture(texture TextureImplementer) }
TextureRectImplementer is an interface that implements the methods of the TextureRect class.
type TextureRectStretchMode ¶
type TextureRectStretchMode int
TextureRectStretchMode is an enum for StretchMode values.
const ( TextureRectStretchKeep TextureRectStretchMode = 3 TextureRectStretchKeepAspect TextureRectStretchMode = 5 TextureRectStretchKeepAspectCentered TextureRectStretchMode = 6 TextureRectStretchKeepAspectCovered TextureRectStretchMode = 7 TextureRectStretchKeepCentered TextureRectStretchMode = 4 TextureRectStretchScale TextureRectStretchMode = 1 TextureRectStretchScaleOnExpand TextureRectStretchMode = 0 TextureRectStretchTile TextureRectStretchMode = 2 )
type Theme ¶
type Theme struct { Resource // contains filtered or unexported fields }
Theme for skinning controls. Controls can be skinned individually, but for complex applications it's more efficient to just create a global theme that defines everything. This theme can be applied to any Control, and it and its children will automatically use it. Theme resources can be alternatively loaded by writing them in a .theme file, see docs for more info.
func (*Theme) ClearColor ¶
Clears theme [Color] at [code]name[/code] if Theme has [code]type[/code]. Args: [{ false name String} { false type String}], Returns: void
func (*Theme) ClearConstant ¶
Clears theme constant at [code]name[/code] if Theme has [code]type[/code]. Args: [{ false name String} { false type String}], Returns: void
func (*Theme) ClearFont ¶
Clears [Font] at [code]name[/code] if Theme has [code]type[/code]. Args: [{ false name String} { false type String}], Returns: void
func (*Theme) ClearIcon ¶
Clears icon at [code]name[/code] if Theme has [code]type[/code]. Args: [{ false name String} { false type String}], Returns: void
func (*Theme) ClearStylebox ¶
Clears [StyleBox] at [code]name[/code] if Theme has [code]type[/code]. Args: [{ false name String} { false type String}], Returns: void
func (*Theme) CopyDefaultTheme ¶
func (o *Theme) CopyDefaultTheme()
Sets theme values to a copy of the default theme values. Args: [], Returns: void
func (*Theme) GetColor ¶
Returns the [Color] at [code]name[/code] if Theme has [code]type[/code]. Args: [{ false name String} { false type String}], Returns: Color
func (*Theme) GetColorList ¶
func (o *Theme) GetColorList(aType gdnative.String) gdnative.PoolStringArray
Returns all of the [Color]s as a [PoolStringArray] filled with each [Color]'s name, for use in [method get_color], if Theme has [code]type[/code]. Args: [{ false type String}], Returns: PoolStringArray
func (*Theme) GetConstant ¶
Returns the constant at [code]name[/code] if Theme has [code]type[/code]. Args: [{ false name String} { false type String}], Returns: int
func (*Theme) GetConstantList ¶
func (o *Theme) GetConstantList(aType gdnative.String) gdnative.PoolStringArray
Returns all of the constants as a [PoolStringArray] filled with each constant's name, for use in [method get_constant], if Theme has [code]type[/code]. Args: [{ false type String}], Returns: PoolStringArray
func (*Theme) GetDefaultFont ¶
func (o *Theme) GetDefaultFont() FontImplementer
Undocumented Args: [], Returns: Font
func (*Theme) GetFont ¶
Returns the [Font] at [code]name[/code] if Theme has [code]type[/code]. Args: [{ false name String} { false type String}], Returns: Font
func (*Theme) GetFontList ¶
func (o *Theme) GetFontList(aType gdnative.String) gdnative.PoolStringArray
Returns all of the [Font]s as a [PoolStringArray] filled with each [Font]'s name, for use in [method get_font], if Theme has [code]type[/code]. Args: [{ false type String}], Returns: PoolStringArray
func (*Theme) GetIcon ¶
Returns the icon [Texture] at [code]name[/code] if Theme has [code]type[/code]. Args: [{ false name String} { false type String}], Returns: Texture
func (*Theme) GetIconList ¶
func (o *Theme) GetIconList(aType gdnative.String) gdnative.PoolStringArray
Returns all of the icons as a [PoolStringArray] filled with each [Texture]'s name, for use in [method get_icon], if Theme has [code]type[/code]. Args: [{ false type String}], Returns: PoolStringArray
func (*Theme) GetStylebox ¶
Returns the icon [StyleBox] at [code]name[/code] if Theme has [code]type[/code]. Args: [{ false name String} { false type String}], Returns: StyleBox
func (*Theme) GetStyleboxList ¶
func (o *Theme) GetStyleboxList(aType gdnative.String) gdnative.PoolStringArray
Returns all of the [StyleBox]s as a [PoolStringArray] filled with each [StyleBox]'s name, for use in [method get_stylebox], if Theme has [code]type[/code]. Args: [{ false type String}], Returns: PoolStringArray
func (*Theme) GetStyleboxTypes ¶
func (o *Theme) GetStyleboxTypes() gdnative.PoolStringArray
Returns all of the [StyleBox] types as a [PoolStringArray] filled with each [StyleBox]'s type, for use in [method get_stylebox] and/or [method get_stylebox_list], if Theme has [code]type[/code]. Args: [], Returns: PoolStringArray
func (*Theme) GetTypeList ¶
func (o *Theme) GetTypeList(aType gdnative.String) gdnative.PoolStringArray
Returns all of the types in [code]type[/code] as a [PoolStringArray] for use in any of the get_* functions, if Theme has [code]type[/code]. Args: [{ false type String}], Returns: PoolStringArray
func (*Theme) HasColor ¶
Returns [code]true[/code] if [Color] with [code]name[/code] is in [code]type[/code]. Returns [code]false[/code] if Theme does not have [code]type[/code]. Args: [{ false name String} { false type String}], Returns: bool
func (*Theme) HasConstant ¶
Returns [code]true[/code] if constant with [code]name[/code] is in [code]type[/code]. Returns [code]false[/code] if Theme does not have [code]type[/code]. Args: [{ false name String} { false type String}], Returns: bool
func (*Theme) HasFont ¶
Returns [code]true[/code] if [Font] with [code]name[/code] is in [code]type[/code]. Returns [code]false[/code] if Theme does not have [code]type[/code]. Args: [{ false name String} { false type String}], Returns: bool
func (*Theme) HasIcon ¶
Returns [code]true[/code] if icon [Texture] with [code]name[/code] is in [code]type[/code]. Returns [code]false[/code] if Theme does not have [code]type[/code]. Args: [{ false name String} { false type String}], Returns: bool
func (*Theme) HasStylebox ¶
Returns [code]true[/code] if [StyleBox] with [code]name[/code] is in [code]type[/code]. Returns [code]false[/code] if Theme does not have [code]type[/code]. Args: [{ false name String} { false type String}], Returns: bool
func (*Theme) SetColor ¶
Sets Theme's [Color] to [code]color[/code] at [code]name[/code] in [code]type[/code]. Does nothing if Theme does not have [code]type[/code]. Args: [{ false name String} { false type String} { false color Color}], Returns: void
func (*Theme) SetConstant ¶
Sets Theme's constant to [code]constant[/code] at [code]name[/code] in [code]type[/code]. Does nothing if Theme does not have [code]type[/code]. Args: [{ false name String} { false type String} { false constant int}], Returns: void
func (*Theme) SetDefaultFont ¶
func (o *Theme) SetDefaultFont(font FontImplementer)
Undocumented Args: [{ false font Font}], Returns: void
func (*Theme) SetFont ¶
Sets Theme's [Font] to [code]font[/code] at [code]name[/code] in [code]type[/code]. Does nothing if Theme does not have [code]type[/code]. Args: [{ false name String} { false type String} { false font Font}], Returns: void
func (*Theme) SetIcon ¶
Sets Theme's icon [Texture] to [code]texture[/code] at [code]name[/code] in [code]type[/code]. Does nothing if Theme does not have [code]type[/code]. Args: [{ false name String} { false type String} { false texture Texture}], Returns: void
func (*Theme) SetStylebox ¶
func (o *Theme) SetStylebox(name gdnative.String, aType gdnative.String, texture StyleBoxImplementer)
Sets Theme's [StyleBox] to [code]stylebox[/code] at [code]name[/code] in [code]type[/code]. Does nothing if Theme does not have [code]type[/code]. Args: [{ false name String} { false type String} { false texture StyleBox}], Returns: void
func (*Theme) X_EmitThemeChanged ¶
func (o *Theme) X_EmitThemeChanged()
Undocumented Args: [], Returns: void
type ThemeImplementer ¶
type ThemeImplementer interface { ResourceImplementer X_EmitThemeChanged() ClearColor(name gdnative.String, aType gdnative.String) ClearConstant(name gdnative.String, aType gdnative.String) ClearFont(name gdnative.String, aType gdnative.String) ClearIcon(name gdnative.String, aType gdnative.String) ClearStylebox(name gdnative.String, aType gdnative.String) CopyDefaultTheme() GetColor(name gdnative.String, aType gdnative.String) gdnative.Color GetColorList(aType gdnative.String) gdnative.PoolStringArray GetConstant(name gdnative.String, aType gdnative.String) gdnative.Int GetConstantList(aType gdnative.String) gdnative.PoolStringArray GetDefaultFont() FontImplementer GetFont(name gdnative.String, aType gdnative.String) FontImplementer GetFontList(aType gdnative.String) gdnative.PoolStringArray GetIcon(name gdnative.String, aType gdnative.String) TextureImplementer GetIconList(aType gdnative.String) gdnative.PoolStringArray GetStylebox(name gdnative.String, aType gdnative.String) StyleBoxImplementer GetStyleboxList(aType gdnative.String) gdnative.PoolStringArray GetStyleboxTypes() gdnative.PoolStringArray GetTypeList(aType gdnative.String) gdnative.PoolStringArray HasColor(name gdnative.String, aType gdnative.String) gdnative.Bool HasConstant(name gdnative.String, aType gdnative.String) gdnative.Bool HasFont(name gdnative.String, aType gdnative.String) gdnative.Bool HasIcon(name gdnative.String, aType gdnative.String) gdnative.Bool HasStylebox(name gdnative.String, aType gdnative.String) gdnative.Bool SetColor(name gdnative.String, aType gdnative.String, color gdnative.Color) SetConstant(name gdnative.String, aType gdnative.String, constant gdnative.Int) SetDefaultFont(font FontImplementer) SetFont(name gdnative.String, aType gdnative.String, font FontImplementer) SetIcon(name gdnative.String, aType gdnative.String, texture TextureImplementer) SetStylebox(name gdnative.String, aType gdnative.String, texture StyleBoxImplementer) }
ThemeImplementer is an interface that implements the methods of the Theme class.
type Thread ¶
type Thread struct { Reference // contains filtered or unexported fields }
A unit of execution in a process. Can run methods on [Object]s simultaneously. The use of synchronization via Mutex, Semaphore is advised if working with shared objects.
func (*Thread) Start ¶
func (o *Thread) Start(instance ObjectImplementer, method gdnative.String, userdata gdnative.Variant, priority gdnative.Int) gdnative.Error
Undocumented Args: [{ false instance Object} { false method String} {Null true userdata Variant} {1 true priority int}], Returns: enum.Error
func (*Thread) WaitToFinish ¶
Undocumented Args: [], Returns: Variant
type ThreadImplementer ¶
type ThreadImplementer interface { ReferenceImplementer GetId() gdnative.String IsActive() gdnative.Bool WaitToFinish() gdnative.Variant }
ThreadImplementer is an interface that implements the methods of the Thread class.
type TileMap ¶
type TileMap struct { Node2D // contains filtered or unexported fields }
Node for 2D tile-based maps. Tilemaps use a TileSet which contain a list of tiles (textures plus optional collision, navigation, and/or occluder shapes) which are used to create grid-based maps.
func (*TileMap) GetCell ¶
Return the tile index of the referenced cell. Args: [{ false x int} { false y int}], Returns: int
func (*TileMap) GetCellSize ¶
Undocumented Args: [], Returns: Vector2
func (*TileMap) GetCellv ¶
Return the tile index of the cell referenced by a Vector2. Args: [{ false position Vector2}], Returns: int
func (*TileMap) GetCollisionBounce ¶
Undocumented Args: [], Returns: float
func (*TileMap) GetCollisionFriction ¶
Undocumented Args: [], Returns: float
func (*TileMap) GetCollisionLayer ¶
Undocumented Args: [], Returns: int
func (*TileMap) GetCollisionLayerBit ¶
Args: [{ false bit int}], Returns: bool
func (*TileMap) GetCollisionMask ¶
Undocumented Args: [], Returns: int
func (*TileMap) GetCollisionMaskBit ¶
Args: [{ false bit int}], Returns: bool
func (*TileMap) GetCollisionUseKinematic ¶
Undocumented Args: [], Returns: bool
func (*TileMap) GetCustomTransform ¶
func (o *TileMap) GetCustomTransform() gdnative.Transform2D
Undocumented Args: [], Returns: Transform2D
func (*TileMap) GetHalfOffset ¶
func (o *TileMap) GetHalfOffset() TileMapHalfOffset
Undocumented Args: [], Returns: enum.TileMap::HalfOffset
func (*TileMap) GetMode ¶
func (o *TileMap) GetMode() TileMapMode
Undocumented Args: [], Returns: enum.TileMap::Mode
func (*TileMap) GetOccluderLightMask ¶
Undocumented Args: [], Returns: int
func (*TileMap) GetQuadrantSize ¶
Undocumented Args: [], Returns: int
func (*TileMap) GetTileOrigin ¶
func (o *TileMap) GetTileOrigin() TileMapTileOrigin
Undocumented Args: [], Returns: enum.TileMap::TileOrigin
func (*TileMap) GetTileset ¶
func (o *TileMap) GetTileset() TileSetImplementer
Undocumented Args: [], Returns: TileSet
func (*TileMap) GetUsedCells ¶
Return an array of all cells containing a tile from the tileset (i.e. a tile index different from -1). Args: [], Returns: Array
func (*TileMap) GetUsedCellsById ¶
Args: [{ false id int}], Returns: Array
func (*TileMap) GetUsedRect ¶
Args: [], Returns: Rect2
func (*TileMap) IsCellTransposed ¶
Return whether the referenced cell is transposed, i.e. the X and Y axes are swapped (mirroring with regard to the (1,1) vector). Args: [{ false x int} { false y int}], Returns: bool
func (*TileMap) IsCellXFlipped ¶
Return whether the referenced cell is flipped over the X axis. Args: [{ false x int} { false y int}], Returns: bool
func (*TileMap) IsCellYFlipped ¶
Return whether the referenced cell is flipped over the Y axis. Args: [{ false x int} { false y int}], Returns: bool
func (*TileMap) IsYSortModeEnabled ¶
Undocumented Args: [], Returns: bool
func (*TileMap) MapToWorld ¶
func (o *TileMap) MapToWorld(mapPosition gdnative.Vector2, ignoreHalfOfs gdnative.Bool) gdnative.Vector2
Return the absolute world position corresponding to the tilemap (grid-based) coordinates given as an argument. Optionally, the tilemap's potential half offset can be ignored. Args: [{ false map_position Vector2} {False true ignore_half_ofs bool}], Returns: Vector2
func (*TileMap) SetCell ¶
func (o *TileMap) SetCell(x gdnative.Int, y gdnative.Int, tile gdnative.Int, flipX gdnative.Bool, flipY gdnative.Bool, transpose gdnative.Bool, autotileCoord gdnative.Vector2)
Set the tile index for the cell referenced by its grid-based X and Y coordinates. A tile index of -1 clears the cell. Optionally, the tile can also be flipped over the X and Y coordinates, transposed, or be given autotile coordinates. Args: [{ false x int} { false y int} { false tile int} {False true flip_x bool} {False true flip_y bool} {False true transpose bool} {(0, 0) true autotile_coord Vector2}], Returns: void
func (*TileMap) SetCellSize ¶
Undocumented Args: [{ false size Vector2}], Returns: void
func (*TileMap) SetCellv ¶
func (o *TileMap) SetCellv(position gdnative.Vector2, tile gdnative.Int, flipX gdnative.Bool, flipY gdnative.Bool, transpose gdnative.Bool)
Set the tile index for the cell referenced by a Vector2 of grid-based coordinates. A tile index of -1 clears the cell. Optionally, the tile can also be flipped over the X and Y axes or transposed. Args: [{ false position Vector2} { false tile int} {False true flip_x bool} {False true flip_y bool} {False true transpose bool}], Returns: void
func (*TileMap) SetCollisionBounce ¶
Undocumented Args: [{ false value float}], Returns: void
func (*TileMap) SetCollisionFriction ¶
Undocumented Args: [{ false value float}], Returns: void
func (*TileMap) SetCollisionLayer ¶
Undocumented Args: [{ false layer int}], Returns: void
func (*TileMap) SetCollisionLayerBit ¶
Args: [{ false bit int} { false value bool}], Returns: void
func (*TileMap) SetCollisionMask ¶
Undocumented Args: [{ false mask int}], Returns: void
func (*TileMap) SetCollisionMaskBit ¶
Args: [{ false bit int} { false value bool}], Returns: void
func (*TileMap) SetCollisionUseKinematic ¶
Undocumented Args: [{ false use_kinematic bool}], Returns: void
func (*TileMap) SetCustomTransform ¶
func (o *TileMap) SetCustomTransform(customTransform gdnative.Transform2D)
Undocumented Args: [{ false custom_transform Transform2D}], Returns: void
func (*TileMap) SetHalfOffset ¶
Undocumented Args: [{ false half_offset int}], Returns: void
func (*TileMap) SetOccluderLightMask ¶
Undocumented Args: [{ false mask int}], Returns: void
func (*TileMap) SetQuadrantSize ¶
Undocumented Args: [{ false size int}], Returns: void
func (*TileMap) SetTileOrigin ¶
Undocumented Args: [{ false origin int}], Returns: void
func (*TileMap) SetTileset ¶
func (o *TileMap) SetTileset(tileset TileSetImplementer)
Undocumented Args: [{ false tileset TileSet}], Returns: void
func (*TileMap) SetYSortMode ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*TileMap) UpdateBitmaskArea ¶
Applies autotiling rules to the cell (and its adjacent cells) referenced by its grid-based X and Y coordinates. Args: [{ false position Vector2}], Returns: void
func (*TileMap) UpdateBitmaskRegion ¶
Applies autotiling rules to the cells in the given region (specified by grid-based X and Y coordinates). Calling with invalid (or missing) parameters applies autotiling rules for the entire TileMap. Args: [{(0, 0) true start Vector2} {(0, 0) true end Vector2}], Returns: void
func (*TileMap) WorldToMap ¶
Return the tilemap (grid-based) coordinates corresponding to the absolute world position given as an argument. Args: [{ false world_position Vector2}], Returns: Vector2
func (*TileMap) X_ClearQuadrants ¶
func (o *TileMap) X_ClearQuadrants()
Undocumented Args: [], Returns: void
func (*TileMap) X_GetOldCellSize ¶
Undocumented Args: [], Returns: int
func (*TileMap) X_GetTileData ¶
func (o *TileMap) X_GetTileData() gdnative.PoolIntArray
Undocumented Args: [], Returns: PoolIntArray
func (*TileMap) X_RecreateQuadrants ¶
func (o *TileMap) X_RecreateQuadrants()
Undocumented Args: [], Returns: void
func (*TileMap) X_SetOldCellSize ¶
Undocumented Args: [{ false size int}], Returns: void
func (*TileMap) X_SetTileData ¶
func (o *TileMap) X_SetTileData(arg0 gdnative.PoolIntArray)
Undocumented Args: [{ false arg0 PoolIntArray}], Returns: void
func (*TileMap) X_UpdateDirtyQuadrants ¶
func (o *TileMap) X_UpdateDirtyQuadrants()
Undocumented Args: [], Returns: void
type TileMapHalfOffset ¶
type TileMapHalfOffset int
TileMapHalfOffset is an enum for HalfOffset values.
const ( TileMapHalfOffsetDisabled TileMapHalfOffset = 2 TileMapHalfOffsetX TileMapHalfOffset = 0 TileMapHalfOffsetY TileMapHalfOffset = 1 )
type TileMapImplementer ¶
type TileMapImplementer interface { Node2DImplementer X_ClearQuadrants() X_GetOldCellSize() gdnative.Int X_GetTileData() gdnative.PoolIntArray X_RecreateQuadrants() X_SetOldCellSize(size gdnative.Int) X_SetTileData(arg0 gdnative.PoolIntArray) X_UpdateDirtyQuadrants() Clear() GetCell(x gdnative.Int, y gdnative.Int) gdnative.Int GetCellSize() gdnative.Vector2 GetCellv(position gdnative.Vector2) gdnative.Int GetClipUv() gdnative.Bool GetCollisionBounce() gdnative.Real GetCollisionFriction() gdnative.Real GetCollisionLayer() gdnative.Int GetCollisionLayerBit(bit gdnative.Int) gdnative.Bool GetCollisionMask() gdnative.Int GetCollisionMaskBit(bit gdnative.Int) gdnative.Bool GetCollisionUseKinematic() gdnative.Bool GetCustomTransform() gdnative.Transform2D GetOccluderLightMask() gdnative.Int GetQuadrantSize() gdnative.Int GetTileset() TileSetImplementer GetUsedCells() gdnative.Array GetUsedCellsById(id gdnative.Int) gdnative.Array GetUsedRect() gdnative.Rect2 IsCellTransposed(x gdnative.Int, y gdnative.Int) gdnative.Bool IsCellXFlipped(x gdnative.Int, y gdnative.Int) gdnative.Bool IsCellYFlipped(x gdnative.Int, y gdnative.Int) gdnative.Bool IsYSortModeEnabled() gdnative.Bool MapToWorld(mapPosition gdnative.Vector2, ignoreHalfOfs gdnative.Bool) gdnative.Vector2 SetCell(x gdnative.Int, y gdnative.Int, tile gdnative.Int, flipX gdnative.Bool, flipY gdnative.Bool, transpose gdnative.Bool, autotileCoord gdnative.Vector2) SetCellSize(size gdnative.Vector2) SetCellv(position gdnative.Vector2, tile gdnative.Int, flipX gdnative.Bool, flipY gdnative.Bool, transpose gdnative.Bool) SetClipUv(enable gdnative.Bool) SetCollisionBounce(value gdnative.Real) SetCollisionFriction(value gdnative.Real) SetCollisionLayer(layer gdnative.Int) SetCollisionLayerBit(bit gdnative.Int, value gdnative.Bool) SetCollisionMask(mask gdnative.Int) SetCollisionMaskBit(bit gdnative.Int, value gdnative.Bool) SetCollisionUseKinematic(useKinematic gdnative.Bool) SetCustomTransform(customTransform gdnative.Transform2D) SetHalfOffset(halfOffset gdnative.Int) SetMode(mode gdnative.Int) SetOccluderLightMask(mask gdnative.Int) SetQuadrantSize(size gdnative.Int) SetTileOrigin(origin gdnative.Int) SetTileset(tileset TileSetImplementer) SetYSortMode(enable gdnative.Bool) UpdateBitmaskArea(position gdnative.Vector2) UpdateBitmaskRegion(start gdnative.Vector2, end gdnative.Vector2) WorldToMap(worldPosition gdnative.Vector2) gdnative.Vector2 }
TileMapImplementer is an interface that implements the methods of the TileMap class.
type TileMapMode ¶
type TileMapMode int
TileMapMode is an enum for Mode values.
const ( TileMapModeCustom TileMapMode = 2 TileMapModeIsometric TileMapMode = 1 TileMapModeSquare TileMapMode = 0 )
type TileMapTileOrigin ¶
type TileMapTileOrigin int
TileMapTileOrigin is an enum for TileOrigin values.
const ( TileMapTileOriginBottomLeft TileMapTileOrigin = 2 TileMapTileOriginCenter TileMapTileOrigin = 1 TileMapTileOriginTopLeft TileMapTileOrigin = 0 )
type TileSet ¶
type TileSet struct { Resource // contains filtered or unexported fields }
A TileSet is a library of tiles for a TileMap. It contains a list of tiles, each consisting of a sprite and optional collision shapes. Tiles are referenced by a unique integer ID.
func (*TileSet) AutotileGetBitmaskMode ¶
func (o *TileSet) AutotileGetBitmaskMode(id gdnative.Int) TileSetBitmaskMode
Args: [{ false id int}], Returns: enum.TileSet::BitmaskMode
func (*TileSet) AutotileSetBitmaskMode ¶
Args: [{ false id int} { false mode int}], Returns: void
func (*TileSet) CreateTile ¶
Create a new tile which will be referenced by the given ID. Args: [{ false id int}], Returns: void
func (*TileSet) FindTileByName ¶
Find the first tile matching the given name. Args: [{ false name String}], Returns: int
func (*TileSet) GetLastUnusedTileId ¶
Return the ID following the last currently used ID, useful when creating a new tile. Args: [], Returns: int
func (*TileSet) GetTilesIds ¶
Return an array of all currently used tile IDs. Args: [], Returns: Array
func (*TileSet) RemoveTile ¶
Remove the tile referenced by the given ID. Args: [{ false id int}], Returns: void
func (*TileSet) TileAddShape ¶
func (o *TileSet) TileAddShape(id gdnative.Int, shape Shape2DImplementer, shapeTransform gdnative.Transform2D, oneWay gdnative.Bool, autotileCoord gdnative.Vector2)
Args: [{ false id int} { false shape Shape2D} { false shape_transform Transform2D} {False true one_way bool} {(0, 0) true autotile_coord Vector2}], Returns: void
func (*TileSet) TileGetLightOccluder ¶
func (o *TileSet) TileGetLightOccluder(id gdnative.Int) OccluderPolygon2DImplementer
Return the light occluder of the tile. Args: [{ false id int}], Returns: OccluderPolygon2D
func (*TileSet) TileGetMaterial ¶
func (o *TileSet) TileGetMaterial(id gdnative.Int) ShaderMaterialImplementer
Return the material of the tile. Args: [{ false id int}], Returns: ShaderMaterial
func (*TileSet) TileGetName ¶
Return the name of the tile. Args: [{ false id int}], Returns: String
func (*TileSet) TileGetNavigationPolygon ¶
func (o *TileSet) TileGetNavigationPolygon(id gdnative.Int) NavigationPolygonImplementer
Return the navigation polygon of the tile. Args: [{ false id int}], Returns: NavigationPolygon
func (*TileSet) TileGetNavigationPolygonOffset ¶
Return the offset of the tile's navigation polygon. Args: [{ false id int}], Returns: Vector2
func (*TileSet) TileGetNormalMap ¶
func (o *TileSet) TileGetNormalMap(id gdnative.Int) TextureImplementer
Args: [{ false id int}], Returns: Texture
func (*TileSet) TileGetOccluderOffset ¶
Return the offset of the tile's light occluder. Args: [{ false id int}], Returns: Vector2
func (*TileSet) TileGetRegion ¶
Return the tile sub-region in the texture. Args: [{ false id int}], Returns: Rect2
func (*TileSet) TileGetShape ¶
Args: [{ false id int} { false shape_id int}], Returns: Shape2D
func (*TileSet) TileGetShapeCount ¶
Args: [{ false id int}], Returns: int
func (*TileSet) TileGetShapeOneWay ¶
Args: [{ false id int} { false shape_id int}], Returns: bool
func (*TileSet) TileGetShapeTransform ¶
Args: [{ false id int} { false shape_id int}], Returns: Transform2D
func (*TileSet) TileGetShapes ¶
Return the array of shapes of the tile. Args: [{ false id int}], Returns: Array
func (*TileSet) TileGetTexture ¶
func (o *TileSet) TileGetTexture(id gdnative.Int) TextureImplementer
Return the texture of the tile. Args: [{ false id int}], Returns: Texture
func (*TileSet) TileGetTextureOffset ¶
Return the texture offset of the tile. Args: [{ false id int}], Returns: Vector2
func (*TileSet) TileSetLightOccluder ¶
func (o *TileSet) TileSetLightOccluder(id gdnative.Int, lightOccluder OccluderPolygon2DImplementer)
Set a light occluder for the tile. Args: [{ false id int} { false light_occluder OccluderPolygon2D}], Returns: void
func (*TileSet) TileSetMaterial ¶
func (o *TileSet) TileSetMaterial(id gdnative.Int, material ShaderMaterialImplementer)
Set the material of the tile. Args: [{ false id int} { false material ShaderMaterial}], Returns: void
func (*TileSet) TileSetName ¶
Set the name of the tile, for descriptive purposes. Args: [{ false id int} { false name String}], Returns: void
func (*TileSet) TileSetNavigationPolygon ¶
func (o *TileSet) TileSetNavigationPolygon(id gdnative.Int, navigationPolygon NavigationPolygonImplementer)
Set a navigation polygon for the tile. Args: [{ false id int} { false navigation_polygon NavigationPolygon}], Returns: void
func (*TileSet) TileSetNavigationPolygonOffset ¶
func (o *TileSet) TileSetNavigationPolygonOffset(id gdnative.Int, navigationPolygonOffset gdnative.Vector2)
Set an offset for the tile's navigation polygon. Args: [{ false id int} { false navigation_polygon_offset Vector2}], Returns: void
func (*TileSet) TileSetNormalMap ¶
func (o *TileSet) TileSetNormalMap(id gdnative.Int, normalMap TextureImplementer)
Args: [{ false id int} { false normal_map Texture}], Returns: void
func (*TileSet) TileSetOccluderOffset ¶
Set an offset for the tile's light occluder. Args: [{ false id int} { false occluder_offset Vector2}], Returns: void
func (*TileSet) TileSetRegion ¶
Set the tile sub-region in the texture. This is common in texture atlases. Args: [{ false id int} { false region Rect2}], Returns: void
func (*TileSet) TileSetShape ¶
Args: [{ false id int} { false shape_id int} { false shape Shape2D}], Returns: void
func (*TileSet) TileSetShapeOneWay ¶
Args: [{ false id int} { false shape_id int} { false one_way bool}], Returns: void
func (*TileSet) TileSetShapeTransform ¶
func (o *TileSet) TileSetShapeTransform(id gdnative.Int, shapeId gdnative.Int, shapeTransform gdnative.Transform2D)
Args: [{ false id int} { false shape_id int} { false shape_transform Transform2D}], Returns: void
func (*TileSet) TileSetShapes ¶
Set an array of shapes for the tile, enabling physics to collide with it. Args: [{ false id int} { false shapes Array}], Returns: void
func (*TileSet) TileSetTexture ¶
func (o *TileSet) TileSetTexture(id gdnative.Int, texture TextureImplementer)
Set the texture of the tile. Args: [{ false id int} { false texture Texture}], Returns: void
func (*TileSet) TileSetTextureOffset ¶
Set the texture offset of the tile. Args: [{ false id int} { false texture_offset Vector2}], Returns: void
func (*TileSet) X_ForwardSubtileSelection ¶
func (o *TileSet) X_ForwardSubtileSelection(autotileId gdnative.Int, bitmask gdnative.Int, tilemap ObjectImplementer, tileLocation gdnative.Vector2) gdnative.Vector2
Args: [{ false autotile_id int} { false bitmask int} { false tilemap Object} { false tile_location Vector2}], Returns: Vector2
type TileSetAutotileBindings ¶
type TileSetAutotileBindings int
TileSetAutotileBindings is an enum for AutotileBindings values.
const ( TileSetBindBottom TileSetAutotileBindings = 128 TileSetBindBottomleft TileSetAutotileBindings = 64 TileSetBindBottomright TileSetAutotileBindings = 256 TileSetBindLeft TileSetAutotileBindings = 8 TileSetBindRight TileSetAutotileBindings = 32 TileSetBindTop TileSetAutotileBindings = 2 TileSetBindTopleft TileSetAutotileBindings = 1 TileSetBindTopright TileSetAutotileBindings = 4 )
type TileSetBitmaskMode ¶
type TileSetBitmaskMode int
TileSetBitmaskMode is an enum for BitmaskMode values.
const ( TileSetBitmask2X2 TileSetBitmaskMode = 0 TileSetBitmask3X3 TileSetBitmaskMode = 1 )
type TileSetImplementer ¶
type TileSetImplementer interface { ResourceImplementer X_ForwardSubtileSelection(autotileId gdnative.Int, bitmask gdnative.Int, tilemap ObjectImplementer, tileLocation gdnative.Vector2) gdnative.Vector2 X_IsTileBound(drawnId gdnative.Int, neighborId gdnative.Int) gdnative.Bool AutotileSetBitmaskMode(id gdnative.Int, mode gdnative.Int) Clear() CreateTile(id gdnative.Int) FindTileByName(name gdnative.String) gdnative.Int GetLastUnusedTileId() gdnative.Int GetTilesIds() gdnative.Array RemoveTile(id gdnative.Int) TileAddShape(id gdnative.Int, shape Shape2DImplementer, shapeTransform gdnative.Transform2D, oneWay gdnative.Bool, autotileCoord gdnative.Vector2) TileGetLightOccluder(id gdnative.Int) OccluderPolygon2DImplementer TileGetMaterial(id gdnative.Int) ShaderMaterialImplementer TileGetName(id gdnative.Int) gdnative.String TileGetNormalMap(id gdnative.Int) TextureImplementer TileGetOccluderOffset(id gdnative.Int) gdnative.Vector2 TileGetRegion(id gdnative.Int) gdnative.Rect2 TileGetShape(id gdnative.Int, shapeId gdnative.Int) Shape2DImplementer TileGetShapeCount(id gdnative.Int) gdnative.Int TileGetShapeOneWay(id gdnative.Int, shapeId gdnative.Int) gdnative.Bool TileGetShapeTransform(id gdnative.Int, shapeId gdnative.Int) gdnative.Transform2D TileGetShapes(id gdnative.Int) gdnative.Array TileGetTexture(id gdnative.Int) TextureImplementer TileGetTextureOffset(id gdnative.Int) gdnative.Vector2 TileSetLightOccluder(id gdnative.Int, lightOccluder OccluderPolygon2DImplementer) TileSetMaterial(id gdnative.Int, material ShaderMaterialImplementer) TileSetName(id gdnative.Int, name gdnative.String) TileSetNormalMap(id gdnative.Int, normalMap TextureImplementer) TileSetOccluderOffset(id gdnative.Int, occluderOffset gdnative.Vector2) TileSetRegion(id gdnative.Int, region gdnative.Rect2) TileSetShape(id gdnative.Int, shapeId gdnative.Int, shape Shape2DImplementer) TileSetShapeOneWay(id gdnative.Int, shapeId gdnative.Int, oneWay gdnative.Bool) TileSetShapeTransform(id gdnative.Int, shapeId gdnative.Int, shapeTransform gdnative.Transform2D) TileSetShapes(id gdnative.Int, shapes gdnative.Array) TileSetTexture(id gdnative.Int, texture TextureImplementer) TileSetTextureOffset(id gdnative.Int, textureOffset gdnative.Vector2) }
TileSetImplementer is an interface that implements the methods of the TileSet class.
type Timer ¶
type Timer struct { Node // contains filtered or unexported fields }
Counts down a specified interval and emits a signal on reaching 0. Can be set to repeat or "one shot" mode.
func (*Timer) GetTimeLeft ¶
Undocumented Args: [], Returns: float
func (*Timer) GetTimerProcessMode ¶
func (o *Timer) GetTimerProcessMode() TimerTimerProcessMode
Undocumented Args: [], Returns: enum.Timer::TimerProcessMode
func (*Timer) GetWaitTime ¶
Undocumented Args: [], Returns: float
func (*Timer) HasAutostart ¶
Undocumented Args: [], Returns: bool
func (*Timer) IsStopped ¶
Returns [code]true[/code] if the timer is stopped. Args: [], Returns: bool
func (*Timer) SetAutostart ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Timer) SetOneShot ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Timer) SetTimerProcessMode ¶
Undocumented Args: [{ false mode int}], Returns: void
func (*Timer) SetWaitTime ¶
Undocumented Args: [{ false time_sec float}], Returns: void
type TimerImplementer ¶
type TimerImplementer interface { NodeImplementer GetTimeLeft() gdnative.Real GetWaitTime() gdnative.Real HasAutostart() gdnative.Bool IsOneShot() gdnative.Bool IsPaused() gdnative.Bool IsStopped() gdnative.Bool SetAutostart(enable gdnative.Bool) SetOneShot(enable gdnative.Bool) SetPaused(paused gdnative.Bool) SetTimerProcessMode(mode gdnative.Int) SetWaitTime(timeSec gdnative.Real) Start() Stop() }
TimerImplementer is an interface that implements the methods of the Timer class.
type TimerTimerProcessMode ¶
type TimerTimerProcessMode int
TimerTimerProcessMode is an enum for TimerProcessMode values.
const ( TimerTimerProcessIdle TimerTimerProcessMode = 1 TimerTimerProcessPhysics TimerTimerProcessMode = 0 )
type ToolButton ¶
type ToolButton struct { Button // contains filtered or unexported fields }
This is a helper class to generate a flat Button (see [method Button.set_flat]), creating a ToolButton is equivalent to: [codeblock] var btn = Button.new() btn.set_flat(true) [/codeblock]
func (*ToolButton) BaseClass ¶
func (o *ToolButton) BaseClass() string
type ToolButtonImplementer ¶
type ToolButtonImplementer interface { ButtonImplementer }
ToolButtonImplementer is an interface that implements the methods of the ToolButton class.
type TouchScreenButton ¶
type TouchScreenButton struct { Node2D // contains filtered or unexported fields }
Button for touch screen devices. You can set it to be visible on all screens, or only on touch devices.
func (*TouchScreenButton) BaseClass ¶
func (o *TouchScreenButton) BaseClass() string
func (*TouchScreenButton) GetAction ¶
func (o *TouchScreenButton) GetAction() gdnative.String
Undocumented Args: [], Returns: String
func (*TouchScreenButton) GetBitmask ¶
func (o *TouchScreenButton) GetBitmask() BitMapImplementer
Undocumented Args: [], Returns: BitMap
func (*TouchScreenButton) GetShape ¶
func (o *TouchScreenButton) GetShape() Shape2DImplementer
Undocumented Args: [], Returns: Shape2D
func (*TouchScreenButton) GetTexture ¶
func (o *TouchScreenButton) GetTexture() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*TouchScreenButton) GetTexturePressed ¶
func (o *TouchScreenButton) GetTexturePressed() TextureImplementer
Undocumented Args: [], Returns: Texture
func (*TouchScreenButton) GetVisibilityMode ¶
func (o *TouchScreenButton) GetVisibilityMode() TouchScreenButtonVisibilityMode
Undocumented Args: [], Returns: enum.TouchScreenButton::VisibilityMode
func (*TouchScreenButton) IsPassbyPressEnabled ¶
func (o *TouchScreenButton) IsPassbyPressEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*TouchScreenButton) IsPressed ¶
func (o *TouchScreenButton) IsPressed() gdnative.Bool
Returns [code]true[/code] if this button is currently pressed. Args: [], Returns: bool
func (*TouchScreenButton) IsShapeCentered ¶
func (o *TouchScreenButton) IsShapeCentered() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*TouchScreenButton) IsShapeVisible ¶
func (o *TouchScreenButton) IsShapeVisible() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*TouchScreenButton) SetAction ¶
func (o *TouchScreenButton) SetAction(action gdnative.String)
Undocumented Args: [{ false action String}], Returns: void
func (*TouchScreenButton) SetBitmask ¶
func (o *TouchScreenButton) SetBitmask(bitmask BitMapImplementer)
Undocumented Args: [{ false bitmask BitMap}], Returns: void
func (*TouchScreenButton) SetPassbyPress ¶
func (o *TouchScreenButton) SetPassbyPress(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*TouchScreenButton) SetShape ¶
func (o *TouchScreenButton) SetShape(shape Shape2DImplementer)
Undocumented Args: [{ false shape Shape2D}], Returns: void
func (*TouchScreenButton) SetShapeCentered ¶
func (o *TouchScreenButton) SetShapeCentered(bool gdnative.Bool)
Undocumented Args: [{ false bool bool}], Returns: void
func (*TouchScreenButton) SetShapeVisible ¶
func (o *TouchScreenButton) SetShapeVisible(bool gdnative.Bool)
Undocumented Args: [{ false bool bool}], Returns: void
func (*TouchScreenButton) SetTexture ¶
func (o *TouchScreenButton) SetTexture(texture TextureImplementer)
Undocumented Args: [{ false texture Texture}], Returns: void
func (*TouchScreenButton) SetTexturePressed ¶
func (o *TouchScreenButton) SetTexturePressed(texturePressed TextureImplementer)
Undocumented Args: [{ false texture_pressed Texture}], Returns: void
func (*TouchScreenButton) SetVisibilityMode ¶
func (o *TouchScreenButton) SetVisibilityMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*TouchScreenButton) X_Input ¶
func (o *TouchScreenButton) X_Input(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
type TouchScreenButtonImplementer ¶
type TouchScreenButtonImplementer interface { Node2DImplementer GetAction() gdnative.String GetBitmask() BitMapImplementer GetShape() Shape2DImplementer GetTexture() TextureImplementer GetTexturePressed() TextureImplementer IsPassbyPressEnabled() gdnative.Bool IsPressed() gdnative.Bool IsShapeCentered() gdnative.Bool IsShapeVisible() gdnative.Bool SetAction(action gdnative.String) SetBitmask(bitmask BitMapImplementer) SetPassbyPress(enabled gdnative.Bool) SetShape(shape Shape2DImplementer) SetShapeCentered(bool gdnative.Bool) SetShapeVisible(bool gdnative.Bool) SetTexture(texture TextureImplementer) SetTexturePressed(texturePressed TextureImplementer) SetVisibilityMode(mode gdnative.Int) }
TouchScreenButtonImplementer is an interface that implements the methods of the TouchScreenButton class.
type TouchScreenButtonVisibilityMode ¶
type TouchScreenButtonVisibilityMode int
TouchScreenButtonVisibilityMode is an enum for VisibilityMode values.
const ( TouchScreenButtonVisibilityAlways TouchScreenButtonVisibilityMode = 0 TouchScreenButtonVisibilityTouchscreenOnly TouchScreenButtonVisibilityMode = 1 )
type Translation ¶
type Translation struct { Resource // contains filtered or unexported fields }
Translations are resources that can be loaded/unloaded on demand. They map a string to another string.
func (*Translation) AddMessage ¶
func (o *Translation) AddMessage(srcMessage gdnative.String, xlatedMessage gdnative.String)
Add a message for translation. Args: [{ false src_message String} { false xlated_message String}], Returns: void
func (*Translation) BaseClass ¶
func (o *Translation) BaseClass() string
func (*Translation) EraseMessage ¶
func (o *Translation) EraseMessage(srcMessage gdnative.String)
Erase a message. Args: [{ false src_message String}], Returns: void
func (*Translation) GetLocale ¶
func (o *Translation) GetLocale() gdnative.String
Undocumented Args: [], Returns: String
func (*Translation) GetMessage ¶
func (o *Translation) GetMessage(srcMessage gdnative.String) gdnative.String
Return a message for translation. Args: [{ false src_message String}], Returns: String
func (*Translation) GetMessageCount ¶
func (o *Translation) GetMessageCount() gdnative.Int
Args: [], Returns: int
func (*Translation) GetMessageList ¶
func (o *Translation) GetMessageList() gdnative.PoolStringArray
Return all the messages (keys). Args: [], Returns: PoolStringArray
func (*Translation) SetLocale ¶
func (o *Translation) SetLocale(locale gdnative.String)
Undocumented Args: [{ false locale String}], Returns: void
func (*Translation) X_GetMessages ¶
func (o *Translation) X_GetMessages() gdnative.PoolStringArray
Undocumented Args: [], Returns: PoolStringArray
func (*Translation) X_SetMessages ¶
func (o *Translation) X_SetMessages(arg0 gdnative.PoolStringArray)
Undocumented Args: [{ false arg0 PoolStringArray}], Returns: void
type TranslationImplementer ¶
type TranslationImplementer interface { ResourceImplementer X_GetMessages() gdnative.PoolStringArray X_SetMessages(arg0 gdnative.PoolStringArray) AddMessage(srcMessage gdnative.String, xlatedMessage gdnative.String) EraseMessage(srcMessage gdnative.String) GetLocale() gdnative.String GetMessage(srcMessage gdnative.String) gdnative.String GetMessageCount() gdnative.Int GetMessageList() gdnative.PoolStringArray SetLocale(locale gdnative.String) }
TranslationImplementer is an interface that implements the methods of the Translation class.
type TranslationServerImplementer ¶
type TranslationServerImplementer interface { ObjectImplementer AddTranslation(translation TranslationImplementer) Clear() GetLocale() gdnative.String GetLocaleName(locale gdnative.String) gdnative.String RemoveTranslation(translation TranslationImplementer) SetLocale(locale gdnative.String) Translate(message gdnative.String) gdnative.String }
TranslationServerImplementer is an interface that implements the methods of the TranslationServer class.
type Tree ¶
type Tree struct { Control // contains filtered or unexported fields }
This shows a tree of items that can be selected, expanded and collapsed. The tree can have multiple columns with custom controls like text editing, buttons and popups. It can be useful for structured displays and interactions. Trees are built via code, using TreeItem objects to create the structure. They have a single root but multiple roots can be simulated if a dummy hidden root is added. [codeblock] func _ready(): var tree = Tree.new() var root = tree.create_item() tree.set_hide_root(true) var child1 = tree.create_item(root) var child2 = tree.create_item(root) var subchild1 = tree.create_item(child1) subchild1.set_text(0, "Subchild1") [/codeblock]
func (*Tree) AreColumnTitlesVisible ¶
Returns [code]true[/code] if the column titles are being shown. Args: [], Returns: bool
func (*Tree) Clear ¶
func (o *Tree) Clear()
Clears the tree. This removes all items. Args: [], Returns: void
func (*Tree) CreateItem ¶
func (o *Tree) CreateItem(parent ObjectImplementer, idx gdnative.Int) ObjectImplementer
Create an item in the tree and add it as the last child of [code]parent[/code]. If parent is not given, it will be added as the root's last child, or it'll the be the root itself if the tree is empty. Args: [{Null true parent Object} {-1 true idx int}], Returns: Object
func (*Tree) EnsureCursorIsVisible ¶
func (o *Tree) EnsureCursorIsVisible()
Makes the currently selected item visible. This will scroll the tree to make sure the selected item is visible. Args: [], Returns: void
func (*Tree) GetAllowReselect ¶
Undocumented Args: [], Returns: bool
func (*Tree) GetAllowRmbSelect ¶
Undocumented Args: [], Returns: bool
func (*Tree) GetColumnAtPosition ¶
Returns the column index under the given point. Args: [{ false position Vector2}], Returns: int
func (*Tree) GetColumnTitle ¶
Returns the column's title. Args: [{ false column int}], Returns: String
func (*Tree) GetColumnWidth ¶
Returns the column's width in pixels. Args: [{ false column int}], Returns: int
func (*Tree) GetColumns ¶
Undocumented Args: [], Returns: int
func (*Tree) GetCustomPopupRect ¶
Returns the rectangle for custom popups. Helper to create custom cell controls that display a popup. See [method TreeItem.set_cell_mode]. Args: [], Returns: Rect2
func (*Tree) GetDropModeFlags ¶
Undocumented Args: [], Returns: int
func (*Tree) GetDropSectionAtPosition ¶
Args: [{ false position Vector2}], Returns: int
func (*Tree) GetEdited ¶
func (o *Tree) GetEdited() TreeItemImplementer
Returns the currently edited item. This is only available for custom cell mode. Args: [], Returns: TreeItem
func (*Tree) GetEditedColumn ¶
Returns the column for the currently edited item. This is only available for custom cell mode. Args: [], Returns: int
func (*Tree) GetItemAreaRect ¶
Returns the rectangle area for the specified item. If column is specified, only get the position and size of that column, otherwise get the rectangle containing all columns. Args: [{ false item Object} {-1 true column int}], Returns: Rect2
func (*Tree) GetItemAtPosition ¶
func (o *Tree) GetItemAtPosition(position gdnative.Vector2) TreeItemImplementer
Returns the tree item at the specified position (relative to the tree origin position). Args: [{ false position Vector2}], Returns: TreeItem
func (*Tree) GetNextSelected ¶
func (o *Tree) GetNextSelected(from ObjectImplementer) TreeItemImplementer
Returns the next selected item after the given one. Args: [{ false from Object}], Returns: TreeItem
func (*Tree) GetPressedButton ¶
Returns the last pressed button's index. Args: [], Returns: int
func (*Tree) GetRoot ¶
func (o *Tree) GetRoot() TreeItemImplementer
Returns the tree's root item. Args: [], Returns: TreeItem
func (*Tree) GetSelectMode ¶
func (o *Tree) GetSelectMode() TreeSelectMode
Undocumented Args: [], Returns: enum.Tree::SelectMode
func (*Tree) GetSelected ¶
func (o *Tree) GetSelected() TreeItemImplementer
Returns the currently selected item. Args: [], Returns: TreeItem
func (*Tree) GetSelectedColumn ¶
Returns the current selection's column. Args: [], Returns: int
func (*Tree) IsFoldingHidden ¶
Undocumented Args: [], Returns: bool
func (*Tree) IsRootHidden ¶
Undocumented Args: [], Returns: bool
func (*Tree) SetAllowReselect ¶
Undocumented Args: [{ false allow bool}], Returns: void
func (*Tree) SetAllowRmbSelect ¶
Undocumented Args: [{ false allow bool}], Returns: void
func (*Tree) SetColumnExpand ¶
If [code]true[/code] the column will have the "Expand" flag of [Control]. Args: [{ false column int} { false expand bool}], Returns: void
func (*Tree) SetColumnMinWidth ¶
Set the minimum width of a column. Args: [{ false column int} { false min_width int}], Returns: void
func (*Tree) SetColumnTitle ¶
Set the title of a column. Args: [{ false column int} { false title String}], Returns: void
func (*Tree) SetColumnTitlesVisible ¶
If [code]true[/code] column titles are visible. Args: [{ false visible bool}], Returns: void
func (*Tree) SetColumns ¶
Undocumented Args: [{ false amount int}], Returns: void
func (*Tree) SetDropModeFlags ¶
Undocumented Args: [{ false flags int}], Returns: void
func (*Tree) SetHideFolding ¶
Undocumented Args: [{ false hide bool}], Returns: void
func (*Tree) SetHideRoot ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Tree) SetSelectMode ¶
Undocumented Args: [{ false mode int}], Returns: void
func (*Tree) X_GuiInput ¶
func (o *Tree) X_GuiInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
func (*Tree) X_PopupSelect ¶
Undocumented Args: [{ false arg0 int}], Returns: void
func (*Tree) X_RangeClickTimeout ¶
func (o *Tree) X_RangeClickTimeout()
Undocumented Args: [], Returns: void
func (*Tree) X_ScrollMoved ¶
Undocumented Args: [{ false arg0 float}], Returns: void
func (*Tree) X_TextEditorEnter ¶
Undocumented Args: [{ false arg0 String}], Returns: void
func (*Tree) X_TextEditorModalClose ¶
func (o *Tree) X_TextEditorModalClose()
Undocumented Args: [], Returns: void
func (*Tree) X_ValueEditorChanged ¶
Undocumented Args: [{ false arg0 float}], Returns: void
type TreeDropModeFlags ¶
type TreeDropModeFlags int
TreeDropModeFlags is an enum for DropModeFlags values.
const ( TreeDropModeDisabled TreeDropModeFlags = 0 TreeDropModeInbetween TreeDropModeFlags = 2 TreeDropModeOnItem TreeDropModeFlags = 1 )
type TreeImplementer ¶
type TreeImplementer interface { ControlImplementer X_PopupSelect(arg0 gdnative.Int) X_RangeClickTimeout() X_ScrollMoved(arg0 gdnative.Real) X_TextEditorEnter(arg0 gdnative.String) X_TextEditorModalClose() X_ValueEditorChanged(arg0 gdnative.Real) AreColumnTitlesVisible() gdnative.Bool Clear() CreateItem(parent ObjectImplementer, idx gdnative.Int) ObjectImplementer EnsureCursorIsVisible() GetAllowReselect() gdnative.Bool GetAllowRmbSelect() gdnative.Bool GetColumnAtPosition(position gdnative.Vector2) gdnative.Int GetColumnTitle(column gdnative.Int) gdnative.String GetColumnWidth(column gdnative.Int) gdnative.Int GetColumns() gdnative.Int GetCustomPopupRect() gdnative.Rect2 GetDropModeFlags() gdnative.Int GetDropSectionAtPosition(position gdnative.Vector2) gdnative.Int GetEdited() TreeItemImplementer GetEditedColumn() gdnative.Int GetItemAreaRect(item ObjectImplementer, column gdnative.Int) gdnative.Rect2 GetItemAtPosition(position gdnative.Vector2) TreeItemImplementer GetNextSelected(from ObjectImplementer) TreeItemImplementer GetPressedButton() gdnative.Int GetRoot() TreeItemImplementer GetScroll() gdnative.Vector2 GetSelected() TreeItemImplementer GetSelectedColumn() gdnative.Int IsFoldingHidden() gdnative.Bool IsRootHidden() gdnative.Bool SetAllowReselect(allow gdnative.Bool) SetAllowRmbSelect(allow gdnative.Bool) SetColumnExpand(column gdnative.Int, expand gdnative.Bool) SetColumnMinWidth(column gdnative.Int, minWidth gdnative.Int) SetColumnTitle(column gdnative.Int, title gdnative.String) SetColumnTitlesVisible(visible gdnative.Bool) SetColumns(amount gdnative.Int) SetDropModeFlags(flags gdnative.Int) SetHideFolding(hide gdnative.Bool) SetHideRoot(enable gdnative.Bool) SetSelectMode(mode gdnative.Int) }
TreeImplementer is an interface that implements the methods of the Tree class.
type TreeItem ¶
type TreeItem struct { Object // contains filtered or unexported fields }
Control for a single item inside a Tree. May have child [code]TreeItem[/code]s and be styled as well as contain buttons.
func (*TreeItem) AddButton ¶
func (o *TreeItem) AddButton(column gdnative.Int, button TextureImplementer, buttonIdx gdnative.Int, disabled gdnative.Bool, tooltip gdnative.String)
Adds a button with [Texture] [code]button[/code] at column [code]column[/code]. The [code]button_idx[/code] index is used to identify the button when calling other methods. If not specified, the next available index is used, which may be retrieved by calling [code]get_buton_count()[/code] immediately after this method. Optionally, the button can be [code]disabled[/code] and have a [code]tooltip[/code]. Args: [{ false column int} { false button Texture} {-1 true button_idx int} {False true disabled bool} { true tooltip String}], Returns: void
func (*TreeItem) ClearCustomBgColor ¶
Resets the background color for the given column to default. Args: [{ false column int}], Returns: void
func (*TreeItem) ClearCustomColor ¶
Resets the color for the given column to default. Args: [{ false column int}], Returns: void
func (*TreeItem) EraseButton ¶
Removes the button at index [code]button_idx[/code] in column [code]column[/code]. Args: [{ false column int} { false button_idx int}], Returns: void
func (*TreeItem) GetButton ¶
Returns the [Texture] of the button at index [code]button_idx[/code] in column [code]column[/code]. Args: [{ false column int} { false button_idx int}], Returns: Texture
func (*TreeItem) GetButtonCount ¶
Returns the number of buttons in column [code]column[/code]. May be used to get the most recently added button's index, if no index was specified. Args: [{ false column int}], Returns: int
func (*TreeItem) GetCellMode ¶
func (o *TreeItem) GetCellMode(column gdnative.Int) TreeItemTreeCellMode
Returns the column's cell mode. See [code]CELL_MODE_*[/code] constants. Args: [{ false column int}], Returns: enum.TreeItem::TreeCellMode
func (*TreeItem) GetChildren ¶
func (o *TreeItem) GetChildren() TreeItemImplementer
Returns the TreeItem's child items. Args: [], Returns: TreeItem
func (*TreeItem) GetCustomBgColor ¶
Returns the custom background color of column [code]column[/code]. Args: [{ false column int}], Returns: Color
func (*TreeItem) GetCustomMinimumHeight ¶
Undocumented Args: [], Returns: int
func (*TreeItem) GetExpandRight ¶
Returns [code]true[/code] if [code]expand_right[/code] is set. Args: [{ false column int}], Returns: bool
func (*TreeItem) GetIcon ¶
func (o *TreeItem) GetIcon(column gdnative.Int) TextureImplementer
Returns the given column's icon [Texture]. Error if no icon is set. Args: [{ false column int}], Returns: Texture
func (*TreeItem) GetIconMaxWidth ¶
Returns the column's icon's maximum width. Args: [{ false column int}], Returns: int
func (*TreeItem) GetIconRegion ¶
Returns the icon [Texture] region as [Rect2]. Args: [{ false column int}], Returns: Rect2
func (*TreeItem) GetMetadata ¶
Args: [{ false column int}], Returns: Variant
func (*TreeItem) GetNext ¶
func (o *TreeItem) GetNext() TreeItemImplementer
Returns the next TreeItem in the tree. Args: [], Returns: TreeItem
func (*TreeItem) GetNextVisible ¶
func (o *TreeItem) GetNextVisible() TreeItemImplementer
Returns the next visible TreeItem in the tree. Args: [], Returns: TreeItem
func (*TreeItem) GetParent ¶
func (o *TreeItem) GetParent() TreeItemImplementer
Returns the parent TreeItem. Args: [], Returns: TreeItem
func (*TreeItem) GetPrev ¶
func (o *TreeItem) GetPrev() TreeItemImplementer
Returns the previous TreeItem in the tree. Args: [], Returns: TreeItem
func (*TreeItem) GetPrevVisible ¶
func (o *TreeItem) GetPrevVisible() TreeItemImplementer
Returns the previous visible TreeItem in the tree. Args: [], Returns: TreeItem
func (*TreeItem) GetRangeConfig ¶
func (o *TreeItem) GetRangeConfig(column gdnative.Int) gdnative.Dictionary
Args: [{ false column int}], Returns: Dictionary
func (*TreeItem) GetText ¶
Returns the given column's text. Args: [{ false column int}], Returns: String
func (*TreeItem) GetTextAlign ¶
func (o *TreeItem) GetTextAlign(column gdnative.Int) TreeItemTextAlign
Returns the given column's text alignment. Args: [{ false column int}], Returns: enum.TreeItem::TextAlign
func (*TreeItem) GetTooltip ¶
Returns the given column's tooltip. Args: [{ false column int}], Returns: String
func (*TreeItem) IsButtonDisabled ¶
Returns [code]true[/code] if the button at index [code]button_idx[/code] for the given column is disabled. Args: [{ false column int} { false button_idx int}], Returns: bool
func (*TreeItem) IsChecked ¶
Returns [code]true[/code] if the given column is checked. Args: [{ false column int}], Returns: bool
func (*TreeItem) IsCollapsed ¶
Undocumented Args: [], Returns: bool
func (*TreeItem) IsCustomSetAsButton ¶
Args: [{ false column int}], Returns: bool
func (*TreeItem) IsEditable ¶
Returns [code]true[/code] if column [code]column[/code] is editable. Args: [{ false column int}], Returns: bool
func (*TreeItem) IsFoldingDisabled ¶
Undocumented Args: [], Returns: bool
func (*TreeItem) IsSelectable ¶
Returns [code]true[/code] if column [code]column[/code] is selectable. Args: [{ false column int}], Returns: bool
func (*TreeItem) IsSelected ¶
Returns [code]true[/code] if column [code]column[/code] is selected. Args: [{ false column int}], Returns: bool
func (*TreeItem) MoveToBottom ¶
func (o *TreeItem) MoveToBottom()
Moves this TreeItem to the bottom in the [Tree] hierarchy. Args: [], Returns: void
func (*TreeItem) MoveToTop ¶
func (o *TreeItem) MoveToTop()
Moves this TreeItem to the top in the [Tree] hierarchy. Args: [], Returns: void
func (*TreeItem) RemoveChild ¶
func (o *TreeItem) RemoveChild(child ObjectImplementer)
Removes the child TreeItem at index [code]index[/code]. Args: [{ false child Object}], Returns: void
func (*TreeItem) Select ¶
Selects the column [code]column[/code]. Args: [{ false column int}], Returns: void
func (*TreeItem) SetButton ¶
func (o *TreeItem) SetButton(column gdnative.Int, buttonIdx gdnative.Int, button TextureImplementer)
Sets the given column's button [Texture] at index [code]button_idx[/code] to [code]button[/code]. Args: [{ false column int} { false button_idx int} { false button Texture}], Returns: void
func (*TreeItem) SetCellMode ¶
Sets the given column's cell mode to [code]mode[/code]. See [code]CELL_MODE_*[/code] constants. Args: [{ false column int} { false mode int}], Returns: void
func (*TreeItem) SetChecked ¶
If [code]true[/code] the column [code]column[/code] is checked. Args: [{ false column int} { false checked bool}], Returns: void
func (*TreeItem) SetCollapsed ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*TreeItem) SetCustomAsButton ¶
Args: [{ false column int} { false enable bool}], Returns: void
func (*TreeItem) SetCustomBgColor ¶
func (o *TreeItem) SetCustomBgColor(column gdnative.Int, color gdnative.Color, justOutline gdnative.Bool)
Sets the given column's custom background color and whether to just use it as an outline. Args: [{ false column int} { false color Color} {False true just_outline bool}], Returns: void
func (*TreeItem) SetCustomColor ¶
Sets the given column's custom color. Args: [{ false column int} { false color Color}], Returns: void
func (*TreeItem) SetCustomDraw ¶
func (o *TreeItem) SetCustomDraw(column gdnative.Int, object ObjectImplementer, callback gdnative.String)
Sets the given column's custom draw callback to [code]callback[/code] method on [code]object[/code]. Args: [{ false column int} { false object Object} { false callback String}], Returns: void
func (*TreeItem) SetCustomMinimumHeight ¶
Undocumented Args: [{ false height int}], Returns: void
func (*TreeItem) SetDisableFolding ¶
Undocumented Args: [{ false disable bool}], Returns: void
func (*TreeItem) SetEditable ¶
If [code]true[/code] column [code]column[/code] is editable. Args: [{ false column int} { false enabled bool}], Returns: void
func (*TreeItem) SetExpandRight ¶
If [code]true[/code] column [code]column[/code] is expanded to the right. Args: [{ false column int} { false enable bool}], Returns: void
func (*TreeItem) SetIcon ¶
func (o *TreeItem) SetIcon(column gdnative.Int, texture TextureImplementer)
Sets the given column's icon [Texture]. Args: [{ false column int} { false texture Texture}], Returns: void
func (*TreeItem) SetIconMaxWidth ¶
Sets the given column's icon's maximum width. Args: [{ false column int} { false width int}], Returns: void
func (*TreeItem) SetIconRegion ¶
Sets the given column's icon's texture region. Args: [{ false column int} { false region Rect2}], Returns: void
func (*TreeItem) SetMetadata ¶
Args: [{ false column int} { false meta Variant}], Returns: void
func (*TreeItem) SetRangeConfig ¶
func (o *TreeItem) SetRangeConfig(column gdnative.Int, min gdnative.Real, max gdnative.Real, step gdnative.Real, expr gdnative.Bool)
Args: [{ false column int} { false min float} { false max float} { false step float} {False true expr bool}], Returns: void
func (*TreeItem) SetSelectable ¶
If [code]true[/code] the given column is selectable. Args: [{ false column int} { false selectable bool}], Returns: void
func (*TreeItem) SetTextAlign ¶
Sets the given column's text alignment. See [code]ALIGN_*[/code] constants. Args: [{ false column int} { false text_align int}], Returns: void
type TreeItemImplementer ¶
type TreeItemImplementer interface { ObjectImplementer AddButton(column gdnative.Int, button TextureImplementer, buttonIdx gdnative.Int, disabled gdnative.Bool, tooltip gdnative.String) ClearCustomBgColor(column gdnative.Int) ClearCustomColor(column gdnative.Int) Deselect(column gdnative.Int) EraseButton(column gdnative.Int, buttonIdx gdnative.Int) GetButton(column gdnative.Int, buttonIdx gdnative.Int) TextureImplementer GetButtonCount(column gdnative.Int) gdnative.Int GetChildren() TreeItemImplementer GetCustomBgColor(column gdnative.Int) gdnative.Color GetCustomMinimumHeight() gdnative.Int GetExpandRight(column gdnative.Int) gdnative.Bool GetIcon(column gdnative.Int) TextureImplementer GetIconMaxWidth(column gdnative.Int) gdnative.Int GetIconRegion(column gdnative.Int) gdnative.Rect2 GetMetadata(column gdnative.Int) gdnative.Variant GetNext() TreeItemImplementer GetNextVisible() TreeItemImplementer GetParent() TreeItemImplementer GetPrev() TreeItemImplementer GetPrevVisible() TreeItemImplementer GetRange(column gdnative.Int) gdnative.Real GetRangeConfig(column gdnative.Int) gdnative.Dictionary GetText(column gdnative.Int) gdnative.String GetTooltip(column gdnative.Int) gdnative.String IsButtonDisabled(column gdnative.Int, buttonIdx gdnative.Int) gdnative.Bool IsChecked(column gdnative.Int) gdnative.Bool IsCollapsed() gdnative.Bool IsCustomSetAsButton(column gdnative.Int) gdnative.Bool IsEditable(column gdnative.Int) gdnative.Bool IsFoldingDisabled() gdnative.Bool IsSelectable(column gdnative.Int) gdnative.Bool IsSelected(column gdnative.Int) gdnative.Bool MoveToBottom() MoveToTop() RemoveChild(child ObjectImplementer) Select(column gdnative.Int) SetButton(column gdnative.Int, buttonIdx gdnative.Int, button TextureImplementer) SetCellMode(column gdnative.Int, mode gdnative.Int) SetChecked(column gdnative.Int, checked gdnative.Bool) SetCollapsed(enable gdnative.Bool) SetCustomAsButton(column gdnative.Int, enable gdnative.Bool) SetCustomBgColor(column gdnative.Int, color gdnative.Color, justOutline gdnative.Bool) SetCustomColor(column gdnative.Int, color gdnative.Color) SetCustomDraw(column gdnative.Int, object ObjectImplementer, callback gdnative.String) SetCustomMinimumHeight(height gdnative.Int) SetDisableFolding(disable gdnative.Bool) SetEditable(column gdnative.Int, enabled gdnative.Bool) SetExpandRight(column gdnative.Int, enable gdnative.Bool) SetIcon(column gdnative.Int, texture TextureImplementer) SetIconMaxWidth(column gdnative.Int, width gdnative.Int) SetIconRegion(column gdnative.Int, region gdnative.Rect2) SetMetadata(column gdnative.Int, meta gdnative.Variant) SetRange(column gdnative.Int, value gdnative.Real) SetRangeConfig(column gdnative.Int, min gdnative.Real, max gdnative.Real, step gdnative.Real, expr gdnative.Bool) SetSelectable(column gdnative.Int, selectable gdnative.Bool) SetText(column gdnative.Int, text gdnative.String) SetTextAlign(column gdnative.Int, textAlign gdnative.Int) SetTooltip(column gdnative.Int, tooltip gdnative.String) }
TreeItemImplementer is an interface that implements the methods of the TreeItem class.
type TreeItemTextAlign ¶
type TreeItemTextAlign int
TreeItemTextAlign is an enum for TextAlign values.
const ( TreeItemAlignCenter TreeItemTextAlign = 1 TreeItemAlignLeft TreeItemTextAlign = 0 TreeItemAlignRight TreeItemTextAlign = 2 )
type TreeItemTreeCellMode ¶
type TreeItemTreeCellMode int
TreeItemTreeCellMode is an enum for TreeCellMode values.
const ( TreeItemCellModeCheck TreeItemTreeCellMode = 1 TreeItemCellModeCustom TreeItemTreeCellMode = 5 TreeItemCellModeIcon TreeItemTreeCellMode = 4 TreeItemCellModeRange TreeItemTreeCellMode = 2 TreeItemCellModeRangeExpression TreeItemTreeCellMode = 3 TreeItemCellModeString TreeItemTreeCellMode = 0 )
type TreeSelectMode ¶
type TreeSelectMode int
TreeSelectMode is an enum for SelectMode values.
const ( TreeSelectMulti TreeSelectMode = 2 TreeSelectRow TreeSelectMode = 1 TreeSelectSingle TreeSelectMode = 0 )
type TriangleMesh ¶
type TriangleMesh struct { Reference // contains filtered or unexported fields }
func (*TriangleMesh) BaseClass ¶
func (o *TriangleMesh) BaseClass() string
type TriangleMeshImplementer ¶
type TriangleMeshImplementer interface { ReferenceImplementer }
TriangleMeshImplementer is an interface that implements the methods of the TriangleMesh class.
type Tween ¶
type Tween struct { Node // contains filtered or unexported fields }
Node useful for animations with unknown start and end points, procedural animations, making one node follow another, and other simple behavior. Because it is easy to get it wrong, here is a quick usage example: [codeblock] var tween = get_node("Tween") tween.interpolate_property(get_node("Node2D_to_move"), "transform/origin", Vector2(0,0), Vector2(100,100), 1, Tween.TRANS_LINEAR, Tween.EASE_IN_OUT) tween.start() [/codeblock] Some of the methods of this class require a property name. You can get the property name by hovering over the property in the inspector of the editor. Many of the methods accept [code]trans_type[/code] and [code]ease_type[/code]. The first accepts an TRANS_* constant, and refers to the way the timing of the animation is handled (you might want to see [code]http://easings.net/[/code] for some examples). The second accepts an EASE_* constant, and controls the where [code]trans_type[/code] is applied to the interpolation (in the beginning, the end, or both). If you don't know which transition and easing to pick, you can try different TRANS_* constants with EASE_IN_OUT, and use the one that looks best.
func (*Tween) FollowMethod ¶
func (o *Tween) FollowMethod(object ObjectImplementer, method gdnative.String, initialVal gdnative.Variant, target ObjectImplementer, targetMethod gdnative.String, duration gdnative.Real, transType gdnative.Int, easeType gdnative.Int, delay gdnative.Real) gdnative.Bool
Follow [code]method[/code] of [code]object[/code] and apply the returned value on [code]target_method[/code] of [code]target[/code], beginning from [code]initial_val[/code] for [code]duration[/code] seconds, [code]delay[/code] later. Methods are animated by calling them with consequitive values. [code]trans_type[/code] accepts TRANS_* constants, and is the way the animation is interpolated, while [code]ease_type[/code] accepts EASE_* constants, and controls the place of the interpolation (the beginning, the end, or both). You can read more about them in the class description. Args: [{ false object Object} { false method String} { false initial_val Variant} { false target Object} { false target_method String} { false duration float} { false trans_type int} { false ease_type int} {0 true delay float}], Returns: bool
func (*Tween) FollowProperty ¶
func (o *Tween) FollowProperty(object ObjectImplementer, property gdnative.NodePath, initialVal gdnative.Variant, target ObjectImplementer, targetProperty gdnative.NodePath, duration gdnative.Real, transType gdnative.Int, easeType gdnative.Int, delay gdnative.Real) gdnative.Bool
Follow [code]property[/code] of [code]object[/code] and apply it on [code]target_property[/code] of [code]target[/code], beginning from [code]initial_val[/code] for [code]duration[/code] seconds, [code]delay[/code] seconds later. Note that [code]target:target_property[/code] would equal [code]object:property[/code] at the end of the tween. [code]trans_type[/code] accepts TRANS_* constants, and is the way the animation is interpolated, while [code]ease_type[/code] accepts EASE_* constants, and controls the place of the interpolation (the beginning, the end, or both). You can read more about them in the class description. Args: [{ false object Object} { false property NodePath} { false initial_val Variant} { false target Object} { false target_property NodePath} { false duration float} { false trans_type int} { false ease_type int} {0 true delay float}], Returns: bool
func (*Tween) GetRuntime ¶
Returns the time needed for all tweens to end in seconds, measured from the start. Thus, if you have two tweens, one ending 10 seconds after the start and the other - 20 seconds, it would return 20 seconds, as by that time all tweens would have finished. Args: [], Returns: float
func (*Tween) GetSpeedScale ¶
Undocumented Args: [], Returns: float
func (*Tween) GetTweenProcessMode ¶
func (o *Tween) GetTweenProcessMode() TweenTweenProcessMode
Undocumented Args: [], Returns: enum.Tween::TweenProcessMode
func (*Tween) InterpolateCallback ¶
func (o *Tween) InterpolateCallback(object ObjectImplementer, duration gdnative.Real, callback gdnative.String, arg1 gdnative.Variant, arg2 gdnative.Variant, arg3 gdnative.Variant, arg4 gdnative.Variant, arg5 gdnative.Variant) gdnative.Bool
Call [code]callback[/code] of [code]object[/code] after [code]duration[/code]. [code]arg1[/code]-[code]arg5[/code] are arguments to be passed to the callback. Args: [{ false object Object} { false duration float} { false callback String} {Null true arg1 Variant} {Null true arg2 Variant} {Null true arg3 Variant} {Null true arg4 Variant} {Null true arg5 Variant}], Returns: bool
func (*Tween) InterpolateDeferredCallback ¶
func (o *Tween) InterpolateDeferredCallback(object ObjectImplementer, duration gdnative.Real, callback gdnative.String, arg1 gdnative.Variant, arg2 gdnative.Variant, arg3 gdnative.Variant, arg4 gdnative.Variant, arg5 gdnative.Variant) gdnative.Bool
Call [code]callback[/code] of [code]object[/code] after [code]duration[/code] on the main thread (similar to [method Object.call_deferred]). [code]arg1[/code]-[code]arg5[/code] are arguments to be passed to the callback. Args: [{ false object Object} { false duration float} { false callback String} {Null true arg1 Variant} {Null true arg2 Variant} {Null true arg3 Variant} {Null true arg4 Variant} {Null true arg5 Variant}], Returns: bool
func (*Tween) InterpolateMethod ¶
func (o *Tween) InterpolateMethod(object ObjectImplementer, method gdnative.String, initialVal gdnative.Variant, finalVal gdnative.Variant, duration gdnative.Real, transType gdnative.Int, easeType gdnative.Int, delay gdnative.Real) gdnative.Bool
Animate [code]method[/code] of [code]object[/code] from [code]initial_val[/code] to [code]final_val[/code] for [code]duration[/code] seconds, [code]delay[/code] seconds later. Methods are animated by calling them with consecutive values. [code]trans_type[/code] accepts TRANS_* constants, and is the way the animation is interpolated, while [code]ease_type[/code] accepts EASE_* constants, and controls the place of the interpolation (the beginning, the end, or both). You can read more about them in the class description. Args: [{ false object Object} { false method String} { false initial_val Variant} { false final_val Variant} { false duration float} { false trans_type int} { false ease_type int} {0 true delay float}], Returns: bool
func (*Tween) InterpolateProperty ¶
func (o *Tween) InterpolateProperty(object ObjectImplementer, property gdnative.NodePath, initialVal gdnative.Variant, finalVal gdnative.Variant, duration gdnative.Real, transType gdnative.Int, easeType gdnative.Int, delay gdnative.Real) gdnative.Bool
Animate [code]property[/code] of [code]object[/code] from [code]initial_val[/code] to [code]final_val[/code] for [code]duration[/code] seconds, [code]delay[/code] seconds later. [code]trans_type[/code] accepts TRANS_* constants, and is the way the animation is interpolated, while [code]ease_type[/code] accepts EASE_* constants, and controls the place of the interpolation (the beginning, the end, or both). You can read more about them in the class description. Args: [{ false object Object} { false property NodePath} { false initial_val Variant} { false final_val Variant} { false duration float} { false trans_type int} { false ease_type int} {0 true delay float}], Returns: bool
func (*Tween) IsActive ¶
Returns true if any tweens are currently running, and false otherwise. Note that this method doesn't consider tweens that have ended. Args: [], Returns: bool
func (*Tween) Remove ¶
Stop animating and completely remove a tween, given its object and property/method pair. Passing empty String as key will remove all tweens for given object. Args: [{ false object Object} { true key String}], Returns: bool
func (*Tween) Reset ¶
Resets a tween to the initial value (the one given, not the one before the tween), given its object and property/method pair. Passing empty String as key will reset all tweens for given object. Args: [{ false object Object} { true key String}], Returns: bool
func (*Tween) ResetAll ¶
Resets all tweens to their initial values (the ones given, not those before the tween). Args: [], Returns: bool
func (*Tween) Resume ¶
Continue animating a stopped tween, given its object and property/method pair. Passing empty String as key will resume all tweens for given object. Args: [{ false object Object} { true key String}], Returns: bool
func (*Tween) Seek ¶
Seek the animation to the given [code]time[/code] in seconds. Args: [{ false time float}], Returns: bool
func (*Tween) SetActive ¶
Activate/deactivate the tween. You can use this for pausing animations, though [method stop_all] and [method resume_all] might be more fit for this. Args: [{ false active bool}], Returns: void
func (*Tween) SetSpeedScale ¶
Undocumented Args: [{ false speed float}], Returns: void
func (*Tween) SetTweenProcessMode ¶
Undocumented Args: [{ false mode int}], Returns: void
func (*Tween) Start ¶
Start the tween node. You can define tweens both before and after this. Args: [], Returns: bool
func (*Tween) Stop ¶
Stop animating a tween, given its object and property/method pair. Passing empty String as key will stop all tweens for given object. Args: [{ false object Object} { true key String}], Returns: bool
func (*Tween) TargetingMethod ¶
func (o *Tween) TargetingMethod(object ObjectImplementer, method gdnative.String, initial ObjectImplementer, initialMethod gdnative.String, finalVal gdnative.Variant, duration gdnative.Real, transType gdnative.Int, easeType gdnative.Int, delay gdnative.Real) gdnative.Bool
Animate [code]method[/code] of [code]object[/code] from the value returned by [code]initial.initial_method[/code] to [code]final_val[/code] for [code]duration[/code] seconds, [code]delay[/code] seconds later. Methods are animated by calling them with consecutive values. [code]trans_type[/code] accepts TRANS_* constants, and is the way the animation is interpolated, while [code]ease_type[/code] accepts EASE_* constants, and controls the place of the interpolation (the beginning, the end, or both). You can read more about them in the class description. Args: [{ false object Object} { false method String} { false initial Object} { false initial_method String} { false final_val Variant} { false duration float} { false trans_type int} { false ease_type int} {0 true delay float}], Returns: bool
func (*Tween) TargetingProperty ¶
func (o *Tween) TargetingProperty(object ObjectImplementer, property gdnative.NodePath, initial ObjectImplementer, initialVal gdnative.NodePath, finalVal gdnative.Variant, duration gdnative.Real, transType gdnative.Int, easeType gdnative.Int, delay gdnative.Real) gdnative.Bool
Animate [code]property[/code] of [code]object[/code] from the current value of the [code]initial_val[/code] property of [code]initial[/code] to [code]final_val[/code] for [code]duration[/code] seconds, [code]delay[/code] seconds later. [code]trans_type[/code] accepts TRANS_* constants, and is the way the animation is interpolated, while [code]ease_type[/code] accepts EASE_* constants, and controls the place of the interpolation (the beginning, the end, or both). You can read more about them in the class description. Args: [{ false object Object} { false property NodePath} { false initial Object} { false initial_val NodePath} { false final_val Variant} { false duration float} { false trans_type int} { false ease_type int} {0 true delay float}], Returns: bool
type TweenEaseType ¶
type TweenEaseType int
TweenEaseType is an enum for EaseType values.
const ( TweenEaseIn TweenEaseType = 0 TweenEaseInOut TweenEaseType = 2 TweenEaseOut TweenEaseType = 1 TweenEaseOutIn TweenEaseType = 3 )
type TweenImplementer ¶
type TweenImplementer interface { NodeImplementer X_Remove(object ObjectImplementer, key gdnative.String, firstOnly gdnative.Bool) FollowMethod(object ObjectImplementer, method gdnative.String, initialVal gdnative.Variant, target ObjectImplementer, targetMethod gdnative.String, duration gdnative.Real, transType gdnative.Int, easeType gdnative.Int, delay gdnative.Real) gdnative.Bool FollowProperty(object ObjectImplementer, property gdnative.NodePath, initialVal gdnative.Variant, target ObjectImplementer, targetProperty gdnative.NodePath, duration gdnative.Real, transType gdnative.Int, easeType gdnative.Int, delay gdnative.Real) gdnative.Bool GetRuntime() gdnative.Real GetSpeedScale() gdnative.Real InterpolateCallback(object ObjectImplementer, duration gdnative.Real, callback gdnative.String, arg1 gdnative.Variant, arg2 gdnative.Variant, arg3 gdnative.Variant, arg4 gdnative.Variant, arg5 gdnative.Variant) gdnative.Bool InterpolateDeferredCallback(object ObjectImplementer, duration gdnative.Real, callback gdnative.String, arg1 gdnative.Variant, arg2 gdnative.Variant, arg3 gdnative.Variant, arg4 gdnative.Variant, arg5 gdnative.Variant) gdnative.Bool InterpolateMethod(object ObjectImplementer, method gdnative.String, initialVal gdnative.Variant, finalVal gdnative.Variant, duration gdnative.Real, transType gdnative.Int, easeType gdnative.Int, delay gdnative.Real) gdnative.Bool InterpolateProperty(object ObjectImplementer, property gdnative.NodePath, initialVal gdnative.Variant, finalVal gdnative.Variant, duration gdnative.Real, transType gdnative.Int, easeType gdnative.Int, delay gdnative.Real) gdnative.Bool IsActive() gdnative.Bool IsRepeat() gdnative.Bool Remove(object ObjectImplementer, key gdnative.String) gdnative.Bool RemoveAll() gdnative.Bool Reset(object ObjectImplementer, key gdnative.String) gdnative.Bool ResetAll() gdnative.Bool Resume(object ObjectImplementer, key gdnative.String) gdnative.Bool ResumeAll() gdnative.Bool Seek(time gdnative.Real) gdnative.Bool SetActive(active gdnative.Bool) SetRepeat(repeat gdnative.Bool) SetSpeedScale(speed gdnative.Real) SetTweenProcessMode(mode gdnative.Int) Start() gdnative.Bool Stop(object ObjectImplementer, key gdnative.String) gdnative.Bool StopAll() gdnative.Bool TargetingMethod(object ObjectImplementer, method gdnative.String, initial ObjectImplementer, initialMethod gdnative.String, finalVal gdnative.Variant, duration gdnative.Real, transType gdnative.Int, easeType gdnative.Int, delay gdnative.Real) gdnative.Bool TargetingProperty(object ObjectImplementer, property gdnative.NodePath, initial ObjectImplementer, initialVal gdnative.NodePath, finalVal gdnative.Variant, duration gdnative.Real, transType gdnative.Int, easeType gdnative.Int, delay gdnative.Real) gdnative.Bool Tell() gdnative.Real }
TweenImplementer is an interface that implements the methods of the Tween class.
type TweenTransitionType ¶
type TweenTransitionType int
TweenTransitionType is an enum for TransitionType values.
const ( TweenTransBack TweenTransitionType = 10 TweenTransBounce TweenTransitionType = 9 TweenTransCirc TweenTransitionType = 8 TweenTransCubic TweenTransitionType = 7 TweenTransElastic TweenTransitionType = 6 TweenTransExpo TweenTransitionType = 5 TweenTransLinear TweenTransitionType = 0 TweenTransQuad TweenTransitionType = 4 TweenTransQuart TweenTransitionType = 3 TweenTransQuint TweenTransitionType = 2 TweenTransSine TweenTransitionType = 1 )
type TweenTweenProcessMode ¶
type TweenTweenProcessMode int
TweenTweenProcessMode is an enum for TweenProcessMode values.
const ( TweenTweenProcessIdle TweenTweenProcessMode = 1 TweenTweenProcessPhysics TweenTweenProcessMode = 0 )
type UndoRedo ¶
type UndoRedo struct { Object // contains filtered or unexported fields }
Helper to manage UndoRedo in the editor or custom tools. It works by storing calls to functions in both 'do' an 'undo' lists. Common behavior is to create an action, then add do/undo calls to functions or property changes, then committing the action.
func (*UndoRedo) AddDoMethod ¶
Args: [{ false object Object} { false method String}], Returns: Variant
func (*UndoRedo) AddDoProperty ¶
func (o *UndoRedo) AddDoProperty(object ObjectImplementer, property gdnative.String, value gdnative.Variant)
Set a property with a custom value. Args: [{ false object Object} { false property String} { false value Variant}], Returns: void
func (*UndoRedo) AddDoReference ¶
func (o *UndoRedo) AddDoReference(object ObjectImplementer)
Add a 'do' reference that will be erased if the 'do' history is lost. This is useful mostly for new nodes created for the 'do' call. Do not use for resources. Args: [{ false object Object}], Returns: void
func (*UndoRedo) AddUndoMethod ¶
Args: [{ false object Object} { false method String}], Returns: Variant
func (*UndoRedo) AddUndoProperty ¶
func (o *UndoRedo) AddUndoProperty(object ObjectImplementer, property gdnative.String, value gdnative.Variant)
Undo setting of a property with a custom value. Args: [{ false object Object} { false property String} { false value Variant}], Returns: void
func (*UndoRedo) AddUndoReference ¶
func (o *UndoRedo) AddUndoReference(object ObjectImplementer)
Add an 'undo' reference that will be erased if the 'undo' history is lost. This is useful mostly for nodes removed with the 'do' call (not the 'undo' call!). Args: [{ false object Object}], Returns: void
func (*UndoRedo) ClearHistory ¶
func (o *UndoRedo) ClearHistory()
Clear the undo/redo history and associated references. Args: [], Returns: void
func (*UndoRedo) CommitAction ¶
func (o *UndoRedo) CommitAction()
Commit the action. All 'do' methods/properties are called/set when this function is called. Args: [], Returns: void
func (*UndoRedo) CreateAction ¶
Create a new action. After this is called, do all your calls to [method add_do_method], [method add_undo_method], [method add_do_property] and [method add_undo_property]. Args: [{ false name String} {0 true merge_mode int}], Returns: void
func (*UndoRedo) GetCurrentActionName ¶
Get the name of the current action. Args: [], Returns: String
func (*UndoRedo) GetVersion ¶
Get the version, each time a new action is committed, the version number of the UndoRedo is increased automatically. This is useful mostly to check if something changed from a saved version. Args: [], Returns: int
type UndoRedoImplementer ¶
type UndoRedoImplementer interface { ObjectImplementer AddDoMethod(object ObjectImplementer, method gdnative.String) gdnative.Variant AddDoProperty(object ObjectImplementer, property gdnative.String, value gdnative.Variant) AddDoReference(object ObjectImplementer) AddUndoMethod(object ObjectImplementer, method gdnative.String) gdnative.Variant AddUndoProperty(object ObjectImplementer, property gdnative.String, value gdnative.Variant) AddUndoReference(object ObjectImplementer) ClearHistory() CommitAction() CreateAction(name gdnative.String, mergeMode gdnative.Int) GetCurrentActionName() gdnative.String GetVersion() gdnative.Int Redo() Undo() }
UndoRedoImplementer is an interface that implements the methods of the UndoRedo class.
type UndoRedoMergeMode ¶
type UndoRedoMergeMode int
UndoRedoMergeMode is an enum for MergeMode values.
const ( UndoRedoMergeAll UndoRedoMergeMode = 2 UndoRedoMergeDisable UndoRedoMergeMode = 0 UndoRedoMergeEnds UndoRedoMergeMode = 1 )
type VBoxContainer ¶
type VBoxContainer struct { BoxContainer // contains filtered or unexported fields }
Vertical box container. See BoxContainer.
func (*VBoxContainer) BaseClass ¶
func (o *VBoxContainer) BaseClass() string
type VBoxContainerImplementer ¶
type VBoxContainerImplementer interface { BoxContainerImplementer }
VBoxContainerImplementer is an interface that implements the methods of the VBoxContainer class.
type VScrollBar ¶
type VScrollBar struct { ScrollBar // contains filtered or unexported fields }
func (*VScrollBar) BaseClass ¶
func (o *VScrollBar) BaseClass() string
type VScrollBarImplementer ¶
type VScrollBarImplementer interface { ScrollBarImplementer }
VScrollBarImplementer is an interface that implements the methods of the VScrollBar class.
type VSeparator ¶
type VSeparator struct { Separator // contains filtered or unexported fields }
Vertical version of Separator. It is used to separate objects horizontally, though (but it looks vertical!).
func (*VSeparator) BaseClass ¶
func (o *VSeparator) BaseClass() string
type VSeparatorImplementer ¶
type VSeparatorImplementer interface { SeparatorImplementer }
VSeparatorImplementer is an interface that implements the methods of the VSeparator class.
type VSlider ¶
type VSlider struct { Slider // contains filtered or unexported fields }
Vertical slider. See Slider. This one goes from left (min) to right (max).
type VSliderImplementer ¶
type VSliderImplementer interface { SliderImplementer }
VSliderImplementer is an interface that implements the methods of the VSlider class.
type VSplitContainer ¶
type VSplitContainer struct { SplitContainer // contains filtered or unexported fields }
Vertical split container. See SplitContainer. This goes from left to right.
func (*VSplitContainer) BaseClass ¶
func (o *VSplitContainer) BaseClass() string
type VSplitContainerImplementer ¶
type VSplitContainerImplementer interface { SplitContainerImplementer }
VSplitContainerImplementer is an interface that implements the methods of the VSplitContainer class.
type VehicleBody ¶
type VehicleBody struct { RigidBody // contains filtered or unexported fields }
This nodes implements all the physics logic needed to simulate a car. It is based on the raycast vehicle system commonly found in physics engines. You will need to add a CollisionShape for the main body of your vehicle and add VehicleWheel nodes for the wheels. You should also add a MeshInstance to this node for the 3D model of your car but this model should not include meshes for the wheels. You should control the vehicle by using the [member brake], [member engine_force], and [member steering] properties and not change the position or orientation of this node directly. Note that the origin point of your VehicleBody will determine the center of gravity of your vehicle so it is better to keep this low and move the CollisionShape and MeshInstance upwards.
func (*VehicleBody) BaseClass ¶
func (o *VehicleBody) BaseClass() string
func (*VehicleBody) GetBrake ¶
func (o *VehicleBody) GetBrake() gdnative.Real
Undocumented Args: [], Returns: float
func (*VehicleBody) GetEngineForce ¶
func (o *VehicleBody) GetEngineForce() gdnative.Real
Undocumented Args: [], Returns: float
func (*VehicleBody) GetSteering ¶
func (o *VehicleBody) GetSteering() gdnative.Real
Undocumented Args: [], Returns: float
func (*VehicleBody) SetBrake ¶
func (o *VehicleBody) SetBrake(brake gdnative.Real)
Undocumented Args: [{ false brake float}], Returns: void
func (*VehicleBody) SetEngineForce ¶
func (o *VehicleBody) SetEngineForce(engineForce gdnative.Real)
Undocumented Args: [{ false engine_force float}], Returns: void
func (*VehicleBody) SetSteering ¶
func (o *VehicleBody) SetSteering(steering gdnative.Real)
Undocumented Args: [{ false steering float}], Returns: void
type VehicleBodyImplementer ¶
type VehicleBodyImplementer interface { RigidBodyImplementer GetBrake() gdnative.Real GetEngineForce() gdnative.Real GetSteering() gdnative.Real SetBrake(brake gdnative.Real) SetEngineForce(engineForce gdnative.Real) SetSteering(steering gdnative.Real) }
VehicleBodyImplementer is an interface that implements the methods of the VehicleBody class.
type VehicleWheel ¶
type VehicleWheel struct { Spatial // contains filtered or unexported fields }
This node needs to be used as a child node of VehicleBody and simulates the behaviour of one of its wheels. This node also acts as a collider to detect if the wheel is touching a surface.
func (*VehicleWheel) BaseClass ¶
func (o *VehicleWheel) BaseClass() string
func (*VehicleWheel) GetDampingCompression ¶
func (o *VehicleWheel) GetDampingCompression() gdnative.Real
Undocumented Args: [], Returns: float
func (*VehicleWheel) GetDampingRelaxation ¶
func (o *VehicleWheel) GetDampingRelaxation() gdnative.Real
Undocumented Args: [], Returns: float
func (*VehicleWheel) GetFrictionSlip ¶
func (o *VehicleWheel) GetFrictionSlip() gdnative.Real
Undocumented Args: [], Returns: float
func (*VehicleWheel) GetRadius ¶
func (o *VehicleWheel) GetRadius() gdnative.Real
Undocumented Args: [], Returns: float
func (*VehicleWheel) GetRollInfluence ¶
func (o *VehicleWheel) GetRollInfluence() gdnative.Real
Undocumented Args: [], Returns: float
func (*VehicleWheel) GetSkidinfo ¶
func (o *VehicleWheel) GetSkidinfo() gdnative.Real
Returns a value between 0.0 and 1.0 that indicates whether this wheel is skidding. 0.0 is not skidding, 1.0 means the wheel has lost grip. Args: [], Returns: float
func (*VehicleWheel) GetSuspensionMaxForce ¶
func (o *VehicleWheel) GetSuspensionMaxForce() gdnative.Real
Undocumented Args: [], Returns: float
func (*VehicleWheel) GetSuspensionRestLength ¶
func (o *VehicleWheel) GetSuspensionRestLength() gdnative.Real
Undocumented Args: [], Returns: float
func (*VehicleWheel) GetSuspensionStiffness ¶
func (o *VehicleWheel) GetSuspensionStiffness() gdnative.Real
Undocumented Args: [], Returns: float
func (*VehicleWheel) GetSuspensionTravel ¶
func (o *VehicleWheel) GetSuspensionTravel() gdnative.Real
Undocumented Args: [], Returns: float
func (*VehicleWheel) IsInContact ¶
func (o *VehicleWheel) IsInContact() gdnative.Bool
Returns true if this wheel is in contact with a surface. Args: [], Returns: bool
func (*VehicleWheel) IsUsedAsSteering ¶
func (o *VehicleWheel) IsUsedAsSteering() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*VehicleWheel) IsUsedAsTraction ¶
func (o *VehicleWheel) IsUsedAsTraction() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*VehicleWheel) SetDampingCompression ¶
func (o *VehicleWheel) SetDampingCompression(length gdnative.Real)
Undocumented Args: [{ false length float}], Returns: void
func (*VehicleWheel) SetDampingRelaxation ¶
func (o *VehicleWheel) SetDampingRelaxation(length gdnative.Real)
Undocumented Args: [{ false length float}], Returns: void
func (*VehicleWheel) SetFrictionSlip ¶
func (o *VehicleWheel) SetFrictionSlip(length gdnative.Real)
Undocumented Args: [{ false length float}], Returns: void
func (*VehicleWheel) SetRadius ¶
func (o *VehicleWheel) SetRadius(length gdnative.Real)
Undocumented Args: [{ false length float}], Returns: void
func (*VehicleWheel) SetRollInfluence ¶
func (o *VehicleWheel) SetRollInfluence(rollInfluence gdnative.Real)
Undocumented Args: [{ false roll_influence float}], Returns: void
func (*VehicleWheel) SetSuspensionMaxForce ¶
func (o *VehicleWheel) SetSuspensionMaxForce(length gdnative.Real)
Undocumented Args: [{ false length float}], Returns: void
func (*VehicleWheel) SetSuspensionRestLength ¶
func (o *VehicleWheel) SetSuspensionRestLength(length gdnative.Real)
Undocumented Args: [{ false length float}], Returns: void
func (*VehicleWheel) SetSuspensionStiffness ¶
func (o *VehicleWheel) SetSuspensionStiffness(length gdnative.Real)
Undocumented Args: [{ false length float}], Returns: void
func (*VehicleWheel) SetSuspensionTravel ¶
func (o *VehicleWheel) SetSuspensionTravel(length gdnative.Real)
Undocumented Args: [{ false length float}], Returns: void
func (*VehicleWheel) SetUseAsSteering ¶
func (o *VehicleWheel) SetUseAsSteering(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*VehicleWheel) SetUseAsTraction ¶
func (o *VehicleWheel) SetUseAsTraction(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
type VehicleWheelImplementer ¶
type VehicleWheelImplementer interface { SpatialImplementer GetDampingCompression() gdnative.Real GetDampingRelaxation() gdnative.Real GetFrictionSlip() gdnative.Real GetRadius() gdnative.Real GetRollInfluence() gdnative.Real GetSkidinfo() gdnative.Real GetSuspensionMaxForce() gdnative.Real GetSuspensionRestLength() gdnative.Real GetSuspensionStiffness() gdnative.Real GetSuspensionTravel() gdnative.Real IsInContact() gdnative.Bool IsUsedAsSteering() gdnative.Bool IsUsedAsTraction() gdnative.Bool SetDampingCompression(length gdnative.Real) SetDampingRelaxation(length gdnative.Real) SetFrictionSlip(length gdnative.Real) SetRadius(length gdnative.Real) SetRollInfluence(rollInfluence gdnative.Real) SetSuspensionMaxForce(length gdnative.Real) SetSuspensionRestLength(length gdnative.Real) SetSuspensionStiffness(length gdnative.Real) SetSuspensionTravel(length gdnative.Real) SetUseAsSteering(enable gdnative.Bool) SetUseAsTraction(enable gdnative.Bool) }
VehicleWheelImplementer is an interface that implements the methods of the VehicleWheel class.
type VideoPlayer ¶
type VideoPlayer struct { Control // contains filtered or unexported fields }
This control has the ability to play video streams. The only format accepted is the OGV Theora, so any other format must be converted before using in a project.
func (*VideoPlayer) BaseClass ¶
func (o *VideoPlayer) BaseClass() string
func (*VideoPlayer) GetAudioTrack ¶
func (o *VideoPlayer) GetAudioTrack() gdnative.Int
Undocumented Args: [], Returns: int
func (*VideoPlayer) GetBufferingMsec ¶
func (o *VideoPlayer) GetBufferingMsec() gdnative.Int
Undocumented Args: [], Returns: int
func (*VideoPlayer) GetBus ¶
func (o *VideoPlayer) GetBus() gdnative.String
Undocumented Args: [], Returns: String
func (*VideoPlayer) GetStream ¶
func (o *VideoPlayer) GetStream() VideoStreamImplementer
Undocumented Args: [], Returns: VideoStream
func (*VideoPlayer) GetStreamName ¶
func (o *VideoPlayer) GetStreamName() gdnative.String
Get the name of the video stream. Args: [], Returns: String
func (*VideoPlayer) GetStreamPosition ¶
func (o *VideoPlayer) GetStreamPosition() gdnative.Real
Undocumented Args: [], Returns: float
func (*VideoPlayer) GetVideoTexture ¶
func (o *VideoPlayer) GetVideoTexture() TextureImplementer
Get the current frame of the video as a [Texture]. Args: [], Returns: Texture
func (*VideoPlayer) GetVolume ¶
func (o *VideoPlayer) GetVolume() gdnative.Real
Undocumented Args: [], Returns: float
func (*VideoPlayer) GetVolumeDb ¶
func (o *VideoPlayer) GetVolumeDb() gdnative.Real
Undocumented Args: [], Returns: float
func (*VideoPlayer) HasAutoplay ¶
func (o *VideoPlayer) HasAutoplay() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*VideoPlayer) HasExpand ¶
func (o *VideoPlayer) HasExpand() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*VideoPlayer) IsPaused ¶
func (o *VideoPlayer) IsPaused() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*VideoPlayer) IsPlaying ¶
func (o *VideoPlayer) IsPlaying() gdnative.Bool
Get whether or not the video is playing. Args: [], Returns: bool
func (*VideoPlayer) Play ¶
func (o *VideoPlayer) Play()
Start the video playback. Args: [], Returns: void
func (*VideoPlayer) SetAudioTrack ¶
func (o *VideoPlayer) SetAudioTrack(track gdnative.Int)
Undocumented Args: [{ false track int}], Returns: void
func (*VideoPlayer) SetAutoplay ¶
func (o *VideoPlayer) SetAutoplay(enabled gdnative.Bool)
Undocumented Args: [{ false enabled bool}], Returns: void
func (*VideoPlayer) SetBufferingMsec ¶
func (o *VideoPlayer) SetBufferingMsec(msec gdnative.Int)
Undocumented Args: [{ false msec int}], Returns: void
func (*VideoPlayer) SetBus ¶
func (o *VideoPlayer) SetBus(bus gdnative.String)
Undocumented Args: [{ false bus String}], Returns: void
func (*VideoPlayer) SetExpand ¶
func (o *VideoPlayer) SetExpand(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*VideoPlayer) SetPaused ¶
func (o *VideoPlayer) SetPaused(paused gdnative.Bool)
Undocumented Args: [{ false paused bool}], Returns: void
func (*VideoPlayer) SetStream ¶
func (o *VideoPlayer) SetStream(stream VideoStreamImplementer)
Undocumented Args: [{ false stream VideoStream}], Returns: void
func (*VideoPlayer) SetStreamPosition ¶
func (o *VideoPlayer) SetStreamPosition(position gdnative.Real)
Undocumented Args: [{ false position float}], Returns: void
func (*VideoPlayer) SetVolume ¶
func (o *VideoPlayer) SetVolume(volume gdnative.Real)
Undocumented Args: [{ false volume float}], Returns: void
func (*VideoPlayer) SetVolumeDb ¶
func (o *VideoPlayer) SetVolumeDb(db gdnative.Real)
Undocumented Args: [{ false db float}], Returns: void
func (*VideoPlayer) Stop ¶
func (o *VideoPlayer) Stop()
Stop the video playback. Args: [], Returns: void
type VideoPlayerImplementer ¶
type VideoPlayerImplementer interface { ControlImplementer GetAudioTrack() gdnative.Int GetBufferingMsec() gdnative.Int GetBus() gdnative.String GetStream() VideoStreamImplementer GetStreamName() gdnative.String GetStreamPosition() gdnative.Real GetVideoTexture() TextureImplementer GetVolume() gdnative.Real GetVolumeDb() gdnative.Real HasAutoplay() gdnative.Bool HasExpand() gdnative.Bool IsPaused() gdnative.Bool IsPlaying() gdnative.Bool Play() SetAudioTrack(track gdnative.Int) SetAutoplay(enabled gdnative.Bool) SetBufferingMsec(msec gdnative.Int) SetBus(bus gdnative.String) SetExpand(enable gdnative.Bool) SetPaused(paused gdnative.Bool) SetStream(stream VideoStreamImplementer) SetStreamPosition(position gdnative.Real) SetVolume(volume gdnative.Real) SetVolumeDb(db gdnative.Real) Stop() }
VideoPlayerImplementer is an interface that implements the methods of the VideoPlayer class.
type VideoStream ¶
type VideoStream struct { Resource // contains filtered or unexported fields }
func (*VideoStream) BaseClass ¶
func (o *VideoStream) BaseClass() string
type VideoStreamImplementer ¶
type VideoStreamImplementer interface { ResourceImplementer }
VideoStreamImplementer is an interface that implements the methods of the VideoStream class.
type VideoStreamTheora ¶
type VideoStreamTheora struct { VideoStream // contains filtered or unexported fields }
Undocumented
func (*VideoStreamTheora) BaseClass ¶
func (o *VideoStreamTheora) BaseClass() string
func (*VideoStreamTheora) GetFile ¶
func (o *VideoStreamTheora) GetFile() gdnative.String
Undocumented Args: [], Returns: String
func (*VideoStreamTheora) SetFile ¶
func (o *VideoStreamTheora) SetFile(file gdnative.String)
Undocumented Args: [{ false file String}], Returns: void
type VideoStreamTheoraImplementer ¶
type VideoStreamTheoraImplementer interface { VideoStreamImplementer GetFile() gdnative.String SetFile(file gdnative.String) }
VideoStreamTheoraImplementer is an interface that implements the methods of the VideoStreamTheora class.
type VideoStreamWebm ¶
type VideoStreamWebm struct { VideoStream // contains filtered or unexported fields }
Undocumented
func (*VideoStreamWebm) BaseClass ¶
func (o *VideoStreamWebm) BaseClass() string
func (*VideoStreamWebm) GetFile ¶
func (o *VideoStreamWebm) GetFile() gdnative.String
Undocumented Args: [], Returns: String
func (*VideoStreamWebm) SetFile ¶
func (o *VideoStreamWebm) SetFile(file gdnative.String)
Undocumented Args: [{ false file String}], Returns: void
type VideoStreamWebmImplementer ¶
type VideoStreamWebmImplementer interface { VideoStreamImplementer GetFile() gdnative.String SetFile(file gdnative.String) }
VideoStreamWebmImplementer is an interface that implements the methods of the VideoStreamWebm class.
type Viewport ¶
type Viewport struct { Node // contains filtered or unexported fields }
A Viewport creates a different view into the screen, or a sub-view inside another viewport. Children 2D Nodes will display on it, and children Camera 3D nodes will render on it too. Optionally, a viewport can have its own 2D or 3D world, so they don't share what they draw with other viewports. If a viewport is a child of a Control, it will automatically take up its same rect and position, otherwise they must be set manually. Viewports can also choose to be audio listeners, so they generate positional audio depending on a 2D or 3D camera child of it. Also, viewports can be assigned to different screens in case the devices have multiple screens. Finally, viewports can also behave as render targets, in which case they will not be visible unless the associated texture is used to draw.
func (*Viewport) FindWorld ¶
func (o *Viewport) FindWorld() WorldImplementer
Return the 3D world of the viewport, or if no such present, the one of the parent viewport. Args: [], Returns: World
func (*Viewport) FindWorld2D ¶
func (o *Viewport) FindWorld2D() World2DImplementer
Return the 2D world of the viewport. Args: [], Returns: World2D
func (*Viewport) GetCamera ¶
func (o *Viewport) GetCamera() CameraImplementer
Return the active 3D camera. Args: [], Returns: Camera
func (*Viewport) GetCanvasTransform ¶
func (o *Viewport) GetCanvasTransform() gdnative.Transform2D
Undocumented Args: [], Returns: Transform2D
func (*Viewport) GetClearMode ¶
func (o *Viewport) GetClearMode() ViewportClearMode
Undocumented Args: [], Returns: enum.Viewport::ClearMode
func (*Viewport) GetDebugDraw ¶
func (o *Viewport) GetDebugDraw() ViewportDebugDraw
Undocumented Args: [], Returns: enum.Viewport::DebugDraw
func (*Viewport) GetFinalTransform ¶
func (o *Viewport) GetFinalTransform() gdnative.Transform2D
Get the total transform of the viewport. Args: [], Returns: Transform2D
func (*Viewport) GetGlobalCanvasTransform ¶
func (o *Viewport) GetGlobalCanvasTransform() gdnative.Transform2D
Undocumented Args: [], Returns: Transform2D
func (*Viewport) GetMousePosition ¶
Get the mouse position, relative to the viewport. Args: [], Returns: Vector2
func (*Viewport) GetMsaa ¶
func (o *Viewport) GetMsaa() ViewportMSAA
Undocumented Args: [], Returns: enum.Viewport::MSAA
func (*Viewport) GetPhysicsObjectPicking ¶
Undocumented Args: [], Returns: bool
func (*Viewport) GetRenderInfo ¶
Get the specific information about the viewport from rendering pipeline. Args: [{ false info int}], Returns: int
func (*Viewport) GetShadowAtlasQuadrantSubdiv ¶
func (o *Viewport) GetShadowAtlasQuadrantSubdiv(quadrant gdnative.Int) ViewportShadowAtlasQuadrantSubdiv
Undocumented Args: [{ false quadrant int}], Returns: enum.Viewport::ShadowAtlasQuadrantSubdiv
func (*Viewport) GetShadowAtlasSize ¶
Undocumented Args: [], Returns: int
func (*Viewport) GetSizeOverride ¶
Get the size override set with [method set_size_override]. Args: [], Returns: Vector2
func (*Viewport) GetTexture ¶
func (o *Viewport) GetTexture() ViewportTextureImplementer
Get the viewport's texture, for use with various objects that you want to texture with the viewport. Args: [], Returns: ViewportTexture
func (*Viewport) GetUpdateMode ¶
func (o *Viewport) GetUpdateMode() ViewportUpdateMode
Undocumented Args: [], Returns: enum.Viewport::UpdateMode
func (*Viewport) GetUsage ¶
func (o *Viewport) GetUsage() ViewportUsage
Undocumented Args: [], Returns: enum.Viewport::Usage
func (*Viewport) GetViewportRid ¶
Get the viewport RID from the [VisualServer]. Args: [], Returns: RID
func (*Viewport) GetVisibleRect ¶
Return the final, visible rect in global screen coordinates. Args: [], Returns: Rect2
func (*Viewport) GetWorld ¶
func (o *Viewport) GetWorld() WorldImplementer
Undocumented Args: [], Returns: World
func (*Viewport) GetWorld2D ¶
func (o *Viewport) GetWorld2D() World2DImplementer
Undocumented Args: [], Returns: World2D
func (*Viewport) GuiGetDragData ¶
Returns the drag data from the GUI, that was previously returned by [method Control.get_drag_data]. Args: [], Returns: Variant
func (*Viewport) GuiHasModalStack ¶
Returns whether there are shown modals on-screen. Args: [], Returns: bool
func (*Viewport) HasTransparentBackground ¶
Undocumented Args: [], Returns: bool
func (*Viewport) InputMethod ¶
func (o *Viewport) InputMethod(localEvent InputEventImplementer)
Args: [{ false local_event InputEvent}], Returns: void
func (*Viewport) Is3DDisabled ¶
Undocumented Args: [], Returns: bool
func (*Viewport) IsAudioListener ¶
Undocumented Args: [], Returns: bool
func (*Viewport) IsAudioListener2D ¶
Undocumented Args: [], Returns: bool
func (*Viewport) IsInputDisabled ¶
Undocumented Args: [], Returns: bool
func (*Viewport) IsSizeOverrideEnabled ¶
Get the enabled status of the size override set with [method set_size_override]. Args: [], Returns: bool
func (*Viewport) IsSizeOverrideStretchEnabled ¶
Get the enabled status of the size stretch override set with [method set_size_override_stretch]. Args: [], Returns: bool
func (*Viewport) IsSnapControlsToPixelsEnabled ¶
Undocumented Args: [], Returns: bool
func (*Viewport) IsUsingOwnWorld ¶
Undocumented Args: [], Returns: bool
func (*Viewport) SetAsAudioListener ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Viewport) SetAsAudioListener2D ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Viewport) SetAttachToScreenRect ¶
Args: [{ false rect Rect2}], Returns: void
func (*Viewport) SetCanvasTransform ¶
func (o *Viewport) SetCanvasTransform(xform gdnative.Transform2D)
Undocumented Args: [{ false xform Transform2D}], Returns: void
func (*Viewport) SetClearMode ¶
Undocumented Args: [{ false mode int}], Returns: void
func (*Viewport) SetDebugDraw ¶
Undocumented Args: [{ false debug_draw int}], Returns: void
func (*Viewport) SetDisable3D ¶
Undocumented Args: [{ false disable bool}], Returns: void
func (*Viewport) SetDisableInput ¶
Undocumented Args: [{ false disable bool}], Returns: void
func (*Viewport) SetGlobalCanvasTransform ¶
func (o *Viewport) SetGlobalCanvasTransform(xform gdnative.Transform2D)
Undocumented Args: [{ false xform Transform2D}], Returns: void
func (*Viewport) SetPhysicsObjectPicking ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Viewport) SetShadowAtlasQuadrantSubdiv ¶
Undocumented Args: [{ false quadrant int} { false subdiv int}], Returns: void
func (*Viewport) SetShadowAtlasSize ¶
Undocumented Args: [{ false size int}], Returns: void
func (*Viewport) SetSizeOverride ¶
func (o *Viewport) SetSizeOverride(enable gdnative.Bool, size gdnative.Vector2, margin gdnative.Vector2)
Set the size override of the viewport. If the enable parameter is true, it would use the override, otherwise it would use the default size. If the size parameter is equal to [code](-1, -1)[/code], it won't update the size. Args: [{ false enable bool} {(-1, -1) true size Vector2} {(0, 0) true margin Vector2}], Returns: void
func (*Viewport) SetSizeOverrideStretch ¶
Set whether the size override affects stretch as well. Args: [{ false enabled bool}], Returns: void
func (*Viewport) SetSnapControlsToPixels ¶
Undocumented Args: [{ false enabled bool}], Returns: void
func (*Viewport) SetTransparentBackground ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Viewport) SetUpdateMode ¶
Undocumented Args: [{ false mode int}], Returns: void
func (*Viewport) SetUseArvr ¶
Undocumented Args: [{ false use bool}], Returns: void
func (*Viewport) SetUseOwnWorld ¶
Undocumented Args: [{ false enable bool}], Returns: void
func (*Viewport) SetWorld ¶
func (o *Viewport) SetWorld(world WorldImplementer)
Undocumented Args: [{ false world World}], Returns: void
func (*Viewport) SetWorld2D ¶
func (o *Viewport) SetWorld2D(world2D World2DImplementer)
Undocumented Args: [{ false world_2d World2D}], Returns: void
func (*Viewport) UnhandledInput ¶
func (o *Viewport) UnhandledInput(localEvent InputEventImplementer)
Args: [{ false local_event InputEvent}], Returns: void
func (*Viewport) UpdateWorlds ¶
func (o *Viewport) UpdateWorlds()
Force update of the 2D and 3D worlds. Args: [], Returns: void
func (*Viewport) WarpMouse ¶
Warp the mouse to a position, relative to the viewport. Args: [{ false to_position Vector2}], Returns: void
func (*Viewport) X_GuiRemoveFocus ¶
func (o *Viewport) X_GuiRemoveFocus()
Undocumented Args: [], Returns: void
func (*Viewport) X_GuiShowTooltip ¶
func (o *Viewport) X_GuiShowTooltip()
Undocumented Args: [], Returns: void
func (*Viewport) X_VpInput ¶
func (o *Viewport) X_VpInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
func (*Viewport) X_VpInputText ¶
Undocumented Args: [{ false text String}], Returns: void
func (*Viewport) X_VpUnhandledInput ¶
func (o *Viewport) X_VpUnhandledInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
type ViewportClearMode ¶
type ViewportClearMode int
ViewportClearMode is an enum for ClearMode values.
const ( ViewportClearModeAlways ViewportClearMode = 0 ViewportClearModeNever ViewportClearMode = 1 ViewportClearModeOnlyNextFrame ViewportClearMode = 2 )
type ViewportContainer ¶
type ViewportContainer struct { Container // contains filtered or unexported fields }
func (*ViewportContainer) BaseClass ¶
func (o *ViewportContainer) BaseClass() string
func (*ViewportContainer) GetStretchShrink ¶
func (o *ViewportContainer) GetStretchShrink() gdnative.Int
Undocumented Args: [], Returns: int
func (*ViewportContainer) IsStretchEnabled ¶
func (o *ViewportContainer) IsStretchEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*ViewportContainer) SetStretch ¶
func (o *ViewportContainer) SetStretch(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*ViewportContainer) SetStretchShrink ¶
func (o *ViewportContainer) SetStretchShrink(amount gdnative.Int)
Undocumented Args: [{ false amount int}], Returns: void
func (*ViewportContainer) X_Input ¶
func (o *ViewportContainer) X_Input(event InputEventImplementer)
Undocumented Args: [{ false event InputEvent}], Returns: void
type ViewportContainerImplementer ¶
type ViewportContainerImplementer interface { ContainerImplementer GetStretchShrink() gdnative.Int IsStretchEnabled() gdnative.Bool SetStretch(enable gdnative.Bool) SetStretchShrink(amount gdnative.Int) }
ViewportContainerImplementer is an interface that implements the methods of the ViewportContainer class.
type ViewportDebugDraw ¶
type ViewportDebugDraw int
ViewportDebugDraw is an enum for DebugDraw values.
const ( ViewportDebugDrawDisabled ViewportDebugDraw = 0 ViewportDebugDrawOverdraw ViewportDebugDraw = 2 ViewportDebugDrawUnshaded ViewportDebugDraw = 1 ViewportDebugDrawWireframe ViewportDebugDraw = 3 )
type ViewportImplementer ¶
type ViewportImplementer interface { NodeImplementer X_GuiRemoveFocus() X_GuiShowTooltip() X_VpInput(arg0 InputEventImplementer) X_VpInputText(text gdnative.String) X_VpUnhandledInput(arg0 InputEventImplementer) FindWorld() WorldImplementer FindWorld2D() World2DImplementer GetCamera() CameraImplementer GetCanvasTransform() gdnative.Transform2D GetFinalTransform() gdnative.Transform2D GetGlobalCanvasTransform() gdnative.Transform2D GetHdr() gdnative.Bool GetMousePosition() gdnative.Vector2 GetPhysicsObjectPicking() gdnative.Bool GetRenderInfo(info gdnative.Int) gdnative.Int GetShadowAtlasSize() gdnative.Int GetSize() gdnative.Vector2 GetSizeOverride() gdnative.Vector2 GetTexture() ViewportTextureImplementer GetVflip() gdnative.Bool GetViewportRid() gdnative.Rid GetVisibleRect() gdnative.Rect2 GetWorld() WorldImplementer GetWorld2D() World2DImplementer GuiGetDragData() gdnative.Variant GuiHasModalStack() gdnative.Bool HasTransparentBackground() gdnative.Bool InputMethod(localEvent InputEventImplementer) Is3DDisabled() gdnative.Bool IsAudioListener() gdnative.Bool IsAudioListener2D() gdnative.Bool IsInputDisabled() gdnative.Bool IsSizeOverrideEnabled() gdnative.Bool IsSizeOverrideStretchEnabled() gdnative.Bool IsSnapControlsToPixelsEnabled() gdnative.Bool IsUsingOwnWorld() gdnative.Bool SetAsAudioListener(enable gdnative.Bool) SetAsAudioListener2D(enable gdnative.Bool) SetAttachToScreenRect(rect gdnative.Rect2) SetCanvasTransform(xform gdnative.Transform2D) SetClearMode(mode gdnative.Int) SetDebugDraw(debugDraw gdnative.Int) SetDisable3D(disable gdnative.Bool) SetDisableInput(disable gdnative.Bool) SetGlobalCanvasTransform(xform gdnative.Transform2D) SetHdr(enable gdnative.Bool) SetMsaa(msaa gdnative.Int) SetPhysicsObjectPicking(enable gdnative.Bool) SetShadowAtlasQuadrantSubdiv(quadrant gdnative.Int, subdiv gdnative.Int) SetShadowAtlasSize(size gdnative.Int) SetSize(size gdnative.Vector2) SetSizeOverride(enable gdnative.Bool, size gdnative.Vector2, margin gdnative.Vector2) SetSizeOverrideStretch(enabled gdnative.Bool) SetSnapControlsToPixels(enabled gdnative.Bool) SetTransparentBackground(enable gdnative.Bool) SetUpdateMode(mode gdnative.Int) SetUsage(usage gdnative.Int) SetUseArvr(use gdnative.Bool) SetUseOwnWorld(enable gdnative.Bool) SetVflip(enable gdnative.Bool) SetWorld(world WorldImplementer) SetWorld2D(world2D World2DImplementer) UnhandledInput(localEvent InputEventImplementer) UpdateWorlds() UseArvr() gdnative.Bool WarpMouse(toPosition gdnative.Vector2) }
ViewportImplementer is an interface that implements the methods of the Viewport class.
type ViewportMSAA ¶
type ViewportMSAA int
ViewportMSAA is an enum for MSAA values.
const ( ViewportMsaa16X ViewportMSAA = 4 ViewportMsaa2X ViewportMSAA = 1 ViewportMsaa4X ViewportMSAA = 2 ViewportMsaa8X ViewportMSAA = 3 ViewportMsaaDisabled ViewportMSAA = 0 )
type ViewportRenderInfo ¶
type ViewportRenderInfo int
ViewportRenderInfo is an enum for RenderInfo values.
const ( ViewportRenderInfoDrawCallsInFrame ViewportRenderInfo = 5 ViewportRenderInfoMaterialChangesInFrame ViewportRenderInfo = 2 ViewportRenderInfoMax ViewportRenderInfo = 6 ViewportRenderInfoObjectsInFrame ViewportRenderInfo = 0 ViewportRenderInfoShaderChangesInFrame ViewportRenderInfo = 3 ViewportRenderInfoSurfaceChangesInFrame ViewportRenderInfo = 4 ViewportRenderInfoVerticesInFrame ViewportRenderInfo = 1 )
type ViewportShadowAtlasQuadrantSubdiv ¶
type ViewportShadowAtlasQuadrantSubdiv int
ViewportShadowAtlasQuadrantSubdiv is an enum for ShadowAtlasQuadrantSubdiv values.
const ( ViewportShadowAtlasQuadrantSubdiv1 ViewportShadowAtlasQuadrantSubdiv = 1 ViewportShadowAtlasQuadrantSubdiv1024 ViewportShadowAtlasQuadrantSubdiv = 6 ViewportShadowAtlasQuadrantSubdiv16 ViewportShadowAtlasQuadrantSubdiv = 3 ViewportShadowAtlasQuadrantSubdiv256 ViewportShadowAtlasQuadrantSubdiv = 5 ViewportShadowAtlasQuadrantSubdiv4 ViewportShadowAtlasQuadrantSubdiv = 2 ViewportShadowAtlasQuadrantSubdiv64 ViewportShadowAtlasQuadrantSubdiv = 4 ViewportShadowAtlasQuadrantSubdivDisabled ViewportShadowAtlasQuadrantSubdiv = 0 ViewportShadowAtlasQuadrantSubdivMax ViewportShadowAtlasQuadrantSubdiv = 7 )
type ViewportTexture ¶
type ViewportTexture struct { Texture // contains filtered or unexported fields }
func (*ViewportTexture) BaseClass ¶
func (o *ViewportTexture) BaseClass() string
func (*ViewportTexture) GetViewportPathInScene ¶
func (o *ViewportTexture) GetViewportPathInScene() gdnative.NodePath
Undocumented Args: [], Returns: NodePath
func (*ViewportTexture) SetViewportPathInScene ¶
func (o *ViewportTexture) SetViewportPathInScene(path gdnative.NodePath)
Undocumented Args: [{ false path NodePath}], Returns: void
type ViewportTextureImplementer ¶
type ViewportTextureImplementer interface { TextureImplementer GetViewportPathInScene() gdnative.NodePath SetViewportPathInScene(path gdnative.NodePath) }
ViewportTextureImplementer is an interface that implements the methods of the ViewportTexture class.
type ViewportUpdateMode ¶
type ViewportUpdateMode int
ViewportUpdateMode is an enum for UpdateMode values.
const ( ViewportUpdateAlways ViewportUpdateMode = 3 ViewportUpdateDisabled ViewportUpdateMode = 0 ViewportUpdateOnce ViewportUpdateMode = 1 ViewportUpdateWhenVisible ViewportUpdateMode = 2 )
type ViewportUsage ¶
type ViewportUsage int
ViewportUsage is an enum for Usage values.
const ( ViewportUsage2D ViewportUsage = 0 ViewportUsage2DNoSampling ViewportUsage = 1 ViewportUsage3D ViewportUsage = 2 ViewportUsage3DNoEffects ViewportUsage = 3 )
type VisibilityEnabler ¶
type VisibilityEnabler struct { VisibilityNotifier // contains filtered or unexported fields }
The VisibilityEnabler will disable RigidBody and AnimationPlayer nodes when they are not visible. It will only affect other nodes within the same scene as the VisibilityEnabler itself.
func (*VisibilityEnabler) BaseClass ¶
func (o *VisibilityEnabler) BaseClass() string
func (*VisibilityEnabler) IsEnablerEnabled ¶
func (o *VisibilityEnabler) IsEnablerEnabled(enabler gdnative.Int) gdnative.Bool
Undocumented Args: [{ false enabler int}], Returns: bool
func (*VisibilityEnabler) SetEnabler ¶
func (o *VisibilityEnabler) SetEnabler(enabler gdnative.Int, enabled gdnative.Bool)
Undocumented Args: [{ false enabler int} { false enabled bool}], Returns: void
func (*VisibilityEnabler) X_NodeRemoved ¶
func (o *VisibilityEnabler) X_NodeRemoved(arg0 ObjectImplementer)
Undocumented Args: [{ false arg0 Object}], Returns: void
type VisibilityEnabler2D ¶
type VisibilityEnabler2D struct { VisibilityNotifier2D // contains filtered or unexported fields }
The VisibilityEnabler2D will disable RigidBody2D, AnimationPlayer, and other nodes when they are not visible. It will only affect other nodes within the same scene as the VisibilityEnabler2D itself.
func (*VisibilityEnabler2D) BaseClass ¶
func (o *VisibilityEnabler2D) BaseClass() string
func (*VisibilityEnabler2D) IsEnablerEnabled ¶
func (o *VisibilityEnabler2D) IsEnablerEnabled(enabler gdnative.Int) gdnative.Bool
Undocumented Args: [{ false enabler int}], Returns: bool
func (*VisibilityEnabler2D) SetEnabler ¶
func (o *VisibilityEnabler2D) SetEnabler(enabler gdnative.Int, enabled gdnative.Bool)
Undocumented Args: [{ false enabler int} { false enabled bool}], Returns: void
func (*VisibilityEnabler2D) X_NodeRemoved ¶
func (o *VisibilityEnabler2D) X_NodeRemoved(arg0 ObjectImplementer)
Undocumented Args: [{ false arg0 Object}], Returns: void
type VisibilityEnabler2DEnabler ¶
type VisibilityEnabler2DEnabler int
VisibilityEnabler2DEnabler is an enum for Enabler values.
const ( VisibilityEnabler2DEnablerFreezeBodies VisibilityEnabler2DEnabler = 1 VisibilityEnabler2DEnablerMax VisibilityEnabler2DEnabler = 6 VisibilityEnabler2DEnablerParentPhysicsProcess VisibilityEnabler2DEnabler = 4 VisibilityEnabler2DEnablerParentProcess VisibilityEnabler2DEnabler = 3 VisibilityEnabler2DEnablerPauseAnimatedSprites VisibilityEnabler2DEnabler = 5 VisibilityEnabler2DEnablerPauseAnimations VisibilityEnabler2DEnabler = 0 VisibilityEnabler2DEnablerPauseParticles VisibilityEnabler2DEnabler = 2 )
type VisibilityEnabler2DImplementer ¶
type VisibilityEnabler2DImplementer interface { VisibilityNotifier2DImplementer X_NodeRemoved(arg0 ObjectImplementer) IsEnablerEnabled(enabler gdnative.Int) gdnative.Bool SetEnabler(enabler gdnative.Int, enabled gdnative.Bool) }
VisibilityEnabler2DImplementer is an interface that implements the methods of the VisibilityEnabler2D class.
type VisibilityEnablerEnabler ¶
type VisibilityEnablerEnabler int
VisibilityEnablerEnabler is an enum for Enabler values.
const ( VisibilityEnablerEnablerFreezeBodies VisibilityEnablerEnabler = 1 VisibilityEnablerEnablerMax VisibilityEnablerEnabler = 2 VisibilityEnablerEnablerPauseAnimations VisibilityEnablerEnabler = 0 )
type VisibilityEnablerImplementer ¶
type VisibilityEnablerImplementer interface { VisibilityNotifierImplementer X_NodeRemoved(arg0 ObjectImplementer) IsEnablerEnabled(enabler gdnative.Int) gdnative.Bool SetEnabler(enabler gdnative.Int, enabled gdnative.Bool) }
VisibilityEnablerImplementer is an interface that implements the methods of the VisibilityEnabler class.
type VisibilityNotifier ¶
type VisibilityNotifier struct { Spatial // contains filtered or unexported fields }
The VisibilityNotifier detects when it is visible on the screen. It also notifies when its bounding rectangle enters or exits the screen or a Camera's view.
func (*VisibilityNotifier) BaseClass ¶
func (o *VisibilityNotifier) BaseClass() string
func (*VisibilityNotifier) GetAabb ¶
func (o *VisibilityNotifier) GetAabb() gdnative.Aabb
Undocumented Args: [], Returns: AABB
func (*VisibilityNotifier) IsOnScreen ¶
func (o *VisibilityNotifier) IsOnScreen() gdnative.Bool
If [code]true[/code] the bounding box is on the screen. Args: [], Returns: bool
func (*VisibilityNotifier) SetAabb ¶
func (o *VisibilityNotifier) SetAabb(rect gdnative.Aabb)
Undocumented Args: [{ false rect AABB}], Returns: void
type VisibilityNotifier2D ¶
type VisibilityNotifier2D struct { Node2D // contains filtered or unexported fields }
The VisibilityNotifier2D detects when it is visible on the screen. It also notifies when its bounding rectangle enters or exits the screen or a viewport.
func (*VisibilityNotifier2D) BaseClass ¶
func (o *VisibilityNotifier2D) BaseClass() string
func (*VisibilityNotifier2D) GetRect ¶
func (o *VisibilityNotifier2D) GetRect() gdnative.Rect2
Undocumented Args: [], Returns: Rect2
func (*VisibilityNotifier2D) IsOnScreen ¶
func (o *VisibilityNotifier2D) IsOnScreen() gdnative.Bool
If [code]true[/code] the bounding rectangle is on the screen. Args: [], Returns: bool
func (*VisibilityNotifier2D) SetRect ¶
func (o *VisibilityNotifier2D) SetRect(rect gdnative.Rect2)
Undocumented Args: [{ false rect Rect2}], Returns: void
type VisibilityNotifier2DImplementer ¶
type VisibilityNotifier2DImplementer interface { Node2DImplementer GetRect() gdnative.Rect2 IsOnScreen() gdnative.Bool SetRect(rect gdnative.Rect2) }
VisibilityNotifier2DImplementer is an interface that implements the methods of the VisibilityNotifier2D class.
type VisibilityNotifierImplementer ¶
type VisibilityNotifierImplementer interface { SpatialImplementer GetAabb() gdnative.Aabb IsOnScreen() gdnative.Bool SetAabb(rect gdnative.Aabb) }
VisibilityNotifierImplementer is an interface that implements the methods of the VisibilityNotifier class.
type VisualInstance ¶
type VisualInstance struct { Spatial // contains filtered or unexported fields }
func (*VisualInstance) BaseClass ¶
func (o *VisualInstance) BaseClass() string
func (*VisualInstance) GetAabb ¶
func (o *VisualInstance) GetAabb() gdnative.Aabb
Returns the [AABB] (also known as the bounding box) for this VisualInstance. Args: [], Returns: AABB
func (*VisualInstance) GetLayerMask ¶
func (o *VisualInstance) GetLayerMask() gdnative.Int
Undocumented Args: [], Returns: int
func (*VisualInstance) GetTransformedAabb ¶
func (o *VisualInstance) GetTransformedAabb() gdnative.Aabb
Returns the transformed [AABB] (also known as the bounding box) for this VisualInstance. Transformed in this case means the [AABB] plus the position, rotation, and scale of the [Spatial]s [Transform] Args: [], Returns: AABB
func (*VisualInstance) SetBase ¶
func (o *VisualInstance) SetBase(base gdnative.Rid)
Sets the base of the VisualInstance, which changes how the engine handles the VisualInstance under the hood. It is recommended to only use set_base if you know what you're doing. Args: [{ false base RID}], Returns: void
func (*VisualInstance) SetLayerMask ¶
func (o *VisualInstance) SetLayerMask(mask gdnative.Int)
Undocumented Args: [{ false mask int}], Returns: void
func (*VisualInstance) X_GetVisualInstanceRid ¶
func (o *VisualInstance) X_GetVisualInstanceRid() gdnative.Rid
Undocumented Args: [], Returns: RID
type VisualInstanceImplementer ¶
type VisualInstanceImplementer interface { SpatialImplementer X_GetVisualInstanceRid() gdnative.Rid GetAabb() gdnative.Aabb GetLayerMask() gdnative.Int GetTransformedAabb() gdnative.Aabb SetBase(base gdnative.Rid) SetLayerMask(mask gdnative.Int) }
VisualInstanceImplementer is an interface that implements the methods of the VisualInstance class.
type VisualScript ¶
type VisualScript struct { Script // contains filtered or unexported fields }
Undocumented
func (*VisualScript) AddCustomSignal ¶
func (o *VisualScript) AddCustomSignal(name gdnative.String)
Undocumented Args: [{ false name String}], Returns: void
func (*VisualScript) AddFunction ¶
func (o *VisualScript) AddFunction(name gdnative.String)
Undocumented Args: [{ false name String}], Returns: void
func (*VisualScript) AddNode ¶
func (o *VisualScript) AddNode(function gdnative.String, id gdnative.Int, node VisualScriptNodeImplementer, position gdnative.Vector2)
Undocumented Args: [{ false func String} { false id int} { false node VisualScriptNode} {(0, 0) true position Vector2}], Returns: void
func (*VisualScript) AddVariable ¶
func (o *VisualScript) AddVariable(name gdnative.String, defaultValue gdnative.Variant, export gdnative.Bool)
Undocumented Args: [{ false name String} {Null true default_value Variant} {False true export bool}], Returns: void
func (*VisualScript) BaseClass ¶
func (o *VisualScript) BaseClass() string
func (*VisualScript) CustomSignalAddArgument ¶
func (o *VisualScript) CustomSignalAddArgument(name gdnative.String, aType gdnative.Int, argname gdnative.String, index gdnative.Int)
Undocumented Args: [{ false name String} { false type int} { false argname String} {-1 true index int}], Returns: void
func (*VisualScript) CustomSignalGetArgumentCount ¶
func (o *VisualScript) CustomSignalGetArgumentCount(name gdnative.String) gdnative.Int
Undocumented Args: [{ false name String}], Returns: int
func (*VisualScript) CustomSignalGetArgumentName ¶
func (o *VisualScript) CustomSignalGetArgumentName(name gdnative.String, argidx gdnative.Int) gdnative.String
Undocumented Args: [{ false name String} { false argidx int}], Returns: String
func (*VisualScript) CustomSignalGetArgumentType ¶
func (o *VisualScript) CustomSignalGetArgumentType(name gdnative.String, argidx gdnative.Int) gdnative.VariantType
Undocumented Args: [{ false name String} { false argidx int}], Returns: enum.Variant::Type
func (*VisualScript) CustomSignalRemoveArgument ¶
func (o *VisualScript) CustomSignalRemoveArgument(name gdnative.String, argidx gdnative.Int)
Undocumented Args: [{ false name String} { false argidx int}], Returns: void
func (*VisualScript) CustomSignalSetArgumentName ¶
func (o *VisualScript) CustomSignalSetArgumentName(name gdnative.String, argidx gdnative.Int, argname gdnative.String)
Undocumented Args: [{ false name String} { false argidx int} { false argname String}], Returns: void
func (*VisualScript) CustomSignalSetArgumentType ¶
func (o *VisualScript) CustomSignalSetArgumentType(name gdnative.String, argidx gdnative.Int, aType gdnative.Int)
Undocumented Args: [{ false name String} { false argidx int} { false type int}], Returns: void
func (*VisualScript) CustomSignalSwapArgument ¶
func (o *VisualScript) CustomSignalSwapArgument(name gdnative.String, argidx gdnative.Int, withidx gdnative.Int)
Undocumented Args: [{ false name String} { false argidx int} { false withidx int}], Returns: void
func (*VisualScript) DataConnect ¶
func (o *VisualScript) DataConnect(function gdnative.String, fromNode gdnative.Int, fromPort gdnative.Int, toNode gdnative.Int, toPort gdnative.Int)
Undocumented Args: [{ false func String} { false from_node int} { false from_port int} { false to_node int} { false to_port int}], Returns: void
func (*VisualScript) DataDisconnect ¶
func (o *VisualScript) DataDisconnect(function gdnative.String, fromNode gdnative.Int, fromPort gdnative.Int, toNode gdnative.Int, toPort gdnative.Int)
Undocumented Args: [{ false func String} { false from_node int} { false from_port int} { false to_node int} { false to_port int}], Returns: void
func (*VisualScript) GetFunctionNodeId ¶
func (o *VisualScript) GetFunctionNodeId(name gdnative.String) gdnative.Int
Undocumented Args: [{ false name String}], Returns: int
func (*VisualScript) GetFunctionScroll ¶
func (o *VisualScript) GetFunctionScroll(name gdnative.String) gdnative.Vector2
Undocumented Args: [{ false name String}], Returns: Vector2
func (*VisualScript) GetNode ¶
func (o *VisualScript) GetNode(function gdnative.String, id gdnative.Int) VisualScriptNodeImplementer
Undocumented Args: [{ false func String} { false id int}], Returns: VisualScriptNode
func (*VisualScript) GetNodePosition ¶
Undocumented Args: [{ false func String} { false id int}], Returns: Vector2
func (*VisualScript) GetVariableDefaultValue ¶
func (o *VisualScript) GetVariableDefaultValue(name gdnative.String) gdnative.Variant
Undocumented Args: [{ false name String}], Returns: Variant
func (*VisualScript) GetVariableExport ¶
func (o *VisualScript) GetVariableExport(name gdnative.String) gdnative.Bool
Undocumented Args: [{ false name String}], Returns: bool
func (*VisualScript) GetVariableInfo ¶
func (o *VisualScript) GetVariableInfo(name gdnative.String) gdnative.Dictionary
Undocumented Args: [{ false name String}], Returns: Dictionary
func (*VisualScript) HasCustomSignal ¶
func (o *VisualScript) HasCustomSignal(name gdnative.String) gdnative.Bool
Undocumented Args: [{ false name String}], Returns: bool
func (*VisualScript) HasDataConnection ¶
func (o *VisualScript) HasDataConnection(function gdnative.String, fromNode gdnative.Int, fromPort gdnative.Int, toNode gdnative.Int, toPort gdnative.Int) gdnative.Bool
Undocumented Args: [{ false func String} { false from_node int} { false from_port int} { false to_node int} { false to_port int}], Returns: bool
func (*VisualScript) HasFunction ¶
func (o *VisualScript) HasFunction(name gdnative.String) gdnative.Bool
Undocumented Args: [{ false name String}], Returns: bool
func (*VisualScript) HasNode ¶
Undocumented Args: [{ false func String} { false id int}], Returns: bool
func (*VisualScript) HasSequenceConnection ¶
func (o *VisualScript) HasSequenceConnection(function gdnative.String, fromNode gdnative.Int, fromOutput gdnative.Int, toNode gdnative.Int) gdnative.Bool
Undocumented Args: [{ false func String} { false from_node int} { false from_output int} { false to_node int}], Returns: bool
func (*VisualScript) HasVariable ¶
func (o *VisualScript) HasVariable(name gdnative.String) gdnative.Bool
Undocumented Args: [{ false name String}], Returns: bool
func (*VisualScript) RemoveCustomSignal ¶
func (o *VisualScript) RemoveCustomSignal(name gdnative.String)
Undocumented Args: [{ false name String}], Returns: void
func (*VisualScript) RemoveFunction ¶
func (o *VisualScript) RemoveFunction(name gdnative.String)
Undocumented Args: [{ false name String}], Returns: void
func (*VisualScript) RemoveNode ¶
func (o *VisualScript) RemoveNode(function gdnative.String, id gdnative.Int)
Undocumented Args: [{ false func String} { false id int}], Returns: void
func (*VisualScript) RemoveVariable ¶
func (o *VisualScript) RemoveVariable(name gdnative.String)
Undocumented Args: [{ false name String}], Returns: void
func (*VisualScript) RenameCustomSignal ¶
func (o *VisualScript) RenameCustomSignal(name gdnative.String, newName gdnative.String)
Undocumented Args: [{ false name String} { false new_name String}], Returns: void
func (*VisualScript) RenameFunction ¶
func (o *VisualScript) RenameFunction(name gdnative.String, newName gdnative.String)
Undocumented Args: [{ false name String} { false new_name String}], Returns: void
func (*VisualScript) RenameVariable ¶
func (o *VisualScript) RenameVariable(name gdnative.String, newName gdnative.String)
Undocumented Args: [{ false name String} { false new_name String}], Returns: void
func (*VisualScript) SequenceConnect ¶
func (o *VisualScript) SequenceConnect(function gdnative.String, fromNode gdnative.Int, fromOutput gdnative.Int, toNode gdnative.Int)
Undocumented Args: [{ false func String} { false from_node int} { false from_output int} { false to_node int}], Returns: void
func (*VisualScript) SequenceDisconnect ¶
func (o *VisualScript) SequenceDisconnect(function gdnative.String, fromNode gdnative.Int, fromOutput gdnative.Int, toNode gdnative.Int)
Undocumented Args: [{ false func String} { false from_node int} { false from_output int} { false to_node int}], Returns: void
func (*VisualScript) SetFunctionScroll ¶
func (o *VisualScript) SetFunctionScroll(name gdnative.String, ofs gdnative.Vector2)
Undocumented Args: [{ false name String} { false ofs Vector2}], Returns: void
func (*VisualScript) SetInstanceBaseType ¶
func (o *VisualScript) SetInstanceBaseType(aType gdnative.String)
Undocumented Args: [{ false type String}], Returns: void
func (*VisualScript) SetNodePosition ¶
func (o *VisualScript) SetNodePosition(function gdnative.String, id gdnative.Int, position gdnative.Vector2)
Undocumented Args: [{ false func String} { false id int} { false position Vector2}], Returns: void
func (*VisualScript) SetVariableDefaultValue ¶
func (o *VisualScript) SetVariableDefaultValue(name gdnative.String, value gdnative.Variant)
Undocumented Args: [{ false name String} { false value Variant}], Returns: void
func (*VisualScript) SetVariableExport ¶
func (o *VisualScript) SetVariableExport(name gdnative.String, enable gdnative.Bool)
Undocumented Args: [{ false name String} { false enable bool}], Returns: void
func (*VisualScript) SetVariableInfo ¶
func (o *VisualScript) SetVariableInfo(name gdnative.String, value gdnative.Dictionary)
Undocumented Args: [{ false name String} { false value Dictionary}], Returns: void
func (*VisualScript) X_GetData ¶
func (o *VisualScript) X_GetData() gdnative.Dictionary
Undocumented Args: [], Returns: Dictionary
func (*VisualScript) X_NodePortsChanged ¶
func (o *VisualScript) X_NodePortsChanged(arg0 gdnative.Int)
Undocumented Args: [{ false arg0 int}], Returns: void
func (*VisualScript) X_SetData ¶
func (o *VisualScript) X_SetData(data gdnative.Dictionary)
Undocumented Args: [{ false data Dictionary}], Returns: void
type VisualScriptBasicTypeConstant ¶
type VisualScriptBasicTypeConstant struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptBasicTypeConstant) BaseClass ¶
func (o *VisualScriptBasicTypeConstant) BaseClass() string
func (*VisualScriptBasicTypeConstant) GetBasicType ¶
func (o *VisualScriptBasicTypeConstant) GetBasicType() gdnative.VariantType
Undocumented Args: [], Returns: enum.Variant::Type
func (*VisualScriptBasicTypeConstant) GetBasicTypeConstant ¶
func (o *VisualScriptBasicTypeConstant) GetBasicTypeConstant() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptBasicTypeConstant) SetBasicType ¶
func (o *VisualScriptBasicTypeConstant) SetBasicType(name gdnative.Int)
Undocumented Args: [{ false name int}], Returns: void
func (*VisualScriptBasicTypeConstant) SetBasicTypeConstant ¶
func (o *VisualScriptBasicTypeConstant) SetBasicTypeConstant(name gdnative.String)
Undocumented Args: [{ false name String}], Returns: void
type VisualScriptBasicTypeConstantImplementer ¶
type VisualScriptBasicTypeConstantImplementer interface { VisualScriptNodeImplementer GetBasicTypeConstant() gdnative.String SetBasicType(name gdnative.Int) SetBasicTypeConstant(name gdnative.String) }
VisualScriptBasicTypeConstantImplementer is an interface that implements the methods of the VisualScriptBasicTypeConstant class.
type VisualScriptBuiltinFunc ¶
type VisualScriptBuiltinFunc struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptBuiltinFunc) BaseClass ¶
func (o *VisualScriptBuiltinFunc) BaseClass() string
func (*VisualScriptBuiltinFunc) GetFunc ¶
func (o *VisualScriptBuiltinFunc) GetFunc() VisualScriptBuiltinFuncBuiltinFunc
Undocumented Args: [], Returns: enum.VisualScriptBuiltinFunc::BuiltinFunc
func (*VisualScriptBuiltinFunc) SetFunc ¶
func (o *VisualScriptBuiltinFunc) SetFunc(which gdnative.Int)
Undocumented Args: [{ false which int}], Returns: void
type VisualScriptBuiltinFuncBuiltinFunc ¶
type VisualScriptBuiltinFuncBuiltinFunc int
VisualScriptBuiltinFuncBuiltinFunc is an enum for BuiltinFunc values.
const ( VisualScriptBuiltinFuncBytesToVar VisualScriptBuiltinFuncBuiltinFunc = 61 VisualScriptBuiltinFuncColorn VisualScriptBuiltinFuncBuiltinFunc = 62 VisualScriptBuiltinFuncFuncFuncref VisualScriptBuiltinFuncBuiltinFunc = 49 VisualScriptBuiltinFuncFuncMax VisualScriptBuiltinFuncBuiltinFunc = 63 VisualScriptBuiltinFuncLogicClamp VisualScriptBuiltinFuncBuiltinFunc = 46 VisualScriptBuiltinFuncLogicMax VisualScriptBuiltinFuncBuiltinFunc = 44 VisualScriptBuiltinFuncLogicMin VisualScriptBuiltinFuncBuiltinFunc = 45 VisualScriptBuiltinFuncLogicNearestPo2 VisualScriptBuiltinFuncBuiltinFunc = 47 VisualScriptBuiltinFuncMathAbs VisualScriptBuiltinFuncBuiltinFunc = 16 VisualScriptBuiltinFuncMathAcos VisualScriptBuiltinFuncBuiltinFunc = 7 VisualScriptBuiltinFuncMathAsin VisualScriptBuiltinFuncBuiltinFunc = 6 VisualScriptBuiltinFuncMathAtan VisualScriptBuiltinFuncBuiltinFunc = 8 VisualScriptBuiltinFuncMathAtan2 VisualScriptBuiltinFuncBuiltinFunc = 9 VisualScriptBuiltinFuncMathCartesian2Polar VisualScriptBuiltinFuncBuiltinFunc = 41 VisualScriptBuiltinFuncMathCeil VisualScriptBuiltinFuncBuiltinFunc = 14 VisualScriptBuiltinFuncMathCos VisualScriptBuiltinFuncBuiltinFunc = 1 VisualScriptBuiltinFuncMathCosh VisualScriptBuiltinFuncBuiltinFunc = 4 VisualScriptBuiltinFuncMathDb2Linear VisualScriptBuiltinFuncBuiltinFunc = 39 VisualScriptBuiltinFuncMathDecimals VisualScriptBuiltinFuncBuiltinFunc = 24 VisualScriptBuiltinFuncMathDectime VisualScriptBuiltinFuncBuiltinFunc = 29 VisualScriptBuiltinFuncMathDeg2Rad VisualScriptBuiltinFuncBuiltinFunc = 36 VisualScriptBuiltinFuncMathEase VisualScriptBuiltinFuncBuiltinFunc = 23 VisualScriptBuiltinFuncMathExp VisualScriptBuiltinFuncBuiltinFunc = 20 VisualScriptBuiltinFuncMathFloor VisualScriptBuiltinFuncBuiltinFunc = 13 VisualScriptBuiltinFuncMathFmod VisualScriptBuiltinFuncBuiltinFunc = 11 VisualScriptBuiltinFuncMathFposmod VisualScriptBuiltinFuncBuiltinFunc = 12 VisualScriptBuiltinFuncMathInverseLerp VisualScriptBuiltinFuncBuiltinFunc = 27 VisualScriptBuiltinFuncMathIsinf VisualScriptBuiltinFuncBuiltinFunc = 22 VisualScriptBuiltinFuncMathIsnan VisualScriptBuiltinFuncBuiltinFunc = 21 VisualScriptBuiltinFuncMathLerp VisualScriptBuiltinFuncBuiltinFunc = 26 VisualScriptBuiltinFuncMathLinear2Db VisualScriptBuiltinFuncBuiltinFunc = 38 VisualScriptBuiltinFuncMathLog VisualScriptBuiltinFuncBuiltinFunc = 19 VisualScriptBuiltinFuncMathPolar2Cartesian VisualScriptBuiltinFuncBuiltinFunc = 40 VisualScriptBuiltinFuncMathPow VisualScriptBuiltinFuncBuiltinFunc = 18 VisualScriptBuiltinFuncMathRad2Deg VisualScriptBuiltinFuncBuiltinFunc = 37 VisualScriptBuiltinFuncMathRand VisualScriptBuiltinFuncBuiltinFunc = 31 VisualScriptBuiltinFuncMathRandf VisualScriptBuiltinFuncBuiltinFunc = 32 VisualScriptBuiltinFuncMathRandom VisualScriptBuiltinFuncBuiltinFunc = 33 VisualScriptBuiltinFuncMathRandomize VisualScriptBuiltinFuncBuiltinFunc = 30 VisualScriptBuiltinFuncMathRandseed VisualScriptBuiltinFuncBuiltinFunc = 35 VisualScriptBuiltinFuncMathRangeLerp VisualScriptBuiltinFuncBuiltinFunc = 28 VisualScriptBuiltinFuncMathRound VisualScriptBuiltinFuncBuiltinFunc = 15 VisualScriptBuiltinFuncMathSeed VisualScriptBuiltinFuncBuiltinFunc = 34 VisualScriptBuiltinFuncMathSign VisualScriptBuiltinFuncBuiltinFunc = 17 VisualScriptBuiltinFuncMathSin VisualScriptBuiltinFuncBuiltinFunc = 0 VisualScriptBuiltinFuncMathSinh VisualScriptBuiltinFuncBuiltinFunc = 3 VisualScriptBuiltinFuncMathSqrt VisualScriptBuiltinFuncBuiltinFunc = 10 VisualScriptBuiltinFuncMathStepify VisualScriptBuiltinFuncBuiltinFunc = 25 VisualScriptBuiltinFuncMathTan VisualScriptBuiltinFuncBuiltinFunc = 2 VisualScriptBuiltinFuncMathTanh VisualScriptBuiltinFuncBuiltinFunc = 5 VisualScriptBuiltinFuncMathWrap VisualScriptBuiltinFuncBuiltinFunc = 42 VisualScriptBuiltinFuncMathWrapf VisualScriptBuiltinFuncBuiltinFunc = 43 VisualScriptBuiltinFuncObjWeakref VisualScriptBuiltinFuncBuiltinFunc = 48 VisualScriptBuiltinFuncStrToVar VisualScriptBuiltinFuncBuiltinFunc = 59 VisualScriptBuiltinFuncTextChar VisualScriptBuiltinFuncBuiltinFunc = 53 VisualScriptBuiltinFuncTextPrint VisualScriptBuiltinFuncBuiltinFunc = 55 VisualScriptBuiltinFuncTextPrinterr VisualScriptBuiltinFuncBuiltinFunc = 56 VisualScriptBuiltinFuncTextPrintraw VisualScriptBuiltinFuncBuiltinFunc = 57 VisualScriptBuiltinFuncTextStr VisualScriptBuiltinFuncBuiltinFunc = 54 VisualScriptBuiltinFuncTypeConvert VisualScriptBuiltinFuncBuiltinFunc = 50 VisualScriptBuiltinFuncTypeExists VisualScriptBuiltinFuncBuiltinFunc = 52 VisualScriptBuiltinFuncTypeOf VisualScriptBuiltinFuncBuiltinFunc = 51 VisualScriptBuiltinFuncVarToBytes VisualScriptBuiltinFuncBuiltinFunc = 60 VisualScriptBuiltinFuncVarToStr VisualScriptBuiltinFuncBuiltinFunc = 58 )
type VisualScriptBuiltinFuncImplementer ¶
type VisualScriptBuiltinFuncImplementer interface { VisualScriptNodeImplementer SetFunc(which gdnative.Int) }
VisualScriptBuiltinFuncImplementer is an interface that implements the methods of the VisualScriptBuiltinFunc class.
type VisualScriptClassConstant ¶
type VisualScriptClassConstant struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptClassConstant) BaseClass ¶
func (o *VisualScriptClassConstant) BaseClass() string
func (*VisualScriptClassConstant) GetBaseType ¶
func (o *VisualScriptClassConstant) GetBaseType() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptClassConstant) GetClassConstant ¶
func (o *VisualScriptClassConstant) GetClassConstant() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptClassConstant) SetBaseType ¶
func (o *VisualScriptClassConstant) SetBaseType(name gdnative.String)
Undocumented Args: [{ false name String}], Returns: void
func (*VisualScriptClassConstant) SetClassConstant ¶
func (o *VisualScriptClassConstant) SetClassConstant(name gdnative.String)
Undocumented Args: [{ false name String}], Returns: void
type VisualScriptClassConstantImplementer ¶
type VisualScriptClassConstantImplementer interface { VisualScriptNodeImplementer GetBaseType() gdnative.String GetClassConstant() gdnative.String SetBaseType(name gdnative.String) SetClassConstant(name gdnative.String) }
VisualScriptClassConstantImplementer is an interface that implements the methods of the VisualScriptClassConstant class.
type VisualScriptComment ¶
type VisualScriptComment struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptComment) BaseClass ¶
func (o *VisualScriptComment) BaseClass() string
func (*VisualScriptComment) GetDescription ¶
func (o *VisualScriptComment) GetDescription() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptComment) GetSize ¶
func (o *VisualScriptComment) GetSize() gdnative.Vector2
Undocumented Args: [], Returns: Vector2
func (*VisualScriptComment) GetTitle ¶
func (o *VisualScriptComment) GetTitle() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptComment) SetDescription ¶
func (o *VisualScriptComment) SetDescription(description gdnative.String)
Undocumented Args: [{ false description String}], Returns: void
func (*VisualScriptComment) SetSize ¶
func (o *VisualScriptComment) SetSize(size gdnative.Vector2)
Undocumented Args: [{ false size Vector2}], Returns: void
func (*VisualScriptComment) SetTitle ¶
func (o *VisualScriptComment) SetTitle(title gdnative.String)
Undocumented Args: [{ false title String}], Returns: void
type VisualScriptCommentImplementer ¶
type VisualScriptCommentImplementer interface { VisualScriptNodeImplementer GetDescription() gdnative.String GetSize() gdnative.Vector2 GetTitle() gdnative.String SetDescription(description gdnative.String) SetSize(size gdnative.Vector2) SetTitle(title gdnative.String) }
VisualScriptCommentImplementer is an interface that implements the methods of the VisualScriptComment class.
type VisualScriptCondition ¶
type VisualScriptCondition struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptCondition) BaseClass ¶
func (o *VisualScriptCondition) BaseClass() string
type VisualScriptConditionImplementer ¶
type VisualScriptConditionImplementer interface { VisualScriptNodeImplementer }
VisualScriptConditionImplementer is an interface that implements the methods of the VisualScriptCondition class.
type VisualScriptConstant ¶
type VisualScriptConstant struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptConstant) BaseClass ¶
func (o *VisualScriptConstant) BaseClass() string
func (*VisualScriptConstant) GetConstantType ¶
func (o *VisualScriptConstant) GetConstantType() gdnative.VariantType
Undocumented Args: [], Returns: enum.Variant::Type
func (*VisualScriptConstant) GetConstantValue ¶
func (o *VisualScriptConstant) GetConstantValue() gdnative.Variant
Undocumented Args: [], Returns: Variant
func (*VisualScriptConstant) SetConstantType ¶
func (o *VisualScriptConstant) SetConstantType(aType gdnative.Int)
Undocumented Args: [{ false type int}], Returns: void
func (*VisualScriptConstant) SetConstantValue ¶
func (o *VisualScriptConstant) SetConstantValue(value gdnative.Variant)
Undocumented Args: [{ false value Variant}], Returns: void
type VisualScriptConstantImplementer ¶
type VisualScriptConstantImplementer interface { VisualScriptNodeImplementer GetConstantValue() gdnative.Variant SetConstantType(aType gdnative.Int) SetConstantValue(value gdnative.Variant) }
VisualScriptConstantImplementer is an interface that implements the methods of the VisualScriptConstant class.
type VisualScriptConstructor ¶
type VisualScriptConstructor struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptConstructor) BaseClass ¶
func (o *VisualScriptConstructor) BaseClass() string
func (*VisualScriptConstructor) GetConstructor ¶
func (o *VisualScriptConstructor) GetConstructor() gdnative.Dictionary
Undocumented Args: [], Returns: Dictionary
func (*VisualScriptConstructor) GetConstructorType ¶
func (o *VisualScriptConstructor) GetConstructorType() gdnative.VariantType
Undocumented Args: [], Returns: enum.Variant::Type
func (*VisualScriptConstructor) SetConstructor ¶
func (o *VisualScriptConstructor) SetConstructor(constructor gdnative.Dictionary)
Undocumented Args: [{ false constructor Dictionary}], Returns: void
func (*VisualScriptConstructor) SetConstructorType ¶
func (o *VisualScriptConstructor) SetConstructorType(aType gdnative.Int)
Undocumented Args: [{ false type int}], Returns: void
type VisualScriptConstructorImplementer ¶
type VisualScriptConstructorImplementer interface { VisualScriptNodeImplementer GetConstructor() gdnative.Dictionary SetConstructor(constructor gdnative.Dictionary) SetConstructorType(aType gdnative.Int) }
VisualScriptConstructorImplementer is an interface that implements the methods of the VisualScriptConstructor class.
type VisualScriptCustomNode ¶
type VisualScriptCustomNode struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptCustomNode) BaseClass ¶
func (o *VisualScriptCustomNode) BaseClass() string
func (*VisualScriptCustomNode) X_GetCaption ¶
func (o *VisualScriptCustomNode) X_GetCaption() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptCustomNode) X_GetCategory ¶
func (o *VisualScriptCustomNode) X_GetCategory() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptCustomNode) X_GetInputValuePortCount ¶
func (o *VisualScriptCustomNode) X_GetInputValuePortCount() gdnative.Int
Undocumented Args: [], Returns: int
func (*VisualScriptCustomNode) X_GetInputValuePortName ¶
func (o *VisualScriptCustomNode) X_GetInputValuePortName(idx gdnative.Int) gdnative.String
Undocumented Args: [{ false idx int}], Returns: String
func (*VisualScriptCustomNode) X_GetInputValuePortType ¶
func (o *VisualScriptCustomNode) X_GetInputValuePortType(idx gdnative.Int) gdnative.Int
Undocumented Args: [{ false idx int}], Returns: int
func (*VisualScriptCustomNode) X_GetOutputSequencePortCount ¶
func (o *VisualScriptCustomNode) X_GetOutputSequencePortCount() gdnative.Int
Undocumented Args: [], Returns: int
func (*VisualScriptCustomNode) X_GetOutputSequencePortText ¶
func (o *VisualScriptCustomNode) X_GetOutputSequencePortText(idx gdnative.Int) gdnative.String
Undocumented Args: [{ false idx int}], Returns: String
func (*VisualScriptCustomNode) X_GetOutputValuePortCount ¶
func (o *VisualScriptCustomNode) X_GetOutputValuePortCount() gdnative.Int
Undocumented Args: [], Returns: int
func (*VisualScriptCustomNode) X_GetOutputValuePortName ¶
func (o *VisualScriptCustomNode) X_GetOutputValuePortName(idx gdnative.Int) gdnative.String
Undocumented Args: [{ false idx int}], Returns: String
func (*VisualScriptCustomNode) X_GetOutputValuePortType ¶
func (o *VisualScriptCustomNode) X_GetOutputValuePortType(idx gdnative.Int) gdnative.Int
Undocumented Args: [{ false idx int}], Returns: int
func (*VisualScriptCustomNode) X_GetText ¶
func (o *VisualScriptCustomNode) X_GetText() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptCustomNode) X_GetWorkingMemorySize ¶
func (o *VisualScriptCustomNode) X_GetWorkingMemorySize() gdnative.Int
Undocumented Args: [], Returns: int
func (*VisualScriptCustomNode) X_HasInputSequencePort ¶
func (o *VisualScriptCustomNode) X_HasInputSequencePort() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*VisualScriptCustomNode) X_ScriptChanged ¶
func (o *VisualScriptCustomNode) X_ScriptChanged()
Undocumented Args: [], Returns: void
func (*VisualScriptCustomNode) X_Step ¶
func (o *VisualScriptCustomNode) X_Step(inputs gdnative.Array, outputs gdnative.Array, startMode gdnative.Int, workingMem gdnative.Array) gdnative.Variant
Undocumented Args: [{ false inputs Array} { false outputs Array} { false start_mode int} { false working_mem Array}], Returns: Variant
type VisualScriptCustomNodeImplementer ¶
type VisualScriptCustomNodeImplementer interface { VisualScriptNodeImplementer X_GetCaption() gdnative.String X_GetCategory() gdnative.String X_GetInputValuePortCount() gdnative.Int X_GetInputValuePortName(idx gdnative.Int) gdnative.String X_GetInputValuePortType(idx gdnative.Int) gdnative.Int X_GetOutputSequencePortCount() gdnative.Int X_GetOutputSequencePortText(idx gdnative.Int) gdnative.String X_GetOutputValuePortCount() gdnative.Int X_GetOutputValuePortName(idx gdnative.Int) gdnative.String X_GetOutputValuePortType(idx gdnative.Int) gdnative.Int X_GetText() gdnative.String X_GetWorkingMemorySize() gdnative.Int X_HasInputSequencePort() gdnative.Bool X_ScriptChanged() X_Step(inputs gdnative.Array, outputs gdnative.Array, startMode gdnative.Int, workingMem gdnative.Array) gdnative.Variant }
VisualScriptCustomNodeImplementer is an interface that implements the methods of the VisualScriptCustomNode class.
type VisualScriptCustomNodeStartMode ¶
type VisualScriptCustomNodeStartMode int
VisualScriptCustomNodeStartMode is an enum for StartMode values.
const ( VisualScriptCustomNodeStartModeBeginSequence VisualScriptCustomNodeStartMode = 0 VisualScriptCustomNodeStartModeContinueSequence VisualScriptCustomNodeStartMode = 1 VisualScriptCustomNodeStartModeResumeYield VisualScriptCustomNodeStartMode = 2 )
type VisualScriptDeconstruct ¶
type VisualScriptDeconstruct struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptDeconstruct) BaseClass ¶
func (o *VisualScriptDeconstruct) BaseClass() string
func (*VisualScriptDeconstruct) GetDeconstructType ¶
func (o *VisualScriptDeconstruct) GetDeconstructType() gdnative.VariantType
Undocumented Args: [], Returns: enum.Variant::Type
func (*VisualScriptDeconstruct) SetDeconstructType ¶
func (o *VisualScriptDeconstruct) SetDeconstructType(aType gdnative.Int)
Undocumented Args: [{ false type int}], Returns: void
func (*VisualScriptDeconstruct) X_GetElemCache ¶
func (o *VisualScriptDeconstruct) X_GetElemCache() gdnative.Array
Undocumented Args: [], Returns: Array
func (*VisualScriptDeconstruct) X_SetElemCache ¶
func (o *VisualScriptDeconstruct) X_SetElemCache(cache gdnative.Array)
Undocumented Args: [{ false _cache Array}], Returns: void
type VisualScriptDeconstructImplementer ¶
type VisualScriptDeconstructImplementer interface { VisualScriptNodeImplementer X_GetElemCache() gdnative.Array X_SetElemCache(cache gdnative.Array) SetDeconstructType(aType gdnative.Int) }
VisualScriptDeconstructImplementer is an interface that implements the methods of the VisualScriptDeconstruct class.
type VisualScriptEditorImplementer ¶
type VisualScriptEditorImplementer interface { ObjectImplementer AddCustomNode(name gdnative.String, category gdnative.String, script ScriptImplementer) RemoveCustomNode(name gdnative.String, category gdnative.String) }
VisualScriptEditorImplementer is an interface that implements the methods of the VisualScriptEditor class.
type VisualScriptEmitSignal ¶
type VisualScriptEmitSignal struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptEmitSignal) BaseClass ¶
func (o *VisualScriptEmitSignal) BaseClass() string
func (*VisualScriptEmitSignal) GetSignal ¶
func (o *VisualScriptEmitSignal) GetSignal() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptEmitSignal) SetSignal ¶
func (o *VisualScriptEmitSignal) SetSignal(name gdnative.String)
Undocumented Args: [{ false name String}], Returns: void
type VisualScriptEmitSignalImplementer ¶
type VisualScriptEmitSignalImplementer interface { VisualScriptNodeImplementer GetSignal() gdnative.String SetSignal(name gdnative.String) }
VisualScriptEmitSignalImplementer is an interface that implements the methods of the VisualScriptEmitSignal class.
type VisualScriptEngineSingleton ¶
type VisualScriptEngineSingleton struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptEngineSingleton) BaseClass ¶
func (o *VisualScriptEngineSingleton) BaseClass() string
func (*VisualScriptEngineSingleton) GetSingleton ¶
func (o *VisualScriptEngineSingleton) GetSingleton() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptEngineSingleton) SetSingleton ¶
func (o *VisualScriptEngineSingleton) SetSingleton(name gdnative.String)
Undocumented Args: [{ false name String}], Returns: void
type VisualScriptEngineSingletonImplementer ¶
type VisualScriptEngineSingletonImplementer interface { VisualScriptNodeImplementer GetSingleton() gdnative.String SetSingleton(name gdnative.String) }
VisualScriptEngineSingletonImplementer is an interface that implements the methods of the VisualScriptEngineSingleton class.
type VisualScriptExpression ¶
type VisualScriptExpression struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptExpression) BaseClass ¶
func (o *VisualScriptExpression) BaseClass() string
type VisualScriptExpressionImplementer ¶
type VisualScriptExpressionImplementer interface { VisualScriptNodeImplementer }
VisualScriptExpressionImplementer is an interface that implements the methods of the VisualScriptExpression class.
type VisualScriptFunction ¶
type VisualScriptFunction struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptFunction) BaseClass ¶
func (o *VisualScriptFunction) BaseClass() string
type VisualScriptFunctionCall ¶
type VisualScriptFunctionCall struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptFunctionCall) BaseClass ¶
func (o *VisualScriptFunctionCall) BaseClass() string
func (*VisualScriptFunctionCall) GetBasePath ¶
func (o *VisualScriptFunctionCall) GetBasePath() gdnative.NodePath
Undocumented Args: [], Returns: NodePath
func (*VisualScriptFunctionCall) GetBaseScript ¶
func (o *VisualScriptFunctionCall) GetBaseScript() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptFunctionCall) GetBaseType ¶
func (o *VisualScriptFunctionCall) GetBaseType() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptFunctionCall) GetBasicType ¶
func (o *VisualScriptFunctionCall) GetBasicType() gdnative.VariantType
Undocumented Args: [], Returns: enum.Variant::Type
func (*VisualScriptFunctionCall) GetCallMode ¶
func (o *VisualScriptFunctionCall) GetCallMode() VisualScriptFunctionCallCallMode
Undocumented Args: [], Returns: enum.VisualScriptFunctionCall::CallMode
func (*VisualScriptFunctionCall) GetFunction ¶
func (o *VisualScriptFunctionCall) GetFunction() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptFunctionCall) GetRpcCallMode ¶
func (o *VisualScriptFunctionCall) GetRpcCallMode() VisualScriptFunctionCallRPCCallMode
Undocumented Args: [], Returns: enum.VisualScriptFunctionCall::RPCCallMode
func (*VisualScriptFunctionCall) GetSingleton ¶
func (o *VisualScriptFunctionCall) GetSingleton() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptFunctionCall) GetUseDefaultArgs ¶
func (o *VisualScriptFunctionCall) GetUseDefaultArgs() gdnative.Int
Undocumented Args: [], Returns: int
func (*VisualScriptFunctionCall) GetValidate ¶
func (o *VisualScriptFunctionCall) GetValidate() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*VisualScriptFunctionCall) SetBasePath ¶
func (o *VisualScriptFunctionCall) SetBasePath(basePath gdnative.NodePath)
Undocumented Args: [{ false base_path NodePath}], Returns: void
func (*VisualScriptFunctionCall) SetBaseScript ¶
func (o *VisualScriptFunctionCall) SetBaseScript(baseScript gdnative.String)
Undocumented Args: [{ false base_script String}], Returns: void
func (*VisualScriptFunctionCall) SetBaseType ¶
func (o *VisualScriptFunctionCall) SetBaseType(baseType gdnative.String)
Undocumented Args: [{ false base_type String}], Returns: void
func (*VisualScriptFunctionCall) SetBasicType ¶
func (o *VisualScriptFunctionCall) SetBasicType(basicType gdnative.Int)
Undocumented Args: [{ false basic_type int}], Returns: void
func (*VisualScriptFunctionCall) SetCallMode ¶
func (o *VisualScriptFunctionCall) SetCallMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*VisualScriptFunctionCall) SetFunction ¶
func (o *VisualScriptFunctionCall) SetFunction(function gdnative.String)
Undocumented Args: [{ false function String}], Returns: void
func (*VisualScriptFunctionCall) SetRpcCallMode ¶
func (o *VisualScriptFunctionCall) SetRpcCallMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*VisualScriptFunctionCall) SetSingleton ¶
func (o *VisualScriptFunctionCall) SetSingleton(singleton gdnative.String)
Undocumented Args: [{ false singleton String}], Returns: void
func (*VisualScriptFunctionCall) SetUseDefaultArgs ¶
func (o *VisualScriptFunctionCall) SetUseDefaultArgs(amount gdnative.Int)
Undocumented Args: [{ false amount int}], Returns: void
func (*VisualScriptFunctionCall) SetValidate ¶
func (o *VisualScriptFunctionCall) SetValidate(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*VisualScriptFunctionCall) X_GetArgumentCache ¶
func (o *VisualScriptFunctionCall) X_GetArgumentCache() gdnative.Dictionary
Undocumented Args: [], Returns: Dictionary
func (*VisualScriptFunctionCall) X_SetArgumentCache ¶
func (o *VisualScriptFunctionCall) X_SetArgumentCache(argumentCache gdnative.Dictionary)
Undocumented Args: [{ false argument_cache Dictionary}], Returns: void
type VisualScriptFunctionCallCallMode ¶
type VisualScriptFunctionCallCallMode int
VisualScriptFunctionCallCallMode is an enum for CallMode values.
const ( VisualScriptFunctionCallCallModeBasicType VisualScriptFunctionCallCallMode = 3 VisualScriptFunctionCallCallModeInstance VisualScriptFunctionCallCallMode = 2 VisualScriptFunctionCallCallModeNodePath VisualScriptFunctionCallCallMode = 1 VisualScriptFunctionCallCallModeSelf VisualScriptFunctionCallCallMode = 0 VisualScriptFunctionCallCallModeSingleton VisualScriptFunctionCallCallMode = 4 )
type VisualScriptFunctionCallImplementer ¶
type VisualScriptFunctionCallImplementer interface { VisualScriptNodeImplementer X_GetArgumentCache() gdnative.Dictionary X_SetArgumentCache(argumentCache gdnative.Dictionary) GetBasePath() gdnative.NodePath GetBaseScript() gdnative.String GetBaseType() gdnative.String GetFunction() gdnative.String GetSingleton() gdnative.String GetUseDefaultArgs() gdnative.Int GetValidate() gdnative.Bool SetBasePath(basePath gdnative.NodePath) SetBaseScript(baseScript gdnative.String) SetBaseType(baseType gdnative.String) SetBasicType(basicType gdnative.Int) SetCallMode(mode gdnative.Int) SetFunction(function gdnative.String) SetRpcCallMode(mode gdnative.Int) SetSingleton(singleton gdnative.String) SetUseDefaultArgs(amount gdnative.Int) SetValidate(enable gdnative.Bool) }
VisualScriptFunctionCallImplementer is an interface that implements the methods of the VisualScriptFunctionCall class.
type VisualScriptFunctionCallRPCCallMode ¶
type VisualScriptFunctionCallRPCCallMode int
VisualScriptFunctionCallRPCCallMode is an enum for RPCCallMode values.
const ( VisualScriptFunctionCallRpcDisabled VisualScriptFunctionCallRPCCallMode = 0 VisualScriptFunctionCallRpcReliable VisualScriptFunctionCallRPCCallMode = 1 VisualScriptFunctionCallRpcReliableToId VisualScriptFunctionCallRPCCallMode = 3 VisualScriptFunctionCallRpcUnreliable VisualScriptFunctionCallRPCCallMode = 2 VisualScriptFunctionCallRpcUnreliableToId VisualScriptFunctionCallRPCCallMode = 4 )
type VisualScriptFunctionImplementer ¶
type VisualScriptFunctionImplementer interface { VisualScriptNodeImplementer }
VisualScriptFunctionImplementer is an interface that implements the methods of the VisualScriptFunction class.
type VisualScriptFunctionState ¶
type VisualScriptFunctionState struct { Reference // contains filtered or unexported fields }
Undocumented
func (*VisualScriptFunctionState) BaseClass ¶
func (o *VisualScriptFunctionState) BaseClass() string
func (*VisualScriptFunctionState) ConnectToSignal ¶
func (o *VisualScriptFunctionState) ConnectToSignal(obj ObjectImplementer, signals gdnative.String, args gdnative.Array)
Undocumented Args: [{ false obj Object} { false signals String} { false args Array}], Returns: void
func (*VisualScriptFunctionState) IsValid ¶
func (o *VisualScriptFunctionState) IsValid() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*VisualScriptFunctionState) Resume ¶
func (o *VisualScriptFunctionState) Resume(args gdnative.Array) gdnative.Variant
Undocumented Args: [{Null true args Array}], Returns: Variant
func (*VisualScriptFunctionState) X_SignalCallback ¶
func (o *VisualScriptFunctionState) X_SignalCallback() gdnative.Variant
Undocumented Args: [], Returns: Variant
type VisualScriptFunctionStateImplementer ¶
type VisualScriptFunctionStateImplementer interface { ReferenceImplementer X_SignalCallback() gdnative.Variant ConnectToSignal(obj ObjectImplementer, signals gdnative.String, args gdnative.Array) IsValid() gdnative.Bool Resume(args gdnative.Array) gdnative.Variant }
VisualScriptFunctionStateImplementer is an interface that implements the methods of the VisualScriptFunctionState class.
type VisualScriptGlobalConstant ¶
type VisualScriptGlobalConstant struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptGlobalConstant) BaseClass ¶
func (o *VisualScriptGlobalConstant) BaseClass() string
func (*VisualScriptGlobalConstant) GetGlobalConstant ¶
func (o *VisualScriptGlobalConstant) GetGlobalConstant() gdnative.Int
Undocumented Args: [], Returns: int
func (*VisualScriptGlobalConstant) SetGlobalConstant ¶
func (o *VisualScriptGlobalConstant) SetGlobalConstant(index gdnative.Int)
Undocumented Args: [{ false index int}], Returns: void
type VisualScriptGlobalConstantImplementer ¶
type VisualScriptGlobalConstantImplementer interface { VisualScriptNodeImplementer GetGlobalConstant() gdnative.Int SetGlobalConstant(index gdnative.Int) }
VisualScriptGlobalConstantImplementer is an interface that implements the methods of the VisualScriptGlobalConstant class.
type VisualScriptImplementer ¶
type VisualScriptImplementer interface { ScriptImplementer X_GetData() gdnative.Dictionary X_NodePortsChanged(arg0 gdnative.Int) X_SetData(data gdnative.Dictionary) AddCustomSignal(name gdnative.String) AddFunction(name gdnative.String) AddNode(function gdnative.String, id gdnative.Int, node VisualScriptNodeImplementer, position gdnative.Vector2) AddVariable(name gdnative.String, defaultValue gdnative.Variant, export gdnative.Bool) CustomSignalAddArgument(name gdnative.String, aType gdnative.Int, argname gdnative.String, index gdnative.Int) CustomSignalGetArgumentCount(name gdnative.String) gdnative.Int CustomSignalGetArgumentName(name gdnative.String, argidx gdnative.Int) gdnative.String CustomSignalRemoveArgument(name gdnative.String, argidx gdnative.Int) CustomSignalSetArgumentName(name gdnative.String, argidx gdnative.Int, argname gdnative.String) CustomSignalSetArgumentType(name gdnative.String, argidx gdnative.Int, aType gdnative.Int) CustomSignalSwapArgument(name gdnative.String, argidx gdnative.Int, withidx gdnative.Int) DataConnect(function gdnative.String, fromNode gdnative.Int, fromPort gdnative.Int, toNode gdnative.Int, toPort gdnative.Int) DataDisconnect(function gdnative.String, fromNode gdnative.Int, fromPort gdnative.Int, toNode gdnative.Int, toPort gdnative.Int) GetFunctionNodeId(name gdnative.String) gdnative.Int GetFunctionScroll(name gdnative.String) gdnative.Vector2 GetNode(function gdnative.String, id gdnative.Int) VisualScriptNodeImplementer GetNodePosition(function gdnative.String, id gdnative.Int) gdnative.Vector2 GetVariableDefaultValue(name gdnative.String) gdnative.Variant GetVariableExport(name gdnative.String) gdnative.Bool GetVariableInfo(name gdnative.String) gdnative.Dictionary HasCustomSignal(name gdnative.String) gdnative.Bool HasDataConnection(function gdnative.String, fromNode gdnative.Int, fromPort gdnative.Int, toNode gdnative.Int, toPort gdnative.Int) gdnative.Bool HasFunction(name gdnative.String) gdnative.Bool HasNode(function gdnative.String, id gdnative.Int) gdnative.Bool HasSequenceConnection(function gdnative.String, fromNode gdnative.Int, fromOutput gdnative.Int, toNode gdnative.Int) gdnative.Bool HasVariable(name gdnative.String) gdnative.Bool RemoveCustomSignal(name gdnative.String) RemoveFunction(name gdnative.String) RemoveNode(function gdnative.String, id gdnative.Int) RemoveVariable(name gdnative.String) RenameCustomSignal(name gdnative.String, newName gdnative.String) RenameFunction(name gdnative.String, newName gdnative.String) RenameVariable(name gdnative.String, newName gdnative.String) SequenceConnect(function gdnative.String, fromNode gdnative.Int, fromOutput gdnative.Int, toNode gdnative.Int) SequenceDisconnect(function gdnative.String, fromNode gdnative.Int, fromOutput gdnative.Int, toNode gdnative.Int) SetFunctionScroll(name gdnative.String, ofs gdnative.Vector2) SetInstanceBaseType(aType gdnative.String) SetNodePosition(function gdnative.String, id gdnative.Int, position gdnative.Vector2) SetVariableDefaultValue(name gdnative.String, value gdnative.Variant) SetVariableExport(name gdnative.String, enable gdnative.Bool) SetVariableInfo(name gdnative.String, value gdnative.Dictionary) }
VisualScriptImplementer is an interface that implements the methods of the VisualScript class.
type VisualScriptIndexGet ¶
type VisualScriptIndexGet struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptIndexGet) BaseClass ¶
func (o *VisualScriptIndexGet) BaseClass() string
type VisualScriptIndexGetImplementer ¶
type VisualScriptIndexGetImplementer interface { VisualScriptNodeImplementer }
VisualScriptIndexGetImplementer is an interface that implements the methods of the VisualScriptIndexGet class.
type VisualScriptIndexSet ¶
type VisualScriptIndexSet struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptIndexSet) BaseClass ¶
func (o *VisualScriptIndexSet) BaseClass() string
type VisualScriptIndexSetImplementer ¶
type VisualScriptIndexSetImplementer interface { VisualScriptNodeImplementer }
VisualScriptIndexSetImplementer is an interface that implements the methods of the VisualScriptIndexSet class.
type VisualScriptInputAction ¶
type VisualScriptInputAction struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptInputAction) BaseClass ¶
func (o *VisualScriptInputAction) BaseClass() string
func (*VisualScriptInputAction) GetActionMode ¶
func (o *VisualScriptInputAction) GetActionMode() VisualScriptInputActionMode
Undocumented Args: [], Returns: enum.VisualScriptInputAction::Mode
func (*VisualScriptInputAction) GetActionName ¶
func (o *VisualScriptInputAction) GetActionName() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptInputAction) SetActionMode ¶
func (o *VisualScriptInputAction) SetActionMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*VisualScriptInputAction) SetActionName ¶
func (o *VisualScriptInputAction) SetActionName(name gdnative.String)
Undocumented Args: [{ false name String}], Returns: void
type VisualScriptInputActionImplementer ¶
type VisualScriptInputActionImplementer interface { VisualScriptNodeImplementer GetActionName() gdnative.String SetActionMode(mode gdnative.Int) SetActionName(name gdnative.String) }
VisualScriptInputActionImplementer is an interface that implements the methods of the VisualScriptInputAction class.
type VisualScriptInputActionMode ¶
type VisualScriptInputActionMode int
VisualScriptInputActionMode is an enum for Mode values.
const ( VisualScriptInputActionModeJustPressed VisualScriptInputActionMode = 2 VisualScriptInputActionModeJustReleased VisualScriptInputActionMode = 3 VisualScriptInputActionModePressed VisualScriptInputActionMode = 0 VisualScriptInputActionModeReleased VisualScriptInputActionMode = 1 )
type VisualScriptIterator ¶
type VisualScriptIterator struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptIterator) BaseClass ¶
func (o *VisualScriptIterator) BaseClass() string
type VisualScriptIteratorImplementer ¶
type VisualScriptIteratorImplementer interface { VisualScriptNodeImplementer }
VisualScriptIteratorImplementer is an interface that implements the methods of the VisualScriptIterator class.
type VisualScriptLocalVar ¶
type VisualScriptLocalVar struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptLocalVar) BaseClass ¶
func (o *VisualScriptLocalVar) BaseClass() string
func (*VisualScriptLocalVar) GetVarName ¶
func (o *VisualScriptLocalVar) GetVarName() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptLocalVar) GetVarType ¶
func (o *VisualScriptLocalVar) GetVarType() gdnative.VariantType
Undocumented Args: [], Returns: enum.Variant::Type
func (*VisualScriptLocalVar) SetVarName ¶
func (o *VisualScriptLocalVar) SetVarName(name gdnative.String)
Undocumented Args: [{ false name String}], Returns: void
func (*VisualScriptLocalVar) SetVarType ¶
func (o *VisualScriptLocalVar) SetVarType(aType gdnative.Int)
Undocumented Args: [{ false type int}], Returns: void
type VisualScriptLocalVarImplementer ¶
type VisualScriptLocalVarImplementer interface { VisualScriptNodeImplementer GetVarName() gdnative.String SetVarName(name gdnative.String) SetVarType(aType gdnative.Int) }
VisualScriptLocalVarImplementer is an interface that implements the methods of the VisualScriptLocalVar class.
type VisualScriptLocalVarSet ¶
type VisualScriptLocalVarSet struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptLocalVarSet) BaseClass ¶
func (o *VisualScriptLocalVarSet) BaseClass() string
func (*VisualScriptLocalVarSet) GetVarName ¶
func (o *VisualScriptLocalVarSet) GetVarName() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptLocalVarSet) GetVarType ¶
func (o *VisualScriptLocalVarSet) GetVarType() gdnative.VariantType
Undocumented Args: [], Returns: enum.Variant::Type
func (*VisualScriptLocalVarSet) SetVarName ¶
func (o *VisualScriptLocalVarSet) SetVarName(name gdnative.String)
Undocumented Args: [{ false name String}], Returns: void
func (*VisualScriptLocalVarSet) SetVarType ¶
func (o *VisualScriptLocalVarSet) SetVarType(aType gdnative.Int)
Undocumented Args: [{ false type int}], Returns: void
type VisualScriptLocalVarSetImplementer ¶
type VisualScriptLocalVarSetImplementer interface { VisualScriptNodeImplementer GetVarName() gdnative.String SetVarName(name gdnative.String) SetVarType(aType gdnative.Int) }
VisualScriptLocalVarSetImplementer is an interface that implements the methods of the VisualScriptLocalVarSet class.
type VisualScriptMathConstant ¶
type VisualScriptMathConstant struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptMathConstant) BaseClass ¶
func (o *VisualScriptMathConstant) BaseClass() string
func (*VisualScriptMathConstant) GetMathConstant ¶
func (o *VisualScriptMathConstant) GetMathConstant() VisualScriptMathConstantMathConstant
Undocumented Args: [], Returns: enum.VisualScriptMathConstant::MathConstant
func (*VisualScriptMathConstant) SetMathConstant ¶
func (o *VisualScriptMathConstant) SetMathConstant(which gdnative.Int)
Undocumented Args: [{ false which int}], Returns: void
type VisualScriptMathConstantImplementer ¶
type VisualScriptMathConstantImplementer interface { VisualScriptNodeImplementer SetMathConstant(which gdnative.Int) }
VisualScriptMathConstantImplementer is an interface that implements the methods of the VisualScriptMathConstant class.
type VisualScriptMathConstantMathConstant ¶
type VisualScriptMathConstantMathConstant int
VisualScriptMathConstantMathConstant is an enum for MathConstant values.
const ( VisualScriptMathConstantMathConstantE VisualScriptMathConstantMathConstant = 4 VisualScriptMathConstantMathConstantHalfPi VisualScriptMathConstantMathConstant = 2 VisualScriptMathConstantMathConstantInf VisualScriptMathConstantMathConstant = 6 VisualScriptMathConstantMathConstantMax VisualScriptMathConstantMathConstant = 8 VisualScriptMathConstantMathConstantNan VisualScriptMathConstantMathConstant = 7 VisualScriptMathConstantMathConstantOne VisualScriptMathConstantMathConstant = 0 VisualScriptMathConstantMathConstantPi VisualScriptMathConstantMathConstant = 1 VisualScriptMathConstantMathConstantSqrt2 VisualScriptMathConstantMathConstant = 5 VisualScriptMathConstantMathConstantTau VisualScriptMathConstantMathConstant = 3 )
type VisualScriptNode ¶
type VisualScriptNode struct { Resource // contains filtered or unexported fields }
Undocumented
func (*VisualScriptNode) BaseClass ¶
func (o *VisualScriptNode) BaseClass() string
func (*VisualScriptNode) GetDefaultInputValue ¶
func (o *VisualScriptNode) GetDefaultInputValue(portIdx gdnative.Int) gdnative.Variant
Undocumented Args: [{ false port_idx int}], Returns: Variant
func (*VisualScriptNode) GetVisualScript ¶
func (o *VisualScriptNode) GetVisualScript() VisualScriptImplementer
Undocumented Args: [], Returns: VisualScript
func (*VisualScriptNode) PortsChangedNotify ¶
func (o *VisualScriptNode) PortsChangedNotify()
Undocumented Args: [], Returns: void
func (*VisualScriptNode) SetDefaultInputValue ¶
func (o *VisualScriptNode) SetDefaultInputValue(portIdx gdnative.Int, value gdnative.Variant)
Undocumented Args: [{ false port_idx int} { false value Variant}], Returns: void
func (*VisualScriptNode) X_GetDefaultInputValues ¶
func (o *VisualScriptNode) X_GetDefaultInputValues() gdnative.Array
Undocumented Args: [], Returns: Array
func (*VisualScriptNode) X_SetDefaultInputValues ¶
func (o *VisualScriptNode) X_SetDefaultInputValues(values gdnative.Array)
Undocumented Args: [{ false values Array}], Returns: void
type VisualScriptNodeImplementer ¶
type VisualScriptNodeImplementer interface { ResourceImplementer X_GetDefaultInputValues() gdnative.Array X_SetDefaultInputValues(values gdnative.Array) GetDefaultInputValue(portIdx gdnative.Int) gdnative.Variant GetVisualScript() VisualScriptImplementer PortsChangedNotify() SetDefaultInputValue(portIdx gdnative.Int, value gdnative.Variant) }
VisualScriptNodeImplementer is an interface that implements the methods of the VisualScriptNode class.
type VisualScriptOperator ¶
type VisualScriptOperator struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptOperator) BaseClass ¶
func (o *VisualScriptOperator) BaseClass() string
func (*VisualScriptOperator) GetOperator ¶
func (o *VisualScriptOperator) GetOperator() gdnative.VariantOperator
Undocumented Args: [], Returns: enum.Variant::Operator
func (*VisualScriptOperator) GetTyped ¶
func (o *VisualScriptOperator) GetTyped() gdnative.VariantType
Undocumented Args: [], Returns: enum.Variant::Type
func (*VisualScriptOperator) SetOperator ¶
func (o *VisualScriptOperator) SetOperator(op gdnative.Int)
Undocumented Args: [{ false op int}], Returns: void
func (*VisualScriptOperator) SetTyped ¶
func (o *VisualScriptOperator) SetTyped(aType gdnative.Int)
Undocumented Args: [{ false type int}], Returns: void
type VisualScriptOperatorImplementer ¶
type VisualScriptOperatorImplementer interface { VisualScriptNodeImplementer SetOperator(op gdnative.Int) SetTyped(aType gdnative.Int) }
VisualScriptOperatorImplementer is an interface that implements the methods of the VisualScriptOperator class.
type VisualScriptPreload ¶
type VisualScriptPreload struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptPreload) BaseClass ¶
func (o *VisualScriptPreload) BaseClass() string
func (*VisualScriptPreload) GetPreload ¶
func (o *VisualScriptPreload) GetPreload() ResourceImplementer
Undocumented Args: [], Returns: Resource
func (*VisualScriptPreload) SetPreload ¶
func (o *VisualScriptPreload) SetPreload(resource ResourceImplementer)
Undocumented Args: [{ false resource Resource}], Returns: void
type VisualScriptPreloadImplementer ¶
type VisualScriptPreloadImplementer interface { VisualScriptNodeImplementer GetPreload() ResourceImplementer SetPreload(resource ResourceImplementer) }
VisualScriptPreloadImplementer is an interface that implements the methods of the VisualScriptPreload class.
type VisualScriptPropertyGet ¶
type VisualScriptPropertyGet struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptPropertyGet) BaseClass ¶
func (o *VisualScriptPropertyGet) BaseClass() string
func (*VisualScriptPropertyGet) GetBasePath ¶
func (o *VisualScriptPropertyGet) GetBasePath() gdnative.NodePath
Undocumented Args: [], Returns: NodePath
func (*VisualScriptPropertyGet) GetBaseScript ¶
func (o *VisualScriptPropertyGet) GetBaseScript() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptPropertyGet) GetBaseType ¶
func (o *VisualScriptPropertyGet) GetBaseType() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptPropertyGet) GetBasicType ¶
func (o *VisualScriptPropertyGet) GetBasicType() gdnative.VariantType
Undocumented Args: [], Returns: enum.Variant::Type
func (*VisualScriptPropertyGet) GetCallMode ¶
func (o *VisualScriptPropertyGet) GetCallMode() VisualScriptPropertyGetCallMode
Undocumented Args: [], Returns: enum.VisualScriptPropertyGet::CallMode
func (*VisualScriptPropertyGet) GetIndex ¶
func (o *VisualScriptPropertyGet) GetIndex() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptPropertyGet) GetProperty ¶
func (o *VisualScriptPropertyGet) GetProperty() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptPropertyGet) SetBasePath ¶
func (o *VisualScriptPropertyGet) SetBasePath(basePath gdnative.NodePath)
Undocumented Args: [{ false base_path NodePath}], Returns: void
func (*VisualScriptPropertyGet) SetBaseScript ¶
func (o *VisualScriptPropertyGet) SetBaseScript(baseScript gdnative.String)
Undocumented Args: [{ false base_script String}], Returns: void
func (*VisualScriptPropertyGet) SetBaseType ¶
func (o *VisualScriptPropertyGet) SetBaseType(baseType gdnative.String)
Undocumented Args: [{ false base_type String}], Returns: void
func (*VisualScriptPropertyGet) SetBasicType ¶
func (o *VisualScriptPropertyGet) SetBasicType(basicType gdnative.Int)
Undocumented Args: [{ false basic_type int}], Returns: void
func (*VisualScriptPropertyGet) SetCallMode ¶
func (o *VisualScriptPropertyGet) SetCallMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*VisualScriptPropertyGet) SetIndex ¶
func (o *VisualScriptPropertyGet) SetIndex(index gdnative.String)
Undocumented Args: [{ false index String}], Returns: void
func (*VisualScriptPropertyGet) SetProperty ¶
func (o *VisualScriptPropertyGet) SetProperty(property gdnative.String)
Undocumented Args: [{ false property String}], Returns: void
func (*VisualScriptPropertyGet) X_GetTypeCache ¶
func (o *VisualScriptPropertyGet) X_GetTypeCache() gdnative.VariantType
Undocumented Args: [], Returns: enum.Variant::Type
func (*VisualScriptPropertyGet) X_SetTypeCache ¶
func (o *VisualScriptPropertyGet) X_SetTypeCache(typeCache gdnative.Int)
Undocumented Args: [{ false type_cache int}], Returns: void
type VisualScriptPropertyGetCallMode ¶
type VisualScriptPropertyGetCallMode int
VisualScriptPropertyGetCallMode is an enum for CallMode values.
const ( VisualScriptPropertyGetCallModeInstance VisualScriptPropertyGetCallMode = 2 VisualScriptPropertyGetCallModeNodePath VisualScriptPropertyGetCallMode = 1 VisualScriptPropertyGetCallModeSelf VisualScriptPropertyGetCallMode = 0 )
type VisualScriptPropertyGetImplementer ¶
type VisualScriptPropertyGetImplementer interface { VisualScriptNodeImplementer X_SetTypeCache(typeCache gdnative.Int) GetBasePath() gdnative.NodePath GetBaseScript() gdnative.String GetBaseType() gdnative.String GetIndex() gdnative.String GetProperty() gdnative.String SetBasePath(basePath gdnative.NodePath) SetBaseScript(baseScript gdnative.String) SetBaseType(baseType gdnative.String) SetBasicType(basicType gdnative.Int) SetCallMode(mode gdnative.Int) SetIndex(index gdnative.String) SetProperty(property gdnative.String) }
VisualScriptPropertyGetImplementer is an interface that implements the methods of the VisualScriptPropertyGet class.
type VisualScriptPropertySet ¶
type VisualScriptPropertySet struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptPropertySet) BaseClass ¶
func (o *VisualScriptPropertySet) BaseClass() string
func (*VisualScriptPropertySet) GetAssignOp ¶
func (o *VisualScriptPropertySet) GetAssignOp() VisualScriptPropertySetAssignOp
Undocumented Args: [], Returns: enum.VisualScriptPropertySet::AssignOp
func (*VisualScriptPropertySet) GetBasePath ¶
func (o *VisualScriptPropertySet) GetBasePath() gdnative.NodePath
Undocumented Args: [], Returns: NodePath
func (*VisualScriptPropertySet) GetBaseScript ¶
func (o *VisualScriptPropertySet) GetBaseScript() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptPropertySet) GetBaseType ¶
func (o *VisualScriptPropertySet) GetBaseType() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptPropertySet) GetBasicType ¶
func (o *VisualScriptPropertySet) GetBasicType() gdnative.VariantType
Undocumented Args: [], Returns: enum.Variant::Type
func (*VisualScriptPropertySet) GetCallMode ¶
func (o *VisualScriptPropertySet) GetCallMode() VisualScriptPropertySetCallMode
Undocumented Args: [], Returns: enum.VisualScriptPropertySet::CallMode
func (*VisualScriptPropertySet) GetIndex ¶
func (o *VisualScriptPropertySet) GetIndex() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptPropertySet) GetProperty ¶
func (o *VisualScriptPropertySet) GetProperty() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptPropertySet) SetAssignOp ¶
func (o *VisualScriptPropertySet) SetAssignOp(assignOp gdnative.Int)
Undocumented Args: [{ false assign_op int}], Returns: void
func (*VisualScriptPropertySet) SetBasePath ¶
func (o *VisualScriptPropertySet) SetBasePath(basePath gdnative.NodePath)
Undocumented Args: [{ false base_path NodePath}], Returns: void
func (*VisualScriptPropertySet) SetBaseScript ¶
func (o *VisualScriptPropertySet) SetBaseScript(baseScript gdnative.String)
Undocumented Args: [{ false base_script String}], Returns: void
func (*VisualScriptPropertySet) SetBaseType ¶
func (o *VisualScriptPropertySet) SetBaseType(baseType gdnative.String)
Undocumented Args: [{ false base_type String}], Returns: void
func (*VisualScriptPropertySet) SetBasicType ¶
func (o *VisualScriptPropertySet) SetBasicType(basicType gdnative.Int)
Undocumented Args: [{ false basic_type int}], Returns: void
func (*VisualScriptPropertySet) SetCallMode ¶
func (o *VisualScriptPropertySet) SetCallMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*VisualScriptPropertySet) SetIndex ¶
func (o *VisualScriptPropertySet) SetIndex(index gdnative.String)
Undocumented Args: [{ false index String}], Returns: void
func (*VisualScriptPropertySet) SetProperty ¶
func (o *VisualScriptPropertySet) SetProperty(property gdnative.String)
Undocumented Args: [{ false property String}], Returns: void
func (*VisualScriptPropertySet) X_GetTypeCache ¶
func (o *VisualScriptPropertySet) X_GetTypeCache() gdnative.Dictionary
Undocumented Args: [], Returns: Dictionary
func (*VisualScriptPropertySet) X_SetTypeCache ¶
func (o *VisualScriptPropertySet) X_SetTypeCache(typeCache gdnative.Dictionary)
Undocumented Args: [{ false type_cache Dictionary}], Returns: void
type VisualScriptPropertySetAssignOp ¶
type VisualScriptPropertySetAssignOp int
VisualScriptPropertySetAssignOp is an enum for AssignOp values.
const ( VisualScriptPropertySetAssignOpAdd VisualScriptPropertySetAssignOp = 1 VisualScriptPropertySetAssignOpBitAnd VisualScriptPropertySetAssignOp = 8 VisualScriptPropertySetAssignOpBitOr VisualScriptPropertySetAssignOp = 9 VisualScriptPropertySetAssignOpBitXor VisualScriptPropertySetAssignOp = 10 VisualScriptPropertySetAssignOpDiv VisualScriptPropertySetAssignOp = 4 VisualScriptPropertySetAssignOpMod VisualScriptPropertySetAssignOp = 5 VisualScriptPropertySetAssignOpMul VisualScriptPropertySetAssignOp = 3 VisualScriptPropertySetAssignOpNone VisualScriptPropertySetAssignOp = 0 VisualScriptPropertySetAssignOpShiftLeft VisualScriptPropertySetAssignOp = 6 VisualScriptPropertySetAssignOpShiftRight VisualScriptPropertySetAssignOp = 7 VisualScriptPropertySetAssignOpSub VisualScriptPropertySetAssignOp = 2 )
type VisualScriptPropertySetCallMode ¶
type VisualScriptPropertySetCallMode int
VisualScriptPropertySetCallMode is an enum for CallMode values.
const ( VisualScriptPropertySetCallModeBasicType VisualScriptPropertySetCallMode = 3 VisualScriptPropertySetCallModeInstance VisualScriptPropertySetCallMode = 2 VisualScriptPropertySetCallModeNodePath VisualScriptPropertySetCallMode = 1 VisualScriptPropertySetCallModeSelf VisualScriptPropertySetCallMode = 0 )
type VisualScriptPropertySetImplementer ¶
type VisualScriptPropertySetImplementer interface { VisualScriptNodeImplementer X_GetTypeCache() gdnative.Dictionary X_SetTypeCache(typeCache gdnative.Dictionary) GetBasePath() gdnative.NodePath GetBaseScript() gdnative.String GetBaseType() gdnative.String GetIndex() gdnative.String GetProperty() gdnative.String SetAssignOp(assignOp gdnative.Int) SetBasePath(basePath gdnative.NodePath) SetBaseScript(baseScript gdnative.String) SetBaseType(baseType gdnative.String) SetBasicType(basicType gdnative.Int) SetCallMode(mode gdnative.Int) SetIndex(index gdnative.String) SetProperty(property gdnative.String) }
VisualScriptPropertySetImplementer is an interface that implements the methods of the VisualScriptPropertySet class.
type VisualScriptResourcePath ¶
type VisualScriptResourcePath struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptResourcePath) BaseClass ¶
func (o *VisualScriptResourcePath) BaseClass() string
func (*VisualScriptResourcePath) GetResourcePath ¶
func (o *VisualScriptResourcePath) GetResourcePath() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptResourcePath) SetResourcePath ¶
func (o *VisualScriptResourcePath) SetResourcePath(path gdnative.String)
Undocumented Args: [{ false path String}], Returns: void
type VisualScriptResourcePathImplementer ¶
type VisualScriptResourcePathImplementer interface { VisualScriptNodeImplementer GetResourcePath() gdnative.String SetResourcePath(path gdnative.String) }
VisualScriptResourcePathImplementer is an interface that implements the methods of the VisualScriptResourcePath class.
type VisualScriptReturn ¶
type VisualScriptReturn struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptReturn) BaseClass ¶
func (o *VisualScriptReturn) BaseClass() string
func (*VisualScriptReturn) GetReturnType ¶
func (o *VisualScriptReturn) GetReturnType() gdnative.VariantType
Undocumented Args: [], Returns: enum.Variant::Type
func (*VisualScriptReturn) IsReturnValueEnabled ¶
func (o *VisualScriptReturn) IsReturnValueEnabled() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*VisualScriptReturn) SetEnableReturnValue ¶
func (o *VisualScriptReturn) SetEnableReturnValue(enable gdnative.Bool)
Undocumented Args: [{ false enable bool}], Returns: void
func (*VisualScriptReturn) SetReturnType ¶
func (o *VisualScriptReturn) SetReturnType(aType gdnative.Int)
Undocumented Args: [{ false type int}], Returns: void
type VisualScriptReturnImplementer ¶
type VisualScriptReturnImplementer interface { VisualScriptNodeImplementer IsReturnValueEnabled() gdnative.Bool SetEnableReturnValue(enable gdnative.Bool) SetReturnType(aType gdnative.Int) }
VisualScriptReturnImplementer is an interface that implements the methods of the VisualScriptReturn class.
type VisualScriptSceneNode ¶
type VisualScriptSceneNode struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptSceneNode) BaseClass ¶
func (o *VisualScriptSceneNode) BaseClass() string
func (*VisualScriptSceneNode) GetNodePath ¶
func (o *VisualScriptSceneNode) GetNodePath() gdnative.NodePath
Undocumented Args: [], Returns: NodePath
func (*VisualScriptSceneNode) SetNodePath ¶
func (o *VisualScriptSceneNode) SetNodePath(path gdnative.NodePath)
Undocumented Args: [{ false path NodePath}], Returns: void
type VisualScriptSceneNodeImplementer ¶
type VisualScriptSceneNodeImplementer interface { VisualScriptNodeImplementer GetNodePath() gdnative.NodePath SetNodePath(path gdnative.NodePath) }
VisualScriptSceneNodeImplementer is an interface that implements the methods of the VisualScriptSceneNode class.
type VisualScriptSceneTree ¶
type VisualScriptSceneTree struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptSceneTree) BaseClass ¶
func (o *VisualScriptSceneTree) BaseClass() string
type VisualScriptSceneTreeImplementer ¶
type VisualScriptSceneTreeImplementer interface { VisualScriptNodeImplementer }
VisualScriptSceneTreeImplementer is an interface that implements the methods of the VisualScriptSceneTree class.
type VisualScriptSelect ¶
type VisualScriptSelect struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptSelect) BaseClass ¶
func (o *VisualScriptSelect) BaseClass() string
func (*VisualScriptSelect) GetTyped ¶
func (o *VisualScriptSelect) GetTyped() gdnative.VariantType
Undocumented Args: [], Returns: enum.Variant::Type
func (*VisualScriptSelect) SetTyped ¶
func (o *VisualScriptSelect) SetTyped(aType gdnative.Int)
Undocumented Args: [{ false type int}], Returns: void
type VisualScriptSelectImplementer ¶
type VisualScriptSelectImplementer interface { VisualScriptNodeImplementer SetTyped(aType gdnative.Int) }
VisualScriptSelectImplementer is an interface that implements the methods of the VisualScriptSelect class.
type VisualScriptSelf ¶
type VisualScriptSelf struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptSelf) BaseClass ¶
func (o *VisualScriptSelf) BaseClass() string
type VisualScriptSelfImplementer ¶
type VisualScriptSelfImplementer interface { VisualScriptNodeImplementer }
VisualScriptSelfImplementer is an interface that implements the methods of the VisualScriptSelf class.
type VisualScriptSequence ¶
type VisualScriptSequence struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptSequence) BaseClass ¶
func (o *VisualScriptSequence) BaseClass() string
func (*VisualScriptSequence) GetSteps ¶
func (o *VisualScriptSequence) GetSteps() gdnative.Int
Undocumented Args: [], Returns: int
func (*VisualScriptSequence) SetSteps ¶
func (o *VisualScriptSequence) SetSteps(steps gdnative.Int)
Undocumented Args: [{ false steps int}], Returns: void
type VisualScriptSequenceImplementer ¶
type VisualScriptSequenceImplementer interface { VisualScriptNodeImplementer GetSteps() gdnative.Int SetSteps(steps gdnative.Int) }
VisualScriptSequenceImplementer is an interface that implements the methods of the VisualScriptSequence class.
type VisualScriptSubCall ¶
type VisualScriptSubCall struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptSubCall) BaseClass ¶
func (o *VisualScriptSubCall) BaseClass() string
type VisualScriptSubCallImplementer ¶
type VisualScriptSubCallImplementer interface { VisualScriptNodeImplementer X_Subcall(arguments gdnative.Variant) gdnative.Variant }
VisualScriptSubCallImplementer is an interface that implements the methods of the VisualScriptSubCall class.
type VisualScriptSwitch ¶
type VisualScriptSwitch struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptSwitch) BaseClass ¶
func (o *VisualScriptSwitch) BaseClass() string
type VisualScriptSwitchImplementer ¶
type VisualScriptSwitchImplementer interface { VisualScriptNodeImplementer }
VisualScriptSwitchImplementer is an interface that implements the methods of the VisualScriptSwitch class.
type VisualScriptTypeCast ¶
type VisualScriptTypeCast struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptTypeCast) BaseClass ¶
func (o *VisualScriptTypeCast) BaseClass() string
func (*VisualScriptTypeCast) GetBaseScript ¶
func (o *VisualScriptTypeCast) GetBaseScript() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptTypeCast) GetBaseType ¶
func (o *VisualScriptTypeCast) GetBaseType() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptTypeCast) SetBaseScript ¶
func (o *VisualScriptTypeCast) SetBaseScript(path gdnative.String)
Undocumented Args: [{ false path String}], Returns: void
func (*VisualScriptTypeCast) SetBaseType ¶
func (o *VisualScriptTypeCast) SetBaseType(aType gdnative.String)
Undocumented Args: [{ false type String}], Returns: void
type VisualScriptTypeCastImplementer ¶
type VisualScriptTypeCastImplementer interface { VisualScriptNodeImplementer GetBaseScript() gdnative.String GetBaseType() gdnative.String SetBaseScript(path gdnative.String) SetBaseType(aType gdnative.String) }
VisualScriptTypeCastImplementer is an interface that implements the methods of the VisualScriptTypeCast class.
type VisualScriptVariableGet ¶
type VisualScriptVariableGet struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptVariableGet) BaseClass ¶
func (o *VisualScriptVariableGet) BaseClass() string
func (*VisualScriptVariableGet) GetVariable ¶
func (o *VisualScriptVariableGet) GetVariable() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptVariableGet) SetVariable ¶
func (o *VisualScriptVariableGet) SetVariable(name gdnative.String)
Undocumented Args: [{ false name String}], Returns: void
type VisualScriptVariableGetImplementer ¶
type VisualScriptVariableGetImplementer interface { VisualScriptNodeImplementer GetVariable() gdnative.String SetVariable(name gdnative.String) }
VisualScriptVariableGetImplementer is an interface that implements the methods of the VisualScriptVariableGet class.
type VisualScriptVariableSet ¶
type VisualScriptVariableSet struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptVariableSet) BaseClass ¶
func (o *VisualScriptVariableSet) BaseClass() string
func (*VisualScriptVariableSet) GetVariable ¶
func (o *VisualScriptVariableSet) GetVariable() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptVariableSet) SetVariable ¶
func (o *VisualScriptVariableSet) SetVariable(name gdnative.String)
Undocumented Args: [{ false name String}], Returns: void
type VisualScriptVariableSetImplementer ¶
type VisualScriptVariableSetImplementer interface { VisualScriptNodeImplementer GetVariable() gdnative.String SetVariable(name gdnative.String) }
VisualScriptVariableSetImplementer is an interface that implements the methods of the VisualScriptVariableSet class.
type VisualScriptWhile ¶
type VisualScriptWhile struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptWhile) BaseClass ¶
func (o *VisualScriptWhile) BaseClass() string
type VisualScriptWhileImplementer ¶
type VisualScriptWhileImplementer interface { VisualScriptNodeImplementer }
VisualScriptWhileImplementer is an interface that implements the methods of the VisualScriptWhile class.
type VisualScriptYield ¶
type VisualScriptYield struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptYield) BaseClass ¶
func (o *VisualScriptYield) BaseClass() string
func (*VisualScriptYield) GetWaitTime ¶
func (o *VisualScriptYield) GetWaitTime() gdnative.Real
Undocumented Args: [], Returns: float
func (*VisualScriptYield) GetYieldMode ¶
func (o *VisualScriptYield) GetYieldMode() VisualScriptYieldYieldMode
Undocumented Args: [], Returns: enum.VisualScriptYield::YieldMode
func (*VisualScriptYield) SetWaitTime ¶
func (o *VisualScriptYield) SetWaitTime(sec gdnative.Real)
Undocumented Args: [{ false sec float}], Returns: void
func (*VisualScriptYield) SetYieldMode ¶
func (o *VisualScriptYield) SetYieldMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
type VisualScriptYieldImplementer ¶
type VisualScriptYieldImplementer interface { VisualScriptNodeImplementer GetWaitTime() gdnative.Real SetWaitTime(sec gdnative.Real) SetYieldMode(mode gdnative.Int) }
VisualScriptYieldImplementer is an interface that implements the methods of the VisualScriptYield class.
type VisualScriptYieldSignal ¶
type VisualScriptYieldSignal struct { VisualScriptNode // contains filtered or unexported fields }
Undocumented
func (*VisualScriptYieldSignal) BaseClass ¶
func (o *VisualScriptYieldSignal) BaseClass() string
func (*VisualScriptYieldSignal) GetBasePath ¶
func (o *VisualScriptYieldSignal) GetBasePath() gdnative.NodePath
Undocumented Args: [], Returns: NodePath
func (*VisualScriptYieldSignal) GetBaseType ¶
func (o *VisualScriptYieldSignal) GetBaseType() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptYieldSignal) GetCallMode ¶
func (o *VisualScriptYieldSignal) GetCallMode() VisualScriptYieldSignalCallMode
Undocumented Args: [], Returns: enum.VisualScriptYieldSignal::CallMode
func (*VisualScriptYieldSignal) GetSignal ¶
func (o *VisualScriptYieldSignal) GetSignal() gdnative.String
Undocumented Args: [], Returns: String
func (*VisualScriptYieldSignal) SetBasePath ¶
func (o *VisualScriptYieldSignal) SetBasePath(basePath gdnative.NodePath)
Undocumented Args: [{ false base_path NodePath}], Returns: void
func (*VisualScriptYieldSignal) SetBaseType ¶
func (o *VisualScriptYieldSignal) SetBaseType(baseType gdnative.String)
Undocumented Args: [{ false base_type String}], Returns: void
func (*VisualScriptYieldSignal) SetCallMode ¶
func (o *VisualScriptYieldSignal) SetCallMode(mode gdnative.Int)
Undocumented Args: [{ false mode int}], Returns: void
func (*VisualScriptYieldSignal) SetSignal ¶
func (o *VisualScriptYieldSignal) SetSignal(signal gdnative.String)
Undocumented Args: [{ false signal String}], Returns: void
type VisualScriptYieldSignalCallMode ¶
type VisualScriptYieldSignalCallMode int
VisualScriptYieldSignalCallMode is an enum for CallMode values.
const ( VisualScriptYieldSignalCallModeInstance VisualScriptYieldSignalCallMode = 2 VisualScriptYieldSignalCallModeNodePath VisualScriptYieldSignalCallMode = 1 VisualScriptYieldSignalCallModeSelf VisualScriptYieldSignalCallMode = 0 )
type VisualScriptYieldSignalImplementer ¶
type VisualScriptYieldSignalImplementer interface { VisualScriptNodeImplementer GetBasePath() gdnative.NodePath GetBaseType() gdnative.String GetSignal() gdnative.String SetBasePath(basePath gdnative.NodePath) SetBaseType(baseType gdnative.String) SetCallMode(mode gdnative.Int) SetSignal(signal gdnative.String) }
VisualScriptYieldSignalImplementer is an interface that implements the methods of the VisualScriptYieldSignal class.
type VisualScriptYieldYieldMode ¶
type VisualScriptYieldYieldMode int
VisualScriptYieldYieldMode is an enum for YieldMode values.
const ( VisualScriptYieldYieldFrame VisualScriptYieldYieldMode = 1 VisualScriptYieldYieldPhysicsFrame VisualScriptYieldYieldMode = 2 VisualScriptYieldYieldWait VisualScriptYieldYieldMode = 3 )
type VisualServerArrayFormat ¶
type VisualServerArrayFormat int
VisualServerArrayFormat is an enum for ArrayFormat values.
const ( VisualServerArrayCompressBones VisualServerArrayFormat = 32768 VisualServerArrayCompressColor VisualServerArrayFormat = 4096 VisualServerArrayCompressDefault VisualServerArrayFormat = 97792 VisualServerArrayCompressIndex VisualServerArrayFormat = 131072 VisualServerArrayCompressNormal VisualServerArrayFormat = 1024 VisualServerArrayCompressTangent VisualServerArrayFormat = 2048 VisualServerArrayCompressTexUv VisualServerArrayFormat = 8192 VisualServerArrayCompressTexUv2 VisualServerArrayFormat = 16384 VisualServerArrayCompressVertex VisualServerArrayFormat = 512 VisualServerArrayCompressWeights VisualServerArrayFormat = 65536 VisualServerArrayFlagUse16BitBones VisualServerArrayFormat = 524288 VisualServerArrayFlagUse2DVertices VisualServerArrayFormat = 262144 VisualServerArrayFormatBones VisualServerArrayFormat = 64 VisualServerArrayFormatColor VisualServerArrayFormat = 8 VisualServerArrayFormatIndex VisualServerArrayFormat = 256 VisualServerArrayFormatNormal VisualServerArrayFormat = 2 VisualServerArrayFormatTangent VisualServerArrayFormat = 4 VisualServerArrayFormatTexUv VisualServerArrayFormat = 16 VisualServerArrayFormatTexUv2 VisualServerArrayFormat = 32 VisualServerArrayFormatVertex VisualServerArrayFormat = 1 VisualServerArrayFormatWeights VisualServerArrayFormat = 128 )
type VisualServerArrayType ¶
type VisualServerArrayType int
VisualServerArrayType is an enum for ArrayType values.
const ( VisualServerArrayBones VisualServerArrayType = 6 VisualServerArrayColor VisualServerArrayType = 3 VisualServerArrayIndex VisualServerArrayType = 8 VisualServerArrayMax VisualServerArrayType = 9 VisualServerArrayNormal VisualServerArrayType = 1 VisualServerArrayTangent VisualServerArrayType = 2 VisualServerArrayTexUv VisualServerArrayType = 4 VisualServerArrayTexUv2 VisualServerArrayType = 5 VisualServerArrayVertex VisualServerArrayType = 0 VisualServerArrayWeights VisualServerArrayType = 7 )
type VisualServerBlendShapeMode ¶
type VisualServerBlendShapeMode int
VisualServerBlendShapeMode is an enum for BlendShapeMode values.
const ( VisualServerBlendShapeModeNormalized VisualServerBlendShapeMode = 0 VisualServerBlendShapeModeRelative VisualServerBlendShapeMode = 1 )
type VisualServerCanvasLightMode ¶
type VisualServerCanvasLightMode int
VisualServerCanvasLightMode is an enum for CanvasLightMode values.
const ( VisualServerCanvasLightModeAdd VisualServerCanvasLightMode = 0 VisualServerCanvasLightModeMask VisualServerCanvasLightMode = 3 VisualServerCanvasLightModeMix VisualServerCanvasLightMode = 2 VisualServerCanvasLightModeSub VisualServerCanvasLightMode = 1 )
type VisualServerCanvasLightShadowFilter ¶
type VisualServerCanvasLightShadowFilter int
VisualServerCanvasLightShadowFilter is an enum for CanvasLightShadowFilter values.
const ( VisualServerCanvasLightFilterNone VisualServerCanvasLightShadowFilter = 0 VisualServerCanvasLightFilterPcf13 VisualServerCanvasLightShadowFilter = 5 VisualServerCanvasLightFilterPcf3 VisualServerCanvasLightShadowFilter = 1 VisualServerCanvasLightFilterPcf5 VisualServerCanvasLightShadowFilter = 2 VisualServerCanvasLightFilterPcf7 VisualServerCanvasLightShadowFilter = 3 VisualServerCanvasLightFilterPcf9 VisualServerCanvasLightShadowFilter = 4 )
type VisualServerCanvasOccluderPolygonCullMode ¶
type VisualServerCanvasOccluderPolygonCullMode int
VisualServerCanvasOccluderPolygonCullMode is an enum for CanvasOccluderPolygonCullMode values.
const ( VisualServerCanvasOccluderPolygonCullClockwise VisualServerCanvasOccluderPolygonCullMode = 1 VisualServerCanvasOccluderPolygonCullCounterClockwise VisualServerCanvasOccluderPolygonCullMode = 2 VisualServerCanvasOccluderPolygonCullDisabled VisualServerCanvasOccluderPolygonCullMode = 0 )
type VisualServerCubeMapSide ¶
type VisualServerCubeMapSide int
VisualServerCubeMapSide is an enum for CubeMapSide values.
const ( VisualServerCubemapBack VisualServerCubeMapSide = 5 VisualServerCubemapBottom VisualServerCubeMapSide = 2 VisualServerCubemapFront VisualServerCubeMapSide = 4 VisualServerCubemapLeft VisualServerCubeMapSide = 0 VisualServerCubemapRight VisualServerCubeMapSide = 1 VisualServerCubemapTop VisualServerCubeMapSide = 3 )
type VisualServerEnvironmentBG ¶
type VisualServerEnvironmentBG int
VisualServerEnvironmentBG is an enum for EnvironmentBG values.
const ( VisualServerEnvBgCanvas VisualServerEnvironmentBG = 4 VisualServerEnvBgClearColor VisualServerEnvironmentBG = 0 VisualServerEnvBgColor VisualServerEnvironmentBG = 1 VisualServerEnvBgColorSky VisualServerEnvironmentBG = 3 VisualServerEnvBgKeep VisualServerEnvironmentBG = 5 VisualServerEnvBgMax VisualServerEnvironmentBG = 6 VisualServerEnvBgSky VisualServerEnvironmentBG = 2 )
type VisualServerEnvironmentDOFBlurQuality ¶
type VisualServerEnvironmentDOFBlurQuality int
VisualServerEnvironmentDOFBlurQuality is an enum for EnvironmentDOFBlurQuality values.
const ( VisualServerEnvDofBlurQualityHigh VisualServerEnvironmentDOFBlurQuality = 2 VisualServerEnvDofBlurQualityLow VisualServerEnvironmentDOFBlurQuality = 0 VisualServerEnvDofBlurQualityMedium VisualServerEnvironmentDOFBlurQuality = 1 )
type VisualServerEnvironmentGlowBlendMode ¶
type VisualServerEnvironmentGlowBlendMode int
VisualServerEnvironmentGlowBlendMode is an enum for EnvironmentGlowBlendMode values.
const ( VisualServerGlowBlendModeAdditive VisualServerEnvironmentGlowBlendMode = 0 VisualServerGlowBlendModeReplace VisualServerEnvironmentGlowBlendMode = 3 VisualServerGlowBlendModeScreen VisualServerEnvironmentGlowBlendMode = 1 VisualServerGlowBlendModeSoftlight VisualServerEnvironmentGlowBlendMode = 2 )
type VisualServerEnvironmentSSAOBlur ¶
type VisualServerEnvironmentSSAOBlur int
VisualServerEnvironmentSSAOBlur is an enum for EnvironmentSSAOBlur values.
const ( VisualServerEnvSsaoBlur1X1 VisualServerEnvironmentSSAOBlur = 1 VisualServerEnvSsaoBlur2X2 VisualServerEnvironmentSSAOBlur = 2 VisualServerEnvSsaoBlur3X3 VisualServerEnvironmentSSAOBlur = 3 VisualServerEnvSsaoBlurDisabled VisualServerEnvironmentSSAOBlur = 0 )
type VisualServerEnvironmentSSAOQuality ¶
type VisualServerEnvironmentSSAOQuality int
VisualServerEnvironmentSSAOQuality is an enum for EnvironmentSSAOQuality values.
const ( VisualServerEnvSsaoQualityHigh VisualServerEnvironmentSSAOQuality = 2 VisualServerEnvSsaoQualityLow VisualServerEnvironmentSSAOQuality = 0 VisualServerEnvSsaoQualityMedium VisualServerEnvironmentSSAOQuality = 1 )
type VisualServerEnvironmentToneMapper ¶
type VisualServerEnvironmentToneMapper int
VisualServerEnvironmentToneMapper is an enum for EnvironmentToneMapper values.
const ( VisualServerEnvToneMapperAces VisualServerEnvironmentToneMapper = 3 VisualServerEnvToneMapperFilmic VisualServerEnvironmentToneMapper = 2 VisualServerEnvToneMapperLinear VisualServerEnvironmentToneMapper = 0 VisualServerEnvToneMapperReinhardt VisualServerEnvironmentToneMapper = 1 )
type VisualServerFeatures ¶
type VisualServerFeatures int
VisualServerFeatures is an enum for Features values.
const ( VisualServerFeatureMultithreaded VisualServerFeatures = 1 VisualServerFeatureShaders VisualServerFeatures = 0 )
type VisualServerImplementer ¶
type VisualServerImplementer interface { ObjectImplementer BlackBarsSetImages(left gdnative.Rid, top gdnative.Rid, right gdnative.Rid, bottom gdnative.Rid) BlackBarsSetMargins(left gdnative.Int, top gdnative.Int, right gdnative.Int, bottom gdnative.Int) CameraCreate() gdnative.Rid CameraSetCullMask(camera gdnative.Rid, layers gdnative.Int) CameraSetEnvironment(camera gdnative.Rid, env gdnative.Rid) CameraSetOrthogonal(camera gdnative.Rid, size gdnative.Real, zNear gdnative.Real, zFar gdnative.Real) CameraSetPerspective(camera gdnative.Rid, fovyDegrees gdnative.Real, zNear gdnative.Real, zFar gdnative.Real) CameraSetTransform(camera gdnative.Rid, transform gdnative.Transform) CameraSetUseVerticalAspect(camera gdnative.Rid, enable gdnative.Bool) CanvasCreate() gdnative.Rid CanvasItemAddCircle(item gdnative.Rid, pos gdnative.Vector2, radius gdnative.Real, color gdnative.Color) CanvasItemAddClipIgnore(item gdnative.Rid, ignore gdnative.Bool) CanvasItemAddLine(item gdnative.Rid, from gdnative.Vector2, to gdnative.Vector2, color gdnative.Color, width gdnative.Real, antialiased gdnative.Bool) CanvasItemAddMesh(item gdnative.Rid, mesh gdnative.Rid, skeleton gdnative.Rid) CanvasItemAddMultimesh(item gdnative.Rid, mesh gdnative.Rid, skeleton gdnative.Rid) CanvasItemAddNinePatch(item gdnative.Rid, rect gdnative.Rect2, source gdnative.Rect2, texture gdnative.Rid, topleft gdnative.Vector2, bottomright gdnative.Vector2, xAxisMode gdnative.Int, yAxisMode gdnative.Int, drawCenter gdnative.Bool, modulate gdnative.Color, normalMap gdnative.Rid) CanvasItemAddParticles(item gdnative.Rid, particles gdnative.Rid, texture gdnative.Rid, normalMap gdnative.Rid, hFrames gdnative.Int, vFrames gdnative.Int) CanvasItemAddPolygon(item gdnative.Rid, points gdnative.PoolVector2Array, colors gdnative.PoolColorArray, uvs gdnative.PoolVector2Array, texture gdnative.Rid, normalMap gdnative.Rid, antialiased gdnative.Bool) CanvasItemAddPolyline(item gdnative.Rid, points gdnative.PoolVector2Array, colors gdnative.PoolColorArray, width gdnative.Real, antialiased gdnative.Bool) CanvasItemAddPrimitive(item gdnative.Rid, points gdnative.PoolVector2Array, colors gdnative.PoolColorArray, uvs gdnative.PoolVector2Array, texture gdnative.Rid, width gdnative.Real, normalMap gdnative.Rid) CanvasItemAddRect(item gdnative.Rid, rect gdnative.Rect2, color gdnative.Color) CanvasItemAddSetTransform(item gdnative.Rid, transform gdnative.Transform2D) CanvasItemAddTextureRect(item gdnative.Rid, rect gdnative.Rect2, texture gdnative.Rid, tile gdnative.Bool, modulate gdnative.Color, transpose gdnative.Bool, normalMap gdnative.Rid) CanvasItemAddTextureRectRegion(item gdnative.Rid, rect gdnative.Rect2, texture gdnative.Rid, srcRect gdnative.Rect2, modulate gdnative.Color, transpose gdnative.Bool, normalMap gdnative.Rid, clipUv gdnative.Bool) CanvasItemAddTriangleArray(item gdnative.Rid, indices gdnative.PoolIntArray, points gdnative.PoolVector2Array, colors gdnative.PoolColorArray, uvs gdnative.PoolVector2Array, texture gdnative.Rid, count gdnative.Int, normalMap gdnative.Rid) CanvasItemClear(item gdnative.Rid) CanvasItemCreate() gdnative.Rid CanvasItemSetClip(item gdnative.Rid, clip gdnative.Bool) CanvasItemSetCopyToBackbuffer(item gdnative.Rid, enabled gdnative.Bool, rect gdnative.Rect2) CanvasItemSetCustomRect(item gdnative.Rid, useCustomRect gdnative.Bool, rect gdnative.Rect2) CanvasItemSetDistanceFieldMode(item gdnative.Rid, enabled gdnative.Bool) CanvasItemSetDrawBehindParent(item gdnative.Rid, enabled gdnative.Bool) CanvasItemSetDrawIndex(item gdnative.Rid, index gdnative.Int) CanvasItemSetLightMask(item gdnative.Rid, mask gdnative.Int) CanvasItemSetMaterial(item gdnative.Rid, material gdnative.Rid) CanvasItemSetModulate(item gdnative.Rid, color gdnative.Color) CanvasItemSetParent(item gdnative.Rid, parent gdnative.Rid) CanvasItemSetSelfModulate(item gdnative.Rid, color gdnative.Color) CanvasItemSetSortChildrenByY(item gdnative.Rid, enabled gdnative.Bool) CanvasItemSetTransform(item gdnative.Rid, transform gdnative.Transform2D) CanvasItemSetUseParentMaterial(item gdnative.Rid, enabled gdnative.Bool) CanvasItemSetVisible(item gdnative.Rid, visible gdnative.Bool) CanvasItemSetZAsRelativeToParent(item gdnative.Rid, enabled gdnative.Bool) CanvasItemSetZIndex(item gdnative.Rid, zIndex gdnative.Int) CanvasLightAttachToCanvas(light gdnative.Rid, canvas gdnative.Rid) CanvasLightCreate() gdnative.Rid CanvasLightOccluderAttachToCanvas(occluder gdnative.Rid, canvas gdnative.Rid) CanvasLightOccluderCreate() gdnative.Rid CanvasLightOccluderSetEnabled(occluder gdnative.Rid, enabled gdnative.Bool) CanvasLightOccluderSetLightMask(occluder gdnative.Rid, mask gdnative.Int) CanvasLightOccluderSetPolygon(occluder gdnative.Rid, polygon gdnative.Rid) CanvasLightOccluderSetTransform(occluder gdnative.Rid, transform gdnative.Transform2D) CanvasLightSetColor(light gdnative.Rid, color gdnative.Color) CanvasLightSetEnabled(light gdnative.Rid, enabled gdnative.Bool) CanvasLightSetEnergy(light gdnative.Rid, energy gdnative.Real) CanvasLightSetHeight(light gdnative.Rid, height gdnative.Real) CanvasLightSetItemCullMask(light gdnative.Rid, mask gdnative.Int) CanvasLightSetItemShadowCullMask(light gdnative.Rid, mask gdnative.Int) CanvasLightSetLayerRange(light gdnative.Rid, minLayer gdnative.Int, maxLayer gdnative.Int) CanvasLightSetMode(light gdnative.Rid, mode gdnative.Int) CanvasLightSetScale(light gdnative.Rid, scale gdnative.Real) CanvasLightSetShadowBufferSize(light gdnative.Rid, size gdnative.Int) CanvasLightSetShadowColor(light gdnative.Rid, color gdnative.Color) CanvasLightSetShadowEnabled(light gdnative.Rid, enabled gdnative.Bool) CanvasLightSetShadowFilter(light gdnative.Rid, filter gdnative.Int) CanvasLightSetShadowGradientLength(light gdnative.Rid, length gdnative.Real) CanvasLightSetShadowSmooth(light gdnative.Rid, smooth gdnative.Real) CanvasLightSetTexture(light gdnative.Rid, texture gdnative.Rid) CanvasLightSetTextureOffset(light gdnative.Rid, offset gdnative.Vector2) CanvasLightSetTransform(light gdnative.Rid, transform gdnative.Transform2D) CanvasLightSetZRange(light gdnative.Rid, minZ gdnative.Int, maxZ gdnative.Int) CanvasOccluderPolygonCreate() gdnative.Rid CanvasOccluderPolygonSetCullMode(occluderPolygon gdnative.Rid, mode gdnative.Int) CanvasOccluderPolygonSetShape(occluderPolygon gdnative.Rid, shape gdnative.PoolVector2Array, closed gdnative.Bool) CanvasOccluderPolygonSetShapeAsLines(occluderPolygon gdnative.Rid, shape gdnative.PoolVector2Array) CanvasSetItemMirroring(canvas gdnative.Rid, item gdnative.Rid, mirroring gdnative.Vector2) CanvasSetModulate(canvas gdnative.Rid, color gdnative.Color) DirectionalLightCreate() gdnative.Rid Draw(swapBuffers gdnative.Bool) EnvironmentCreate() gdnative.Rid EnvironmentSetAdjustment(env gdnative.Rid, enable gdnative.Bool, brightness gdnative.Real, contrast gdnative.Real, saturation gdnative.Real, ramp gdnative.Rid) EnvironmentSetAmbientLight(env gdnative.Rid, color gdnative.Color, energy gdnative.Real, skyContibution gdnative.Real) EnvironmentSetBackground(env gdnative.Rid, bg gdnative.Int) EnvironmentSetBgColor(env gdnative.Rid, color gdnative.Color) EnvironmentSetBgEnergy(env gdnative.Rid, energy gdnative.Real) EnvironmentSetCanvasMaxLayer(env gdnative.Rid, maxLayer gdnative.Int) EnvironmentSetDofBlurFar(env gdnative.Rid, enable gdnative.Bool, distance gdnative.Real, transition gdnative.Real, farAmount gdnative.Real, quality gdnative.Int) EnvironmentSetDofBlurNear(env gdnative.Rid, enable gdnative.Bool, distance gdnative.Real, transition gdnative.Real, farAmount gdnative.Real, quality gdnative.Int) EnvironmentSetFog(env gdnative.Rid, enable gdnative.Bool, color gdnative.Color, sunColor gdnative.Color, sunAmount gdnative.Real) EnvironmentSetFogDepth(env gdnative.Rid, enable gdnative.Bool, depthBegin gdnative.Real, depthCurve gdnative.Real, transmit gdnative.Bool, transmitCurve gdnative.Real) EnvironmentSetFogHeight(env gdnative.Rid, enable gdnative.Bool, minHeight gdnative.Real, maxHeight gdnative.Real, heightCurve gdnative.Real) EnvironmentSetGlow(env gdnative.Rid, enable gdnative.Bool, levelFlags gdnative.Int, intensity gdnative.Real, strength gdnative.Real, bloomThreshold gdnative.Real, blendMode gdnative.Int, hdrBleedThreshold gdnative.Real, hdrBleedScale gdnative.Real, bicubicUpscale gdnative.Bool) EnvironmentSetSky(env gdnative.Rid, sky gdnative.Rid) EnvironmentSetSkyCustomFov(env gdnative.Rid, scale gdnative.Real) EnvironmentSetSsao(env gdnative.Rid, enable gdnative.Bool, radius gdnative.Real, intensity gdnative.Real, radius2 gdnative.Real, intensity2 gdnative.Real, bias gdnative.Real, lightAffect gdnative.Real, color gdnative.Color, quality gdnative.Int, blur gdnative.Int, bilateralSharpness gdnative.Real) EnvironmentSetSsr(env gdnative.Rid, enable gdnative.Bool, maxSteps gdnative.Int, fadeIn gdnative.Real, fadeOut gdnative.Real, depthTolerance gdnative.Real, roughness gdnative.Bool) EnvironmentSetTonemap(env gdnative.Rid, toneMapper gdnative.Int, exposure gdnative.Real, white gdnative.Real, autoExposure gdnative.Bool, minLuminance gdnative.Real, maxLuminance gdnative.Real, autoExpSpeed gdnative.Real, autoExpGrey gdnative.Real) Finish() ForceDraw(swapBuffers gdnative.Bool) ForceSync() FreeRid(rid gdnative.Rid) GetRenderInfo(info gdnative.Int) gdnative.Int GetTestCube() gdnative.Rid GetTestTexture() gdnative.Rid GetWhiteTexture() gdnative.Rid GiProbeCreate() gdnative.Rid GiProbeGetBias(arg0 gdnative.Rid) gdnative.Real GiProbeGetBounds(probe gdnative.Rid) gdnative.Aabb GiProbeGetCellSize(probe gdnative.Rid) gdnative.Real GiProbeGetDynamicData(arg0 gdnative.Rid) gdnative.PoolIntArray GiProbeGetDynamicRange(arg0 gdnative.Rid) gdnative.Int GiProbeGetEnergy(arg0 gdnative.Rid) gdnative.Real GiProbeGetNormalBias(arg0 gdnative.Rid) gdnative.Real GiProbeGetPropagation(arg0 gdnative.Rid) gdnative.Real GiProbeGetToCellXform(arg0 gdnative.Rid) gdnative.Transform GiProbeIsCompressed(arg0 gdnative.Rid) gdnative.Bool GiProbeIsInterior(arg0 gdnative.Rid) gdnative.Bool GiProbeSetBias(bias gdnative.Rid, arg1 gdnative.Real) GiProbeSetBounds(probe gdnative.Rid, bounds gdnative.Aabb) GiProbeSetCellSize(probe gdnative.Rid, rng gdnative.Real) GiProbeSetCompress(enable gdnative.Rid, arg1 gdnative.Bool) GiProbeSetDynamicData(data gdnative.Rid, arg1 gdnative.PoolIntArray) GiProbeSetDynamicRange(rng gdnative.Rid, arg1 gdnative.Int) GiProbeSetEnergy(energy gdnative.Rid, arg1 gdnative.Real) GiProbeSetInterior(enable gdnative.Rid, arg1 gdnative.Bool) GiProbeSetNormalBias(bias gdnative.Rid, arg1 gdnative.Real) GiProbeSetPropagation(propagation gdnative.Rid, arg1 gdnative.Real) GiProbeSetToCellXform(xform gdnative.Rid, arg1 gdnative.Transform) HasChanged() gdnative.Bool HasFeature(feature gdnative.Int) gdnative.Bool HasOsFeature(feature gdnative.String) gdnative.Bool ImmediateBegin(immediate gdnative.Rid, primitive gdnative.Int, texture gdnative.Rid) ImmediateClear(immediate gdnative.Rid) ImmediateColor(immediate gdnative.Rid, color gdnative.Color) ImmediateCreate() gdnative.Rid ImmediateEnd(immediate gdnative.Rid) ImmediateGetMaterial(immediate gdnative.Rid) gdnative.Rid ImmediateNormal(immediate gdnative.Rid, normal gdnative.Vector3) ImmediateSetMaterial(immediate gdnative.Rid, material gdnative.Rid) ImmediateTangent(immediate gdnative.Rid, tangent gdnative.Plane) ImmediateUv(immediate gdnative.Rid, texUv gdnative.Vector2) ImmediateUv2(immediate gdnative.Rid, texUv gdnative.Vector2) ImmediateVertex(immediate gdnative.Rid, vertex gdnative.Vector3) ImmediateVertex2D(immediate gdnative.Rid, vertex gdnative.Vector2) Init() InstanceAttachObjectInstanceId(instance gdnative.Rid, id gdnative.Int) InstanceAttachSkeleton(instance gdnative.Rid, skeleton gdnative.Rid) InstanceCreate() gdnative.Rid InstanceCreate2(base gdnative.Rid, scenario gdnative.Rid) gdnative.Rid InstanceGeometrySetAsInstanceLod(instance gdnative.Rid, asLodOfInstance gdnative.Rid) InstanceGeometrySetCastShadowsSetting(instance gdnative.Rid, shadowCastingSetting gdnative.Int) InstanceGeometrySetDrawRange(instance gdnative.Rid, min gdnative.Real, max gdnative.Real, minMargin gdnative.Real, maxMargin gdnative.Real) InstanceGeometrySetFlag(instance gdnative.Rid, flag gdnative.Int, enabled gdnative.Bool) InstanceGeometrySetMaterialOverride(instance gdnative.Rid, material gdnative.Rid) InstanceSetBase(instance gdnative.Rid, base gdnative.Rid) InstanceSetBlendShapeWeight(instance gdnative.Rid, shape gdnative.Int, weight gdnative.Real) InstanceSetCustomAabb(instance gdnative.Rid, aabb gdnative.Aabb) InstanceSetExterior(instance gdnative.Rid, enabled gdnative.Bool) InstanceSetExtraVisibilityMargin(instance gdnative.Rid, margin gdnative.Real) InstanceSetLayerMask(instance gdnative.Rid, mask gdnative.Int) InstanceSetScenario(instance gdnative.Rid, scenario gdnative.Rid) InstanceSetSurfaceMaterial(instance gdnative.Rid, surface gdnative.Int, material gdnative.Rid) InstanceSetTransform(instance gdnative.Rid, transform gdnative.Transform) InstanceSetUseLightmap(instance gdnative.Rid, lightmapInstance gdnative.Rid, lightmap gdnative.Rid) InstanceSetVisible(instance gdnative.Rid, visible gdnative.Bool) InstancesCullAabb(aabb gdnative.Aabb, scenario gdnative.Rid) gdnative.Array InstancesCullConvex(convex gdnative.Array, scenario gdnative.Rid) gdnative.Array InstancesCullRay(from gdnative.Vector3, to gdnative.Vector3, scenario gdnative.Rid) gdnative.Array LightDirectionalSetBlendSplits(light gdnative.Rid, enable gdnative.Bool) LightDirectionalSetShadowDepthRangeMode(light gdnative.Rid, rangeMode gdnative.Int) LightDirectionalSetShadowMode(light gdnative.Rid, mode gdnative.Int) LightOmniSetShadowDetail(light gdnative.Rid, detail gdnative.Int) LightOmniSetShadowMode(light gdnative.Rid, mode gdnative.Int) LightSetColor(light gdnative.Rid, color gdnative.Color) LightSetCullMask(light gdnative.Rid, mask gdnative.Int) LightSetNegative(light gdnative.Rid, enable gdnative.Bool) LightSetParam(light gdnative.Rid, param gdnative.Int, value gdnative.Real) LightSetProjector(light gdnative.Rid, texture gdnative.Rid) LightSetReverseCullFaceMode(light gdnative.Rid, enabled gdnative.Bool) LightSetShadow(light gdnative.Rid, enabled gdnative.Bool) LightSetShadowColor(light gdnative.Rid, color gdnative.Color) LightmapCaptureCreate() gdnative.Rid LightmapCaptureGetBounds(capture gdnative.Rid) gdnative.Aabb LightmapCaptureGetEnergy(capture gdnative.Rid) gdnative.Real LightmapCaptureGetOctree(capture gdnative.Rid) gdnative.PoolByteArray LightmapCaptureGetOctreeCellSubdiv(capture gdnative.Rid) gdnative.Int LightmapCaptureGetOctreeCellTransform(capture gdnative.Rid) gdnative.Transform LightmapCaptureSetBounds(capture gdnative.Rid, bounds gdnative.Aabb) LightmapCaptureSetEnergy(capture gdnative.Rid, energy gdnative.Real) LightmapCaptureSetOctree(capture gdnative.Rid, octree gdnative.PoolByteArray) LightmapCaptureSetOctreeCellSubdiv(capture gdnative.Rid, subdiv gdnative.Int) LightmapCaptureSetOctreeCellTransform(capture gdnative.Rid, xform gdnative.Transform) MakeSphereMesh(latitudes gdnative.Int, longitudes gdnative.Int, radius gdnative.Real) gdnative.Rid MaterialCreate() gdnative.Rid MaterialGetParam(material gdnative.Rid, parameter gdnative.String) gdnative.Variant MaterialGetShader(shaderMaterial gdnative.Rid) gdnative.Rid MaterialSetLineWidth(material gdnative.Rid, width gdnative.Real) MaterialSetNextPass(material gdnative.Rid, nextMaterial gdnative.Rid) MaterialSetParam(material gdnative.Rid, parameter gdnative.String, value gdnative.Variant) MaterialSetRenderPriority(material gdnative.Rid, priority gdnative.Int) MaterialSetShader(shaderMaterial gdnative.Rid, shader gdnative.Rid) MeshAddSurfaceFromArrays(mesh gdnative.Rid, primtive gdnative.Int, arrays gdnative.Array, blendShapes gdnative.Array, compressFormat gdnative.Int) MeshClear(mesh gdnative.Rid) MeshCreate() gdnative.Rid MeshGetBlendShapeCount(mesh gdnative.Rid) gdnative.Int MeshGetCustomAabb(mesh gdnative.Rid) gdnative.Aabb MeshGetSurfaceCount(mesh gdnative.Rid) gdnative.Int MeshRemoveSurface(mesh gdnative.Rid, index gdnative.Int) MeshSetBlendShapeCount(mesh gdnative.Rid, amount gdnative.Int) MeshSetBlendShapeMode(mesh gdnative.Rid, mode gdnative.Int) MeshSetCustomAabb(mesh gdnative.Rid, aabb gdnative.Aabb) MeshSurfaceGetAabb(mesh gdnative.Rid, surface gdnative.Int) gdnative.Aabb MeshSurfaceGetArray(mesh gdnative.Rid, surface gdnative.Int) gdnative.PoolByteArray MeshSurfaceGetArrayIndexLen(mesh gdnative.Rid, surface gdnative.Int) gdnative.Int MeshSurfaceGetArrayLen(mesh gdnative.Rid, surface gdnative.Int) gdnative.Int MeshSurfaceGetArrays(mesh gdnative.Rid, surface gdnative.Int) gdnative.Array MeshSurfaceGetBlendShapeArrays(mesh gdnative.Rid, surface gdnative.Int) gdnative.Array MeshSurfaceGetFormat(mesh gdnative.Rid, surface gdnative.Int) gdnative.Int MeshSurfaceGetIndexArray(mesh gdnative.Rid, surface gdnative.Int) gdnative.PoolByteArray MeshSurfaceGetMaterial(mesh gdnative.Rid, surface gdnative.Int) gdnative.Rid MeshSurfaceGetSkeletonAabb(mesh gdnative.Rid, surface gdnative.Int) gdnative.Array MeshSurfaceSetMaterial(mesh gdnative.Rid, surface gdnative.Int, material gdnative.Rid) MultimeshAllocate(multimesh gdnative.Rid, instances gdnative.Int, transformFormat gdnative.Int, colorFormat gdnative.Int) MultimeshGetAabb(multimesh gdnative.Rid) gdnative.Aabb MultimeshGetInstanceCount(multimesh gdnative.Rid) gdnative.Int MultimeshGetMesh(multimesh gdnative.Rid) gdnative.Rid MultimeshGetVisibleInstances(multimesh gdnative.Rid) gdnative.Int MultimeshInstanceGetColor(multimesh gdnative.Rid, index gdnative.Int) gdnative.Color MultimeshInstanceGetTransform(multimesh gdnative.Rid, index gdnative.Int) gdnative.Transform MultimeshInstanceGetTransform2D(multimesh gdnative.Rid, index gdnative.Int) gdnative.Transform2D MultimeshInstanceSetColor(multimesh gdnative.Rid, index gdnative.Int, color gdnative.Color) MultimeshInstanceSetTransform(multimesh gdnative.Rid, index gdnative.Int, transform gdnative.Transform) MultimeshInstanceSetTransform2D(multimesh gdnative.Rid, index gdnative.Int, transform gdnative.Transform2D) MultimeshSetMesh(multimesh gdnative.Rid, mesh gdnative.Rid) MultimeshSetVisibleInstances(multimesh gdnative.Rid, visible gdnative.Int) OmniLightCreate() gdnative.Rid ParticlesCreate() gdnative.Rid ParticlesGetCurrentAabb(particles gdnative.Rid) gdnative.Aabb ParticlesGetEmitting(particles gdnative.Rid) gdnative.Bool ParticlesRestart(particles gdnative.Rid) ParticlesSetAmount(particles gdnative.Rid, amount gdnative.Int) ParticlesSetCustomAabb(particles gdnative.Rid, aabb gdnative.Aabb) ParticlesSetDrawOrder(particles gdnative.Rid, order gdnative.Int) ParticlesSetDrawPassMesh(particles gdnative.Rid, pass gdnative.Int, mesh gdnative.Rid) ParticlesSetDrawPasses(particles gdnative.Rid, count gdnative.Int) ParticlesSetEmissionTransform(particles gdnative.Rid, transform gdnative.Transform) ParticlesSetEmitting(particles gdnative.Rid, emitting gdnative.Bool) ParticlesSetExplosivenessRatio(particles gdnative.Rid, ratio gdnative.Real) ParticlesSetFixedFps(particles gdnative.Rid, fps gdnative.Int) ParticlesSetFractionalDelta(particles gdnative.Rid, enable gdnative.Bool) ParticlesSetLifetime(particles gdnative.Rid, lifetime gdnative.Real) ParticlesSetOneShot(particles gdnative.Rid, oneShot gdnative.Bool) ParticlesSetPreProcessTime(particles gdnative.Rid, time gdnative.Real) ParticlesSetProcessMaterial(particles gdnative.Rid, material gdnative.Rid) ParticlesSetRandomnessRatio(particles gdnative.Rid, ratio gdnative.Real) ParticlesSetSpeedScale(particles gdnative.Rid, scale gdnative.Real) ParticlesSetUseLocalCoordinates(particles gdnative.Rid, enable gdnative.Bool) ReflectionProbeCreate() gdnative.Rid ReflectionProbeSetAsInterior(probe gdnative.Rid, enable gdnative.Bool) ReflectionProbeSetCullMask(probe gdnative.Rid, layers gdnative.Int) ReflectionProbeSetEnableBoxProjection(probe gdnative.Rid, enable gdnative.Bool) ReflectionProbeSetEnableShadows(probe gdnative.Rid, enable gdnative.Bool) ReflectionProbeSetExtents(probe gdnative.Rid, extents gdnative.Vector3) ReflectionProbeSetIntensity(probe gdnative.Rid, intensity gdnative.Real) ReflectionProbeSetInteriorAmbient(probe gdnative.Rid, color gdnative.Color) ReflectionProbeSetInteriorAmbientEnergy(probe gdnative.Rid, energy gdnative.Real) ReflectionProbeSetInteriorAmbientProbeContribution(probe gdnative.Rid, contrib gdnative.Real) ReflectionProbeSetMaxDistance(probe gdnative.Rid, distance gdnative.Real) ReflectionProbeSetOriginOffset(probe gdnative.Rid, offset gdnative.Vector3) ReflectionProbeSetUpdateMode(probe gdnative.Rid, mode gdnative.Int) RequestFrameDrawnCallback(where ObjectImplementer, method gdnative.String, userdata gdnative.Variant) ScenarioCreate() gdnative.Rid ScenarioSetDebug(scenario gdnative.Rid, debugMode gdnative.Int) ScenarioSetEnvironment(scenario gdnative.Rid, environment gdnative.Rid) ScenarioSetFallbackEnvironment(scenario gdnative.Rid, environment gdnative.Rid) ScenarioSetReflectionAtlasSize(scenario gdnative.Rid, pSize gdnative.Int, subdiv gdnative.Int) SetBootImage(image ImageImplementer, color gdnative.Color, scale gdnative.Bool) SetDebugGenerateWireframes(generate gdnative.Bool) SetDefaultClearColor(color gdnative.Color) ShaderCreate() gdnative.Rid ShaderGetCode(shader gdnative.Rid) gdnative.String ShaderGetDefaultTextureParam(shader gdnative.Rid, name gdnative.String) gdnative.Rid ShaderGetParamList(shader gdnative.Rid) gdnative.Array ShaderSetCode(shader gdnative.Rid, code gdnative.String) ShaderSetDefaultTextureParam(shader gdnative.Rid, name gdnative.String, texture gdnative.Rid) SkeletonAllocate(skeleton gdnative.Rid, bones gdnative.Int, is2DSkeleton gdnative.Bool) SkeletonBoneGetTransform(skeleton gdnative.Rid, bone gdnative.Int) gdnative.Transform SkeletonBoneGetTransform2D(skeleton gdnative.Rid, bone gdnative.Int) gdnative.Transform2D SkeletonBoneSetTransform(skeleton gdnative.Rid, bone gdnative.Int, transform gdnative.Transform) SkeletonBoneSetTransform2D(skeleton gdnative.Rid, bone gdnative.Int, transform gdnative.Transform2D) SkeletonCreate() gdnative.Rid SkeletonGetBoneCount(skeleton gdnative.Rid) gdnative.Int SkyCreate() gdnative.Rid SkySetTexture(sky gdnative.Rid, cubeMap gdnative.Rid, radianceSize gdnative.Int) SpotLightCreate() gdnative.Rid Sync() TextureAllocate(texture gdnative.Rid, width gdnative.Int, height gdnative.Int, format gdnative.Int, flags gdnative.Int) TextureCreate() gdnative.Rid TextureCreateFromImage(image ImageImplementer, flags gdnative.Int) gdnative.Rid TextureDebugUsage() gdnative.Array TextureGetData(texture gdnative.Rid, cubeSide gdnative.Int) ImageImplementer TextureGetFlags(texture gdnative.Rid) gdnative.Int TextureGetHeight(texture gdnative.Rid) gdnative.Int TextureGetPath(texture gdnative.Rid) gdnative.String TextureGetTexid(texture gdnative.Rid) gdnative.Int TextureGetWidth(texture gdnative.Rid) gdnative.Int TextureSetData(texture gdnative.Rid, image ImageImplementer, cubeSide gdnative.Int) TextureSetFlags(texture gdnative.Rid, flags gdnative.Int) TextureSetPath(texture gdnative.Rid, path gdnative.String) TextureSetShrinkAllX2OnSetData(shrink gdnative.Bool) TextureSetSizeOverride(texture gdnative.Rid, width gdnative.Int, height gdnative.Int) TexturesKeepOriginal(enable gdnative.Bool) ViewportAttachCamera(viewport gdnative.Rid, camera gdnative.Rid) ViewportAttachCanvas(viewport gdnative.Rid, canvas gdnative.Rid) ViewportAttachToScreen(viewport gdnative.Rid, rect gdnative.Rect2, screen gdnative.Int) ViewportCreate() gdnative.Rid ViewportDetach(viewport gdnative.Rid) ViewportGetRenderInfo(viewport gdnative.Rid, info gdnative.Int) gdnative.Int ViewportGetTexture(viewport gdnative.Rid) gdnative.Rid ViewportRemoveCanvas(viewport gdnative.Rid, canvas gdnative.Rid) ViewportSetActive(viewport gdnative.Rid, active gdnative.Bool) ViewportSetCanvasLayer(viewport gdnative.Rid, canvas gdnative.Rid, layer gdnative.Int) ViewportSetCanvasTransform(viewport gdnative.Rid, canvas gdnative.Rid, offset gdnative.Transform2D) ViewportSetClearMode(viewport gdnative.Rid, clearMode gdnative.Int) ViewportSetDebugDraw(viewport gdnative.Rid, draw gdnative.Int) ViewportSetDisable3D(viewport gdnative.Rid, disabled gdnative.Bool) ViewportSetDisableEnvironment(viewport gdnative.Rid, disabled gdnative.Bool) ViewportSetGlobalCanvasTransform(viewport gdnative.Rid, transform gdnative.Transform2D) ViewportSetHdr(viewport gdnative.Rid, enabled gdnative.Bool) ViewportSetHideCanvas(viewport gdnative.Rid, hidden gdnative.Bool) ViewportSetHideScenario(viewport gdnative.Rid, hidden gdnative.Bool) ViewportSetMsaa(viewport gdnative.Rid, msaa gdnative.Int) ViewportSetParentViewport(viewport gdnative.Rid, parentViewport gdnative.Rid) ViewportSetScenario(viewport gdnative.Rid, scenario gdnative.Rid) ViewportSetShadowAtlasQuadrantSubdivision(viewport gdnative.Rid, quadrant gdnative.Int, subdivision gdnative.Int) ViewportSetShadowAtlasSize(viewport gdnative.Rid, size gdnative.Int) ViewportSetSize(viewport gdnative.Rid, width gdnative.Int, height gdnative.Int) ViewportSetTransparentBackground(viewport gdnative.Rid, enabled gdnative.Bool) ViewportSetUpdateMode(viewport gdnative.Rid, updateMode gdnative.Int) ViewportSetUsage(viewport gdnative.Rid, usage gdnative.Int) ViewportSetUseArvr(viewport gdnative.Rid, useArvr gdnative.Bool) ViewportSetVflip(viewport gdnative.Rid, enabled gdnative.Bool) }
VisualServerImplementer is an interface that implements the methods of the VisualServer class.
type VisualServerInstanceFlags ¶
type VisualServerInstanceFlags int
VisualServerInstanceFlags is an enum for InstanceFlags values.
const ( VisualServerInstanceFlagMax VisualServerInstanceFlags = 1 VisualServerInstanceFlagUseBakedLight VisualServerInstanceFlags = 0 )
type VisualServerInstanceType ¶
type VisualServerInstanceType int
VisualServerInstanceType is an enum for InstanceType values.
const ( VisualServerInstanceGeometryMask VisualServerInstanceType = 30 VisualServerInstanceGiProbe VisualServerInstanceType = 7 VisualServerInstanceImmediate VisualServerInstanceType = 3 VisualServerInstanceLight VisualServerInstanceType = 5 VisualServerInstanceLightmapCapture VisualServerInstanceType = 8 VisualServerInstanceMax VisualServerInstanceType = 9 VisualServerInstanceMesh VisualServerInstanceType = 1 VisualServerInstanceMultimesh VisualServerInstanceType = 2 VisualServerInstanceNone VisualServerInstanceType = 0 VisualServerInstanceParticles VisualServerInstanceType = 4 VisualServerInstanceReflectionProbe VisualServerInstanceType = 6 )
type VisualServerLightDirectionalShadowDepthRangeMode ¶
type VisualServerLightDirectionalShadowDepthRangeMode int
VisualServerLightDirectionalShadowDepthRangeMode is an enum for LightDirectionalShadowDepthRangeMode values.
const ( VisualServerLightDirectionalShadowDepthRangeOptimized VisualServerLightDirectionalShadowDepthRangeMode = 1 VisualServerLightDirectionalShadowDepthRangeStable VisualServerLightDirectionalShadowDepthRangeMode = 0 )
type VisualServerLightDirectionalShadowMode ¶
type VisualServerLightDirectionalShadowMode int
VisualServerLightDirectionalShadowMode is an enum for LightDirectionalShadowMode values.
const ( VisualServerLightDirectionalShadowOrthogonal VisualServerLightDirectionalShadowMode = 0 VisualServerLightDirectionalShadowParallel2Splits VisualServerLightDirectionalShadowMode = 1 VisualServerLightDirectionalShadowParallel4Splits VisualServerLightDirectionalShadowMode = 2 )
type VisualServerLightOmniShadowDetail ¶
type VisualServerLightOmniShadowDetail int
VisualServerLightOmniShadowDetail is an enum for LightOmniShadowDetail values.
const ( VisualServerLightOmniShadowDetailHorizontal VisualServerLightOmniShadowDetail = 1 VisualServerLightOmniShadowDetailVertical VisualServerLightOmniShadowDetail = 0 )
type VisualServerLightOmniShadowMode ¶
type VisualServerLightOmniShadowMode int
VisualServerLightOmniShadowMode is an enum for LightOmniShadowMode values.
const ( VisualServerLightOmniShadowCube VisualServerLightOmniShadowMode = 1 VisualServerLightOmniShadowDualParaboloid VisualServerLightOmniShadowMode = 0 )
type VisualServerLightParam ¶
type VisualServerLightParam int
VisualServerLightParam is an enum for LightParam values.
const ( VisualServerLightParamAttenuation VisualServerLightParam = 4 VisualServerLightParamContactShadowSize VisualServerLightParam = 7 VisualServerLightParamEnergy VisualServerLightParam = 0 VisualServerLightParamMax VisualServerLightParam = 15 VisualServerLightParamRange VisualServerLightParam = 3 VisualServerLightParamShadowBias VisualServerLightParam = 13 VisualServerLightParamShadowBiasSplitScale VisualServerLightParam = 14 VisualServerLightParamShadowMaxDistance VisualServerLightParam = 8 VisualServerLightParamShadowNormalBias VisualServerLightParam = 12 VisualServerLightParamShadowSplit1Offset VisualServerLightParam = 9 VisualServerLightParamShadowSplit2Offset VisualServerLightParam = 10 VisualServerLightParamShadowSplit3Offset VisualServerLightParam = 11 VisualServerLightParamSpecular VisualServerLightParam = 2 VisualServerLightParamSpotAngle VisualServerLightParam = 5 VisualServerLightParamSpotAttenuation VisualServerLightParam = 6 )
type VisualServerLightType ¶
type VisualServerLightType int
VisualServerLightType is an enum for LightType values.
const ( VisualServerLightDirectional VisualServerLightType = 0 VisualServerLightOmni VisualServerLightType = 1 VisualServerLightSpot VisualServerLightType = 2 )
type VisualServerMultimeshColorFormat ¶
type VisualServerMultimeshColorFormat int
VisualServerMultimeshColorFormat is an enum for MultimeshColorFormat values.
const ( VisualServerMultimeshColor8Bit VisualServerMultimeshColorFormat = 1 VisualServerMultimeshColorFloat VisualServerMultimeshColorFormat = 2 VisualServerMultimeshColorNone VisualServerMultimeshColorFormat = 0 )
type VisualServerMultimeshTransformFormat ¶
type VisualServerMultimeshTransformFormat int
VisualServerMultimeshTransformFormat is an enum for MultimeshTransformFormat values.
const ( VisualServerMultimeshTransform2D VisualServerMultimeshTransformFormat = 0 VisualServerMultimeshTransform3D VisualServerMultimeshTransformFormat = 1 )
type VisualServerNinePatchAxisMode ¶
type VisualServerNinePatchAxisMode int
VisualServerNinePatchAxisMode is an enum for NinePatchAxisMode values.
const ( VisualServerNinePatchStretch VisualServerNinePatchAxisMode = 0 VisualServerNinePatchTile VisualServerNinePatchAxisMode = 1 VisualServerNinePatchTileFit VisualServerNinePatchAxisMode = 2 )
type VisualServerParticlesDrawOrder ¶
type VisualServerParticlesDrawOrder int
VisualServerParticlesDrawOrder is an enum for ParticlesDrawOrder values.
const ( VisualServerParticlesDrawOrderIndex VisualServerParticlesDrawOrder = 0 VisualServerParticlesDrawOrderLifetime VisualServerParticlesDrawOrder = 1 VisualServerParticlesDrawOrderViewDepth VisualServerParticlesDrawOrder = 2 )
type VisualServerPrimitiveType ¶
type VisualServerPrimitiveType int
VisualServerPrimitiveType is an enum for PrimitiveType values.
const ( VisualServerPrimitiveLines VisualServerPrimitiveType = 1 VisualServerPrimitiveLineLoop VisualServerPrimitiveType = 3 VisualServerPrimitiveLineStrip VisualServerPrimitiveType = 2 VisualServerPrimitiveMax VisualServerPrimitiveType = 7 VisualServerPrimitivePoints VisualServerPrimitiveType = 0 VisualServerPrimitiveTriangles VisualServerPrimitiveType = 4 VisualServerPrimitiveTriangleFan VisualServerPrimitiveType = 6 VisualServerPrimitiveTriangleStrip VisualServerPrimitiveType = 5 )
type VisualServerReflectionProbeUpdateMode ¶
type VisualServerReflectionProbeUpdateMode int
VisualServerReflectionProbeUpdateMode is an enum for ReflectionProbeUpdateMode values.
const ( VisualServerReflectionProbeUpdateAlways VisualServerReflectionProbeUpdateMode = 1 VisualServerReflectionProbeUpdateOnce VisualServerReflectionProbeUpdateMode = 0 )
type VisualServerRenderInfo ¶
type VisualServerRenderInfo int
VisualServerRenderInfo is an enum for RenderInfo values.
const ( VisualServerInfoDrawCallsInFrame VisualServerRenderInfo = 5 VisualServerInfoMaterialChangesInFrame VisualServerRenderInfo = 2 VisualServerInfoObjectsInFrame VisualServerRenderInfo = 0 VisualServerInfoShaderChangesInFrame VisualServerRenderInfo = 3 VisualServerInfoSurfaceChangesInFrame VisualServerRenderInfo = 4 VisualServerInfoTextureMemUsed VisualServerRenderInfo = 8 VisualServerInfoUsageVideoMemTotal VisualServerRenderInfo = 6 VisualServerInfoVertexMemUsed VisualServerRenderInfo = 9 VisualServerInfoVerticesInFrame VisualServerRenderInfo = 1 VisualServerInfoVideoMemUsed VisualServerRenderInfo = 7 )
type VisualServerScenarioDebugMode ¶
type VisualServerScenarioDebugMode int
VisualServerScenarioDebugMode is an enum for ScenarioDebugMode values.
const ( VisualServerScenarioDebugDisabled VisualServerScenarioDebugMode = 0 VisualServerScenarioDebugOverdraw VisualServerScenarioDebugMode = 2 VisualServerScenarioDebugShadeless VisualServerScenarioDebugMode = 3 VisualServerScenarioDebugWireframe VisualServerScenarioDebugMode = 1 )
type VisualServerShaderMode ¶
type VisualServerShaderMode int
VisualServerShaderMode is an enum for ShaderMode values.
const ( VisualServerShaderCanvasItem VisualServerShaderMode = 1 VisualServerShaderMax VisualServerShaderMode = 3 VisualServerShaderParticles VisualServerShaderMode = 2 VisualServerShaderSpatial VisualServerShaderMode = 0 )
type VisualServerShadowCastingSetting ¶
type VisualServerShadowCastingSetting int
VisualServerShadowCastingSetting is an enum for ShadowCastingSetting values.
const ( VisualServerShadowCastingSettingDoubleSided VisualServerShadowCastingSetting = 2 VisualServerShadowCastingSettingOff VisualServerShadowCastingSetting = 0 VisualServerShadowCastingSettingOn VisualServerShadowCastingSetting = 1 VisualServerShadowCastingSettingShadowsOnly VisualServerShadowCastingSetting = 3 )
type VisualServerTextureFlags ¶
type VisualServerTextureFlags int
VisualServerTextureFlags is an enum for TextureFlags values.
const ( VisualServerTextureFlagsDefault VisualServerTextureFlags = 7 VisualServerTextureFlagAnisotropicFilter VisualServerTextureFlags = 8 VisualServerTextureFlagConvertToLinear VisualServerTextureFlags = 16 VisualServerTextureFlagCubemap VisualServerTextureFlags = 2048 VisualServerTextureFlagFilter VisualServerTextureFlags = 4 VisualServerTextureFlagMipmaps VisualServerTextureFlags = 1 VisualServerTextureFlagMirroredRepeat VisualServerTextureFlags = 32 VisualServerTextureFlagRepeat VisualServerTextureFlags = 2 VisualServerTextureFlagUsedForStreaming VisualServerTextureFlags = 4096 )
type VisualServerViewportClearMode ¶
type VisualServerViewportClearMode int
VisualServerViewportClearMode is an enum for ViewportClearMode values.
const ( VisualServerViewportClearAlways VisualServerViewportClearMode = 0 VisualServerViewportClearNever VisualServerViewportClearMode = 1 VisualServerViewportClearOnlyNextFrame VisualServerViewportClearMode = 2 )
type VisualServerViewportDebugDraw ¶
type VisualServerViewportDebugDraw int
VisualServerViewportDebugDraw is an enum for ViewportDebugDraw values.
const ( VisualServerViewportDebugDrawDisabled VisualServerViewportDebugDraw = 0 VisualServerViewportDebugDrawOverdraw VisualServerViewportDebugDraw = 2 VisualServerViewportDebugDrawUnshaded VisualServerViewportDebugDraw = 1 VisualServerViewportDebugDrawWireframe VisualServerViewportDebugDraw = 3 )
type VisualServerViewportMSAA ¶
type VisualServerViewportMSAA int
VisualServerViewportMSAA is an enum for ViewportMSAA values.
const ( VisualServerViewportMsaa16X VisualServerViewportMSAA = 4 VisualServerViewportMsaa2X VisualServerViewportMSAA = 1 VisualServerViewportMsaa4X VisualServerViewportMSAA = 2 VisualServerViewportMsaa8X VisualServerViewportMSAA = 3 VisualServerViewportMsaaDisabled VisualServerViewportMSAA = 0 )
type VisualServerViewportRenderInfo ¶
type VisualServerViewportRenderInfo int
VisualServerViewportRenderInfo is an enum for ViewportRenderInfo values.
const ( VisualServerViewportRenderInfoDrawCallsInFrame VisualServerViewportRenderInfo = 5 VisualServerViewportRenderInfoMaterialChangesInFrame VisualServerViewportRenderInfo = 2 VisualServerViewportRenderInfoMax VisualServerViewportRenderInfo = 6 VisualServerViewportRenderInfoObjectsInFrame VisualServerViewportRenderInfo = 0 VisualServerViewportRenderInfoShaderChangesInFrame VisualServerViewportRenderInfo = 3 VisualServerViewportRenderInfoSurfaceChangesInFrame VisualServerViewportRenderInfo = 4 VisualServerViewportRenderInfoVerticesInFrame VisualServerViewportRenderInfo = 1 )
type VisualServerViewportUpdateMode ¶
type VisualServerViewportUpdateMode int
VisualServerViewportUpdateMode is an enum for ViewportUpdateMode values.
const ( VisualServerViewportUpdateAlways VisualServerViewportUpdateMode = 3 VisualServerViewportUpdateDisabled VisualServerViewportUpdateMode = 0 VisualServerViewportUpdateOnce VisualServerViewportUpdateMode = 1 VisualServerViewportUpdateWhenVisible VisualServerViewportUpdateMode = 2 )
type VisualServerViewportUsage ¶
type VisualServerViewportUsage int
VisualServerViewportUsage is an enum for ViewportUsage values.
const ( VisualServerViewportUsage2D VisualServerViewportUsage = 0 VisualServerViewportUsage2DNoSampling VisualServerViewportUsage = 1 VisualServerViewportUsage3D VisualServerViewportUsage = 2 VisualServerViewportUsage3DNoEffects VisualServerViewportUsage = 3 )
type WeakRef ¶
type WeakRef struct { Reference // contains filtered or unexported fields }
A weakref can hold a Reference, without contributing to the reference counter. A weakref can be created from an Object using [method @GDScript.weakref]. If this object is not a reference, weakref still works, however, it does not have any effect on the object. Weakrefs are useful in cases where multiple classes have variables that refer to each other. Without weakrefs, using these classes could lead to memory leaks, since both references keep each other from being released. Making part of the variables a weakref can prevent this cyclic dependency, and allows the references to be released.
type WeakRefImplementer ¶
type WeakRefImplementer interface { ReferenceImplementer GetRef() gdnative.Variant }
WeakRefImplementer is an interface that implements the methods of the WeakRef class.
type WindowDialog ¶
type WindowDialog struct { Popup // contains filtered or unexported fields }
Windowdialog is the base class for all window-based dialogs. It's a by-default toplevel Control that draws a window decoration and allows motion and resizing.
func (*WindowDialog) BaseClass ¶
func (o *WindowDialog) BaseClass() string
func (*WindowDialog) GetCloseButton ¶
func (o *WindowDialog) GetCloseButton() TextureButtonImplementer
Return the close [TextureButton]. Args: [], Returns: TextureButton
func (*WindowDialog) GetResizable ¶
func (o *WindowDialog) GetResizable() gdnative.Bool
Undocumented Args: [], Returns: bool
func (*WindowDialog) GetTitle ¶
func (o *WindowDialog) GetTitle() gdnative.String
Undocumented Args: [], Returns: String
func (*WindowDialog) SetResizable ¶
func (o *WindowDialog) SetResizable(resizable gdnative.Bool)
Undocumented Args: [{ false resizable bool}], Returns: void
func (*WindowDialog) SetTitle ¶
func (o *WindowDialog) SetTitle(title gdnative.String)
Undocumented Args: [{ false title String}], Returns: void
func (*WindowDialog) X_Closed ¶
func (o *WindowDialog) X_Closed()
Undocumented Args: [], Returns: void
func (*WindowDialog) X_GuiInput ¶
func (o *WindowDialog) X_GuiInput(arg0 InputEventImplementer)
Undocumented Args: [{ false arg0 InputEvent}], Returns: void
type WindowDialogImplementer ¶
type WindowDialogImplementer interface { PopupImplementer X_Closed() GetCloseButton() TextureButtonImplementer GetResizable() gdnative.Bool GetTitle() gdnative.String SetResizable(resizable gdnative.Bool) SetTitle(title gdnative.String) }
WindowDialogImplementer is an interface that implements the methods of the WindowDialog class.
type World ¶
type World struct { Resource // contains filtered or unexported fields }
Class that has everything pertaining to a world. A physics space, a visual scenario and a sound space. Spatial nodes register their resources into the current world.
func (*World) GetDirectSpaceState ¶
func (o *World) GetDirectSpaceState() PhysicsDirectSpaceStateImplementer
Undocumented Args: [], Returns: PhysicsDirectSpaceState
func (*World) GetEnvironment ¶
func (o *World) GetEnvironment() EnvironmentImplementer
Undocumented Args: [], Returns: Environment
func (*World) GetFallbackEnvironment ¶
func (o *World) GetFallbackEnvironment() EnvironmentImplementer
Undocumented Args: [], Returns: Environment
func (*World) GetScenario ¶
Undocumented Args: [], Returns: RID
func (*World) SetEnvironment ¶
func (o *World) SetEnvironment(env EnvironmentImplementer)
Undocumented Args: [{ false env Environment}], Returns: void
func (*World) SetFallbackEnvironment ¶
func (o *World) SetFallbackEnvironment(env EnvironmentImplementer)
Undocumented Args: [{ false env Environment}], Returns: void
type World2D ¶
type World2D struct { Resource // contains filtered or unexported fields }
Class that has everything pertaining to a 2D world. A physics space, a visual scenario and a sound space. 2D nodes register their resources into the current 2D world.
func (*World2D) GetDirectSpaceState ¶
func (o *World2D) GetDirectSpaceState() Physics2DDirectSpaceStateImplementer
Undocumented Args: [], Returns: Physics2DDirectSpaceState
type World2DImplementer ¶
type World2DImplementer interface { ResourceImplementer GetCanvas() gdnative.Rid GetDirectSpaceState() Physics2DDirectSpaceStateImplementer GetSpace() gdnative.Rid }
World2DImplementer is an interface that implements the methods of the World2D class.
type WorldEnvironment ¶
type WorldEnvironment struct { Node // contains filtered or unexported fields }
The [code]WorldEnvironment[/code] node is used to configure the default Environment for the scene. The parameters defined in the [code]WorldEnvironment[/code] can be overridden by an Environment node set on the current Camera. Additionally, only one [code]WorldEnvironment[/code] may be instanced in a given scene at a time. The [code]WorldEnvironment[/code] allows the user to specify default lighting parameters (e.g. ambient lighting), various post-processing effects (e.g. SSAO, DOF, Tonemapping), and how to draw the background (e.g. solid color, skybox). Usually, these are added in order to improve the realism/color balance of the scene.
func (*WorldEnvironment) BaseClass ¶
func (o *WorldEnvironment) BaseClass() string
func (*WorldEnvironment) GetEnvironment ¶
func (o *WorldEnvironment) GetEnvironment() EnvironmentImplementer
Undocumented Args: [], Returns: Environment
func (*WorldEnvironment) SetEnvironment ¶
func (o *WorldEnvironment) SetEnvironment(env EnvironmentImplementer)
Undocumented Args: [{ false env Environment}], Returns: void
type WorldEnvironmentImplementer ¶
type WorldEnvironmentImplementer interface { NodeImplementer GetEnvironment() EnvironmentImplementer SetEnvironment(env EnvironmentImplementer) }
WorldEnvironmentImplementer is an interface that implements the methods of the WorldEnvironment class.
type WorldImplementer ¶
type WorldImplementer interface { ResourceImplementer GetDirectSpaceState() PhysicsDirectSpaceStateImplementer GetEnvironment() EnvironmentImplementer GetFallbackEnvironment() EnvironmentImplementer GetScenario() gdnative.Rid GetSpace() gdnative.Rid SetEnvironment(env EnvironmentImplementer) SetFallbackEnvironment(env EnvironmentImplementer) }
WorldImplementer is an interface that implements the methods of the World class.
type XMLParser ¶
type XMLParser struct { Reference // contains filtered or unexported fields }
This class can serve as base to make custom XML parsers. Since XML is a very flexible standard, this interface is low level so it can be applied to any possible schema.
func (*XMLParser) GetAttributeCount ¶
Get the amount of attributes in the current element. Args: [], Returns: int
func (*XMLParser) GetAttributeName ¶
Get the name of the attribute specified by the index in [code]idx[/code] argument. Args: [{ false idx int}], Returns: String
func (*XMLParser) GetAttributeValue ¶
Get the value of the attribute specified by the index in [code]idx[/code] argument. Args: [{ false idx int}], Returns: String
func (*XMLParser) GetCurrentLine ¶
Get the current line in the parsed file (currently not implemented). Args: [], Returns: int
func (*XMLParser) GetNamedAttributeValue ¶
Get the value of a certain attribute of the current element by name. This will raise an error if the element has no such attribute. Args: [{ false name String}], Returns: String
func (*XMLParser) GetNamedAttributeValueSafe ¶
Get the value of a certain attribute of the current element by name. This will return an empty [String] if the attribute is not found. Args: [{ false name String}], Returns: String
func (*XMLParser) GetNodeData ¶
Get the contents of a text node. This will raise an error in any other type of node. Args: [], Returns: String
func (*XMLParser) GetNodeName ¶
Get the name of the current element node. This will raise an error if the current node type is not [code]NODE_ELEMENT[/code] nor [code]NODE_ELEMENT_END[/code] Args: [], Returns: String
func (*XMLParser) GetNodeOffset ¶
Get the byte offset of the current node since the beginning of the file or buffer. Args: [], Returns: int
func (*XMLParser) GetNodeType ¶
func (o *XMLParser) GetNodeType() XMLParserNodeType
Get the type of the current node. Compare with [code]NODE_*[/code] constants. Args: [], Returns: enum.XMLParser::NodeType
func (*XMLParser) HasAttribute ¶
Check whether or not the current element has a certain attribute. Args: [{ false name String}], Returns: bool
func (*XMLParser) IsEmpty ¶
Check whether the current element is empty (this only works for completely empty tags, e.g. <element \>). Args: [], Returns: bool
func (*XMLParser) Open ¶
Open a XML file for parsing. This returns an error code. Args: [{ false file String}], Returns: enum.Error
func (*XMLParser) OpenBuffer ¶
func (o *XMLParser) OpenBuffer(buffer gdnative.PoolByteArray) gdnative.Error
Open a XML raw buffer for parsing. This returns an error code. Args: [{ false buffer PoolByteArray}], Returns: enum.Error
func (*XMLParser) Read ¶
Read the next node of the file. This returns an error code. Args: [], Returns: enum.Error
func (*XMLParser) Seek ¶
Move the buffer cursor to a certain offset (since the beginning) and read the next node there. This returns an error code. Args: [{ false position int}], Returns: enum.Error
func (*XMLParser) SkipSection ¶
func (o *XMLParser) SkipSection()
Skips the current section. If the node contains other elements, they will be ignored and the cursor will go to the closing of the current element. Args: [], Returns: void
type XMLParserImplementer ¶
type XMLParserImplementer interface { ReferenceImplementer GetAttributeCount() gdnative.Int GetAttributeName(idx gdnative.Int) gdnative.String GetAttributeValue(idx gdnative.Int) gdnative.String GetCurrentLine() gdnative.Int GetNamedAttributeValue(name gdnative.String) gdnative.String GetNamedAttributeValueSafe(name gdnative.String) gdnative.String GetNodeData() gdnative.String GetNodeName() gdnative.String GetNodeOffset() gdnative.Int HasAttribute(name gdnative.String) gdnative.Bool IsEmpty() gdnative.Bool SkipSection() }
XMLParserImplementer is an interface that implements the methods of the XMLParser class.
type XMLParserNodeType ¶
type XMLParserNodeType int
XMLParserNodeType is an enum for NodeType values.
const ( XMLParserNodeCdata XMLParserNodeType = 5 XMLParserNodeComment XMLParserNodeType = 4 XMLParserNodeElement XMLParserNodeType = 1 XMLParserNodeElementEnd XMLParserNodeType = 2 XMLParserNodeNone XMLParserNodeType = 0 XMLParserNodeText XMLParserNodeType = 3 XMLParserNodeUnknown XMLParserNodeType = 6 )
type YSort ¶
type YSort struct { Node2D // contains filtered or unexported fields }
Sort all child nodes based on their Y positions. The child node must inherit from CanvasItem for it to be sorted. Nodes that have a higher Y position will be drawn later, so they will appear on top of nodes that have a lower Y position.
func (*YSort) IsSortEnabled ¶
Undocumented Args: [], Returns: bool
func (*YSort) SetSortEnabled ¶
Undocumented Args: [{ false enabled bool}], Returns: void
type YSortImplementer ¶
type YSortImplementer interface { Node2DImplementer IsSortEnabled() gdnative.Bool SetSortEnabled(enabled gdnative.Bool) }
YSortImplementer is an interface that implements the methods of the YSort class.
Source Files
¶
- acceptdialog.gen.go
- animatedsprite.gen.go
- animatedsprite3d.gen.go
- animation.gen.go
- animationplayer.gen.go
- animationtreeplayer.gen.go
- area.gen.go
- area2d.gen.go
- arraymesh.gen.go
- arvranchor.gen.go
- arvrcamera.gen.go
- arvrcontroller.gen.go
- arvrinterface.gen.go
- arvrinterfacegdnative.gen.go
- arvrorigin.gen.go
- arvrpositionaltracker.gen.go
- arvrserver.gen.go
- astar.gen.go
- atlastexture.gen.go
- audiobuslayout.gen.go
- audioeffect.gen.go
- audioeffectamplify.gen.go
- audioeffectbandlimitfilter.gen.go
- audioeffectbandpassfilter.gen.go
- audioeffectchorus.gen.go
- audioeffectcompressor.gen.go
- audioeffectdelay.gen.go
- audioeffectdistortion.gen.go
- audioeffecteq.gen.go
- audioeffecteq10.gen.go
- audioeffecteq21.gen.go
- audioeffecteq6.gen.go
- audioeffectfilter.gen.go
- audioeffecthighpassfilter.gen.go
- audioeffecthighshelffilter.gen.go
- audioeffectlimiter.gen.go
- audioeffectlowpassfilter.gen.go
- audioeffectlowshelffilter.gen.go
- audioeffectnotchfilter.gen.go
- audioeffectpanner.gen.go
- audioeffectphaser.gen.go
- audioeffectpitchshift.gen.go
- audioeffectreverb.gen.go
- audioeffectstereoenhance.gen.go
- audioserver.gen.go
- audiostream.gen.go
- audiostreamoggvorbis.gen.go
- audiostreamplayback.gen.go
- audiostreamplayer.gen.go
- audiostreamplayer2d.gen.go
- audiostreamplayer3d.gen.go
- audiostreamrandompitch.gen.go
- audiostreamsample.gen.go
- backbuffercopy.gen.go
- bakedlightmap.gen.go
- bakedlightmapdata.gen.go
- basebutton.gen.go
- bitmap.gen.go
- bitmapfont.gen.go
- boneattachment.gen.go
- boxcontainer.gen.go
- boxshape.gen.go
- bulletphysicsdirectbodystate.gen.go
- bulletphysicsserver.gen.go
- button.gen.go
- buttongroup.gen.go
- camera.gen.go
- camera2d.gen.go
- canvasitem.gen.go
- canvasitemmaterial.gen.go
- canvaslayer.gen.go
- canvasmodulate.gen.go
- capsulemesh.gen.go
- capsuleshape.gen.go
- capsuleshape2d.gen.go
- centercontainer.gen.go
- checkbox.gen.go
- checkbutton.gen.go
- circleshape2d.gen.go
- clamp.go
- classdb.gen.go
- collisionobject.gen.go
- collisionobject2d.gen.go
- collisionpolygon.gen.go
- collisionpolygon2d.gen.go
- collisionshape.gen.go
- collisionshape2d.gen.go
- colorpicker.gen.go
- colorpickerbutton.gen.go
- colorrect.gen.go
- concavepolygonshape.gen.go
- concavepolygonshape2d.gen.go
- conetwistjoint.gen.go
- configfile.gen.go
- confirmationdialog.gen.go
- container.gen.go
- control.gen.go
- convert.gen.go
- convexpolygonshape.gen.go
- convexpolygonshape2d.gen.go
- cubemap.gen.go
- cubemesh.gen.go
- curve.gen.go
- curve2d.gen.go
- curve3d.gen.go
- curvetexture.gen.go
- cylindermesh.gen.go
- dampedspringjoint2d.gen.go
- directionallight.gen.go
- directory.gen.go
- dynamicfont.gen.go
- dynamicfontdata.gen.go
- editorexportplugin.gen.go
- editorfiledialog.gen.go
- editorfilesystem.gen.go
- editorfilesystemdirectory.gen.go
- editorimportplugin.gen.go
- editorinterface.gen.go
- editorplugin.gen.go
- editorresourceconversionplugin.gen.go
- editorresourcepreview.gen.go
- editorresourcepreviewgenerator.gen.go
- editorsceneimporter.gen.go
- editorscenepostimport.gen.go
- editorscript.gen.go
- editorselection.gen.go
- editorsettings.gen.go
- editorspatialgizmo.gen.go
- encodedobjectasid.gen.go
- engine.gen.go
- environment.gen.go
- file.gen.go
- filedialog.gen.go
- font.gen.go
- funcref.gen.go
- gdnative.gen.go
- gdnativelibrary.gen.go
- gdscript.gen.go
- gdscriptfunctionstate.gen.go
- generic6dofjoint.gen.go
- geometry.gen.go
- geometryinstance.gen.go
- giprobe.gen.go
- giprobedata.gen.go
- godot.go
- gradient.gen.go
- gradienttexture.gen.go
- graphedit.gen.go
- graphnode.gen.go
- gridcontainer.gen.go
- gridmap.gen.go
- groovejoint2d.gen.go
- hboxcontainer.gen.go
- hingejoint.gen.go
- hscrollbar.gen.go
- hseparator.gen.go
- hslider.gen.go
- hsplitcontainer.gen.go
- httpclient.gen.go
- httprequest.gen.go
- image.gen.go
- imagetexture.gen.go
- immediategeometry.gen.go
- input.gen.go
- inputdefault.gen.go
- inputevent.gen.go
- inputeventaction.gen.go
- inputeventgesture.gen.go
- inputeventjoypadbutton.gen.go
- inputeventjoypadmotion.gen.go
- inputeventkey.gen.go
- inputeventmagnifygesture.gen.go
- inputeventmouse.gen.go
- inputeventmousebutton.gen.go
- inputeventmousemotion.gen.go
- inputeventpangesture.gen.go
- inputeventscreendrag.gen.go
- inputeventscreentouch.gen.go
- inputeventwithmodifiers.gen.go
- inputmap.gen.go
- instanceplaceholder.gen.go
- interpolatedcamera.gen.go
- ip.gen.go
- ip_unix.gen.go
- itemlist.gen.go
- javascript.gen.go
- joint.gen.go
- joint2d.gen.go
- json.gen.go
- jsonparseresult.gen.go
- kinematicbody.gen.go
- kinematicbody2d.gen.go
- kinematiccollision.gen.go
- kinematiccollision2d.gen.go
- label.gen.go
- largetexture.gen.go
- light.gen.go
- light2d.gen.go
- lightoccluder2d.gen.go
- line2d.gen.go
- lineedit.gen.go
- lineshape2d.gen.go
- linkbutton.gen.go
- listener.gen.go
- log.go
- mainloop.gen.go
- margincontainer.gen.go
- marshalls.gen.go
- material.gen.go
- menubutton.gen.go
- mesh.gen.go
- meshdatatool.gen.go
- meshinstance.gen.go
- meshlibrary.gen.go
- mobilevrinterface.gen.go
- multimesh.gen.go
- multimeshinstance.gen.go
- mutex.gen.go
- nativescript.gen.go
- navigation.gen.go
- navigation2d.gen.go
- navigationmesh.gen.go
- navigationmeshinstance.gen.go
- navigationpolygon.gen.go
- navigationpolygoninstance.gen.go
- networkedmultiplayerenet.gen.go
- networkedmultiplayerpeer.gen.go
- ninepatchrect.gen.go
- node.gen.go
- node2d.gen.go
- object.gen.go
- occluderpolygon2d.gen.go
- omnilight.gen.go
- optionbutton.gen.go
- os.gen.go
- packeddatacontainer.gen.go
- packeddatacontainerref.gen.go
- packedscene.gen.go
- packetpeer.gen.go
- packetpeerstream.gen.go
- packetpeerudp.gen.go
- panel.gen.go
- panelcontainer.gen.go
- panoramasky.gen.go
- parallaxbackground.gen.go
- parallaxlayer.gen.go
- particles.gen.go
- particles2d.gen.go
- particlesmaterial.gen.go
- path.gen.go
- path2d.gen.go
- pathfollow.gen.go
- pathfollow2d.gen.go
- pckpacker.gen.go
- performance.gen.go
- phashtranslation.gen.go
- physics2ddirectbodystate.gen.go
- physics2ddirectbodystatesw.gen.go
- physics2ddirectspacestate.gen.go
- physics2dserver.gen.go
- physics2dserversw.gen.go
- physics2dshapequeryparameters.gen.go
- physics2dshapequeryresult.gen.go
- physics2dtestmotionresult.gen.go
- physicsbody.gen.go
- physicsbody2d.gen.go
- physicsdirectbodystate.gen.go
- physicsdirectspacestate.gen.go
- physicsserver.gen.go
- physicsshapequeryparameters.gen.go
- physicsshapequeryresult.gen.go
- pinjoint.gen.go
- pinjoint2d.gen.go
- planemesh.gen.go
- planeshape.gen.go
- pluginscript.gen.go
- polygon2d.gen.go
- polygonpathfinder.gen.go
- popup.gen.go
- popupdialog.gen.go
- popupmenu.gen.go
- popuppanel.gen.go
- position2d.gen.go
- position3d.gen.go
- primitivemesh.gen.go
- prismmesh.gen.go
- proceduralsky.gen.go
- progressbar.gen.go
- projectsettings.gen.go
- proximitygroup.gen.go
- proxytexture.gen.go
- quadmesh.gen.go
- ranges.gen.go
- raycast.gen.go
- raycast2d.gen.go
- rayshape.gen.go
- rayshape2d.gen.go
- rectangleshape2d.gen.go
- reference.gen.go
- referencerect.gen.go
- reflectionprobe.gen.go
- regex.gen.go
- regexmatch.gen.go
- registry.go
- remotetransform.gen.go
- remotetransform2d.gen.go
- resource.gen.go
- resourceimporter.gen.go
- resourceimporteroggvorbis.gen.go
- resourceimportertheora.gen.go
- resourceimporterwebm.gen.go
- resourceinteractiveloader.gen.go
- resourceloader.gen.go
- resourcepreloader.gen.go
- resourcesaver.gen.go
- richtextlabel.gen.go
- rigidbody.gen.go
- rigidbody2d.gen.go
- scenestate.gen.go
- scenetree.gen.go
- scenetreetimer.gen.go
- script.gen.go
- scripteditor.gen.go
- scrollbar.gen.go
- scrollcontainer.gen.go
- segmentshape2d.gen.go
- semaphore.gen.go
- separator.gen.go
- shader.gen.go
- shadermaterial.gen.go
- shape.gen.go
- shape2d.gen.go
- shortcut.gen.go
- signal.go
- skeleton.gen.go
- sky.gen.go
- slider.gen.go
- sliderjoint.gen.go
- spatial.gen.go
- spatialgizmo.gen.go
- spatialmaterial.gen.go
- spatialvelocitytracker.gen.go
- spheremesh.gen.go
- sphereshape.gen.go
- spinbox.gen.go
- splitcontainer.gen.go
- spotlight.gen.go
- sprite.gen.go
- sprite3d.gen.go
- spritebase3d.gen.go
- spriteframes.gen.go
- staticbody.gen.go
- staticbody2d.gen.go
- streampeer.gen.go
- streampeerbuffer.gen.go
- streampeerssl.gen.go
- streampeertcp.gen.go
- streamtexture.gen.go
- stylebox.gen.go
- styleboxempty.gen.go
- styleboxflat.gen.go
- styleboxline.gen.go
- styleboxtexture.gen.go
- surfacetool.gen.go
- tabcontainer.gen.go
- tabs.gen.go
- tcp_server.gen.go
- textedit.gen.go
- texture.gen.go
- texturebutton.gen.go
- textureprogress.gen.go
- texturerect.gen.go
- theme.gen.go
- thread.gen.go
- tilemap.gen.go
- tileset.gen.go
- timer.gen.go
- toolbutton.gen.go
- touchscreenbutton.gen.go
- translation.gen.go
- translationserver.gen.go
- tree.gen.go
- treeitem.gen.go
- trianglemesh.gen.go
- tween.gen.go
- undoredo.gen.go
- vboxcontainer.gen.go
- vehiclebody.gen.go
- vehiclewheel.gen.go
- videoplayer.gen.go
- videostream.gen.go
- videostreamtheora.gen.go
- videostreamwebm.gen.go
- viewport.gen.go
- viewportcontainer.gen.go
- viewporttexture.gen.go
- visibilityenabler.gen.go
- visibilityenabler2d.gen.go
- visibilitynotifier.gen.go
- visibilitynotifier2d.gen.go
- visualinstance.gen.go
- visualscript.gen.go
- visualscriptbasictypeconstant.gen.go
- visualscriptbuiltinfunc.gen.go
- visualscriptclassconstant.gen.go
- visualscriptcomment.gen.go
- visualscriptcondition.gen.go
- visualscriptconstant.gen.go
- visualscriptconstructor.gen.go
- visualscriptcustomnode.gen.go
- visualscriptdeconstruct.gen.go
- visualscripteditor.gen.go
- visualscriptemitsignal.gen.go
- visualscriptenginesingleton.gen.go
- visualscriptexpression.gen.go
- visualscriptfunction.gen.go
- visualscriptfunctioncall.gen.go
- visualscriptfunctionstate.gen.go
- visualscriptglobalconstant.gen.go
- visualscriptindexget.gen.go
- visualscriptindexset.gen.go
- visualscriptinputaction.gen.go
- visualscriptiterator.gen.go
- visualscriptlocalvar.gen.go
- visualscriptlocalvarset.gen.go
- visualscriptmathconstant.gen.go
- visualscriptnode.gen.go
- visualscriptoperator.gen.go
- visualscriptpreload.gen.go
- visualscriptpropertyget.gen.go
- visualscriptpropertyset.gen.go
- visualscriptresourcepath.gen.go
- visualscriptreturn.gen.go
- visualscriptscenenode.gen.go
- visualscriptscenetree.gen.go
- visualscriptselect.gen.go
- visualscriptself.gen.go
- visualscriptsequence.gen.go
- visualscriptsubcall.gen.go
- visualscriptswitch.gen.go
- visualscripttypecast.gen.go
- visualscriptvariableget.gen.go
- visualscriptvariableset.gen.go
- visualscriptwhile.gen.go
- visualscriptyield.gen.go
- visualscriptyieldsignal.gen.go
- visualserver.gen.go
- vscrollbar.gen.go
- vseparator.gen.go
- vslider.gen.go
- vsplitcontainer.gen.go
- weakref.gen.go
- windowdialog.gen.go
- world.gen.go
- world2d.gen.go
- worldenvironment.gen.go
- xmlparser.gen.go
- ysort.gen.go