/**
\page ScriptAPI Scripting API
\section ScriptAPI_GlobalFunctions Global functions
- bool Equals(float, float)
- float Sin(float)
- float Cos(float)
- float Tan(float)
- float Asin(float)
- float Acos(float)
- float Atan(float)
- float Atan2(float, float)
- float Abs(float)
- float Sqrt(float)
- float Pow(float)
- float Random()
- float Random(float)
- int RandomInt()
- int RandomInt(int)
- void SetRandomSeed(int)
- float Min(float, float)
- float Max(float, float)
- float Clamp(float, float, float)
- float Lerp(float, float, float)
- float Mod(float, float)
- float Floor(float)
- float Ceil(float)
- String ToStringHex(int)
- void ErrorDialog(const String&, const String&)
- void OpenConsoleWindow()
- String GetConsoleInput()
- void SendEvent(const String&, VariantMap&)
- void SendEvent(Object@, const String&, VariantMap&)
- void SubscribeToEvent(const String&, const String&)
- void SubscribeToEvent(Object@, const String&, const String&)
- void UnsubscribeFromEvent(const String&)
- void UnsubscribeFromEvent(Object@, const String&)
- void UnsubscribeFromEvents(Object@)
- void UnsubscribeFromAllEvents()
- Object@ GetEventSender()
- const String& GetTypeName(ShortStringHash)
- void Print(const String&)
- void Print(int)
- void Print(uint)
- void Print(float)
- void Print(bool)
- String GetPath(const String&)
- String GetFileName(const String&)
- String GetExtension(const String&)
- String GetFileNameAndExtension(const String&)
- String AddTrailingSlash(const String&)
- String RemoveTrailingSlash(const String&)
- String GetParentPath(const String&)
- String GetInternalPath(const String&)
- String[]@ GetAvailableComponents()
- void DelayedExecute(float, const String&, const Variant[]@)
- void DelayedExecute(float, const String&)
- void ClearDelayedExecute()
- void Remove()
\section ScriptAPI_GlobalProperties Global properties
- String[]@ arguments
- uint numCpuCores
- Time@ time
- Log@ log
- FileSystem@ fileSystem
- ResourceCache@ resourceCache
- ResourceCache@ cache
- Node@ node
- Scene@ scene
- DebugRenderer@ debugRenderer
- Octree@ octree
- Graphics@ graphics
- Renderer@ renderer
- Input@ input
- Audio@ audio
- UI@ ui
- Network@ network
- PhysicsWorld@ physicsWorld
- ScriptFile@ scriptFile
- ScriptInstance@ self
- Script@ script
- Console@ console
- DebugHud@ debugHud
- Engine@ engine
\section ScriptAPI_GlobalConstants Global constants
- float M_INFINITY
- float M_EPSILON
- int LOG_DEBUG
- int LOG_INFO
- int LOG_WARNING
- int LOG_ERROR
- int LOG_NONE
- uint SCAN_FILES
- uint SCAN_DIRS
- uint SCAN_HIDDEN
- uint AM_FILE
- uint AM_NET
- uint AM_DEFAULT
- uint AM_LATESTDATA
- uint AM_NOEDIT
- uint FIRST_REPLICATED_ID
- uint LAST_REPLICATED_ID
- uint FIRST_LOCAL_ID
- uint LAST_LOCAL_ID
- uint DRAWABLE_GEOMETRY
- uint DRAWABLE_LIGHT
- uint DRAWABLE_ZONE
- uint DRAWABLE_ANY
- uint DEFAULT_VIEWMASK
- uint DEFAULT_LIGHTMASK
- int QUALITY_LOW
- int QUALITY_MEDIUM
- int QUALITY_HIGH
- int MOUSEB_LEFT
- int MOUSEB_RIGHT
- int MOUSEB_MIDDLE
- int QUAL_SHIFT
- int QUAL_CTRL
- int QUAL_ALT
- int KEY_BACKSPACE
- int KEY_TAB
- int KEY_RETURN
- int KEY_PAUSE
- int KEY_CAPSLOCK
- int KEY_ESC
- int KEY_SPACE
- int KEY_PAGEUP
- int KEY_PAGEDOWN
- int KEY_END
- int KEY_HOME
- int KEY_LEFT
- int KEY_UP
- int KEY_RIGHT
- int KEY_DOWN
- int KEY_INSERT
- int KEY_DELETE
- int KEY_LWIN
- int KEY_RWIN
- int KEY_APPS
- int KEY_NUMPAD0
- int KEY_NUMPAD1
- int KEY_NUMPAD2
- int KEY_NUMPAD3
- int KEY_NUMPAD4
- int KEY_NUMPAD5
- int KEY_NUMPAD6
- int KEY_NUMPAD7
- int KEY_NUMPAD8
- int KEY_NUMPAD9
- int KEY_MULTIPLY
- int KEY_ADD
- int KEY_SUBTRACT
- int KEY_DECIMAL
- int KEY_DIVIDE
- int KEY_F1
- int KEY_F2
- int KEY_F3
- int KEY_F4
- int KEY_F5
- int KEY_F6
- int KEY_F7
- int KEY_F8
- int KEY_F9
- int KEY_F10
- int KEY_F11
- int KEY_F12
- int KEY_F13
- int KEY_F14
- int KEY_F15
- int KEY_F16
- int KEY_F17
- int KEY_F18
- int KEY_F19
- int KEY_F20
- int KEY_F21
- int KEY_F22
- int KEY_F23
- int KEY_F24
- int KEY_NUMLOCK
- int KEY_SCROLLLOCK
- int KEY_LSHIFT
- int KEY_RSHIFT
- int KEY_LCTRL
- int KEY_RCTRL
- int KEY_LALT
- int KEY_RALT
- uint DD_DISABLED
- uint DD_SOURCE
- uint DD_TARGET
- uint DD_SOURCE_AND_TARGET
- uint NET_LOW_PRIORITY
- uint NET_HIGH_PRIORITY
- uint DEBUGHUD_SHOW_NONE
- uint DEBUGHUD_SHOW_STATS
- uint DEBUGHUD_SHOW_MODE
- uint DEBUGHUD_SHOW_PROFILER
- uint DEBUGHUD_SHOW_ALL
\section ScriptAPI_Classes Classes
Array
Methods:
- void Insert(uint, const T&)
- void Erase(uint)
- void Push(const T&)
- void Pop()
- void Resize(uint)
- void Clear()
Properties:
- uint length (readonly)
- bool empty (readonly)
String
Methods:
- void Replace(uint8, uint8)
- void Replace(const String&, const String&)
- String Replaced(uint8, uint8) const
- String Replaced(const String&, const String&) const
- void Resize(uint)
- int Find(const String&, uint arg1 = 0) const
- int Find(uint8, uint arg1 = 0) const
- int FindLast(const String&, uint arg1 = 0xffffffff) const
- int FindLast(uint8, uint arg1 = 0xffffffff) const
- bool StartsWith(const String&) const
- bool EndsWith(const String&) const
- String Substring(uint) const
- String Substring(uint, uint) const
- String ToUpper() const
- String ToLower() const
- String Trimmed() const
- int Compare(const String&, bool arg1 = true) const
- String[]@ Split(uint8) const
- bool ToBool() const
- float ToFloat() const
- int ToInt() const
- uint ToUInt() const
- Color ToColor() const
- IntRect ToIntRect() const
- IntVector2 ToIntVector2() const
- Quaternion ToQuaternion() const
- Vector2 ToVector2() const
- Vector3 ToVector3() const
- Vector4 ToVector4(bool arg0 = false) const
Properties:
- uint length (readonly)
- bool empty (readonly)
IntRect
Properties:
- int left
- int top
- int right
- int bottom
IntVector2
Methods:
- String ToString() const
Properties:
- int x
- int y
Vector2
Methods:
- float Normalize()
- float DotProduct(const Vector2&) const
- float AbsDotProduct(const Vector2&) const
- Vector2 Lerp(const Vector2&, float) const
- Vector2 Normalized() const
- String ToString() const
Properties:
- float length (readonly)
- float lengthSquared (readonly)
- float x
- float y
Vector3
Methods:
- float Normalize()
- float DotProduct(const Vector3&) const
- float AbsDotProduct(const Vector3&) const
- Vector3 CrossProduct(const Vector3&) const
- Vector3 Lerp(const Vector3&, float) const
- Vector3 Normalized() const
- String ToString() const
Properties:
- float length (readonly)
- float lengthSquared (readonly)
- float x
- float y
- float z
Vector4
Methods:
- float DotProduct(const Vector4&) const
- float AbsDotProduct(const Vector4&) const
- Vector4 Lerp(const Vector4&, float) const
- String ToString() const
Properties:
- float x
- float y
- float z
- float w
Quaternion
Methods:
- void Normalize()
- Quaternion Normalized() const
- Quaternion Inverse() const
- float DotProduct(const Quaternion&) const
- Quaternion Nlerp(const Quaternion&, float) const
- Quaternion Slerp(const Quaternion&, float) const
- String ToString() const
Properties:
- Vector3 eulerAngles (readonly)
- float yaw (readonly)
- float pitch (readonly)
- float roll (readonly)
- float w
- float x
- float y
- float z
Rect
Methods:
- void Define(const Vector2&, const Vector2&)
- void Define(const Vector2&)
- void Merge(const Vector2&)
- void Merge(const Rect&)
Properties:
- Vector2 min
- Vector2 max
- float left
- float top
- float right
- float bottom
- bool defined
BoundingBox
Methods:
- void Define(const Vector3&, const Vector3&)
- void Define(float, float)
- void Define(const Frustum&)
- void Define(const Sphere&)
- void Merge(const Vector3&)
- void Merge(const BoundingBox&)
- void Merge(const Frustum&)
- void Merge(const Sphere&)
- void Intersect(const BoundingBox&)
- Intersection IsInside(const Vector3&) const
- Intersection IsInside(const Sphere&) const
- Intersection IsInside(const BoundingBox&) const
Properties:
- Vector3 center (readonly)
- Vector3 size (readonly)
- Vector3 halfSize (readonly)
- Vector3 min
- Vector3 max
- bool defined
Sphere
Methods:
- void Define(const Vector3&, float)
- void Define(const BoundingBox&)
- void Define(const Frustum&)
- void Merge(const Vector3&)
- void Merge(const BoundingBox&)
- void Merge(const Frustum&)
- void Merge(const Sphere&)
- Intersection IsInside(const Vector3&) const
- Intersection IsInside(const Sphere&) const
- Intersection IsInside(const BoundingBox&) const
Properties:
- Vector3 center
- float radius
- bool defined
Frustum
Methods:
- Intersection IsInside(const Vector3&)
- Intersection IsInside(const BoundingBox&)
- Intersection IsInside(const Sphere&)
Properties:
- Vector3[] vertices (readonly)
- bool defined
Ray
Methods:
- void Define(const Vector3&, const Vector3&)
- float HitDistance(const Sphere&) const
- float HitDistance(const BoundingBox&) const
- float HitDistance(const Vector3&, const Vector3&, const Vector3&) const
Properties:
- Vector3 origin
- Vector3 direction
Color
Methods:
- Color Lerp(const Color&, float) const
- String ToString() const
Properties:
- Vector3 rgb (readonly)
- float intensity (readonly)
- float r
- float g
- float b
- float a
StringHash
Methods:
- String ToString() const
Properties:
- uint value (readonly)
ShortStringHash
Methods:
- String ToString() const
Properties:
- uint16 value (readonly)
ResourceRef
Properties:
- ShortStringHash type
- StringHash id
ResourceRefList
Methods:
- void Resize(uint)
Properties:
- uint length (readonly)
- bool empty (readonly)
- StringHash[] ids
- ShortStringHash type
Variant
Methods:
- void Clear()
- int GetInt() const
- uint GetUInt() const
- StringHash GetStringHash() const
- ShortStringHash GetShortStringHash() const
- bool GetBool() const
- float GetFloat() const
- const Vector2& GetVector2() const
- const Vector3& GetVector3() const
- const Vector4& GetVector4() const
- const Quaternion& GetQuaternion() const
- const Color& GetColor() const
- const String& GetString() const
- const ResourceRef& GetResourceRef() const
- const ResourceRefList& GetResourceRefList() const
- Variant[]@ GetVariantVector() const
- const VariantMap& GetVariantMap() const
- void FromString(const String&, const String&)
- String ToString() const
- VectorBuffer GetBuffer() const
- Node@ GetNode() const
- Component@ GetComponent() const
- Scene@ GetScene() const
- UIElement@ GetUIElement() const
- Connection@ GetConnection() const
- CollisionShape@ GetCollisionShape() const
- RigidBody@ GetRigidBody() const
- PhysicsWorld@ GetPhysicsWorld() const
Properties:
- VariantType type (readonly)
- String& typeName (readonly)
VariantMap
Methods:
- bool Contains(const String&) const
- void Erase(const String&)
- bool Contains(ShortStringHash) const
- void Erase(ShortStringHash)
- void Clear()
Properties:
- uint length (readonly)
- ShortStringHash[]@ keys (readonly)
AttributeInfo
Properties:
- String[]@ enumNames (readonly)
- VariantType type
- String name
- Variant defaultValue
- uint mode
Object
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
Timer
Methods:
- uint GetMSec(bool)
- void Reset()
Time
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint frameNumber (readonly)
- float timeStep (readonly)
- uint timeStepMSec (readonly)
- uint totalMSec (readonly)
Log
Methods:
- void Write(const String&)
- void Debug(const String&)
- void Info(const String&)
- void Warning(const String&)
- void Error(const String&)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- int level
- String& lastMessage (readonly)
Serializer
Methods:
- bool WriteInt(int)
- bool WriteShort(int16)
- bool WriteByte(int8)
- bool WriteUInt(uint)
- bool WriteUShort(uint16)
- bool WriteUByte(uint8)
- bool WriteBool(bool)
- bool WriteFloat(float)
- bool WriteIntRect(const IntRect&)
- bool WriteIntVector2(const IntVector2&)
- bool WriteVector2(const Vector2&)
- bool WriteVector3(const Vector3&)
- bool WritePackedVector3(const Vector3&, float)
- bool WriteVector4(const Vector4&)
- bool WriteQuaternion(const Quaternion&)
- bool WritePackedQuaternion(const Quaternion&)
- bool WriteColor(const Color&)
- bool WriteBoundingBox(const BoundingBox&)
- bool WriteString(const String&)
- bool WriteFileID(const String&)
- bool WriteStringHash(const StringHash&)
- bool WriteShortStringHash(const ShortStringHash&)
- bool WriteVariant(const Variant&)
- bool WriteVariantMap(const VariantMap&)
- bool WriteVLE(uint)
- bool WriteNetID(uint)
- bool WriteLine(const String&)
Deserializer
Methods:
- int ReadInt()
- int16 ReadShort()
- int8 ReadByte()
- uint ReadUInt()
- uint16 ReadUShort()
- uint8 ReadUByte()
- bool ReadBool()
- float ReadFloat()
- IntRect ReadIntRect()
- IntVector2 ReadIntVector2()
- Vector2 ReadVector2()
- Vector3 ReadVector3()
- Vector3 ReadPackedVector3(float)
- Vector4 ReadVector4()
- Quaternion ReadQuaternion()
- Quaternion ReadPackedQuaternion()
- Color ReadColor()
- BoundingBox ReadBoundingBox()
- String ReadString()
- String ReadFileID()
- StringHash ReadStringHash()
- ShortStringHash ReadShortStringHash()
- Variant ReadVariant()
- VariantMap ReadVariantMap()
- uint ReadVLE()
- uint ReadNetID()
- String ReadLine()
- uint Seek(uint)
Properties:
- String& name (readonly)
- uint checksum (readonly)
- uint position (readonly)
- uint size (readonly)
- bool eof (readonly)
File
Methods:
- bool Open(const String&, FileMode arg1 = FILE_READ)
- void Close()
- bool WriteInt(int)
- bool WriteShort(int16)
- bool WriteByte(int8)
- bool WriteUInt(uint)
- bool WriteUShort(uint16)
- bool WriteUByte(uint8)
- bool WriteBool(bool)
- bool WriteFloat(float)
- bool WriteIntRect(const IntRect&)
- bool WriteIntVector2(const IntVector2&)
- bool WriteVector2(const Vector2&)
- bool WriteVector3(const Vector3&)
- bool WritePackedVector3(const Vector3&, float)
- bool WriteVector4(const Vector4&)
- bool WriteQuaternion(const Quaternion&)
- bool WritePackedQuaternion(const Quaternion&)
- bool WriteColor(const Color&)
- bool WriteBoundingBox(const BoundingBox&)
- bool WriteString(const String&)
- bool WriteFileID(const String&)
- bool WriteStringHash(const StringHash&)
- bool WriteShortStringHash(const ShortStringHash&)
- bool WriteVariant(const Variant&)
- bool WriteVariantMap(const VariantMap&)
- bool WriteVLE(uint)
- bool WriteNetID(uint)
- bool WriteLine(const String&)
- int ReadInt()
- int16 ReadShort()
- int8 ReadByte()
- uint ReadUInt()
- uint16 ReadUShort()
- uint8 ReadUByte()
- bool ReadBool()
- float ReadFloat()
- IntRect ReadIntRect()
- IntVector2 ReadIntVector2()
- Vector2 ReadVector2()
- Vector3 ReadVector3()
- Vector3 ReadPackedVector3(float)
- Vector4 ReadVector4()
- Quaternion ReadQuaternion()
- Quaternion ReadPackedQuaternion()
- Color ReadColor()
- BoundingBox ReadBoundingBox()
- String ReadString()
- String ReadFileID()
- StringHash ReadStringHash()
- ShortStringHash ReadShortStringHash()
- Variant ReadVariant()
- VariantMap ReadVariantMap()
- uint ReadVLE()
- uint ReadNetID()
- String ReadLine()
- uint Seek(uint)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- FileMode mode (readonly)
- bool open (readonly)
- String& name (readonly)
- uint checksum (readonly)
- uint position (readonly)
- uint size (readonly)
- bool eof (readonly)
VectorBuffer
Methods:
- void SetData(Deserializer@, uint)
- void Clear()
- void Resize(uint)
- bool WriteInt(int)
- bool WriteShort(int16)
- bool WriteByte(int8)
- bool WriteUInt(uint)
- bool WriteUShort(uint16)
- bool WriteUByte(uint8)
- bool WriteBool(bool)
- bool WriteFloat(float)
- bool WriteIntRect(const IntRect&)
- bool WriteIntVector2(const IntVector2&)
- bool WriteVector2(const Vector2&)
- bool WriteVector3(const Vector3&)
- bool WritePackedVector3(const Vector3&, float)
- bool WriteVector4(const Vector4&)
- bool WriteQuaternion(const Quaternion&)
- bool WritePackedQuaternion(const Quaternion&)
- bool WriteColor(const Color&)
- bool WriteBoundingBox(const BoundingBox&)
- bool WriteString(const String&)
- bool WriteFileID(const String&)
- bool WriteStringHash(const StringHash&)
- bool WriteShortStringHash(const ShortStringHash&)
- bool WriteVariant(const Variant&)
- bool WriteVariantMap(const VariantMap&)
- bool WriteVLE(uint)
- bool WriteNetID(uint)
- bool WriteLine(const String&)
- int ReadInt()
- int16 ReadShort()
- int8 ReadByte()
- uint ReadUInt()
- uint16 ReadUShort()
- uint8 ReadUByte()
- bool ReadBool()
- float ReadFloat()
- IntRect ReadIntRect()
- IntVector2 ReadIntVector2()
- Vector2 ReadVector2()
- Vector3 ReadVector3()
- Vector3 ReadPackedVector3(float)
- Vector4 ReadVector4()
- Quaternion ReadQuaternion()
- Quaternion ReadPackedQuaternion()
- Color ReadColor()
- BoundingBox ReadBoundingBox()
- String ReadString()
- String ReadFileID()
- StringHash ReadStringHash()
- ShortStringHash ReadShortStringHash()
- Variant ReadVariant()
- VariantMap ReadVariantMap()
- uint ReadVLE()
- uint ReadNetID()
- String ReadLine()
- uint Seek(uint)
Properties:
- String& name (readonly)
- uint checksum (readonly)
- uint position (readonly)
- uint size (readonly)
- bool eof (readonly)
FileSystem
Methods:
- bool FileExists(const String&)
- bool DirExists(const String&)
- String[]@ ScanDir(const String&, const String&, uint, bool)
- bool CreateDir(const String&)
- int SystemCommand(const String&)
- int SystemRun(const String&, String[]@)
- bool SystemOpen(const String&, const String&)
- bool Copy(const String&, const String&)
- bool Rename(const String&, const String&)
- bool Delete(const String&)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String currentDir
- String programDir (readonly)
- String userDocumentsDir (readonly)
PackageFile
Methods:
- bool Open(const String&) const
- bool Exists(const String&) const
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name (readonly)
- uint numFiles (readonly)
- uint totalSize (readonly)
- uint checksum (readonly)
Resource
Methods:
- bool Load(File@)
- bool Save(File@)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- uint memoryUse (readonly)
- uint useTimer (readonly)
ResourceCache
Methods:
- bool AddResourceDir(const String&)
- void AddPackageFile(PackageFile@, bool arg1 = false)
- bool AddManualResource(Resource@)
- void RemoveResourceDir(const String&)
- void RemovePackageFile(PackageFile@, bool arg1 = true, bool arg2 = false)
- void RemovePackageFile(const String&, bool arg1 = true, bool arg2 = false)
- void ReleaseResource(const String&, const String&, bool arg2 = false)
- void ReleaseResources(const String&, bool arg1 = false)
- void ReleaseResources(const String&, const String&, bool arg2 = false)
- void ReleaseAllResources(bool arg0 = false)
- bool ReloadResource(Resource@)
- bool Exists(const String&) const
- File@ GetFile(const String&)
- String GetPreferredResourceDir(const String&)
- const String& GetResourceName(StringHash)
- Resource@ GetResource(const String&, const String&)
- Resource@ GetResource(ShortStringHash, StringHash)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint[] memoryBudget
- uint[] memoryUse (readonly)
- uint totalMemoryUse (readonly)
- String[]@ resourceDirs (readonly)
- PackageFile@[]@ packageFiles (readonly)
Image
Methods:
- bool Load(File@)
- bool Save(File@)
- void SaveBMP(const String&)
- void SaveTGA(const String&)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- uint memoryUse (readonly)
- uint useTimer (readonly)
- int width (readonly)
- int height (readonly)
- uint components (readonly)
- bool compressed (readonly)
XMLFile
Methods:
- bool Load(File@)
- bool Save(File@)
- XMLElement CreateRoot(const String&)
- XMLElement GetRoot(const String& arg0 = String ( ))
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- uint memoryUse (readonly)
- uint useTimer (readonly)
- XMLElement root (readonly)
XMLElement
Methods:
- XMLElement CreateChild(const String&)
- bool RemoveChild(const String& arg0 = String ( ), bool arg1 = true)
- bool RemoveChildren(const String& arg0 = String ( ))
- bool SetAttribute(const String&, const String&)
- bool SetBool(const String&, bool)
- bool SetBoundingBox(const BoundingBox&)
- bool SetColor(const String&, const Color&)
- bool SetFloat(const String&, float)
- bool SetInt(const String&, int)
- bool SetQuaternion(const String&, const Quaternion&)
- bool SetString(const String&, const String&)
- bool SetVariant(const Variant&)
- bool SetResourceRef(const String&, const ResourceRef&)
- bool SetResourceRefList(const String&, const ResourceRefList&)
- bool SetVariantVector(Variant[]@)
- bool SetVariantMap(const VariantMap&)
- bool SetVector2(const String&, const Vector2&)
- bool SetVector3(const String&, const Vector3&)
- bool SetVector4(const String&, const Vector3&)
- uint GetNumAttributes() const
- bool HasAttribute(const String&) const
- String GetAttribute(const String&) const
- String[]@ GetAttributeNames() const
- bool HasChild(const String&) const
- XMLElement GetChild(const String& arg0 = String ( )) const
- XMLElement GetNext(const String& arg0 = String ( )) const
- bool GetBool(const String&) const
- BoundingBox GetBoundingBox() const
- Color GetColor(const String&) const
- float GetFloat(const String&) const
- int GetInt(const String&) const
- Quaternion GetQuaternion(const String&) const
- String GetString(const String&) const
- String GetStringLower(const String&) const
- String GetStringUpper(const String&) const
- Variant GetVariant() const
- ResourceRef GetResourceRef() const
- ResourceRefList GetResourceRefList() const
- Variant[]@ GetVariantVector() const
- VariantMap GetVariantMap() const
- Vector2 GetVector2(const String&) const
- Vector3 GetVector3(const String&) const
- Vector4 GetVector4(const String&) const
Properties:
- String name (readonly)
- String text (readonly)
- bool isNull (readonly)
- bool notNull (readonly)
- XMLElement parent (readonly)
- XMLFile@ file (readonly)
Serializable
Methods:
- bool Load(File@)
- bool Save(File@)
- bool LoadXML(const XMLElement&)
- bool SaveXML(XMLElement&)
- void FinishUpdate()
- bool SetAttribute(const String&, const Variant&)
- Variant GetAttribute(const String&)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint numAttributes (readonly)
- Variant[] attributes
- AttributeInfo&[] attributeInfos (readonly)
Component
Methods:
- bool Load(File@)
- bool Save(File@)
- bool LoadXML(const XMLElement&)
- bool SaveXML(XMLElement&)
- void FinishUpdate()
- bool SetAttribute(const String&, const Variant&)
- Variant GetAttribute(const String&)
- void Remove()
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint numAttributes (readonly)
- Variant[] attributes
- AttributeInfo&[] attributeInfos (readonly)
- uint id (readonly)
- Node@ node (readonly)
Node
Methods:
- bool Load(File@)
- bool Save(File@)
- bool LoadXML(const XMLElement&)
- bool SaveXML(XMLElement&)
- void FinishUpdate()
- bool SetAttribute(const String&, const Variant&)
- Variant GetAttribute(const String&)
- void SetScale(float)
- void SetTransform(const Vector3&, const Quaternion&)
- void SetTransform(const Vector3&, const Quaternion&, float)
- void SetTransform(const Vector3&, const Quaternion&, const Vector3&)
- void SnapPosition(const Vector3&)
- void SnapRotation(const Quaternion&)
- void Translate(const Vector3&)
- void TranslateRelative(const Vector3&)
- void Rotate(const Quaternion&, bool arg1 = false)
- void Pitch(float, bool arg1 = false)
- void Yaw(float, bool arg1 = false)
- void Roll(float, bool arg1 = false)
- void Scale(float)
- void Scale(const Vector3&)
- Node@ CreateChild(const String& arg0 = "", CreateMode arg1 = REPLICATED)
- void AddChild(Node@)
- void RemoveChild(Node@)
- void RemoveAllChildren()
- void Remove()
- Component@ CreateComponent(const String&, CreateMode arg1 = REPLICATED)
- Component@ GetOrCreateComponent(const String&, CreateMode arg1 = REPLICATED)
- void RemoveComponent(Component@)
- Node@[]@ GetChildren(bool arg0 = false) const
- Node@[]@ GetChildrenWithComponent(const String&, bool arg1 = false) const
- Node@[]@ GetChildrenWithScript(bool arg0 = false) const
- Node@[]@ GetChildrenWithScript(const String&, bool arg1 = false) const
- Node@ GetChild(const String&, bool arg1 = false) const
- Component@[]@ GetComponents(const String&) const
- Component@ GetComponent(const String&) const
- bool HasComponent(const String&) const
- ScriptObject@ CreateScriptObject(ScriptFile@, const String&, CreateMode arg2 = REPLICATED)
- ScriptObject@ CreateScriptObject(const String&, const String&, CreateMode arg2 = REPLICATED)
- ScriptObject@ GetScriptObject() const
- ScriptObject@ GetScriptObject(const String&) const
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint numAttributes (readonly)
- Variant[] attributes
- AttributeInfo&[] attributeInfos (readonly)
- Vector3& position
- Quaternion& rotation
- Vector3 direction
- Vector3& scale
- Vector3 worldPosition (readonly)
- Quaternion worldRotation (readonly)
- Vector3 worldDirection (readonly)
- Vector3 worldScale (readonly)
- Vector3& targetPosition (readonly)
- Quaternion& targetRotation (readonly)
- Vector3 worldTargetPosition (readonly)
- Quaternion worldTargetRotation (readonly)
- bool smoothed
- uint id (readonly)
- uint numChildren (readonly)
- uint numAllChildren (readonly)
- Node@[] children (readonly)
- uint numComponents (readonly)
- Component@[] components (readonly)
- String& name
- Node@ parent
- Scene@ scene (readonly)
- Connection@ owner
- ScriptObject@ scriptObject (readonly)
- VariantMap vars
Scene
Methods:
- bool Load(File@)
- bool Save(File@)
- bool LoadXML(const XMLElement&)
- bool SaveXML(XMLElement&)
- void FinishUpdate()
- bool SetAttribute(const String&, const Variant&)
- Variant GetAttribute(const String&)
- void SetScale(float)
- void SetTransform(const Vector3&, const Quaternion&)
- void SetTransform(const Vector3&, const Quaternion&, float)
- void SetTransform(const Vector3&, const Quaternion&, const Vector3&)
- void SnapPosition(const Vector3&)
- void SnapRotation(const Quaternion&)
- void Translate(const Vector3&)
- void TranslateRelative(const Vector3&)
- void Rotate(const Quaternion&, bool arg1 = false)
- void Pitch(float, bool arg1 = false)
- void Yaw(float, bool arg1 = false)
- void Roll(float, bool arg1 = false)
- void Scale(float)
- void Scale(const Vector3&)
- Node@ CreateChild(const String& arg0 = "", CreateMode arg1 = REPLICATED)
- void AddChild(Node@)
- void RemoveChild(Node@)
- void RemoveAllChildren()
- void Remove()
- Component@ CreateComponent(const String&, CreateMode arg1 = REPLICATED)
- Component@ GetOrCreateComponent(const String&, CreateMode arg1 = REPLICATED)
- void RemoveComponent(Component@)
- Node@[]@ GetChildren(bool arg0 = false) const
- Node@[]@ GetChildrenWithComponent(const String&, bool arg1 = false) const
- Node@[]@ GetChildrenWithScript(bool arg0 = false) const
- Node@[]@ GetChildrenWithScript(const String&, bool arg1 = false) const
- Node@ GetChild(const String&, bool arg1 = false) const
- Component@[]@ GetComponents(const String&) const
- Component@ GetComponent(const String&) const
- bool HasComponent(const String&) const
- bool LoadXML(File@)
- bool SaveXML(File@)
- bool LoadAsync(File@)
- bool LoadAsyncXML(File@)
- void StopAsyncLoading()
- void Clear()
- void AddRequiredPackageFile(PackageFile@)
- void ClearRequiredPackageFiles()
- void RegisterVar(const String&)
- void UnregisterVar(const String&)
- void UnregisterAllVars(const String&)
- Component@ GetComponent(uint)
- Node@ GetNode(uint)
- const String& GetVarName(ShortStringHash) const
- void Update(float)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint numAttributes (readonly)
- Variant[] attributes
- AttributeInfo&[] attributeInfos (readonly)
- Vector3& position
- Quaternion& rotation
- Vector3 direction
- Vector3& scale
- Vector3 worldPosition (readonly)
- Quaternion worldRotation (readonly)
- Vector3 worldDirection (readonly)
- Vector3 worldScale (readonly)
- Vector3& targetPosition (readonly)
- Quaternion& targetRotation (readonly)
- Vector3 worldTargetPosition (readonly)
- Quaternion worldTargetRotation (readonly)
- bool smoothed
- uint id (readonly)
- uint numChildren (readonly)
- uint numAllChildren (readonly)
- Node@[] children (readonly)
- uint numComponents (readonly)
- Component@[] components (readonly)
- String& name
- Node@ parent
- bool active
- float smoothingConstant
- float snapThreshold
- bool asyncLoading (readonly)
- float asyncProgress (readonly)
- uint checksum (readonly)
- String& fileName (readonly)
- PackageFile@[]@ requiredPackageFiles (readonly)
- DebugRenderer@ debugRenderer (readonly)
- Octree@ octree (readonly)
- PhysicsWorld@ physicsWorld (readonly)
- VariantMap vars
Camera
Methods:
- bool Load(File@)
- bool Save(File@)
- bool LoadXML(const XMLElement&)
- bool SaveXML(XMLElement&)
- void FinishUpdate()
- bool SetAttribute(const String&, const Variant&)
- Variant GetAttribute(const String&)
- void Remove()
- void SetOrthoSize(const Vector2&)
- Frustum GetSplitFrustum(float, float)
- Ray GetScreenRay(float, float)
- float GetDistance(const Vector3&)
- float GetDistanceSquared(const Vector3&)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint numAttributes (readonly)
- Variant[] attributes
- AttributeInfo&[] attributeInfos (readonly)
- uint id (readonly)
- Node@ node (readonly)
- float nearClip
- float farClip
- float fov
- float orthoSize
- float aspectRatio
- float zoom
- float lodBias
- bool orthographic
- bool autoAspectRatio
- uint viewMask
- Frustum frustum (readonly)
- Frustum viewSpaceFrustum (readonly)
- float halfViewSize (readonly)
- Vector3 forwardVector (readonly)
- Vector3 rightVector (readonly)
- Vector3 upVector (readonly)
Bone
Properties:
- Node@ node (readonly)
- String name
- Vector3 initialPosition
- Quaternion initialRotation
- Vector3 initialScale
- bool animated
- float radius
- BoundingBox boundingBox
Skeleton
Methods:
- void Reset()
- Bone@ GetBone(const String&) const
Properties:
- Bone@ rootBone (readonly)
- uint numBones (readonly)
- Bone@[] bones (readonly)
Texture
Methods:
- bool Load(File@)
- bool Save(File@)
- void SetNumLevels(uint)
- void ClearDataLost()
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- uint memoryUse (readonly)
- uint useTimer (readonly)
- TextureUsage usage (readonly)
- uint format (readonly)
- uint levels (readonly)
- int width (readonly)
- int height (readonly)
- int[] levelWidth (readonly)
- int[] levelHeight (readonly)
- TextureFilterMode filterMode
- TextureAddressMode[] addressMode
- Color& borderColor
- Texture@ backupTexture
- bool dataLost (readonly)
Viewport
Properties:
- Scene@ scene
- Camera@ camera
- IntRect rect
RenderSurface
Properties:
- Texture@ parentTexture (readonly)
- int width (readonly)
- int height (readonly)
- TextureUsage usage (readonly)
- Viewport& viewport
- RenderSurface@ linkedRenderTarget
- RenderSurface@ linkedDepthBuffer
Texture2D
Methods:
- bool Load(File@)
- bool Save(File@)
- void SetNumLevels(uint)
- void ClearDataLost()
- void SetSize(int, int, uint, TextureUsage arg3 = TEXTURE_STATIC)
- bool Load(Image@, bool arg1 = false)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- uint memoryUse (readonly)
- uint useTimer (readonly)
- TextureUsage usage (readonly)
- uint format (readonly)
- uint levels (readonly)
- int width (readonly)
- int height (readonly)
- int[] levelWidth (readonly)
- int[] levelHeight (readonly)
- TextureFilterMode filterMode
- TextureAddressMode[] addressMode
- Color& borderColor
- Texture@ backupTexture
- bool dataLost (readonly)
- RenderSurface@ renderSurface (readonly)
TextureCube
Methods:
- bool Load(File@)
- bool Save(File@)
- void SetNumLevels(uint)
- void ClearDataLost()
- void SetSize(int, uint, TextureUsage arg2 = TEXTURE_STATIC)
- bool Load(CubeMapFace, Image@, bool arg2 = false)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- uint memoryUse (readonly)
- uint useTimer (readonly)
- TextureUsage usage (readonly)
- uint format (readonly)
- uint levels (readonly)
- int width (readonly)
- int height (readonly)
- int[] levelWidth (readonly)
- int[] levelHeight (readonly)
- TextureFilterMode filterMode
- TextureAddressMode[] addressMode
- Color& borderColor
- Texture@ backupTexture
- bool dataLost (readonly)
- RenderSurface@[] renderSurface (readonly)
Pass
Properties:
- bool alphaMask
- bool alphaTest
- BlendMode blendMode
- CompareMode depthTestMode
- bool depthWrite
- String& vertexShader
- String& pixelShader
Technique
Methods:
- bool Load(File@)
- bool Save(File@)
- Pass@ CreatePass(PassType)
- void RemovePass(PassType)
- bool HasPass(PassType) const
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- uint memoryUse (readonly)
- uint useTimer (readonly)
- bool sm3
- Pass@[] pass (readonly)
Material
Methods:
- bool Load(File@)
- bool Save(File@)
- void SetUVTransform(const Vector2&, float, const Vector2&)
- void SetUVTransform(const Vector2&, float, float)
- void RemoveShaderParameter(const String&)
- Material@ Clone(const String&) const
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- uint memoryUse (readonly)
- uint useTimer (readonly)
- uint numTechniques
- Technique@[] technique (readonly)
- Vector4[] shaderParameter
- Texture@[] textures
- bool occlusion (readonly)
- CullMode cullMode
- CullMode shadowCullMode
Model
Methods:
- bool Load(File@)
- bool Save(File@)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- uint memoryUse (readonly)
- uint useTimer (readonly)
- BoundingBox& boundingBox (readonly)
- Skeleton@ skeleton (readonly)
- uint numGeometries (readonly)
- uint[] numGeometryLodLevels (readonly)
- uint numMorphs (readonly)
Animation
Methods:
- bool Load(File@)
- bool Save(File@)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- uint memoryUse (readonly)
- uint useTimer (readonly)
- String& animationName (readonly)
- float length (readonly)
- uint numTracks (readonly)
DebugRenderer
Methods:
- bool Load(File@)
- bool Save(File@)
- bool LoadXML(const XMLElement&)
- bool SaveXML(XMLElement&)
- void FinishUpdate()
- bool SetAttribute(const String&, const Variant&)
- Variant GetAttribute(const String&)
- void Remove()
- void AddLine(const Vector3&, const Vector3&, const Color&, bool arg3 = true)
- void AddBoundingBox(const BoundingBox&, const Color&, bool arg2 = true)
- void AddFrustum(const Frustum&, const Color&, bool arg2 = true)
- void AddSkeleton(Skeleton@, const Color&, bool arg2 = true)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint numAttributes (readonly)
- Variant[] attributes
- AttributeInfo&[] attributeInfos (readonly)
- uint id (readonly)
- Node@ node (readonly)
Drawable
Methods:
- bool Load(File@)
- bool Save(File@)
- bool LoadXML(const XMLElement&)
- bool SaveXML(XMLElement&)
- void FinishUpdate()
- bool SetAttribute(const String&, const Variant&)
- Variant GetAttribute(const String&)
- void Remove()
- void DrawDebugGeometry(DebugRenderer@, bool)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint numAttributes (readonly)
- Variant[] attributes
- AttributeInfo&[] attributeInfos (readonly)
- uint id (readonly)
- Node@ node (readonly)
- bool inView (readonly)
- bool castShadows
- bool occluder
- bool visible
- float drawDistance
- float shadowDistance
- float lodBias
- uint viewMask
- uint lightMask
- BoundingBox& worldBoundingBox (readonly)
BiasParameters
Properties:
- float constantBias
- float slopeScaledBias
CascadeParameters
Properties:
- uint splits
- float lambda
- float splitFadeRange
- float shadowRange
FocusParameters
Properties:
- bool focus
- bool nonUniform
- bool zoomOut
- float quantize
- float minView
Light
Methods:
- bool Load(File@)
- bool Save(File@)
- bool LoadXML(const XMLElement&)
- bool SaveXML(XMLElement&)
- void FinishUpdate()
- bool SetAttribute(const String&, const Variant&)
- Variant GetAttribute(const String&)
- void Remove()
- void DrawDebugGeometry(DebugRenderer@, bool)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint numAttributes (readonly)
- Variant[] attributes
- AttributeInfo&[] attributeInfos (readonly)
- uint id (readonly)
- Node@ node (readonly)
- bool inView (readonly)
- bool castShadows
- bool occluder
- bool visible
- float drawDistance
- float shadowDistance
- float lodBias
- uint viewMask
- uint lightMask
- BoundingBox& worldBoundingBox (readonly)
- LightType lightType
- Color& color
- float specularIntensity
- float range
- float fov
- float aspectRatio
- float fadeDistance
- BiasParameters& shadowBias
- CascadeParameters& shadowCascade
- FocusParameters& shadowFocus
- float shadowFadeDistance
- float shadowIntensity
- float shadowResolution
- float shadowNearFarRatio
- Texture@ rampTexture
- Texture@ shapeTexture
- Frustum frustum (readonly)
Zone
Methods:
- bool Load(File@)
- bool Save(File@)
- bool LoadXML(const XMLElement&)
- bool SaveXML(XMLElement&)
- void FinishUpdate()
- bool SetAttribute(const String&, const Variant&)
- Variant GetAttribute(const String&)
- void Remove()
- void DrawDebugGeometry(DebugRenderer@, bool)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint numAttributes (readonly)
- Variant[] attributes
- AttributeInfo&[] attributeInfos (readonly)
- uint id (readonly)
- Node@ node (readonly)
- bool inView (readonly)
- bool castShadows
- bool occluder
- bool visible
- float drawDistance
- float shadowDistance
- float lodBias
- uint viewMask
- uint lightMask
- BoundingBox& worldBoundingBox (readonly)
- BoundingBox& boundingBox
- Color& ambientColor
- Color& fogColor
- float fogStart
- float fogEnd
- int priority
StaticModel
Methods:
- bool Load(File@)
- bool Save(File@)
- bool LoadXML(const XMLElement&)
- bool SaveXML(XMLElement&)
- void FinishUpdate()
- bool SetAttribute(const String&, const Variant&)
- Variant GetAttribute(const String&)
- void Remove()
- void DrawDebugGeometry(DebugRenderer@, bool)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint numAttributes (readonly)
- Variant[] attributes
- AttributeInfo&[] attributeInfos (readonly)
- uint id (readonly)
- Node@ node (readonly)
- bool inView (readonly)
- bool castShadows
- bool occluder
- bool visible
- float drawDistance
- float shadowDistance
- float lodBias
- uint viewMask
- uint lightMask
- BoundingBox& worldBoundingBox (readonly)
- Model@ model
- Material@[] materials
- BoundingBox& boundingBox (readonly)
- uint numGeometries (readonly)
- uint softwareLodLevel
Skybox
Methods:
- bool Load(File@)
- bool Save(File@)
- bool LoadXML(const XMLElement&)
- bool SaveXML(XMLElement&)
- void FinishUpdate()
- bool SetAttribute(const String&, const Variant&)
- Variant GetAttribute(const String&)
- void Remove()
- void DrawDebugGeometry(DebugRenderer@, bool)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint numAttributes (readonly)
- Variant[] attributes
- AttributeInfo&[] attributeInfos (readonly)
- uint id (readonly)
- Node@ node (readonly)
- bool inView (readonly)
- bool castShadows
- bool occluder
- bool visible
- float drawDistance
- float shadowDistance
- float lodBias
- uint viewMask
- uint lightMask
- BoundingBox& worldBoundingBox (readonly)
- Model@ model
- Material@[] materials
- BoundingBox& boundingBox (readonly)
- uint numGeometries (readonly)
- uint softwareLodLevel
AnimationState
Methods:
- void AddWeight(float)
- void AddTime(float)
Properties:
- Bone@ startBone
- bool looped
- float weight
- float time
- uint8 layer
- bool useNlerp
- Animation@ animation (readonly)
- bool enabled (readonly)
- float length (readonly)
AnimatedModel
Methods:
- bool Load(File@)
- bool Save(File@)
- bool LoadXML(const XMLElement&)
- bool SaveXML(XMLElement&)
- void FinishUpdate()
- bool SetAttribute(const String&, const Variant&)
- Variant GetAttribute(const String&)
- void Remove()
- void DrawDebugGeometry(DebugRenderer@, bool)
- AnimationState@ AddAnimationState(Animation@)
- void RemoveAnimationState(Animation@)
- void RemoveAnimationState(const String&)
- void RemoveAnimationState(AnimationState@)
- void RemoveAllAnimationStates()
- void SetMorphWeight(uint, float)
- void ResetMorphWeights()
- float GetMorphWeight(uint) const
- AnimationState@ GetAnimationState(Animation@) const
- AnimationState@ GetAnimationState(uint) const
- float getMorphWeight(const String&) const
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint numAttributes (readonly)
- Variant[] attributes
- AttributeInfo&[] attributeInfos (readonly)
- uint id (readonly)
- Node@ node (readonly)
- bool inView (readonly)
- bool castShadows
- bool occluder
- bool visible
- float drawDistance
- float shadowDistance
- float lodBias
- uint viewMask
- uint lightMask
- BoundingBox& worldBoundingBox (readonly)
- Model@ model
- Material@[] materials
- BoundingBox& boundingBox (readonly)
- uint numGeometries (readonly)
- uint softwareLodLevel
- float animationLodBias
- float invisibleLodFactor
- Skeleton@ skeleton (readonly)
- uint numAnimationStates (readonly)
- AnimationState@[] animationStates (readonly)
- uint numMorphs (readonly)
AnimationController
Methods:
- bool Load(File@)
- bool Save(File@)
- bool LoadXML(const XMLElement&)
- bool SaveXML(XMLElement&)
- void FinishUpdate()
- bool SetAttribute(const String&, const Variant&)
- Variant GetAttribute(const String&)
- void Remove()
- bool Play(const String&, uint8, bool, float arg3 = 0.0f)
- bool PlayExclusive(const String&, uint8, bool, float arg3 = 0.0f)
- void Stop(const String&, float arg1 = 0.0f)
- void StopLayer(uint8, float arg1 = 0.0f)
- void StopAll(float arg0 = 0.0f)
- bool Fade(const String&, float, float)
- bool FadeOthers(const String&, float, float)
- bool SetLayer(const String&, uint8)
- bool SetStartBone(const String&, const String&)
- bool SetTime(const String&, float)
- bool SetWeight(const String&, float)
- bool SetLooped(const String&, bool)
- bool SetSpeed(const String&, float)
- bool SetAutoFade(const String&, float)
- bool IsPlaying(const String&) const
- bool IsFadingIn(const String&) const
- bool IsFadingOut(const String&) const
- uint8 GetLayer(const String&) const
- const String& GetStartBone(const String&) const
- float GetTime(const String&) const
- float GetWeight(const String&) const
- bool GetLooped(const String&) const
- float GetLength(const String&) const
- float GetSpeed(const String&) const
- float GetAutoFade(const String&) const
- float GetFadeTarget(const String&) const
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint numAttributes (readonly)
- Variant[] attributes
- AttributeInfo&[] attributeInfos (readonly)
- uint id (readonly)
- Node@ node (readonly)
Billboard
Properties:
- Vector3 position
- Vector2 size
- Rect uv
- Color color
- float rotation
- bool enabled
BillboardSet
Methods:
- bool Load(File@)
- bool Save(File@)
- bool LoadXML(const XMLElement&)
- bool SaveXML(XMLElement&)
- void FinishUpdate()
- bool SetAttribute(const String&, const Variant&)
- Variant GetAttribute(const String&)
- void Remove()
- void DrawDebugGeometry(DebugRenderer@, bool)
- void Updated()
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint numAttributes (readonly)
- Variant[] attributes
- AttributeInfo&[] attributeInfos (readonly)
- uint id (readonly)
- Node@ node (readonly)
- bool inView (readonly)
- bool castShadows
- bool occluder
- bool visible
- float drawDistance
- float shadowDistance
- float lodBias
- uint viewMask
- uint lightMask
- BoundingBox& worldBoundingBox (readonly)
- Material@ material
- uint numBillboards
- bool relative
- bool sorted
- bool scaled
- float animationLodBias
- Billboard@[] billboards (readonly)
ParticleEmitter
Methods:
- bool Load(File@)
- bool Save(File@)
- bool LoadXML(const XMLElement&)
- bool SaveXML(XMLElement&)
- void FinishUpdate()
- bool SetAttribute(const String&, const Variant&)
- Variant GetAttribute(const String&)
- void Remove()
- void SetActive(bool, bool)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint numAttributes (readonly)
- Variant[] attributes
- AttributeInfo&[] attributeInfos (readonly)
- uint id (readonly)
- Node@ node (readonly)
- Material@ material
- bool relative
- bool sorted
- bool scaled
- float animationLodBias
- XMLFile@ parameters
- bool active (readonly)
- uint numParticles (readonly)
RayQueryResult
Properties:
- Drawable@ drawable (readonly)
- Node@ node (readonly)
- float distance
- uint subObject
Octree
Methods:
- bool Load(File@)
- bool Save(File@)
- bool LoadXML(const XMLElement&)
- bool SaveXML(XMLElement&)
- void FinishUpdate()
- bool SetAttribute(const String&, const Variant&)
- Variant GetAttribute(const String&)
- void Remove()
- void Resize(const BoundingBox&, uint)
- void DrawDebugGeometry(bool) const
- RayQueryResult[]@ Raycast(const Ray&, RayQueryLevel arg1 = RAY_TRIANGLE, float arg2 = M_INFINITY, uint8 arg3 = DRAWABLE_ANY, uint arg4 = DEFAULT_VIEWMASK)
- Node@[]@ GetDrawables(const Vector3&, uint8 arg1 = DRAWABLE_ANY, uint arg2 = DEFAULT_VIEWMASK)
- Node@[]@ GetDrawables(const BoundingBox&, uint8 arg1 = DRAWABLE_ANY, uint arg2 = DEFAULT_VIEWMASK)
- Node@[]@ GetDrawables(const Frustum&, uint8 arg1 = DRAWABLE_ANY, uint arg2 = DEFAULT_VIEWMASK)
- Node@[]@ GetDrawables(const Sphere&, uint8 arg1 = DRAWABLE_ANY, uint arg2 = DEFAULT_VIEWMASK)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint numAttributes (readonly)
- Variant[] attributes
- AttributeInfo&[] attributeInfos (readonly)
- uint id (readonly)
- Node@ node (readonly)
- BoundingBox& worldBoundingBox (readonly)
- uint numLevels (readonly)
Graphics
Methods:
- bool SetMode(RenderMode, int, int, bool, bool, int)
- bool SetMode(int, int)
- bool SetMode(RenderMode)
- bool ToggleFullscreen()
- void Close()
- bool TakeScreenShot(Image@)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- bool flushGPU
- String& windowTitle
- RenderMode renderMode (readonly)
- int width (readonly)
- int height (readonly)
- int multiSample (readonly)
- bool fullscreen (readonly)
- bool vsync (readonly)
- bool initialized (readonly)
- bool deviceLost (readonly)
- uint numPrimitives (readonly)
- uint numBatches (readonly)
- bool renderTargetSupport (readonly)
- bool deferredSupport (readonly)
- bool sm3Support (readonly)
- bool hardwareShadowSupport (readonly)
- bool hiresShadowSupport (readonly)
- IntVector2[]@ resolutions (readonly)
- int[]@ multiSampleLevels (readonly)
EdgeFilterParameters
Properties:
- float radius
- float threshold
- float strength
Renderer
Methods:
- void SetNumShadowMaps(uint, uint, uint)
- void DrawDebugGeometry(bool) const
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint numViewports
- Viewport&[] viewports
- bool specularLighting
- bool drawShadows
- int textureAnisotropy
- TextureFilterMode textureFilterMode
- int textureQuality
- int materialQuality
- int shadowMapSize
- bool shadowMapHiresDepth
- bool reuseShadowMaps
- bool dynamicInstancing
- EdgeFilterParameters& edgeFilter
- int maxOccluderTriangles
- int occlusionBufferSize
- float occluderSizeThreshold
- uint numPrimitives (readonly)
- uint numBatches (readonly)
- uint numViews (readonly)
- uint[] numGeometries (readonly)
- uint[] numLights (readonly)
- uint[] numShadowMaps (readonly)
- uint[] numOccluders (readonly)
- uint[] numShadowOccluders (readonly)
- uint numFullShadowMaps (readonly)
- uint numHalfShadowMaps (readonly)
- uint numQuarterShadowMaps (readonly)
Input
Methods:
- void SuppressNextChar()
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- bool toggleFullscreen
- bool[] keyDown (readonly)
- bool[] keyPress (readonly)
- bool[] mouseButtonDown (readonly)
- bool[] mouseButtonPress (readonly)
- bool[] qualifierDown (readonly)
- bool[] qualifierPress (readonly)
- int qualifiers (readonly)
- IntVector2& mouseMove (readonly)
- int mouseMoveX (readonly)
- int mouseMoveY (readonly)
- int mouseMoveWheel (readonly)
- bool active (readonly)
- bool minimized (readonly)
Sound
Methods:
- bool Load(File@)
- bool Save(File@)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- uint memoryUse (readonly)
- uint useTimer (readonly)
- float length (readonly)
- uint sampleSize (readonly)
- float frequency (readonly)
- bool looped
- bool sixteenBit (readonly)
- bool stereo (readonly)
- bool compressed (readonly)
SoundSource
Methods:
- bool Load(File@)
- bool Save(File@)
- bool LoadXML(const XMLElement&)
- bool SaveXML(XMLElement&)
- void FinishUpdate()
- bool SetAttribute(const String&, const Variant&)
- Variant GetAttribute(const String&)
- void Remove()
- void Play(Sound@)
- void Play(Sound@, float)
- void Play(Sound@, float, float)
- void Play(Sound@, float, float, float)
- void Stop()
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint numAttributes (readonly)
- Variant[] attributes
- AttributeInfo&[] attributeInfos (readonly)
- uint id (readonly)
- Node@ node (readonly)
- SoundType soundType
- float frequency
- float gain
- float panning
- Sound@ sound (readonly)
- float timePosition (readonly)
- float attenuation (readonly)
- bool autoRemove
- bool playing (readonly)
SoundSource3D
Methods:
- bool Load(File@)
- bool Save(File@)
- bool LoadXML(const XMLElement&)
- bool SaveXML(XMLElement&)
- void FinishUpdate()
- bool SetAttribute(const String&, const Variant&)
- Variant GetAttribute(const String&)
- void Remove()
- void Play(Sound@)
- void Play(Sound@, float)
- void Play(Sound@, float, float)
- void Play(Sound@, float, float, float)
- void Stop()
- void SetDistanceAttenuation(float, float, float)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint numAttributes (readonly)
- Variant[] attributes
- AttributeInfo&[] attributeInfos (readonly)
- uint id (readonly)
- Node@ node (readonly)
- SoundType soundType
- float frequency
- float gain
- float panning
- Sound@ sound (readonly)
- float timePosition (readonly)
- float attenuation (readonly)
- bool autoRemove
- bool playing (readonly)
- float nearDistance
- float farDistance
- float rolloffFactor
Audio
Methods:
- void SetMode(int, int, bool, bool arg3 = true)
- bool Play()
- void Stop()
- void SetListenerTransform(const Vector3&, const Quaternion&)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- float[] masterGain
- Vector3& listenerPosition
- Quaternion& listenerRotation
- uint sampleSize (readonly)
- int mixRate (readonly)
- bool stereo (readonly)
- bool interpolated (readonly)
- bool playing (readonly)
- bool initialized (readonly)
Font
Methods:
- bool Load(File@)
- bool Save(File@)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- uint memoryUse (readonly)
- uint useTimer (readonly)
UIElement
Methods:
- void SetStyle(const XMLElement&)
- void SetStyle(XMLFile@, const String&)
- void SetStyleAuto(XMLFile@)
- void SetPosition(int, int)
- void SetSize(int, int)
- void SetMinSize(int, int)
- void SetMaxSize(int, int)
- void SetFixedSize(int, int)
- void SetFixedWidth(int)
- void SetFixedHeight(int)
- void SetAlignment(HorizontalAlignment, VerticalAlignment)
- void SetLayout(LayoutMode, int arg1 = 0, const IntRect& arg2 = IntRect ( 0 , 0 , 0 , 0 ))
- void UpdateLayout()
- void DisableLayoutUpdate()
- void EnableLayoutUpdate()
- void BringToFront()
- void AddChild(UIElement@)
- void InsertChild(uint, UIElement@)
- void RemoveChild(UIElement@)
- void RemoveAllChildren()
- void Remove()
- UIElement@ GetChild(const String&, bool arg1 = false) const
- IntVector2 ScreenToElement(const IntVector2&)
- IntVector2 ElementToScreen(const IntVector2&)
- bool IsInside(IntVector2, bool)
- bool IsInsideCombined(IntVector2, bool)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- IntVector2& position
- IntVector2& size
- int width
- int height
- IntVector2& minSize
- int minWidth
- int minHeight
- IntVector2& maxSize
- int maxWidth
- int maxHeight
- HorizontalAlignment horizontalAlignment
- VerticalAlignment verticalAlignment
- IntRect& clipBorder
- Color&[] colors
- int priority
- float opacity
- bool bringToFront
- bool bringToBack
- bool clipChildren
- bool active
- bool focus
- bool selected
- bool visible
- bool hovering (readonly)
- bool colorGradient (readonly)
- FocusMode focusMode
- uint dragDropMode
- LayoutMode layoutMode
- int layoutSpacing
- IntRect& layoutBorder
- IntVector2& childOffset (readonly)
- uint[] numChildren (readonly)
- uint numAllChildren (readonly)
- UIElement@[] children (readonly)
- UIElement@ parent (readonly)
- UIElement@ root (readonly)
- IntVector2 screenPosition (readonly)
- float derivedOpacity (readonly)
- IntRect combinedScreenRect (readonly)
- VariantMap vars
BorderImage
Methods:
- void SetStyle(const XMLElement&)
- void SetStyle(XMLFile@, const String&)
- void SetStyleAuto(XMLFile@)
- void SetPosition(int, int)
- void SetSize(int, int)
- void SetMinSize(int, int)
- void SetMaxSize(int, int)
- void SetFixedSize(int, int)
- void SetFixedWidth(int)
- void SetFixedHeight(int)
- void SetAlignment(HorizontalAlignment, VerticalAlignment)
- void SetLayout(LayoutMode, int arg1 = 0, const IntRect& arg2 = IntRect ( 0 , 0 , 0 , 0 ))
- void UpdateLayout()
- void DisableLayoutUpdate()
- void EnableLayoutUpdate()
- void BringToFront()
- void AddChild(UIElement@)
- void InsertChild(uint, UIElement@)
- void RemoveChild(UIElement@)
- void RemoveAllChildren()
- void Remove()
- UIElement@ GetChild(const String&, bool arg1 = false) const
- IntVector2 ScreenToElement(const IntVector2&)
- IntVector2 ElementToScreen(const IntVector2&)
- bool IsInside(IntVector2, bool)
- bool IsInsideCombined(IntVector2, bool)
- void SetFullImageRect()
- void SetHoverOffset(int, int)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- IntVector2& position
- IntVector2& size
- int width
- int height
- IntVector2& minSize
- int minWidth
- int minHeight
- IntVector2& maxSize
- int maxWidth
- int maxHeight
- HorizontalAlignment horizontalAlignment
- VerticalAlignment verticalAlignment
- IntRect& clipBorder
- Color&[] colors
- int priority
- float opacity
- bool bringToFront
- bool bringToBack
- bool clipChildren
- bool active
- bool focus
- bool selected
- bool visible
- bool hovering (readonly)
- bool colorGradient (readonly)
- FocusMode focusMode
- uint dragDropMode
- LayoutMode layoutMode
- int layoutSpacing
- IntRect& layoutBorder
- IntVector2& childOffset (readonly)
- uint[] numChildren (readonly)
- uint numAllChildren (readonly)
- UIElement@[] children (readonly)
- UIElement@ parent (readonly)
- UIElement@ root (readonly)
- IntVector2 screenPosition (readonly)
- float derivedOpacity (readonly)
- IntRect combinedScreenRect (readonly)
- Texture@ texture
- IntRect& imageRect
- IntRect& border
- IntVector2& hoverOffset
- VariantMap vars
Button
Methods:
- void SetStyle(const XMLElement&)
- void SetStyle(XMLFile@, const String&)
- void SetStyleAuto(XMLFile@)
- void SetPosition(int, int)
- void SetSize(int, int)
- void SetMinSize(int, int)
- void SetMaxSize(int, int)
- void SetFixedSize(int, int)
- void SetFixedWidth(int)
- void SetFixedHeight(int)
- void SetAlignment(HorizontalAlignment, VerticalAlignment)
- void SetLayout(LayoutMode, int arg1 = 0, const IntRect& arg2 = IntRect ( 0 , 0 , 0 , 0 ))
- void UpdateLayout()
- void DisableLayoutUpdate()
- void EnableLayoutUpdate()
- void BringToFront()
- void AddChild(UIElement@)
- void InsertChild(uint, UIElement@)
- void RemoveChild(UIElement@)
- void RemoveAllChildren()
- void Remove()
- UIElement@ GetChild(const String&, bool arg1 = false) const
- IntVector2 ScreenToElement(const IntVector2&)
- IntVector2 ElementToScreen(const IntVector2&)
- bool IsInside(IntVector2, bool)
- bool IsInsideCombined(IntVector2, bool)
- void SetFullImageRect()
- void SetHoverOffset(int, int)
- void SetPressedOffset(int, int)
- void SetLabelOffset(int, int)
- void SetRepeat(float, float)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- IntVector2& position
- IntVector2& size
- int width
- int height
- IntVector2& minSize
- int minWidth
- int minHeight
- IntVector2& maxSize
- int maxWidth
- int maxHeight
- HorizontalAlignment horizontalAlignment
- VerticalAlignment verticalAlignment
- IntRect& clipBorder
- Color&[] colors
- int priority
- float opacity
- bool bringToFront
- bool bringToBack
- bool clipChildren
- bool active
- bool focus
- bool selected
- bool visible
- bool hovering (readonly)
- bool colorGradient (readonly)
- FocusMode focusMode
- uint dragDropMode
- LayoutMode layoutMode
- int layoutSpacing
- IntRect& layoutBorder
- IntVector2& childOffset (readonly)
- uint[] numChildren (readonly)
- uint numAllChildren (readonly)
- UIElement@[] children (readonly)
- UIElement@ parent (readonly)
- UIElement@ root (readonly)
- IntVector2 screenPosition (readonly)
- float derivedOpacity (readonly)
- IntRect combinedScreenRect (readonly)
- Texture@ texture
- IntRect& imageRect
- IntRect& border
- IntVector2& hoverOffset
- IntVector2& pressedOffset
- IntVector2& labelOffset
- float repeatDelay
- float repeatRate
- VariantMap vars
CheckBox
Methods:
- void SetStyle(const XMLElement&)
- void SetStyle(XMLFile@, const String&)
- void SetStyleAuto(XMLFile@)
- void SetPosition(int, int)
- void SetSize(int, int)
- void SetMinSize(int, int)
- void SetMaxSize(int, int)
- void SetFixedSize(int, int)
- void SetFixedWidth(int)
- void SetFixedHeight(int)
- void SetAlignment(HorizontalAlignment, VerticalAlignment)
- void SetLayout(LayoutMode, int arg1 = 0, const IntRect& arg2 = IntRect ( 0 , 0 , 0 , 0 ))
- void UpdateLayout()
- void DisableLayoutUpdate()
- void EnableLayoutUpdate()
- void BringToFront()
- void AddChild(UIElement@)
- void InsertChild(uint, UIElement@)
- void RemoveChild(UIElement@)
- void RemoveAllChildren()
- void Remove()
- UIElement@ GetChild(const String&, bool arg1 = false) const
- IntVector2 ScreenToElement(const IntVector2&)
- IntVector2 ElementToScreen(const IntVector2&)
- bool IsInside(IntVector2, bool)
- bool IsInsideCombined(IntVector2, bool)
- void SetFullImageRect()
- void SetHoverOffset(int, int)
- void SetCheckedOffset(int, int)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- IntVector2& position
- IntVector2& size
- int width
- int height
- IntVector2& minSize
- int minWidth
- int minHeight
- IntVector2& maxSize
- int maxWidth
- int maxHeight
- HorizontalAlignment horizontalAlignment
- VerticalAlignment verticalAlignment
- IntRect& clipBorder
- Color&[] colors
- int priority
- float opacity
- bool bringToFront
- bool bringToBack
- bool clipChildren
- bool active
- bool focus
- bool selected
- bool visible
- bool hovering (readonly)
- bool colorGradient (readonly)
- FocusMode focusMode
- uint dragDropMode
- LayoutMode layoutMode
- int layoutSpacing
- IntRect& layoutBorder
- IntVector2& childOffset (readonly)
- uint[] numChildren (readonly)
- uint numAllChildren (readonly)
- UIElement@[] children (readonly)
- UIElement@ parent (readonly)
- UIElement@ root (readonly)
- IntVector2 screenPosition (readonly)
- float derivedOpacity (readonly)
- IntRect combinedScreenRect (readonly)
- Texture@ texture
- IntRect& imageRect
- IntRect& border
- IntVector2& hoverOffset
- bool checked
- IntVector2& checkedOffset
- VariantMap vars
Cursor
Methods:
- void SetStyle(const XMLElement&)
- void SetStyle(XMLFile@, const String&)
- void SetStyleAuto(XMLFile@)
- void SetPosition(int, int)
- void SetSize(int, int)
- void SetMinSize(int, int)
- void SetMaxSize(int, int)
- void SetFixedSize(int, int)
- void SetFixedWidth(int)
- void SetFixedHeight(int)
- void SetAlignment(HorizontalAlignment, VerticalAlignment)
- void SetLayout(LayoutMode, int arg1 = 0, const IntRect& arg2 = IntRect ( 0 , 0 , 0 , 0 ))
- void UpdateLayout()
- void DisableLayoutUpdate()
- void EnableLayoutUpdate()
- void BringToFront()
- void AddChild(UIElement@)
- void InsertChild(uint, UIElement@)
- void RemoveChild(UIElement@)
- void RemoveAllChildren()
- void Remove()
- UIElement@ GetChild(const String&, bool arg1 = false) const
- IntVector2 ScreenToElement(const IntVector2&)
- IntVector2 ElementToScreen(const IntVector2&)
- bool IsInside(IntVector2, bool)
- bool IsInsideCombined(IntVector2, bool)
- void SetFullImageRect()
- void SetHoverOffset(int, int)
- void DefineShape(CursorShape, Texture@, const IntRect&, const IntVector2&)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- IntVector2& position
- IntVector2& size
- int width
- int height
- IntVector2& minSize
- int minWidth
- int minHeight
- IntVector2& maxSize
- int maxWidth
- int maxHeight
- HorizontalAlignment horizontalAlignment
- VerticalAlignment verticalAlignment
- IntRect& clipBorder
- Color&[] colors
- int priority
- float opacity
- bool bringToFront
- bool bringToBack
- bool clipChildren
- bool active
- bool focus
- bool selected
- bool visible
- bool hovering (readonly)
- bool colorGradient (readonly)
- FocusMode focusMode
- uint dragDropMode
- LayoutMode layoutMode
- int layoutSpacing
- IntRect& layoutBorder
- IntVector2& childOffset (readonly)
- uint[] numChildren (readonly)
- uint numAllChildren (readonly)
- UIElement@[] children (readonly)
- UIElement@ parent (readonly)
- UIElement@ root (readonly)
- IntVector2 screenPosition (readonly)
- float derivedOpacity (readonly)
- IntRect combinedScreenRect (readonly)
- Texture@ texture
- IntRect& imageRect
- IntRect& border
- IntVector2& hoverOffset
- CursorShape shape
- VariantMap vars
Slider
Methods:
- void SetStyle(const XMLElement&)
- void SetStyle(XMLFile@, const String&)
- void SetStyleAuto(XMLFile@)
- void SetPosition(int, int)
- void SetSize(int, int)
- void SetMinSize(int, int)
- void SetMaxSize(int, int)
- void SetFixedSize(int, int)
- void SetFixedWidth(int)
- void SetFixedHeight(int)
- void SetAlignment(HorizontalAlignment, VerticalAlignment)
- void SetLayout(LayoutMode, int arg1 = 0, const IntRect& arg2 = IntRect ( 0 , 0 , 0 , 0 ))
- void UpdateLayout()
- void DisableLayoutUpdate()
- void EnableLayoutUpdate()
- void BringToFront()
- void AddChild(UIElement@)
- void InsertChild(uint, UIElement@)
- void RemoveChild(UIElement@)
- void RemoveAllChildren()
- void Remove()
- UIElement@ GetChild(const String&, bool arg1 = false) const
- IntVector2 ScreenToElement(const IntVector2&)
- IntVector2 ElementToScreen(const IntVector2&)
- bool IsInside(IntVector2, bool)
- bool IsInsideCombined(IntVector2, bool)
- void SetFullImageRect()
- void SetHoverOffset(int, int)
- void ChangeValue(float)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- IntVector2& position
- IntVector2& size
- int width
- int height
- IntVector2& minSize
- int minWidth
- int minHeight
- IntVector2& maxSize
- int maxWidth
- int maxHeight
- HorizontalAlignment horizontalAlignment
- VerticalAlignment verticalAlignment
- IntRect& clipBorder
- Color&[] colors
- int priority
- float opacity
- bool bringToFront
- bool bringToBack
- bool clipChildren
- bool active
- bool focus
- bool selected
- bool visible
- bool hovering (readonly)
- bool colorGradient (readonly)
- FocusMode focusMode
- uint dragDropMode
- LayoutMode layoutMode
- int layoutSpacing
- IntRect& layoutBorder
- IntVector2& childOffset (readonly)
- uint[] numChildren (readonly)
- uint numAllChildren (readonly)
- UIElement@[] children (readonly)
- UIElement@ parent (readonly)
- UIElement@ root (readonly)
- IntVector2 screenPosition (readonly)
- float derivedOpacity (readonly)
- IntRect combinedScreenRect (readonly)
- Texture@ texture
- IntRect& imageRect
- IntRect& border
- IntVector2& hoverOffset
- Orientation orientation
- float range
- float value
- BorderImage@ knob (readonly)
- VariantMap vars
ScrollBar
Methods:
- void SetStyle(const XMLElement&)
- void SetStyle(XMLFile@, const String&)
- void SetStyleAuto(XMLFile@)
- void SetPosition(int, int)
- void SetSize(int, int)
- void SetMinSize(int, int)
- void SetMaxSize(int, int)
- void SetFixedSize(int, int)
- void SetFixedWidth(int)
- void SetFixedHeight(int)
- void SetAlignment(HorizontalAlignment, VerticalAlignment)
- void SetLayout(LayoutMode, int arg1 = 0, const IntRect& arg2 = IntRect ( 0 , 0 , 0 , 0 ))
- void UpdateLayout()
- void DisableLayoutUpdate()
- void EnableLayoutUpdate()
- void BringToFront()
- void AddChild(UIElement@)
- void InsertChild(uint, UIElement@)
- void RemoveChild(UIElement@)
- void RemoveAllChildren()
- void Remove()
- UIElement@ GetChild(const String&, bool arg1 = false) const
- IntVector2 ScreenToElement(const IntVector2&)
- IntVector2 ElementToScreen(const IntVector2&)
- bool IsInside(IntVector2, bool)
- bool IsInsideCombined(IntVector2, bool)
- void ChangeValue(float)
- void StepBack()
- void StepForward()
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- IntVector2& position
- IntVector2& size
- int width
- int height
- IntVector2& minSize
- int minWidth
- int minHeight
- IntVector2& maxSize
- int maxWidth
- int maxHeight
- HorizontalAlignment horizontalAlignment
- VerticalAlignment verticalAlignment
- IntRect& clipBorder
- Color&[] colors
- int priority
- float opacity
- bool bringToFront
- bool bringToBack
- bool clipChildren
- bool active
- bool focus
- bool selected
- bool visible
- bool hovering (readonly)
- bool colorGradient (readonly)
- FocusMode focusMode
- uint dragDropMode
- LayoutMode layoutMode
- int layoutSpacing
- IntRect& layoutBorder
- IntVector2& childOffset (readonly)
- uint[] numChildren (readonly)
- uint numAllChildren (readonly)
- UIElement@[] children (readonly)
- UIElement@ parent (readonly)
- UIElement@ root (readonly)
- IntVector2 screenPosition (readonly)
- float derivedOpacity (readonly)
- IntRect combinedScreenRect (readonly)
- Orientation orientation
- float range
- float value
- float scrollStep
- float stepFactor
- float effectiveScrollStep (readonly)
- Button@ backButton (readonly)
- Button@ forwardButton (readonly)
- Slider@ slider (readonly)
- VariantMap vars
ScrollView
Methods:
- void SetStyle(const XMLElement&)
- void SetStyle(XMLFile@, const String&)
- void SetStyleAuto(XMLFile@)
- void SetPosition(int, int)
- void SetSize(int, int)
- void SetMinSize(int, int)
- void SetMaxSize(int, int)
- void SetFixedSize(int, int)
- void SetFixedWidth(int)
- void SetFixedHeight(int)
- void SetAlignment(HorizontalAlignment, VerticalAlignment)
- void SetLayout(LayoutMode, int arg1 = 0, const IntRect& arg2 = IntRect ( 0 , 0 , 0 , 0 ))
- void UpdateLayout()
- void DisableLayoutUpdate()
- void EnableLayoutUpdate()
- void BringToFront()
- void AddChild(UIElement@)
- void InsertChild(uint, UIElement@)
- void RemoveChild(UIElement@)
- void RemoveAllChildren()
- void Remove()
- UIElement@ GetChild(const String&, bool arg1 = false) const
- IntVector2 ScreenToElement(const IntVector2&)
- IntVector2 ElementToScreen(const IntVector2&)
- bool IsInside(IntVector2, bool)
- bool IsInsideCombined(IntVector2, bool)
- void SetViewPosition(int, int)
- void SetScrollBarsVisible(bool, bool)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- IntVector2& position
- IntVector2& size
- int width
- int height
- IntVector2& minSize
- int minWidth
- int minHeight
- IntVector2& maxSize
- int maxWidth
- int maxHeight
- HorizontalAlignment horizontalAlignment
- VerticalAlignment verticalAlignment
- IntRect& clipBorder
- Color&[] colors
- int priority
- float opacity
- bool bringToFront
- bool bringToBack
- bool clipChildren
- bool active
- bool focus
- bool selected
- bool visible
- bool hovering (readonly)
- bool colorGradient (readonly)
- FocusMode focusMode
- uint dragDropMode
- LayoutMode layoutMode
- int layoutSpacing
- IntRect& layoutBorder
- IntVector2& childOffset (readonly)
- uint[] numChildren (readonly)
- uint numAllChildren (readonly)
- UIElement@[] children (readonly)
- UIElement@ parent (readonly)
- UIElement@ root (readonly)
- IntVector2 screenPosition (readonly)
- float derivedOpacity (readonly)
- IntRect combinedScreenRect (readonly)
- UIElement@ contentElement
- IntVector2& viewPosition
- float scrollStep
- float pageStep
- ScrollBar@ horizontalScrollBar (readonly)
- ScrollBar@ verticalScrollBar (readonly)
- BorderImage@ scrollPanel (readonly)
- VariantMap vars
ListView
Methods:
- void SetStyle(const XMLElement&)
- void SetStyle(XMLFile@, const String&)
- void SetStyleAuto(XMLFile@)
- void SetPosition(int, int)
- void SetSize(int, int)
- void SetMinSize(int, int)
- void SetMaxSize(int, int)
- void SetFixedSize(int, int)
- void SetFixedWidth(int)
- void SetFixedHeight(int)
- void SetAlignment(HorizontalAlignment, VerticalAlignment)
- void SetLayout(LayoutMode, int arg1 = 0, const IntRect& arg2 = IntRect ( 0 , 0 , 0 , 0 ))
- void UpdateLayout()
- void DisableLayoutUpdate()
- void EnableLayoutUpdate()
- void BringToFront()
- void AddChild(UIElement@)
- void InsertChild(uint, UIElement@)
- void RemoveChild(UIElement@)
- void RemoveAllChildren()
- void Remove()
- UIElement@ GetChild(const String&, bool arg1 = false) const
- IntVector2 ScreenToElement(const IntVector2&)
- IntVector2 ElementToScreen(const IntVector2&)
- bool IsInside(IntVector2, bool)
- bool IsInsideCombined(IntVector2, bool)
- void SetViewPosition(int, int)
- void SetScrollBarsVisible(bool, bool)
- void AddItem(UIElement@)
- void InsertItem(uint, UIElement@)
- void RemoveItem(UIElement@)
- void RemoveItem(uint)
- void RemoveAllItems()
- void AddSelection(uint)
- void RemoveSelection(uint)
- void ToggleSelection(uint)
- void ChangeSelection(int, bool)
- void ClearSelection()
- void SetChildItemsVisible(uint, bool)
- void SetChildItemsVisible(bool)
- void ToggleChildItemsVisible(uint)
- UIElement@[]@ GetItems() const
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- IntVector2& position
- IntVector2& size
- int width
- int height
- IntVector2& minSize
- int minWidth
- int minHeight
- IntVector2& maxSize
- int maxWidth
- int maxHeight
- HorizontalAlignment horizontalAlignment
- VerticalAlignment verticalAlignment
- IntRect& clipBorder
- Color&[] colors
- int priority
- float opacity
- bool bringToFront
- bool bringToBack
- bool clipChildren
- bool active
- bool focus
- bool selected
- bool visible
- bool hovering (readonly)
- bool colorGradient (readonly)
- FocusMode focusMode
- uint dragDropMode
- LayoutMode layoutMode
- int layoutSpacing
- IntRect& layoutBorder
- IntVector2& childOffset (readonly)
- uint[] numChildren (readonly)
- uint numAllChildren (readonly)
- UIElement@[] children (readonly)
- UIElement@ parent (readonly)
- UIElement@ root (readonly)
- IntVector2 screenPosition (readonly)
- float derivedOpacity (readonly)
- IntRect combinedScreenRect (readonly)
- IntVector2& viewPosition
- UIElement@ contentElement (readonly)
- ScrollBar@ horizontalScrollBar (readonly)
- ScrollBar@ verticalScrollBar (readonly)
- BorderImage@ scrollPanel (readonly)
- float scrollStep
- float pageStep
- uint numItems (readonly)
- UIElement@[] items (readonly)
- uint selection
- uint[]@ selections
- UIElement@ selectedItem (readonly)
- UIElement@[]@ selectedItems (readonly)
- HighlightMode highlightMode
- bool multiselect
- bool hierarchyMode
- bool clearSelectionOnDefocus
- float floatClickInterval
- VariantMap vars
Text
Methods:
- void SetStyle(const XMLElement&)
- void SetStyle(XMLFile@, const String&)
- void SetStyleAuto(XMLFile@)
- void SetPosition(int, int)
- void SetSize(int, int)
- void SetMinSize(int, int)
- void SetMaxSize(int, int)
- void SetFixedSize(int, int)
- void SetFixedWidth(int)
- void SetFixedHeight(int)
- void SetAlignment(HorizontalAlignment, VerticalAlignment)
- void SetLayout(LayoutMode, int arg1 = 0, const IntRect& arg2 = IntRect ( 0 , 0 , 0 , 0 ))
- void UpdateLayout()
- void DisableLayoutUpdate()
- void EnableLayoutUpdate()
- void BringToFront()
- void AddChild(UIElement@)
- void InsertChild(uint, UIElement@)
- void RemoveChild(UIElement@)
- void RemoveAllChildren()
- void Remove()
- UIElement@ GetChild(const String&, bool arg1 = false) const
- IntVector2 ScreenToElement(const IntVector2&)
- IntVector2 ElementToScreen(const IntVector2&)
- bool IsInside(IntVector2, bool)
- bool IsInsideCombined(IntVector2, bool)
- bool SetFont(const String&, int)
- bool SetFont(Font@, int)
- void SetSelection(uint, uint)
- void ClearSelection()
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- IntVector2& position
- IntVector2& size
- int width
- int height
- IntVector2& minSize
- int minWidth
- int minHeight
- IntVector2& maxSize
- int maxWidth
- int maxHeight
- HorizontalAlignment horizontalAlignment
- VerticalAlignment verticalAlignment
- IntRect& clipBorder
- Color&[] colors
- int priority
- float opacity
- bool bringToFront
- bool bringToBack
- bool clipChildren
- bool active
- bool focus
- bool selected
- bool visible
- bool hovering (readonly)
- bool colorGradient (readonly)
- FocusMode focusMode
- uint dragDropMode
- LayoutMode layoutMode
- int layoutSpacing
- IntRect& layoutBorder
- IntVector2& childOffset (readonly)
- uint[] numChildren (readonly)
- uint numAllChildren (readonly)
- UIElement@[] children (readonly)
- UIElement@ parent (readonly)
- UIElement@ root (readonly)
- IntVector2 screenPosition (readonly)
- float derivedOpacity (readonly)
- IntRect combinedScreenRect (readonly)
- Font@ font (readonly)
- int fontSize (readonly)
- String& text
- HorizontalAlignment textAlignment
- float rowSpacing
- bool wordwrap
- uint selectionStart (readonly)
- uint selectionLength (readonly)
- Color& selectionColor
- Color& hoverColor
- uint numRows (readonly)
- int rowHeight (readonly)
- VariantMap vars
LineEdit
Methods:
- void SetStyle(const XMLElement&)
- void SetStyle(XMLFile@, const String&)
- void SetStyleAuto(XMLFile@)
- void SetPosition(int, int)
- void SetSize(int, int)
- void SetMinSize(int, int)
- void SetMaxSize(int, int)
- void SetFixedSize(int, int)
- void SetFixedWidth(int)
- void SetFixedHeight(int)
- void SetAlignment(HorizontalAlignment, VerticalAlignment)
- void SetLayout(LayoutMode, int arg1 = 0, const IntRect& arg2 = IntRect ( 0 , 0 , 0 , 0 ))
- void UpdateLayout()
- void DisableLayoutUpdate()
- void EnableLayoutUpdate()
- void BringToFront()
- void AddChild(UIElement@)
- void InsertChild(uint, UIElement@)
- void RemoveChild(UIElement@)
- void RemoveAllChildren()
- void Remove()
- UIElement@ GetChild(const String&, bool arg1 = false) const
- IntVector2 ScreenToElement(const IntVector2&)
- IntVector2 ElementToScreen(const IntVector2&)
- bool IsInside(IntVector2, bool)
- bool IsInsideCombined(IntVector2, bool)
- void SetFullImageRect()
- void SetHoverOffset(int, int)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- IntVector2& position
- IntVector2& size
- int width
- int height
- IntVector2& minSize
- int minWidth
- int minHeight
- IntVector2& maxSize
- int maxWidth
- int maxHeight
- HorizontalAlignment horizontalAlignment
- VerticalAlignment verticalAlignment
- IntRect& clipBorder
- Color&[] colors
- int priority
- float opacity
- bool bringToFront
- bool bringToBack
- bool clipChildren
- bool active
- bool focus
- bool selected
- bool visible
- bool hovering (readonly)
- bool colorGradient (readonly)
- FocusMode focusMode
- uint dragDropMode
- LayoutMode layoutMode
- int layoutSpacing
- IntRect& layoutBorder
- IntVector2& childOffset (readonly)
- uint[] numChildren (readonly)
- uint numAllChildren (readonly)
- UIElement@[] children (readonly)
- UIElement@ parent (readonly)
- UIElement@ root (readonly)
- IntVector2 screenPosition (readonly)
- float derivedOpacity (readonly)
- IntRect combinedScreenRect (readonly)
- Texture@ texture
- IntRect& imageRect
- IntRect& border
- IntVector2& hoverOffset
- String& text
- uint cursorPosition
- float cursorBlinkRate
- uint maxLength
- uint8 echoCharacter
- bool cursorMovable
- bool textSelectable
- bool textCopyable
- Text@ textElement (readonly)
- BorderImage@ cursor (readonly)
- VariantMap vars
Menu
Methods:
- void SetStyle(const XMLElement&)
- void SetStyle(XMLFile@, const String&)
- void SetStyleAuto(XMLFile@)
- void SetPosition(int, int)
- void SetSize(int, int)
- void SetMinSize(int, int)
- void SetMaxSize(int, int)
- void SetFixedSize(int, int)
- void SetFixedWidth(int)
- void SetFixedHeight(int)
- void SetAlignment(HorizontalAlignment, VerticalAlignment)
- void SetLayout(LayoutMode, int arg1 = 0, const IntRect& arg2 = IntRect ( 0 , 0 , 0 , 0 ))
- void UpdateLayout()
- void DisableLayoutUpdate()
- void EnableLayoutUpdate()
- void BringToFront()
- void AddChild(UIElement@)
- void InsertChild(uint, UIElement@)
- void RemoveChild(UIElement@)
- void RemoveAllChildren()
- void Remove()
- UIElement@ GetChild(const String&, bool arg1 = false) const
- IntVector2 ScreenToElement(const IntVector2&)
- IntVector2 ElementToScreen(const IntVector2&)
- bool IsInside(IntVector2, bool)
- bool IsInsideCombined(IntVector2, bool)
- void SetFullImageRect()
- void SetHoverOffset(int, int)
- void SetPressedOffset(int, int)
- void SetLabelOffset(int, int)
- void SetRepeat(float, float)
- void SetPopupOffset(int, int)
- void SetAccelerator(int, int)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- IntVector2& position
- IntVector2& size
- int width
- int height
- IntVector2& minSize
- int minWidth
- int minHeight
- IntVector2& maxSize
- int maxWidth
- int maxHeight
- HorizontalAlignment horizontalAlignment
- VerticalAlignment verticalAlignment
- IntRect& clipBorder
- Color&[] colors
- int priority
- float opacity
- bool bringToFront
- bool bringToBack
- bool clipChildren
- bool active
- bool focus
- bool selected
- bool visible
- bool hovering (readonly)
- bool colorGradient (readonly)
- FocusMode focusMode
- uint dragDropMode
- LayoutMode layoutMode
- int layoutSpacing
- IntRect& layoutBorder
- IntVector2& childOffset (readonly)
- uint[] numChildren (readonly)
- uint numAllChildren (readonly)
- UIElement@[] children (readonly)
- UIElement@ parent (readonly)
- UIElement@ root (readonly)
- IntVector2 screenPosition (readonly)
- float derivedOpacity (readonly)
- IntRect combinedScreenRect (readonly)
- Texture@ texture
- IntRect& imageRect
- IntRect& border
- IntVector2& hoverOffset
- IntVector2& pressedOffset
- IntVector2& labelOffset
- float repeatDelay
- float repeatRate
- UIElement@ popup
- IntVector2& popupOffset
- bool showPopup
- int acceleratorKey (readonly)
- int acceleratorQualifiers (readonly)
- VariantMap vars
DropDownList
Methods:
- void SetStyle(const XMLElement&)
- void SetStyle(XMLFile@, const String&)
- void SetStyleAuto(XMLFile@)
- void SetPosition(int, int)
- void SetSize(int, int)
- void SetMinSize(int, int)
- void SetMaxSize(int, int)
- void SetFixedSize(int, int)
- void SetFixedWidth(int)
- void SetFixedHeight(int)
- void SetAlignment(HorizontalAlignment, VerticalAlignment)
- void SetLayout(LayoutMode, int arg1 = 0, const IntRect& arg2 = IntRect ( 0 , 0 , 0 , 0 ))
- void UpdateLayout()
- void DisableLayoutUpdate()
- void EnableLayoutUpdate()
- void BringToFront()
- void AddChild(UIElement@)
- void InsertChild(uint, UIElement@)
- void RemoveChild(UIElement@)
- void RemoveAllChildren()
- void Remove()
- UIElement@ GetChild(const String&, bool arg1 = false) const
- IntVector2 ScreenToElement(const IntVector2&)
- IntVector2 ElementToScreen(const IntVector2&)
- bool IsInside(IntVector2, bool)
- bool IsInsideCombined(IntVector2, bool)
- void SetFullImageRect()
- void SetHoverOffset(int, int)
- void SetPressedOffset(int, int)
- void SetLabelOffset(int, int)
- void SetRepeat(float, float)
- void SetAccelerator(int, int)
- void AddItem(UIElement@)
- void InsertItem(uint, UIElement@)
- void RemoveItem(UIElement@)
- void RemoveItem(uint)
- void RemoveAllItems()
- UIElement@[]@ GetItems() const
- UIElement@ getPopup() const
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- IntVector2& position
- IntVector2& size
- int width
- int height
- IntVector2& minSize
- int minWidth
- int minHeight
- IntVector2& maxSize
- int maxWidth
- int maxHeight
- HorizontalAlignment horizontalAlignment
- VerticalAlignment verticalAlignment
- IntRect& clipBorder
- Color&[] colors
- int priority
- float opacity
- bool bringToFront
- bool bringToBack
- bool clipChildren
- bool active
- bool focus
- bool selected
- bool visible
- bool hovering (readonly)
- bool colorGradient (readonly)
- FocusMode focusMode
- uint dragDropMode
- LayoutMode layoutMode
- int layoutSpacing
- IntRect& layoutBorder
- IntVector2& childOffset (readonly)
- uint[] numChildren (readonly)
- uint numAllChildren (readonly)
- UIElement@[] children (readonly)
- UIElement@ parent (readonly)
- UIElement@ root (readonly)
- IntVector2 screenPosition (readonly)
- float derivedOpacity (readonly)
- IntRect combinedScreenRect (readonly)
- Texture@ texture
- IntRect& imageRect
- IntRect& border
- IntVector2& hoverOffset
- IntVector2& pressedOffset
- IntVector2& labelOffset
- float repeatDelay
- float repeatRate
- bool showPopup
- uint selection
- bool resizePopup
- int acceleratorKey (readonly)
- int acceleratorQualifiers (readonly)
- uint numItems (readonly)
- UIElement@[] items (readonly)
- UIElement@ selectedItem (readonly)
- ListView@ listView (readonly)
- UIElement@ placeholder (readonly)
- VariantMap vars
Window
Methods:
- void SetStyle(const XMLElement&)
- void SetStyle(XMLFile@, const String&)
- void SetStyleAuto(XMLFile@)
- void SetPosition(int, int)
- void SetSize(int, int)
- void SetMinSize(int, int)
- void SetMaxSize(int, int)
- void SetFixedSize(int, int)
- void SetFixedWidth(int)
- void SetFixedHeight(int)
- void SetAlignment(HorizontalAlignment, VerticalAlignment)
- void SetLayout(LayoutMode, int arg1 = 0, const IntRect& arg2 = IntRect ( 0 , 0 , 0 , 0 ))
- void UpdateLayout()
- void DisableLayoutUpdate()
- void EnableLayoutUpdate()
- void BringToFront()
- void AddChild(UIElement@)
- void InsertChild(uint, UIElement@)
- void RemoveChild(UIElement@)
- void RemoveAllChildren()
- void Remove()
- UIElement@ GetChild(const String&, bool arg1 = false) const
- IntVector2 ScreenToElement(const IntVector2&)
- IntVector2 ElementToScreen(const IntVector2&)
- bool IsInside(IntVector2, bool)
- bool IsInsideCombined(IntVector2, bool)
- void SetFullImageRect()
- void SetHoverOffset(int, int)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- IntVector2& position
- IntVector2& size
- int width
- int height
- IntVector2& minSize
- int minWidth
- int minHeight
- IntVector2& maxSize
- int maxWidth
- int maxHeight
- HorizontalAlignment horizontalAlignment
- VerticalAlignment verticalAlignment
- IntRect& clipBorder
- Color&[] colors
- int priority
- float opacity
- bool bringToFront
- bool bringToBack
- bool clipChildren
- bool active
- bool focus
- bool selected
- bool visible
- bool hovering (readonly)
- bool colorGradient (readonly)
- FocusMode focusMode
- uint dragDropMode
- LayoutMode layoutMode
- int layoutSpacing
- IntRect& layoutBorder
- IntVector2& childOffset (readonly)
- uint[] numChildren (readonly)
- uint numAllChildren (readonly)
- UIElement@[] children (readonly)
- UIElement@ parent (readonly)
- UIElement@ root (readonly)
- IntVector2 screenPosition (readonly)
- float derivedOpacity (readonly)
- IntRect combinedScreenRect (readonly)
- Texture@ texture
- IntRect& imageRect
- IntRect& border
- IntVector2& hoverOffset
- bool movable
- bool resizable
- IntRect& resizeBorder
- VariantMap vars
FileSelector
Methods:
- void SetButtonTexts(const String&, const String&)
- void SetFilters(String[]@, uint)
- void UpdateElements()
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& title
- String& path
- String& fileName
- bool directoryMode
- String& filter (readonly)
- uint filterIndex (readonly)
- XMLFile@ style
- Window@ window (readonly)
- Text@ titleText (readonly)
- ListView@ fileList (readonly)
- LineEdit@ pathEdit (readonly)
- LineEdit@ fileNameEdit (readonly)
- DropDownList@ filterList (readonly)
- Button@ okButton (readonly)
- Button@ cancelButton (readonly)
UI
Methods:
- void Clear()
- UIElement@ LoadLayout(XMLFile@)
- UIElement@ LoadLayout(XMLFile@, XMLFile@)
- UIElement@ GetElementAt(const IntVector2&, bool)
- UIElement@ GetElementAt(int, int, bool)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- Cursor@ cursor
- IntVector2 cursorPosition (readonly)
- UIElement@ focusElement
- UIElement@ frontElement (readonly)
- UIElement@ root (readonly)
Controls
Methods:
- void Reset()
- void Set(uint, bool)
- bool IsDown(uint) const
- bool IsPressed(uint, const Controls&) const
Properties:
- uint buttons
- float yaw
- float pitch
- VariantMap extraData
NetworkPriority
Methods:
- bool Load(File@)
- bool Save(File@)
- bool LoadXML(const XMLElement&)
- bool SaveXML(XMLElement&)
- void FinishUpdate()
- bool SetAttribute(const String&, const Variant&)
- Variant GetAttribute(const String&)
- void Remove()
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint numAttributes (readonly)
- Variant[] attributes
- AttributeInfo&[] attributeInfos (readonly)
- uint id (readonly)
- Node@ node (readonly)
- float basePriority
- float distanceFactor
- float minPriority
- bool alwaysUpdateOwner
Connection
Methods:
- void SendMessage(int, bool, bool, const VectorBuffer&, uint arg4 = 0, uint arg5 = 0)
- void SendRemoteEvent(const String&, bool, const VariantMap& arg2 = VariantMap ( ))
- void SendRemoteEvent(Node@, const String&, bool, const VariantMap& arg3 = VariantMap ( ))
- void Disconnect(int arg0 = 0)
- String ToString() const
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- Scene@ scene
- bool logStatistics
- bool client (readonly)
- bool connected (readonly)
- bool connectPending (readonly)
- bool sceneLoaded (readonly)
- Controls& controls
- Vector3& position
- String address (readonly)
- uint16 port (readonly)
- uint numDownloads (readonly)
- String& downloadName (readonly)
- float downloadProgress (readonly)
- VariantMap identity
Network
Methods:
- bool Connect(const String&, uint16, Scene@, const VariantMap& arg3 = VariantMap ( ))
- void Disconnect(int arg0 = 0)
- bool StartServer(uint16)
- void StopServer()
- void BroadcastMessage(int, bool, bool, const VectorBuffer&, uint arg4 = 0, uint arg5 = 0)
- void BroadcastRemoteEvent(const String&, bool, const VariantMap& arg2 = VariantMap ( ))
- void BroadcastRemoteEvent(Scene@, const String&, bool, const VariantMap& arg3 = VariantMap ( ))
- void BroadcastRemoteEvent(Node@, const String&, bool, const VariantMap& arg3 = VariantMap ( ))
- void RegisterRemoteEvent(const String&) const
- void UnregisterRemoteEvent(const String&) const
- void UnregisterAllRemoteEvents()
- bool CheckRemoteEvent(const String&) const
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- int updateFps
- String& packageCacheDir
- bool serverRunning (readonly)
- Connection@ serverConnection (readonly)
- Connection@[]@ clientConnections (readonly)
CollisionShape
Methods:
- bool Load(File@)
- bool Save(File@)
- bool LoadXML(const XMLElement&)
- bool SaveXML(XMLElement&)
- void FinishUpdate()
- bool SetAttribute(const String&, const Variant&)
- Variant GetAttribute(const String&)
- void Remove()
- void Clear()
- void SetSphere(float, const Vector3& arg1 = Vector3 ( ), const Quaternion& arg2 = Quaternion ( ))
- void SetBox(const Vector3&, const Vector3& arg1 = Vector3 ( ), const Quaternion& arg2 = Quaternion ( ))
- void SetCylinder(float, float, const Vector3& arg2 = Vector3 ( ), const Quaternion& arg3 = Quaternion ( ))
- void SetCapsule(float, float, const Vector3& arg2 = Vector3 ( ), const Quaternion& arg3 = Quaternion ( ))
- void SetTriangleMesh(Model@, uint, const Vector3& arg2 = Vector3 ( 1 , 1 , 1 ), const Vector3& arg3 = Vector3 ( ), const Quaternion& arg4 = Quaternion ( ))
- void SetHeightfield(Model@, uint, uint, float, uint, const Vector3& arg5 = Vector3 ( 1 , 1 , 1 ), const Vector3& arg6 = Vector3 ( ), const Quaternion& arg7 = Quaternion ( ))
- void SetConvexHull(Model@, float, uint, const Vector3& arg3 = Vector3 ( 1 , 1 , 1 ), const Vector3& arg4 = Vector3 ( ), const Quaternion& arg5 = Quaternion ( ))
- void SetTransform(const Vector3&, const Quaternion&)
- void DrawDebugGeometry(DebugRenderer@, bool)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint numAttributes (readonly)
- Variant[] attributes
- AttributeInfo&[] attributeInfos (readonly)
- uint id (readonly)
- Node@ node (readonly)
- Model@ model (readonly)
- ShapeType shapeType (readonly)
- Vector3& position
- Quaternion& rotation
- uint collisionLayer
- uint collisionMask
- float friction
- float bounce
- bool phantom
RigidBody
Methods:
- bool Load(File@)
- bool Save(File@)
- bool LoadXML(const XMLElement&)
- bool SaveXML(XMLElement&)
- void FinishUpdate()
- bool SetAttribute(const String&, const Variant&)
- Variant GetAttribute(const String&)
- void Remove()
- void SetTransform(const Vector3&, const Quaternion&)
- void ApplyForce(const Vector3&)
- void ApplyForceAtPosition(const Vector3&, const Vector3&)
- void ApplyTorque(const Vector3&)
- void ResetForces()
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint numAttributes (readonly)
- Variant[] attributes
- AttributeInfo&[] attributeInfos (readonly)
- uint id (readonly)
- Node@ node (readonly)
- float mass
- int massAxis
- Vector3& linearVelocity
- float linearRestThreshold
- Vector3& angularVelocity
- float angularRestThreshold
- float angularMaxVelocity
- bool active
- Vector3& position
- Quaternion& rotation
- float linearDampingThreshold
- float linearDampingScale
- float angularDampingThreshold
- float angularDampingScale
Joint
Methods:
- bool Load(File@)
- bool Save(File@)
- bool LoadXML(const XMLElement&)
- bool SaveXML(XMLElement&)
- void FinishUpdate()
- bool SetAttribute(const String&, const Variant&)
- Variant GetAttribute(const String&)
- void Remove()
- void Clear()
- bool SetBall(const Vector3&, RigidBody@, RigidBody@)
- bool SetHinge(const Vector3&, const Vector3&, RigidBody@, RigidBody@)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint numAttributes (readonly)
- Variant[] attributes
- AttributeInfo&[] attributeInfos (readonly)
- uint id (readonly)
- Node@ node (readonly)
- Vector3 position
- Vector3 axis
- RigidBody@ bodyA (readonly)
- RigidBody@ bodyB (readonly)
- JointType jointType (readonly)
PhysicsRaycastResult
Properties:
- CollisionShape@ collisionShape (readonly)
- Vector3 position
- Vector3 normal
- float distance
PhysicsWorld
Methods:
- bool Load(File@)
- bool Save(File@)
- bool LoadXML(const XMLElement&)
- bool SaveXML(XMLElement&)
- void FinishUpdate()
- bool SetAttribute(const String&, const Variant&)
- Variant GetAttribute(const String&)
- void Remove()
- void Update(float)
- PhysicsRaycastResult[]@ Raycast(const Ray&, float arg1 = M_INFINITY, uint arg2 = 0xffffffff)
- void DrawDebugGeometry(bool)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint numAttributes (readonly)
- Variant[] attributes
- AttributeInfo&[] attributeInfos (readonly)
- uint id (readonly)
- Node@ node (readonly)
- Vector3 gravity
- int fps
- uint maxContacts
- float linearRestThreshold
- float angularRestThreshold
- float bounceThreshold
- float erp
- float cfm
- float contactSurfaceLayer
- float linearDampingThreshold
- float linearDampingScale
- float angularDampingThreshold
- float angularDampingScale
ScriptFile
Methods:
- bool Load(File@)
- bool Save(File@)
- bool Execute(const String&, const Variant[]@)
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- String& name
- uint memoryUse (readonly)
- uint useTimer (readonly)
- bool compiled (readonly)
ScriptObject
ScriptInstance
Methods:
- bool Load(File@)
- bool Save(File@)
- bool LoadXML(const XMLElement&)
- bool SaveXML(XMLElement&)
- void FinishUpdate()
- bool SetAttribute(const String&, const Variant&)
- Variant GetAttribute(const String&)
- void Remove()
- bool CreateObject(ScriptFile@, const String&)
- bool Execute(const String&, const Variant[]@)
- bool Execute(const String&)
- void DelayedExecute(float, const String&, const Variant[]@)
- void DelayedExecute(float, const String&)
- void ClearDelayedExecute()
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- uint numAttributes (readonly)
- Variant[] attributes
- AttributeInfo&[] attributeInfos (readonly)
- uint id (readonly)
- Node@ node (readonly)
- bool active
- int fixedUpdateFps
- ScriptFile@ scriptFile
- ScriptObject@ object (readonly)
- String& className
Script
Methods:
- bool Execute(const String&)
- void DumpAPI()
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- ScriptFile@ defaultScriptFile
- Scene@ defaultScene
Console
Methods:
- void Toggle()
- void UpdateElements()
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- XMLFile@ style
- bool visible
- uint numRows
- uint numHistoryRows
- uint historyPosition (readonly)
- String&[] historyRow (readonly)
- BorderImage@ background (readonly)
- LineEdit@ lineEdit (readonly)
DebugHud
Methods:
- void Toggle(uint)
- void ToggleAll()
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- XMLFile@ style
- uint mode
- float profilerInterval
- bool useRendererStats
- Text@ statsText (readonly)
- Text@ modeText (readonly)
- Text@ profilerText (readonly)
Engine
Methods:
- void RunFrame()
- void Exit()
- void DumpProfilingData()
- void DumpResources()
- Console@ CreateConsole()
- DebugHud@ CreateDebugHud()
Properties:
- ShortStringHash type (readonly)
- String& typeName (readonly)
- int minFps
- int maxFps
- int maxInactiveFps
- bool initialized (readonly)
- bool exiting (readonly)
- bool headless (readonly)
*/