| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871 |
- /**
- \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 SHADOWQUALITY_LOW_16BIT
- - int SHADOWQUALITY_LOW_24BIT
- - int SHADOWQUALITY_HIGH_16BIT
- - int SHADOWQUALITY_HIGH_24BIT
- - 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:<br>
- - void Insert(uint, const T&)
- - void Erase(uint)
- - void Push(const T&)
- - void Pop()
- - void Resize(uint)
- - void Clear()
- Properties:<br>
- - uint length (readonly)
- - bool empty (readonly)
- String
- Methods:<br>
- - 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:<br>
- - uint length (readonly)
- - bool empty (readonly)
- IntRect
- Properties:<br>
- - int left
- - int top
- - int right
- - int bottom
- IntVector2
- Methods:<br>
- - String ToString() const
- Properties:<br>
- - int x
- - int y
- Vector2
- Methods:<br>
- - 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:<br>
- - float length (readonly)
- - float lengthSquared (readonly)
- - float x
- - float y
- Vector3
- Methods:<br>
- - 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:<br>
- - float length (readonly)
- - float lengthSquared (readonly)
- - float x
- - float y
- - float z
- Vector4
- Methods:<br>
- - float DotProduct(const Vector4&) const
- - float AbsDotProduct(const Vector4&) const
- - Vector4 Lerp(const Vector4&, float) const
- - String ToString() const
- Properties:<br>
- - float x
- - float y
- - float z
- - float w
- Quaternion
- Methods:<br>
- - 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:<br>
- - Vector3 eulerAngles (readonly)
- - float yaw (readonly)
- - float pitch (readonly)
- - float roll (readonly)
- - float w
- - float x
- - float y
- - float z
- Rect
- Methods:<br>
- - void Define(const Vector2&, const Vector2&)
- - void Define(const Vector2&)
- - void Merge(const Vector2&)
- - void Merge(const Rect&)
- Properties:<br>
- - Vector2 min
- - Vector2 max
- - float left
- - float top
- - float right
- - float bottom
- - bool defined
- BoundingBox
- Methods:<br>
- - 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:<br>
- - Vector3 center (readonly)
- - Vector3 size (readonly)
- - Vector3 halfSize (readonly)
- - Vector3 min
- - Vector3 max
- - bool defined
- Sphere
- Methods:<br>
- - 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:<br>
- - Vector3 center
- - float radius
- - bool defined
- Frustum
- Methods:<br>
- - Intersection IsInside(const Vector3&)
- - Intersection IsInside(const BoundingBox&)
- - Intersection IsInside(const Sphere&)
- Properties:<br>
- - Vector3[] vertices (readonly)
- - bool defined
- Ray
- Methods:<br>
- - 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:<br>
- - Vector3 origin
- - Vector3 direction
- Color
- Methods:<br>
- - Color Lerp(const Color&, float) const
- - String ToString() const
- Properties:<br>
- - Vector3 rgb (readonly)
- - float intensity (readonly)
- - float r
- - float g
- - float b
- - float a
- StringHash
- Methods:<br>
- - String ToString() const
- Properties:<br>
- - uint value (readonly)
- ShortStringHash
- Methods:<br>
- - String ToString() const
- Properties:<br>
- - uint16 value (readonly)
- ResourceRef
- Properties:<br>
- - ShortStringHash type
- - StringHash id
- ResourceRefList
- Methods:<br>
- - void Resize(uint)
- Properties:<br>
- - uint length (readonly)
- - bool empty (readonly)
- - StringHash[] ids
- - ShortStringHash type
- Variant
- Methods:<br>
- - 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:<br>
- - VariantType type (readonly)
- - String& typeName (readonly)
- VariantMap
- Methods:<br>
- - bool Contains(const String&) const
- - void Erase(const String&)
- - bool Contains(ShortStringHash) const
- - void Erase(ShortStringHash)
- - void Clear()
- Properties:<br>
- - uint length (readonly)
- - ShortStringHash[]@ keys (readonly)
- AttributeInfo
- Properties:<br>
- - String[]@ enumNames (readonly)
- - VariantType type
- - String name
- - Variant defaultValue
- - uint mode
- Object
- Properties:<br>
- - ShortStringHash type (readonly)
- - String& typeName (readonly)
- Timer
- Methods:<br>
- - uint GetMSec(bool)
- - void Reset()
- Time
- Properties:<br>
- - ShortStringHash type (readonly)
- - String& typeName (readonly)
- - uint frameNumber (readonly)
- - float timeStep (readonly)
- - uint timeStepMSec (readonly)
- - uint totalMSec (readonly)
- Log
- Methods:<br>
- - void Write(const String&)
- - void Debug(const String&)
- - void Info(const String&)
- - void Warning(const String&)
- - void Error(const String&)
- Properties:<br>
- - ShortStringHash type (readonly)
- - String& typeName (readonly)
- - int level
- - String& lastMessage (readonly)
- Serializer
- Methods:<br>
- - 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:<br>
- - 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:<br>
- - String& name (readonly)
- - uint checksum (readonly)
- - uint position (readonly)
- - uint size (readonly)
- - bool eof (readonly)
- File
- Methods:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - String& name (readonly)
- - uint checksum (readonly)
- - uint position (readonly)
- - uint size (readonly)
- - bool eof (readonly)
- FileSystem
- Methods:<br>
- - 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:<br>
- - ShortStringHash type (readonly)
- - String& typeName (readonly)
- - String currentDir
- - String programDir (readonly)
- - String userDocumentsDir (readonly)
- PackageFile
- Methods:<br>
- - bool Open(const String&) const
- - bool Exists(const String&) const
- Properties:<br>
- - ShortStringHash type (readonly)
- - String& typeName (readonly)
- - String& name (readonly)
- - uint numFiles (readonly)
- - uint totalSize (readonly)
- - uint checksum (readonly)
- Resource
- Methods:<br>
- - bool Load(File@)
- - bool Save(File@)
- Properties:<br>
- - ShortStringHash type (readonly)
- - String& typeName (readonly)
- - String& name
- - uint memoryUse (readonly)
- - uint useTimer (readonly)
- ResourceCache
- Methods:<br>
- - 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:<br>
- - ShortStringHash type (readonly)
- - String& typeName (readonly)
- - uint[] memoryBudget
- - uint[] memoryUse (readonly)
- - uint totalMemoryUse (readonly)
- - String[]@ resourceDirs (readonly)
- - PackageFile@[]@ packageFiles (readonly)
- Image
- Methods:<br>
- - bool Load(File@)
- - bool Save(File@)
- - void SaveBMP(const String&)
- - void SaveTGA(const String&)
- Properties:<br>
- - 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:<br>
- - bool Load(File@)
- - bool Save(File@)
- - XMLElement CreateRoot(const String&)
- - XMLElement GetRoot(const String& arg0 = String ( ))
- Properties:<br>
- - ShortStringHash type (readonly)
- - String& typeName (readonly)
- - String& name
- - uint memoryUse (readonly)
- - uint useTimer (readonly)
- - XMLElement root (readonly)
- XMLElement
- Methods:<br>
- - 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:<br>
- - String name (readonly)
- - String text (readonly)
- - bool isNull (readonly)
- - bool notNull (readonly)
- - XMLElement parent (readonly)
- - XMLFile@ file (readonly)
- Serializable
- Methods:<br>
- - bool Load(File@)
- - bool Save(File@)
- - bool LoadXML(const XMLElement&)
- - bool SaveXML(XMLElement&)
- - void ApplyAttributes()
- - bool SetAttribute(const String&, const Variant&)
- - Variant GetAttribute(const String&)
- Properties:<br>
- - ShortStringHash type (readonly)
- - String& typeName (readonly)
- - uint numAttributes (readonly)
- - Variant[] attributes
- - AttributeInfo&[] attributeInfos (readonly)
- Component
- Methods:<br>
- - bool Load(File@)
- - bool Save(File@)
- - bool LoadXML(const XMLElement&)
- - bool SaveXML(XMLElement&)
- - void ApplyAttributes()
- - bool SetAttribute(const String&, const Variant&)
- - Variant GetAttribute(const String&)
- - void Remove()
- Properties:<br>
- - ShortStringHash type (readonly)
- - String& typeName (readonly)
- - uint numAttributes (readonly)
- - Variant[] attributes
- - AttributeInfo&[] attributeInfos (readonly)
- - uint id (readonly)
- - Node@ node (readonly)
- Node
- Methods:<br>
- - bool Load(File@)
- - bool Save(File@)
- - bool LoadXML(const XMLElement&)
- - bool SaveXML(XMLElement&)
- - void ApplyAttributes()
- - 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:<br>
- - 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:<br>
- - bool Load(File@)
- - bool Save(File@)
- - bool LoadXML(const XMLElement&)
- - bool SaveXML(XMLElement&)
- - void ApplyAttributes()
- - 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:<br>
- - 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:<br>
- - bool Load(File@)
- - bool Save(File@)
- - bool LoadXML(const XMLElement&)
- - bool SaveXML(XMLElement&)
- - void ApplyAttributes()
- - 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:<br>
- - 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:<br>
- - Node@ node (readonly)
- - String name
- - Vector3 initialPosition
- - Quaternion initialRotation
- - Vector3 initialScale
- - bool animated
- - float radius
- - BoundingBox boundingBox
- Skeleton
- Methods:<br>
- - void Reset()
- - Bone@ GetBone(const String&) const
- Properties:<br>
- - Bone@ rootBone (readonly)
- - uint numBones (readonly)
- - Bone@[] bones (readonly)
- Texture
- Methods:<br>
- - bool Load(File@)
- - bool Save(File@)
- - void SetNumLevels(uint)
- - void ClearDataLost()
- Properties:<br>
- - 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:<br>
- - Scene@ scene
- - Camera@ camera
- - IntRect rect
- RenderSurface
- Properties:<br>
- - Texture@ parentTexture (readonly)
- - int width (readonly)
- - int height (readonly)
- - TextureUsage usage (readonly)
- - Viewport& viewport
- - RenderSurface@ linkedRenderTarget
- - RenderSurface@ linkedDepthBuffer
- Texture2D
- Methods:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - bool alphaMask
- - bool alphaTest
- - BlendMode blendMode
- - CompareMode depthTestMode
- - bool depthWrite
- - String& vertexShader
- - String& pixelShader
- Technique
- Methods:<br>
- - bool Load(File@)
- - bool Save(File@)
- - Pass@ CreatePass(PassType)
- - void RemovePass(PassType)
- - bool HasPass(PassType) const
- Properties:<br>
- - ShortStringHash type (readonly)
- - String& typeName (readonly)
- - String& name
- - uint memoryUse (readonly)
- - uint useTimer (readonly)
- - bool sm3
- - Pass@[] passes (readonly)
- Material
- Methods:<br>
- - 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:<br>
- - 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:<br>
- - bool Load(File@)
- - bool Save(File@)
- Properties:<br>
- - 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:<br>
- - bool Load(File@)
- - bool Save(File@)
- Properties:<br>
- - 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:<br>
- - bool Load(File@)
- - bool Save(File@)
- - bool LoadXML(const XMLElement&)
- - bool SaveXML(XMLElement&)
- - void ApplyAttributes()
- - 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:<br>
- - ShortStringHash type (readonly)
- - String& typeName (readonly)
- - uint numAttributes (readonly)
- - Variant[] attributes
- - AttributeInfo&[] attributeInfos (readonly)
- - uint id (readonly)
- - Node@ node (readonly)
- Drawable
- Methods:<br>
- - bool Load(File@)
- - bool Save(File@)
- - bool LoadXML(const XMLElement&)
- - bool SaveXML(XMLElement&)
- - void ApplyAttributes()
- - bool SetAttribute(const String&, const Variant&)
- - Variant GetAttribute(const String&)
- - void Remove()
- - void DrawDebugGeometry(DebugRenderer@, bool)
- Properties:<br>
- - 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:<br>
- - float constantBias
- - float slopeScaledBias
- CascadeParameters
- Properties:<br>
- - uint splits
- - float lambda
- - float splitFadeRange
- - float shadowRange
- FocusParameters
- Properties:<br>
- - bool focus
- - bool nonUniform
- - bool zoomOut
- - float quantize
- - float minView
- Light
- Methods:<br>
- - bool Load(File@)
- - bool Save(File@)
- - bool LoadXML(const XMLElement&)
- - bool SaveXML(XMLElement&)
- - void ApplyAttributes()
- - bool SetAttribute(const String&, const Variant&)
- - Variant GetAttribute(const String&)
- - void Remove()
- - void DrawDebugGeometry(DebugRenderer@, bool)
- Properties:<br>
- - 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:<br>
- - bool Load(File@)
- - bool Save(File@)
- - bool LoadXML(const XMLElement&)
- - bool SaveXML(XMLElement&)
- - void ApplyAttributes()
- - bool SetAttribute(const String&, const Variant&)
- - Variant GetAttribute(const String&)
- - void Remove()
- - void DrawDebugGeometry(DebugRenderer@, bool)
- Properties:<br>
- - 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:<br>
- - bool Load(File@)
- - bool Save(File@)
- - bool LoadXML(const XMLElement&)
- - bool SaveXML(XMLElement&)
- - void ApplyAttributes()
- - bool SetAttribute(const String&, const Variant&)
- - Variant GetAttribute(const String&)
- - void Remove()
- - void DrawDebugGeometry(DebugRenderer@, bool)
- Properties:<br>
- - 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:<br>
- - bool Load(File@)
- - bool Save(File@)
- - bool LoadXML(const XMLElement&)
- - bool SaveXML(XMLElement&)
- - void ApplyAttributes()
- - bool SetAttribute(const String&, const Variant&)
- - Variant GetAttribute(const String&)
- - void Remove()
- - void DrawDebugGeometry(DebugRenderer@, bool)
- Properties:<br>
- - 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:<br>
- - void AddWeight(float)
- - void AddTime(float)
- Properties:<br>
- - Bone@ startBone
- - bool looped
- - float weight
- - float time
- - uint8 layer
- - bool useNlerp
- - Animation@ animation (readonly)
- - bool enabled (readonly)
- - float length (readonly)
- AnimatedModel
- Methods:<br>
- - bool Load(File@)
- - bool Save(File@)
- - bool LoadXML(const XMLElement&)
- - bool SaveXML(XMLElement&)
- - void ApplyAttributes()
- - 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
- Properties:<br>
- - 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)
- - float[] morphWeights
- AnimationController
- Methods:<br>
- - bool Load(File@)
- - bool Save(File@)
- - bool LoadXML(const XMLElement&)
- - bool SaveXML(XMLElement&)
- - void ApplyAttributes()
- - 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:<br>
- - ShortStringHash type (readonly)
- - String& typeName (readonly)
- - uint numAttributes (readonly)
- - Variant[] attributes
- - AttributeInfo&[] attributeInfos (readonly)
- - uint id (readonly)
- - Node@ node (readonly)
- Billboard
- Properties:<br>
- - Vector3 position
- - Vector2 size
- - Rect uv
- - Color color
- - float rotation
- - bool enabled
- BillboardSet
- Methods:<br>
- - bool Load(File@)
- - bool Save(File@)
- - bool LoadXML(const XMLElement&)
- - bool SaveXML(XMLElement&)
- - void ApplyAttributes()
- - bool SetAttribute(const String&, const Variant&)
- - Variant GetAttribute(const String&)
- - void Remove()
- - void DrawDebugGeometry(DebugRenderer@, bool)
- - void Updated()
- Properties:<br>
- - 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:<br>
- - bool Load(File@)
- - bool Save(File@)
- - bool LoadXML(const XMLElement&)
- - bool SaveXML(XMLElement&)
- - void ApplyAttributes()
- - bool SetAttribute(const String&, const Variant&)
- - Variant GetAttribute(const String&)
- - void Remove()
- - void SetActive(bool, bool)
- Properties:<br>
- - 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:<br>
- - Drawable@ drawable (readonly)
- - Node@ node (readonly)
- - float distance
- - uint subObject
- Octree
- Methods:<br>
- - bool Load(File@)
- - bool Save(File@)
- - bool LoadXML(const XMLElement&)
- - bool SaveXML(XMLElement&)
- - void ApplyAttributes()
- - 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:<br>
- - 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:<br>
- - bool SetMode(RenderMode, int, int, bool, bool, bool, int)
- - bool SetMode(int, int)
- - bool SetMode(RenderMode)
- - bool ToggleFullscreen()
- - void Close()
- - bool TakeScreenShot(Image@)
- Properties:<br>
- - 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 tripleBuffer (readonly)
- - bool initialized (readonly)
- - bool deviceLost (readonly)
- - uint numPrimitives (readonly)
- - uint numBatches (readonly)
- - bool fallback (readonly)
- - bool sm3Support (readonly)
- - bool hardwareShadowSupport (readonly)
- - bool hiresShadowSupport (readonly)
- - IntVector2[]@ resolutions (readonly)
- - int[]@ multiSampleLevels (readonly)
- Renderer
- Methods:<br>
- - void SetNumShadowMaps(uint, uint, uint)
- - void DrawDebugGeometry(bool) const
- Properties:<br>
- - ShortStringHash type (readonly)
- - String& typeName (readonly)
- - uint numViewports
- - Viewport&[] viewports
- - bool specularLighting
- - bool drawShadows
- - int textureAnisotropy
- - TextureFilterMode textureFilterMode
- - int textureQuality
- - int materialQuality
- - int shadowMapSize
- - int shadowQuality
- - bool reuseShadowMaps
- - bool dynamicInstancing
- - int minInstanceGroupSize
- - int maxInstanceTriangles
- - 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:<br>
- - void SuppressNextChar()
- Properties:<br>
- - 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:<br>
- - bool Load(File@)
- - bool Save(File@)
- Properties:<br>
- - 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:<br>
- - bool Load(File@)
- - bool Save(File@)
- - bool LoadXML(const XMLElement&)
- - bool SaveXML(XMLElement&)
- - void ApplyAttributes()
- - 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:<br>
- - 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:<br>
- - bool Load(File@)
- - bool Save(File@)
- - bool LoadXML(const XMLElement&)
- - bool SaveXML(XMLElement&)
- - void ApplyAttributes()
- - 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:<br>
- - 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:<br>
- - void SetMode(int, int, bool, bool arg3 = true)
- - bool Play()
- - void Stop()
- - void SetListenerTransform(const Vector3&, const Quaternion&)
- Properties:<br>
- - 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:<br>
- - bool Load(File@)
- - bool Save(File@)
- Properties:<br>
- - ShortStringHash type (readonly)
- - String& typeName (readonly)
- - String& name
- - uint memoryUse (readonly)
- - uint useTimer (readonly)
- UIElement
- Methods:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - void SetButtonTexts(const String&, const String&)
- - void SetFilters(String[]@, uint)
- - void UpdateElements()
- Properties:<br>
- - 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:<br>
- - void Clear()
- - UIElement@ LoadLayout(XMLFile@)
- - UIElement@ LoadLayout(XMLFile@, XMLFile@)
- - UIElement@ GetElementAt(const IntVector2&, bool)
- - UIElement@ GetElementAt(int, int, bool)
- Properties:<br>
- - ShortStringHash type (readonly)
- - String& typeName (readonly)
- - Cursor@ cursor
- - IntVector2 cursorPosition (readonly)
- - UIElement@ focusElement
- - UIElement@ frontElement (readonly)
- - UIElement@ root (readonly)
- Controls
- Methods:<br>
- - void Reset()
- - void Set(uint, bool)
- - bool IsDown(uint) const
- - bool IsPressed(uint, const Controls&) const
- Properties:<br>
- - uint buttons
- - float yaw
- - float pitch
- - VariantMap extraData
- NetworkPriority
- Methods:<br>
- - bool Load(File@)
- - bool Save(File@)
- - bool LoadXML(const XMLElement&)
- - bool SaveXML(XMLElement&)
- - void ApplyAttributes()
- - bool SetAttribute(const String&, const Variant&)
- - Variant GetAttribute(const String&)
- - void Remove()
- Properties:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - 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:<br>
- - ShortStringHash type (readonly)
- - String& typeName (readonly)
- - int updateFps
- - String& packageCacheDir
- - bool serverRunning (readonly)
- - Connection@ serverConnection (readonly)
- - Connection@[]@ clientConnections (readonly)
- CollisionShape
- Methods:<br>
- - bool Load(File@)
- - bool Save(File@)
- - bool LoadXML(const XMLElement&)
- - bool SaveXML(XMLElement&)
- - void ApplyAttributes()
- - 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:<br>
- - 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:<br>
- - bool Load(File@)
- - bool Save(File@)
- - bool LoadXML(const XMLElement&)
- - bool SaveXML(XMLElement&)
- - void ApplyAttributes()
- - 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:<br>
- - 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:<br>
- - bool Load(File@)
- - bool Save(File@)
- - bool LoadXML(const XMLElement&)
- - bool SaveXML(XMLElement&)
- - void ApplyAttributes()
- - 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:<br>
- - 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:<br>
- - CollisionShape@ collisionShape (readonly)
- - Vector3 position
- - Vector3 normal
- - float distance
- PhysicsWorld
- Methods:<br>
- - bool Load(File@)
- - bool Save(File@)
- - bool LoadXML(const XMLElement&)
- - bool SaveXML(XMLElement&)
- - void ApplyAttributes()
- - 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:<br>
- - 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:<br>
- - bool Load(File@)
- - bool Save(File@)
- - bool Execute(const String&, const Variant[]@)
- Properties:<br>
- - ShortStringHash type (readonly)
- - String& typeName (readonly)
- - String& name
- - uint memoryUse (readonly)
- - uint useTimer (readonly)
- - bool compiled (readonly)
- ScriptObject
- ScriptInstance
- Methods:<br>
- - bool Load(File@)
- - bool Save(File@)
- - bool LoadXML(const XMLElement&)
- - bool SaveXML(XMLElement&)
- - void ApplyAttributes()
- - 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:<br>
- - 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:<br>
- - bool Execute(const String&)
- - void DumpAPI()
- Properties:<br>
- - ShortStringHash type (readonly)
- - String& typeName (readonly)
- - ScriptFile@ defaultScriptFile
- - Scene@ defaultScene
- Console
- Methods:<br>
- - void Toggle()
- - void UpdateElements()
- Properties:<br>
- - 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:<br>
- - void Toggle(uint)
- - void ToggleAll()
- Properties:<br>
- - 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:<br>
- - void RunFrame()
- - void Exit()
- - void DumpProfilingData()
- - void DumpResources()
- - Console@ CreateConsole()
- - DebugHud@ CreateDebugHud()
- Properties:<br>
- - ShortStringHash type (readonly)
- - String& typeName (readonly)
- - int minFps
- - int maxFps
- - int maxInactiveFps
- - bool initialized (readonly)
- - bool exiting (readonly)
- - bool headless (readonly)
- */
|