| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686 |
- namespace Urho3D
- {
- /**
- \page LuaScriptAPI Lua Scripting API
- \section LuaScriptAPI_GlobalFunctions Global functions
- - Context* GetContext()
- - Audio* GetAudio()
- - Console* GetConsole()
- - DebugHud* GetDebugHud()
- - DebugRenderer* GetDebugRenderer()
- - Engine* GetEngine()
- - FileSystem* GetFileSystem()
- - Graphics* GetGraphics()
- - Input* GetInput()
- - Log* GetLog()
- - Network* GetNetwork()
- - PhysicsWorld* GetPhysicsWorld()
- - Renderer* GetRenderer()
- - ResourceCache* GetCache()
- - Time* GetTime()
- - UI* GetUI()
- - void ErrorDialog(const String title, const String message)
- - void ErrorExit(const String message = String::EMPTY, int exitCode = EXIT_FAILURE)
- - void OpenConsoleWindow()
- - void PrintLine(const String str, bool error = false)
- - const Vector<String>& GetArguments()
- - String GetConsoleInput()
- - String GetPlatform()
- - unsigned GetNumPhysicalCPUs()
- - unsigned GetNumLogicalCPUs()
- - bool ToBool(const String source)
- - float ToFloat(const String source)
- - int ToInt(const String source)
- - unsigned ToUInt(const String source)
- - Color ToColor(const String source)
- - IntRect ToIntRect(const String source)
- - IntVector2 ToIntVector2(const String source)
- - Quaternion ToQuaternion(const String source)
- - Rect ToRect(const String source)
- - Vector2 ToVector2(const String source)
- - Vector3 ToVector3(const String source)
- - Vector4 ToVector4(const String source, bool allowMissingCoords = false)
- - String ToString(void* value)
- - String ToStringHex(unsigned value)
- - bool IsAlpha(unsigned ch)
- - bool IsDigit(unsigned ch)
- - String GetPath(const String fullPath)
- - String GetFileName(const String fullPath)
- - String GetExtension(const String fullPath, bool lowercaseExtension = true)
- - String GetFileNameAndExtension(const String fullPath, bool lowercaseExtension = false)
- - String ReplaceExtension(const String fullPath, const String newExtension)
- - String AddTrailingSlash(const String pathName)
- - String RemoveTrailingSlash(const String pathName)
- - String GetParentPath(const String pathName)
- - String GetInternalPath(const String pathName)
- - String GetNativePath(const String pathName)
- - bool IsAbsolutePath(const String pathName)
- - Object* GetEventSender()
- - void SendEvent(const String eventName, VariantMap& eventData)
- - void SubscribeToEvent(const String eventName, const String functionName)
- - void UnsubscribeFromEvent(const String eventName)
- - void UnsubscribeFromAllEvents()
- - void SubscribeToEvent(void* object, const String eventName, const String functionName)
- - void UnsubscribeFromEvent(void* object, const String eventName)
- - void UnsubscribeFromEvents(void* object)
- - float Lerp(float lhs, float rhs, float t)
- - float Min(float lhs, float rhs)
- - float Max(float lhs, float rhs)
- - float Abs(float value)
- - float Clamp(float value, float min, float max)
- - bool Equals(float lhs, float rhs)
- - float Random()
- - float Random(float range)
- - int Random @ RandomInt(int range)
- - void SetRandomSeed(unsigned seed)
- - unsigned GetRandomSeed()
- - int Rand()
- section LuaScriptAPI_GlobalConstants Global constants
- - unsigned DEBUGHUD_SHOW_NONE
- - unsigned DEBUGHUD_SHOW_STATS
- - unsigned DEBUGHUD_SHOW_MODE
- - unsigned DEBUGHUD_SHOW_PROFILER
- - unsigned DEBUGHUD_SHOW_ALL
- - unsigned char CHANNEL_POSITION
- - unsigned char CHANNEL_ROTATION
- - unsigned char CHANNEL_SCALE
- - unsigned DRAWABLE_GEOMETRY
- - unsigned DRAWABLE_LIGHT
- - unsigned DRAWABLE_ZONE
- - unsigned DRAWABLE_ANY
- - unsigned DEFAULT_VIEWMASK
- - unsigned DEFAULT_LIGHTMASK
- - unsigned DEFAULT_SHADOWMASK
- - unsigned DEFAULT_ZONEMASK
- - int MAX_VERTEX_LIGHTS
- - float ANIMATION_LOD_BASESCALE
- - int QUALITY_LOW
- - int QUALITY_MEDIUM
- - int QUALITY_HIGH
- - int QUALITY_MAX
- - int SHADOWQUALITY_LOW_16BIT
- - int SHADOWQUALITY_LOW_24BIT
- - int SHADOWQUALITY_HIGH_16BIT
- - int SHADOWQUALITY_HIGH_24BIT
- - unsigned CLEAR_COLOR
- - unsigned CLEAR_DEPTH
- - unsigned CLEAR_STENCIL
- - int SHADOW_MIN_PIXELS
- - int INSTANCING_BUFFER_DEFAULT_SIZE
- - int MOUSEB_LEFT
- - int MOUSEB_MIDDLE
- - int MOUSEB_RIGHT
- - int QUAL_SHIFT
- - int QUAL_CTRL
- - int QUAL_ALT
- - int QUAL_ANY
- - int KEY_1
- - int KEY_2
- - int KEY_3
- - int KEY_4
- - int KEY_5
- - int KEY_6
- - int KEY_7
- - int KEY_8
- - int KEY_9
- - int KEY_0
- - int KEY_A
- - int KEY_B
- - int KEY_C
- - int KEY_D
- - int KEY_E
- - int KEY_F
- - int KEY_G
- - int KEY_H
- - int KEY_I
- - int KEY_J
- - int KEY_K
- - int KEY_L
- - int KEY_M
- - int KEY_N
- - int KEY_O
- - int KEY_P
- - int KEY_Q
- - int KEY_R
- - int KEY_S
- - int KEY_T
- - int KEY_U
- - int KEY_V
- - int KEY_W
- - int KEY_X
- - int KEY_Y
- - int KEY_Z
- - int KEY_BACKSPACE
- - int KEY_TAB
- - int KEY_RETURN
- - int KEY_RETURN2
- - int KEY_KP_ENTER
- - int KEY_SHIFT
- - int KEY_CTRL
- - int KEY_ALT
- - 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_SELECT
- - int KEY_PRINTSCREEN
- - 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
- - int HAT_CENTER
- - int HAT_UP
- - int HAT_RIGHT
- - int HAT_DOWN
- - int HAT_LEFT
- - unsigned SCAN_FILES
- - unsigned SCAN_DIRS
- - unsigned SCAN_HIDDEN
- - int LOG_DEBUG
- - int LOG_INFO
- - int LOG_WARNING
- - int LOG_ERROR
- - int LOG_NONE
- - unsigned NUM_FRUSTUM_PLANES
- - unsigned NUM_FRUSTUM_VERTICES
- - float M_PI
- - int M_MIN_INT
- - int M_MAX_INT
- - unsigned M_MIN_UNSIGNED
- - unsigned M_MAX_UNSIGNED
- - float M_EPSILON
- - float M_LARGE_EPSILON
- - float M_MIN_NEARCLIP
- - float M_MAX_FOV
- - float M_LARGE_VALUE
- - float M_INFINITY
- - float M_DEGTORAD
- - float M_DEGTORAD_2
- - float M_RADTODEG
- - unsigned FIRST_REPLICATED_ID
- - unsigned LAST_REPLICATED_ID
- - unsigned FIRST_LOCAL_ID
- - unsigned LAST_LOCAL_ID
- - unsigned DD_DISABLED
- - unsigned DD_SOURCE
- - unsigned DD_TARGET
- - unsigned DD_SOURCE_AND_TARGET
- - int SOUND_EFFECT
- - int SOUND_AMBIENT
- - int SOUND_VOICE
- - int SOUND_MUSIC
- - int SOUND_MASTER
- - int MAX_SOUND_TYPES
- - int VAR_NONE
- - int VAR_INT
- - int VAR_BOOL
- - int VAR_FLOAT
- - int VAR_VECTOR2
- - int VAR_VECTOR3
- - int VAR_VECTOR4
- - int VAR_QUATERNION
- - int VAR_COLOR
- - int VAR_STRING
- - int VAR_BUFFER
- - int VAR_PTR
- - int VAR_RESOURCEREF
- - int VAR_RESOURCEREFLIST
- - int VAR_VARIANTVECTOR
- - int VAR_VARIANTMAP
- - int VAR_INTRECT
- - int VAR_INTVECTOR2
- - int MAX_VAR_TYPES
- - int UPDATE_NONE
- - int UPDATE_MAIN_THREAD
- - int UPDATE_WORKER_THREAD
- - int RENDER_FORWARD
- - int RENDER_PREPASS
- - int RENDER_DEFERRED
- - int TRIANGLE_LIST
- - int LINE_LIST
- - int GEOM_STATIC
- - int GEOM_SKINNED
- - int GEOM_INSTANCED
- - int GEOM_BILLBOARD
- - int GEOM_STATIC_NOINSTANCING
- - int MAX_GEOMETRYTYPES
- - int BLEND_REPLACE
- - int BLEND_ADD
- - int BLEND_MULTIPLY
- - int BLEND_ALPHA
- - int BLEND_ADDALPHA
- - int BLEND_PREMULALPHA
- - int BLEND_INVDESTALPHA
- - int MAX_BLENDMODES
- - int CMP_ALWAYS
- - int CMP_EQUAL
- - int CMP_NOTEQUAL
- - int CMP_LESS
- - int CMP_LESSEQUAL
- - int CMP_GREATER
- - int CMP_GREATEREQUAL
- - int MAX_COMPAREMODES
- - int CULL_NONE
- - int CULL_CCW
- - int CULL_CW
- - int MAX_CULLMODES
- - int FILL_SOLID
- - int FILL_WIREFRAME
- - int FILL_POINT
- - int OP_KEEP
- - int OP_ZERO
- - int OP_REF
- - int OP_INCR
- - int OP_DECR
- - int LOCK_NONE
- - int LOCK_HARDWARE
- - int LOCK_SHADOW
- - int LOCK_SCRATCH
- - int ELEMENT_POSITION
- - int ELEMENT_NORMAL
- - int ELEMENT_COLOR
- - int ELEMENT_TEXCOORD1
- - int ELEMENT_TEXCOORD2
- - int ELEMENT_CUBETEXCOORD1
- - int ELEMENT_CUBETEXCOORD2
- - int ELEMENT_TANGENT
- - int ELEMENT_BLENDWEIGHTS
- - int ELEMENT_BLENDINDICES
- - int ELEMENT_INSTANCEMATRIX1
- - int ELEMENT_INSTANCEMATRIX2
- - int ELEMENT_INSTANCEMATRIX3
- - int MAX_VERTEX_ELEMENTS
- - int FILTER_NEAREST
- - int FILTER_BILINEAR
- - int FILTER_TRILINEAR
- - int FILTER_ANISOTROPIC
- - int FILTER_DEFAULT
- - int MAX_FILTERMODES
- - int ADDRESS_WRAP
- - int ADDRESS_MIRROR
- - int ADDRESS_CLAMP
- - int ADDRESS_BORDER
- - int MAX_ADDRESSMODES
- - int COORD_U
- - int COORD_V
- - int COORD_W
- - int MAX_COORDS
- - int TEXTURE_STATIC
- - int TEXTURE_DYNAMIC
- - int TEXTURE_RENDERTARGET
- - int TEXTURE_DEPTHSTENCIL
- - int FACE_POSITIVE_X
- - int FACE_NEGATIVE_X
- - int FACE_POSITIVE_Y
- - int FACE_NEGATIVE_Y
- - int FACE_POSITIVE_Z
- - int FACE_NEGATIVE_Z
- - int MAX_CUBEMAP_FACES
- - int SURFACE_MANUALUPDATE
- - int SURFACE_UPDATEVISIBLE
- - int SURFACE_UPDATEALWAYS
- - int VS
- - int PS
- - int TU_DIFFUSE
- - int TU_ALBEDOBUFFER
- - int TU_NORMAL
- - int TU_NORMALBUFFER
- - int TU_SPECULAR
- - int TU_EMISSIVE
- - int TU_ENVIRONMENT
- - int MAX_MATERIAL_TEXTURE_UNITS
- - int TU_LIGHTRAMP
- - int TU_LIGHTSHAPE
- - int TU_SHADOWMAP
- - int TU_FACESELECT
- - int TU_INDIRECTION
- - int TU_DEPTHBUFFER
- - int TU_LIGHTBUFFER
- - int MAX_TEXTURE_UNITS
- - int SP_FRAME
- - int SP_CAMERA
- - int SP_VIEWPORT
- - int SP_ZONE
- - int SP_LIGHT
- - int SP_VERTEXLIGHTS
- - int SP_MATERIAL
- - int SP_OBJECTTRANSFORM
- - int SP_OBJECTDATA
- - int MAX_SHADER_PARAMETER_GROUPS
- - int LIGHT_DIRECTIONAL
- - int LIGHT_SPOT
- - int LIGHT_POINT
- - int RAY_AABB_NOSUBOBJECTS
- - int RAY_AABB
- - int RAY_OBB
- - int RAY_TRIANGLE
- - int EMITTER_SPHERE
- - int EMITTER_BOX
- - int LVS_DIR
- - int LVS_SPOT
- - int LVS_POINT
- - int LVS_SPEC
- - int LVS_SPOTSPEC
- - int LVS_POINTSPEC
- - int LVS_SHADOW
- - int LVS_SPOTSHADOW
- - int LVS_POINTSHADOW
- - int LVS_DIRSPECSHADOW
- - int LVS_SPOTSPECSHADOW
- - int LVS_POINTSPECSHADOW
- - int MAX_LIGHT_VS_VARIATIONS
- - int VLVS_NOLIGHTS
- - int VLVS_1LIGHT
- - int VLVS_2LIGHTS
- - int VLVS_3LIGHTS
- - int VLVS_4LIGHTS
- - int MAX_VERTEXLIGHT_VS_VARIATIONS
- - int LPS_NONE
- - int LPS_SPOT
- - int LPS_POINT
- - int LPS_POINTMASK
- - int LPS_SPEC
- - int LPS_SPOTSPEC
- - int LPS_POINTSPEC
- - int LPS_POINTMASKSPEC
- - int LPS_SHADOW
- - int LPS_SPOTSHADOW
- - int LPS_POINTSHADOW
- - int LPS_POINTMASKSHADOW
- - int LPS_SHADOWSPEC
- - int LPS_SPOTSHADOWSPEC
- - int LPS_POINTSHADOWSPEC
- - int LPS_POINTMASKSHADOWSPEC
- - int MAX_LIGHT_PS_VARIATIONS
- - int DLVS_NONE
- - int DLVS_DIR
- - int DLVS_ORTHO
- - int DLVS_ORTHODIR
- - int MAX_DEFERRED_LIGHT_VS_VARIATIONS
- - int DLPS_NONE
- - int DLPS_SPOT
- - int DLPS_POINT
- - int DLPS_POINTMASK
- - int DLPS_SPEC
- - int DLPS_SPOTSPEC
- - int DLPS_POINTSPEC
- - int DLPS_POINTMASKSPEC
- - int DLPS_SHADOW
- - int DLPS_SPOTSHADOW
- - int DLPS_POINTSHADOW
- - int DLPS_POINTMASKSHADOW
- - int DLPS_SHADOWSPEC
- - int DLPS_SPOTSHADOWSPEC
- - int DLPS_POINTSHADOWSPEC
- - int DLPS_POINTMASKSHADOWSPEC
- - int DLPS_ORTHO
- - int DLPS_ORTHOSPOT
- - int DLPS_ORTHOPOINT
- - int DLPS_ORTHOPOINTMASK
- - int DLPS_ORTHOSPEC
- - int DLPS_ORTHOSPOTSPEC
- - int DLPS_ORTHOPOINTSPEC
- - int DLPS_ORTHOPOINTMASKSPEC
- - int DLPS_ORTHOSHADOW
- - int DLPS_ORTHOSPOTSHADOW
- - int DLPS_ORTHOPOINTSHADOW
- - int DLPS_ORTHOPOINTMASKSHADOW
- - int DLPS_ORTHOSHADOWSPEC
- - int DLPS_ORTHOSPOTSHADOWSPEC
- - int DLPS_ORTHOPOINTSHADOWSPEC
- - int DLPS_ORTHOPOINTMASKSHADOWSPEC
- - int MAX_DEFERRED_LIGHT_PS_VARIATIONS
- - int LIGHTING_UNLIT
- - int LIGHTING_PERVERTEX
- - int LIGHTING_PERPIXEL
- - int FILE_READ
- - int FILE_WRITE
- - int FILE_READWRITE
- - int PLANE_NEAR
- - int PLANE_LEFT
- - int PLANE_RIGHT
- - int PLANE_UP
- - int PLANE_DOWN
- - int PLANE_FAR
- - int OUTSIDE
- - int INTERSECTS
- - int INSIDE
- - int SHAPE_BOX
- - int SHAPE_SPHERE
- - int SHAPE_STATICPLANE
- - int SHAPE_CYLINDER
- - int SHAPE_CAPSULE
- - int SHAPE_CONE
- - int SHAPE_TRIANGLEMESH
- - int SHAPE_CONVEXHULL
- - int SHAPE_TERRAIN
- - int CONSTRAINT_POINT
- - int CONSTRAINT_HINGE
- - int CONSTRAINT_SLIDER
- - int CONSTRAINT_CONETWIST
- - int COLLISION_NEVER
- - int COLLISION_ACTIVE
- - int COLLISION_ALWAYS
- - int CF_NONE
- - int CF_DXT1
- - int CF_DXT3
- - int CF_DXT5
- - int CF_ETC1
- - int CF_PVRTC_RGB_2BPP
- - int CF_PVRTC_RGBA_2BPP
- - int CF_PVRTC_RGB_4BPP
- - int CF_PVRTC_RGBA_4BPP
- - int REPLICATED
- - int LOCAL
- - int CS_NORMAL
- - int CS_RESIZEVERTICAL
- - int CS_RESIZEDIAGONAL_TOPRIGHT
- - int CS_RESIZEHORIZONTAL
- - int CS_RESIZEDIAGONAL_TOPLEFT
- - int CS_ACCEPTDROP
- - int CS_REJECTDROP
- - int CS_BUSY
- - int CS_MAX_SHAPES
- - int HM_NEVER
- - int HM_FOCUS
- - int HM_ALWAYS
- - int HA_LEFT
- - int HA_CENTER
- - int HA_RIGHT
- - int VA_TOP
- - int VA_CENTER
- - int VA_BOTTOM
- - int C_TOPLEFT
- - int C_TOPRIGHT
- - int C_BOTTOMLEFT
- - int C_BOTTOMRIGHT
- - int MAX_UIELEMENT_CORNERS
- - int O_HORIZONTAL
- - int O_VERTICAL
- - int FM_NOTFOCUSABLE
- - int FM_RESETFOCUS
- - int FM_FOCUSABLE
- - int FM_FOCUSABLE_DEFOCUSABLE
- - int LM_FREE
- - int LM_HORIZONTAL
- - int LM_VERTICAL
- - int TM_BREADTH_FIRST
- - int TM_DEPTH_FIRST
- - int DRAG_NONE
- - int DRAG_MOVE
- - int DRAG_RESIZE_TOPLEFT
- - int DRAG_RESIZE_TOP
- - int DRAG_RESIZE_TOPRIGHT
- - int DRAG_RESIZE_RIGHT
- - int DRAG_RESIZE_BOTTOMRIGHT
- - int DRAG_RESIZE_BOTTOM
- - int DRAG_RESIZE_BOTTOMLEFT
- - int DRAG_RESIZE_LEFT
- section LuaScriptAPI_Classes Classes
- Audio : Object
- Methods:<br>
- - bool SetMode(int bufferLengthMSec, int mixRate, bool stereo, bool interpolation = true)
- - bool Play()
- - void Stop()
- - void SetMasterGain(SoundType type, float gain)
- - void SetListener(SoundListener* listener)
- - void StopSound(Sound* sound)
- - unsigned GetSampleSize() const
- - int GetMixRate() const
- - bool GetInterpolation() const
- - bool IsStereo() const
- - bool IsPlaying() const
- - bool IsInitialized() const
- - float GetMasterGain(SoundType type) const
- - SoundListener* GetListener() const
- - void AddSoundSource(SoundSource* soundSource)
- - void RemoveSoundSource(SoundSource* soundSource)
- - float GetSoundSourceMasterGain(SoundType type) const
- - void MixOutput(void *dest, unsigned samples)
- Properties:<br>
- - unsigned sampleSize (readonly)
- - int mixRate (readonly)
- - bool interpolation (readonly)
- - SoundListener* listener
- - bool stereo (readonly)
- - bool playing (readonly)
- - bool initialized (readonly)
- Sound : Resource
- Methods:<br>
- - float GetLength() const
- - unsigned GetDataSize() const
- - unsigned GetSampleSize() const
- - float GetFrequency()
- - unsigned GetIntFrequency()
- - bool IsLooped() const
- - bool IsSixteenBit() const
- - bool IsStereo() const
- - bool IsCompressed() const
- Properties:<br>
- - float length (readonly)
- - unsigned dataSize (readonly)
- - unsigned sampleSize (readonly)
- - float frequency (readonly)
- - int intFrequency (readonly)
- - bool looped
- - bool sixteenBit (readonly)
- - bool stereo (readonly)
- - bool compressed (readonly)
- SoundListener : Component
- Methods:<br>
- SoundSource : Component
- Methods:<br>
- - void Play(Sound* sound)
- - void Play(Sound* sound, float frequency)
- - void Play(Sound* sound, float frequency, float gain)
- - void Play(Sound* sound, float frequency, float gain, float panning)
- - void Stop()
- - void SetSoundType(SoundType type)
- - void SetFrequency(float frequency)
- - void SetGain(float gain)
- - void SetAttenuation(float attenuation)
- - void SetPanning(float panning)
- - void SetAutoRemove(bool enable)
- - Sound* GetSound() const
- - SoundType GetSoundType() const
- - float GetTimePosition() const
- - float GetFrequency() const
- - float GetGain() const
- - float GetAttenuation() const
- - float GetPanning() const
- - bool GetAutoRemove() const
- - bool IsPlaying() const
- - void PlayLockless(Sound* sound)
- - void StopLockless()
- - void SetPlayPositionLockless(signed char* position)
- - void Mix(int* dest, unsigned samples, int mixRate, bool stereo, bool interpolation)
- Properties:<br>
- - Sound* sound (readonly)
- - SoundType soundType
- - float timePosition (readonly)
- - float frequency
- - float gain
- - float attenuation
- - float panning
- - bool autoRemove
- - bool playing (readonly)
- SoundSource3D : SoundSource
- Methods:<br>
- - void SetDistanceAttenuation(float nearDistance, float farDistance, float rolloffFactor)
- - void SetNearDistance(float distance)
- - void SetFarDistance(float distance)
- - void SetRolloffFactor(float factor)
- - void CalculateAttenuation()
- - float GetNearDistance() const
- - float GetFarDistance() const
- - float RollAngleoffFactor() const
- Properties:<br>
- - float nearDistance
- - float farDistance
- - float rolloffFactor
- Vector : VectorBase
- Methods:<br>
- - TOLUA_TEMPLATE_BIND(T, String)
- - Vector()
- - Vector(const Vector<T>& vector)
- - ~Vector()
- - Vector<T> operator + (const T& rhs) const
- - Vector<T> operator + (const Vector<T>& rhs) const
- - bool operator == (const Vector<T>& rhs) const
- - T& operator [] (unsigned index)
- - const T& operator [] (unsigned index) const
- - T& At(unsigned index)
- - const T& At(unsigned index) const
- - void Push(const T& value)
- - void Push(const Vector<T>& vector)
- - void Pop()
- - void Insert(unsigned pos, const T& value)
- - void Insert(unsigned pos, const Vector<T>& vector)
- - void Erase(unsigned pos, unsigned length = 1)
- - bool Remove(const T& value)
- - void Clear()
- - void Resize(unsigned newSize)
- - void Reserve(unsigned newCapacity)
- - void Compact()
- - bool Contains(const T& value) const
- - T& Front()
- - const T& Front() const
- - T& Back()
- - const T& Back() const
- - unsigned Size() const
- - unsigned Capacity() const
- - bool Empty() const
- Properties:<br>
- - unsigned size (readonly)
- - unsigned capacity (readonly)
- - bool empty (readonly)
- PODVector
- Methods:<br>
- - TOLUA_TEMPLATE_BIND(T, Vector3)
- - PODVector()
- - PODVector(const PODVector<T>& vector)
- - ~PODVector()
- - PODVector<T> operator + (const T& rhs) const
- - PODVector<T> operator + (const PODVector<T>& rhs) const
- - bool operator == (const PODVector<T>& rhs) const
- - T& operator [] (unsigned index)
- - const T& operator [] (unsigned index) const
- - T& At(unsigned index)
- - const T& At(unsigned index) const
- - void Push(const T& value)
- - void Push(const PODVector<T>& vector)
- - void Pop()
- - void Insert(unsigned pos, const T& value)
- - void Insert(unsigned pos, const PODVector<T>& vector)
- - void Erase(unsigned pos, unsigned length = 1)
- - bool Remove(const T& value)
- - void Clear()
- - void Resize(unsigned newSize)
- - void Reserve(unsigned newCapacity)
- - void Compact()
- - bool Contains(const T& value) const
- - T& Front()
- - const T& Front() const
- - T& Back()
- - const T& Back() const
- - unsigned Size() const
- - unsigned Capacity() const
- - bool Empty() const
- Properties:<br>
- - unsigned size (readonly)
- - unsigned capacity (readonly)
- - bool empty (readonly)
- Context
- Methods:<br>
- - Object* GetEventSender() const
- - EventHandler* GetEventHandler() const
- - const String& GetTypeName(ShortStringHash type) const
- Object : RefCounted
- Methods:<br>
- - ShortStringHash GetType() const
- - const String& GetTypeName() const
- - const String& GetCategory() const
- - void SendEvent(const String eventName, VariantMap* eventData = 0)
- Properties:<br>
- - ShortStringHash type (readonly)
- - const String typeName (readonly)
- - const String category (readonly)
- Time : Object
- Methods:<br>
- - unsigned GetFrameNumber() const
- - float GetTimeStep() const
- - unsigned GetTimerPeriod() const
- - float GetElapsedTime()
- - static unsigned GetSystemTime()
- - static String GetTimeStamp()
- - static void Sleep(unsigned mSec)
- Properties:<br>
- - unsigned frameNumber (readonly)
- - float timeStep (readonly)
- - unsigned timerPeriod (readonly)
- - float elapsedTime (readonly)
- ResourceRef
- Methods:<br>
- - ResourceRef()
- - ResourceRef(ShortStringHash type)
- - ResourceRef(ShortStringHash type, StringHash id)
- - ResourceRef(const ResourceRef& rhs)
- - ShortStringHash type
- - StringHash id
- - bool operator == (const ResourceRef& rhs) const
- ResourceRefList
- Methods:<br>
- - ResourceRefList()
- - ResourceRefList(ShortStringHash type)
- - ShortStringHash type
- - bool operator == (const ResourceRefList& rhs) const
- Variant
- Methods:<br>
- - Variant()
- - Variant(int value)
- - Variant(unsigned value)
- - Variant(const StringHash& value)
- - Variant(const ShortStringHash& value)
- - Variant(bool value)
- - Variant(float value)
- - Variant(const Vector2& value)
- - Variant(const Vector3& value)
- - Variant(const Vector4& value)
- - Variant(const Quaternion& value)
- - Variant(const Color& value)
- - Variant(const String value)
- - Variant(const char* value)
- - Variant(void* value)
- - Variant(const ResourceRef& value)
- - Variant(const ResourceRefList& value)
- - Variant(const IntRect& value)
- - Variant(const IntVector2& value)
- - Variant(const String type, const String value)
- - Variant(VariantType type, const String value)
- - Variant(VariantType type, const char* value)
- - Variant(const Variant& value)
- - ~Variant()
- - void Clear()
- - bool operator == (const Variant& rhs) const
- - bool operator == (int rhs) const
- - bool operator == (unsigned rhs) const
- - bool operator == (bool rhs) const
- - bool operator == (float rhs) const
- - bool operator == (const Vector2& rhs)
- - bool operator == (const Vector3& rhs) const
- - bool operator == (const Vector4& rhs) const
- - bool operator == (const Quaternion& rhs) const
- - bool operator == (const Color& rhs) const
- - bool operator == (const String& rhs) const
- - bool operator == (void* rhs) const
- - bool operator == (const ResourceRef& rhs) const
- - bool operator == (const ResourceRefList& rhs) const
- - bool operator == (const IntRect& rhs) const
- - bool operator == (const IntVector2& rhs) const
- - bool operator == (const StringHash& rhs) const
- - bool operator == (const ShortStringHash& rhs) const
- - int GetInt() const
- - int GetUInt() const
- - StringHash GetStringHash()
- - ShortStringHash GetShortStringHash()
- - 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
- - const IntRect& GetIntRect() const
- - const IntVector2& GetIntVector2() const
- - VariantType GetType() const
- - String GetTypeName() const
- - String ToString() const
- - bool IsZero() const
- - bool IsEmpty() const
- Properties:<br>
- - VariantType type (readonly)
- - String typeName (readonly)
- - bool zero (readonly)
- - bool empty (readonly)
- VariantMap
- Methods:<br>
- - VariantMap()
- - ~VariantMap()
- - void SetInt(const String key, int value)
- - void SetBool(const String key, bool value)
- - void SetFloat(const String key, float value)
- - void SetVector2(const String key, const Vector2 value)
- - void SetVector3(const String key, const Vector3 value)
- - void SetVector4(const String key, const Vector4 value)
- - void SetQuaternion(const String key, const Quaternion value)
- - void SetColor(const String key, const Color value)
- - void SetString(const String key, const String value)
- - void SetPtr(const String key, void* value)
- - void SetResourceRef(const String key, const ResourceRef value)
- - void SetResourceRefList(const String key, const ResourceRefList value)
- - void SetIntRect(const String key, const IntRect value)
- - void SetIntVector2(const String key, const IntVector2 value)
- - bool GetBool(const String key)
- - float GetFloat(const String key)
- - const Vector2 GetVector2(const String key)
- - const Vector3 GetVector3(const String key)
- - const Vector4 GetVector4(const String key)
- - const Quaternion GetQuaternion(const String key)
- - const Color GetColor(const String key)
- - const String GetString(const String key)
- - const ResourceRef GetResourceRef(const String key)
- - const ResourceRefList GetResourceRefList(const String key)
- - const IntRect GetIntRect(const String key)
- - const IntVector2 GetIntVector2(const String key)
- - const void* GetPtr(const String type, const String key)
- Console : Object
- Methods:<br>
- - void SetDefaultStyle(XMLFile* style)
- - void SetVisible(bool enable)
- - void Toggle()
- - void SetNumRows(unsigned rows)
- - void SetNumHistoryRows(unsigned rows)
- - void UpdateElements()
- - XMLFile* GetDefaultStyle() const
- - BorderImage* GetBackground() const
- - LineEdit* GetLineEdit() const
- - bool IsVisible() const
- - unsigned GetNumRows() const
- - unsigned GetNumHistoryRows() const
- - unsigned GetHistoryPosition() const
- - const String& GetHistoryRow(unsigned index) const
- Properties:<br>
- - XMLFile* defaultStyle
- - BorderImage* background (readonly)
- - LineEdit* lineEdit (readonly)
- - bool visible
- - unsigned numRows
- - unsigned numHistoryRows
- - unsigned historyPosition (readonly)
- DebugHud : Object
- Methods:<br>
- - void SetDefaultStyle(XMLFile* style)
- - void SetMode(unsigned mode)
- - void SetProfilerMaxDepth(unsigned depth)
- - void SetProfilerInterval(float interval)
- - void SetUseRendererStats(bool enable)
- - void Toggle(unsigned mode)
- - void ToggleAll()
- - XMLFile* GetDefaultStyle() const
- - Text* GetStatsText() const
- - Text* GetModeText() const
- - Text* GetProfilerText() const
- - unsigned GetMode() const
- - unsigned GetProfilerMaxDepth() const
- - float GetProfilerInterval() const
- - bool GetUseRendererStats() const
- - void SetAppStats(const String label, const Variant stats)
- - void SetAppStats(const String label, const String stats)
- - bool ResetAppStats(const String label)
- - void ClearAppStats()
- Properties:<br>
- - XMLFile* defaultStyle
- - Text* statsText (readonly)
- - Text* modeText (readonly)
- - Text* profilerText (readonly)
- - unsigned mode
- - unsigned profilerMaxDepth
- - float profilerInterval
- - bool useRendererStats
- Engine : Object
- Methods:<br>
- - void RunFrame()
- - Console* CreateConsole()
- - DebugHud* CreateDebugHud()
- - void SetMinFps(int fps)
- - void SetMaxFps(int fps)
- - void SetMaxInactiveFps(int fps)
- - void SetPauseMinimized(bool enable)
- - void SetAutoExit(bool enable)
- - void Exit()
- - void DumpProfiler()
- - void DumpResources()
- - void DumpMemory()
- - int GetMinFps() const
- - int GetMaxFps() const
- - int GetMaxInactiveFps() const
- - bool GetPauseMinimized() const
- - bool GetAutoExit() const
- - bool IsInitialized() const
- - bool IsExiting() const
- - bool IsHeadless() const
- Properties:<br>
- - int minFps
- - int maxFps
- - int maxInactiveFps
- - bool pauseMinimized
- - bool autoExit
- - bool initialized (readonly)
- - bool exiting (readonly)
- - bool headless (readonly)
- AnimatedModel : StaticModel
- Methods:<br>
- - void SetModel(Model* model, bool createBones = true)
- - AnimationState* AddAnimationState(Animation* animation)
- - void RemoveAnimationState(Animation* animation)
- - void RemoveAnimationState(const String animationName)
- - void RemoveAnimationState(StringHash animationNameHash)
- - void RemoveAnimationState(AnimationState* state)
- - void RemoveAnimationState(unsigned index)
- - void RemoveAllAnimationStates()
- - void SetAnimationLodBias(float bias)
- - void SetInvisibleLodFactor(float factor)
- - void SetMorphWeight(unsigned index, float weight)
- - void SetMorphWeight(const String name, float weight)
- - void SetMorphWeight(StringHash nameHash, float weight)
- - void ResetMorphWeights()
- - Skeleton& GetSkeleton()
- - unsigned GetNumAnimationStates() const
- - AnimationState* GetAnimationState(Animation* animation) const
- - AnimationState* GetAnimationState(const String animationName) const
- - AnimationState* GetAnimationState(const StringHash animationNameHash) const
- - AnimationState* GetAnimationState(unsigned index) const
- - float GetAnimationLodBias() const
- - float GetInvisibleLodFactor() const
- - unsigned GetNumMorphs() const
- - float GetMorphWeight(unsigned index) const
- - float GetMorphWeight(const String name) const
- - float GetMorphWeight(StringHash nameHash) const
- - bool IsMaster() const
- Properties:<br>
- - Skeleton& skeleton (readonly)
- - unsigned numAnimationStates (readonly)
- - float animationLodBias
- - float invisibleLodFactor
- - unsigned numMorphs (readonly)
- - bool master (readonly)
- AnimationKeyFrame
- Methods:<br>
- - float time
- - Vector3 position
- - Quaternion rotation
- - Vector3 scale
- AnimationTrack
- Methods:<br>
- - void GetKeyFrameIndex(float time, unsigned& index) const
- - String name
- - StringHash nameHash
- - unsigned channelMas
- - Vector<AnimationKeyFrame> keyFrames
- AnimationTriggerPoint
- Methods:<br>
- - AnimationTriggerPoint()
- - float time
- - Variant data
- Animation : Resource
- Methods:<br>
- - const String& GetAnimationName() const
- - StringHash GetAnimationNameHash() const
- - float GetLength() const
- - unsigned GetNumTracks() const
- - const AnimationTrack* GetTrack(unsigned index) const
- - const AnimationTrack* GetTrack(const String name) const
- - const AnimationTrack* GetTrack(StringHash nameHash) const
- - unsigned GetNumTriggers() const
- Properties:<br>
- - String& animationName (readonly)
- - StringHash animationNameHash (readonly)
- - float length (readonly)
- - unsigned numTracks (readonly)
- - unsigned numTriggers (readonly)
- AnimationControl
- Methods:<br>
- - AnimationControl()
- - StringHash hash_
- - float speed_
- - float targetWeight_
- - float fadeTime_
- - float autoFadeTime_
- - float setTimeTtl_
- - float setWeightTtl_
- - unsigned short setTime_
- - unsigned char setWeight_
- - unsigned char setTimeRev_
- - unsigned char setWeightRev_
- AnimationController : Component
- Methods:<br>
- - bool Play(const String name, unsigned char layer, bool looped, float fadeInTime = 0.0f)
- - bool PlayExclusive(const String name, unsigned char layer, bool looped, float fadeTime = 0.0f)
- - bool Stop(const String name, float fadeOutTime = 0.0f)
- - void StopLayer(unsigned char layer, float fadeOutTime = 0.0f)
- - void StopAll(float fadeTime = 0.0f)
- - bool Fade(const String name, float targetWeight, float fadeTime)
- - bool FadeOthers(const String name, float targetWeight, float fadeTime)
- - bool SetLayer(const String name, unsigned char layer)
- - bool SetStartBone(const String name, const String startBoneName)
- - bool SetTime(const String name, float time)
- - bool SetWeight(const String name, float weight)
- - bool SetLooped(const String name, bool enable)
- - bool SetSpeed(const String name, float speed)
- - bool SetAutoFade(const String name, float fadeOutTime)
- - bool IsPlaying(const String name) const
- - bool IsFadingIn(const String name) const
- - bool IsFadingOut(const String name) const
- - unsigned char GetLayer(const String name) const
- - Bone* GetStartBone(const String name) const
- - const String& GetStartBoneName(const String name) const
- - float GetTime(const String name) const
- - float GetWeight(const String name) const
- - bool IsLooped(const String name) const
- - float GetLength(const String name) const
- - float GetSpeed(const String name) const
- - float GetFadeTarget(const String name) const
- - float GetFadeTime(const String name) const
- - float GetAutoFade(const String name) const
- AnimationState
- Methods:<br>
- - AnimationState(AnimatedModel* model, Animation* animation)
- - AnimationState(Node* node, Animation* animation)
- - ~AnimationState()
- - void SetStartBone(Bone* bone)
- - void SetLooped(bool looped)
- - void SetWeight(float weight)
- - void SetTime(float time)
- - void SetBoneWeight(unsigned index, float weight)
- - void SetBoneWeight(const String name, float weight)
- - void SetBoneWeight(StringHash nameHash, float weight)
- - void AddWeight(float delta)
- - void AddTime(float delta)
- - void SetLayer(unsigned char layer)
- - Animation* GetAnimation() const
- - Bone* GetStartBone() const
- - float GetBoneWeight(unsigned index) const
- - float GetBoneWeight(const String name) const
- - float GetBoneWeight(StringHash nameHash) const
- - unsigned GetTrackIndex(const String name) const
- - unsigned GetTrackIndex(StringHash nameHash) const
- - bool IsEnabled() const
- - bool IsLooped() const
- - float GetWeight() const
- - float GetTime() const
- - float GetLength() const
- - unsigned char GetLayer() const
- Properties:<br>
- - Animation* animation (readonly)
- - Bone* startBone
- - bool enabled (readonly)
- - bool looped
- - float weight
- - float time
- - float length (readonly)
- - unsigned char layer
- Billboard
- Methods:<br>
- - Vector3 position
- - Vector2 size
- - Rect uv
- - Color color
- - float rotation
- - bool enabled
- - float sortDistance
- BillboardSet : Drawable
- Methods:<br>
- - void SetMaterial(Material* material)
- - void SetNumBillboards(unsigned num)
- - void SetRelative(bool enable)
- - void SetScaled(bool enable)
- - void SetSorted(bool enable)
- - void SetAnimationLodBias(float bias)
- - void Commit()
- - Material* GetMaterial() const
- - unsigned GetNumBillboards() const
- - Billboard* GetBillboard(unsigned index)
- - bool IsRelative() const
- - bool IsScaled() const
- - bool IsSorted() const
- - float GetAnimationLodBias() const
- Properties:<br>
- - Material* material
- - unsigned numBillboards
- - bool relative
- - bool scaled
- - bool sorted
- - float animationLodBias
- Camera : Component
- Methods:<br>
- - void SetNearClip(float nearClip)
- - void SetFarClip(float farClip)
- - void SetFov(float fov)
- - void SetOrthoSize(float orthoSize)
- - void SetOrthoSize(const Vector2& orthoSize)
- - void SetAspectRatio(float aspectRatio)
- - void SetFillMode(FillMode mode)
- - void SetZoom(float zoom)
- - void SetLodBias(float bias)
- - void SetViewMask(unsigned mask)
- - void SetViewOverrideFlags(unsigned flags)
- - void SetOrthographic(bool enable)
- - void SetAutoAspectRatio(bool enable)
- - void SetProjectionOffset(const Vector2& offset)
- - float GetFarClip() const
- - float GetNearClip() const
- - float GetFov() const
- - float GetOrthoSize() const
- - float GetAspectRatio() const
- - float GetZoom() const
- - float GetLodBias() const
- - unsigned GetViewMask() const
- - unsigned GetViewOverrideFlags() const
- - FillMode GetFillMode() const
- - bool IsOrthographic() const
- - bool GetAutoAspectRatio() const
- - const Frustum& GetFrustum() const
- - const Matrix4& GetProjection() const
- - Matrix4 GetProjection(bool apiSpecific) const
- - const Matrix3x4& GetView() const
- - void GetFrustumSize(Vector3& near, Vector3& far) const
- - float GetHalfViewSize() const
- - Frustum GetSplitFrustum(float nearClip, float farClip) const
- - Frustum GetViewSpaceFrustum() const
- - Frustum GetViewSpaceSplitFrustum(float nearClip, float farClip) const
- - Ray GetScreenRay(float x, float y) const
- - Vector2 WorldToScreenPoint(const Vector3& worldPos) const
- - Vector3 ScreenToWorldPoint(const Vector3& screenPos) const
- - Vector3 GetForwardVector() const
- - Vector3 GetRightVector() const
- - Vector3 GetUpVector() const
- - const Vector2& GetProjectionOffset() const
- - float GetDistance(const Vector3& worldPos) const
- - float GetDistanceSquared(const Vector3& worldPos) const
- - float GetLodDistance(float distance, float scale, float bias) const
- - bool IsProjectionValid() const
- Properties:<br>
- - float farClip
- - float nearClip
- - float fov
- - float orthoSize
- - float aspectRatio
- - float zoom
- - float lodBias
- - unsigned viewMask
- - unsigned viewOverrideFlags
- - FillMode fillMode
- - bool orthographic
- - bool autoAspectRatio
- - Frustum& frustum (readonly)
- - Matrix4& projection (readonly)
- - Matrix3x4& view (readonly)
- - float halfViewSize (readonly)
- - Frustum viewSpaceFrustum (readonly)
- - Vector3 forwardVector (readonly)
- - Vector3 rightVector (readonly)
- - Vector3 upVector (readonly)
- - Vector2& projectionOffset
- - bool projectionValid (readonly)
- DebugRenderer : Component
- Methods:<br>
- - void SetView(Camera* camera)
- - void AddLine(const Vector3& start, const Vector3& end, const Color& color, bool depthTest = true)
- - void AddLine(const Vector3& start, const Vector3& end, unsigned color, bool depthTest = true)
- - void AddNode(Node* node, float scale = 1.0f, bool depthTest = true)
- - void AddBoundingBox(const BoundingBox& box, const Color& color, bool depthTest = true)
- - void AddBoundingBox(const BoundingBox& box, const Matrix3x4& transform, const Color& color, bool depthTest = true)
- - void AddFrustum(const Frustum& frustum, const Color& color, bool depthTest = true)
- - void AddPolyhedron(const Polyhedron& poly, const Color& color, bool depthTest = true)
- - void AddSphere(const Sphere& sphere, const Color& color, bool depthTest = true)
- - void AddSkeleton(const Skeleton& skeleton, const Color& color, bool depthTest = true)
- - void AddTriangleMesh(const void* vertexData, unsigned vertexSize, const void* indexData, unsigned indexSize, unsigned indexStart, unsigned indexCount, const Matrix3x4& transform, const Color& color, bool depthTest = true)
- - void Render()
- - const Matrix3x4& GetView() const
- - const Matrix4& GetProjection() const
- - const Frustum& GetFrustum() const
- - bool IsInside(const BoundingBox& box) const
- Properties:<br>
- - Matrix3x4& view (readonly)
- - Matrix4& projection (readonly)
- - Frustum& frustum (readonly)
- DecalSet : Drawable
- Methods:<br>
- - void SetMaterial(Material* material)
- - void SetMaxVertices(unsigned num)
- - void SetMaxIndices(unsigned num)
- - bool AddDecal(Drawable* target, const Vector3& worldPosition, const Quaternion& worldRotation, float size, float aspectRatio, float depth, const Vector2& topLeftUV, const Vector2& bottomRightUV, float timeToLive = 0.0f, float normalCutoff = 0.1f, unsigned subGeometry = M_MAX_UNSIGNED)
- - void RemoveDecals(unsigned num)
- - void RemoveAllDecals()
- - Material* GetMaterial() const
- - unsigned GetNumDecals() const
- - unsigned GetNumVertices() const
- - unsigned GetNumIndices() const
- - unsigned GetMaxVertices() const
- - unsigned GetMaxIndices() const
- Properties:<br>
- - Material* material
- - unsigned numDecals (readonly)
- - unsigned numVertices (readonly)
- - unsigned numIndices (readonly)
- - unsigned maxVertices
- - unsigned maxIndices
- Drawable : Component
- Methods:<br>
- - void SetDrawDistance(float distance)
- - void SetShadowDistance(float distance)
- - void SetLodBias(float bias)
- - void SetViewMask(unsigned mask)
- - void SetLightMask(unsigned mask)
- - void SetShadowMask(unsigned mask)
- - void SetZoneMask(unsigned mask)
- - void SetMaxLights(unsigned num)
- - void SetCastShadows(bool enable)
- - void SetOccluder(bool enable)
- - void SetOccludee(bool enable)
- - void MarkForUpdate()
- - const BoundingBox& GetBoundingBox() const
- - const BoundingBox& GetWorldBoundingBox()
- - unsigned char GetDrawableFlags() const
- - float GetDrawDistance() const
- - float GetShadowDistance() const
- - float GetLodBias() const
- - unsigned GetViewMask() const
- - unsigned GetLightMask() const
- - unsigned GetShadowMask() const
- - unsigned GetZoneMask() const
- - unsigned GetMaxLights() const
- - bool GetCastShadows() const
- - bool IsOccluder() const
- - bool IsOccludee() const
- - void SetZone(Zone* zone, bool temporary = false)
- - void SetSortValue(float value)
- - void SetMinMaxZ(float minZ, float maxZ)
- - void MarkInView(const FrameInfo& frame, bool mainView = true)
- - void ClearLights()
- - void AddLight(Light* light)
- - void AddVertexLight(Light* light)
- - void LimitLights()
- - void LimitVertexLights()
- - void SetBasePass(unsigned batchIndex)
- - Octant* GetOctant() const
- - Zone* GetZone() const
- - Zone* GetLastZone() const
- - bool IsZoneDirty() const
- - float GetDistance() const
- - float GetLodDistance() const
- - float GetSortValue() const
- - bool IsInView(unsigned frameNumber) const
- - bool IsInView(const FrameInfo& frame, bool mainView = true) const
- - bool HasBasePass(unsigned batchIndex) const
- - Light* GetFirstLight() const
- - float GetMinZ() const
- - float GetMaxZ() const
- Properties:<br>
- - BoundingBox& worldBoundingBox (readonly)
- - unsigned char drawableFlags (readonly)
- - float drawDistance
- - float shadowDistance
- - float lodBias
- - unsigned viewMask
- - unsigned lightMask
- - unsigned shadowMask
- - unsigned zoneMask
- - unsigned maxLights
- - bool castShadows
- - bool occluder
- - bool occludee
- - Octant* octant (readonly)
- - Zone* zone
- - Zone* lastZone (readonly)
- - bool zoneDirty (readonly)
- - float distance (readonly)
- - float lodDistance (readonly)
- - float sortValue
- - Light* firstLight (readonly)
- - float minZ (readonly)
- - float maxZ (readonly)
- Graphics : Object
- Methods:<br>
- - void SetWindowTitle(const String windowTitle)
- - bool SetMode(int width, int height, bool fullscreen, bool resizable, bool vsync, bool tripleBuffer, int multiSample)
- - bool SetMode(int width, int height)
- - void SetSRGB(bool enable)
- - bool ToggleFullscreen()
- - void Close()
- - bool TakeScreenShot(Image& destImage)
- - bool IsInitialized() const
- - void* GetExternalWindow() const
- - const String& GetWindowTitle() const
- - int GetWidth() const
- - int GetHeight() const
- - int GetMultiSample() const
- - bool GetFullscreen() const
- - bool GetResizable() const
- - bool GetVSync() const
- - bool GetTripleBuffer() const
- - bool GetSRGB() const
- - bool IsDeviceLost() const
- - unsigned GetNumPrimitives() const
- - unsigned GetNumBatches() const
- - unsigned GetDummyColorFormat() const
- - unsigned GetShadowMapFormat() const
- - unsigned GetHiresShadowMapFormat() const
- - bool GetSM3Support() const
- - bool GetInstancingSupport() const
- - bool GetLightPrepassSupport() const
- - bool GetDeferredSupport() const
- - bool GetHardwareShadowSupport() const
- - bool GetStreamOffsetSupport() const
- - bool GetSRGBSupport() const
- - bool GetSRGBWriteSupport() const
- Properties:<br>
- - bool initialized (readonly)
- - const String windowTitle
- - int width (readonly)
- - int height (readonly)
- - int multiSample (readonly)
- - bool fullscreen (readonly)
- - bool resizable (readonly)
- - bool vSync (readonly)
- - bool tripleBuffer (readonly)
- - bool sRGB
- - bool deviceLost (readonly)
- - unsigned numPrimitives (readonly)
- - unsigned numBatches (readonly)
- - unsigned dummyColorFormat (readonly)
- - unsigned shadowMapFormat (readonly)
- - unsigned hiresShadowMapFormat (readonly)
- - bool sM3Support (readonly)
- - bool instancingSupport (readonly)
- - bool lightPrepassSupport (readonly)
- - bool deferredSupport (readonly)
- - bool hardwareShadowSupport (readonly)
- - bool streamOffsetSupport (readonly)
- - bool sRGBSupport (readonly)
- - bool sRGBWriteSupport (readonly)
- BiasParameters
- Methods:<br>
- - BiasParameters()
- - BiasParameters(float constantBias, float slopeScaledBias)
- CascadeParameters
- Methods:<br>
- - CascadeParameters()
- - CascadeParameters(float split1, float split2, float split3, float split4, float fadeStart, float biasAutoAdjust = 1.0f)
- FocusParameters
- Methods:<br>
- - FocusParameters()
- - FocusParameters(bool focus, bool nonUniform, bool autoSize, float quantize, float minView)
- Light : Drawable
- Methods:<br>
- - void SetLightType(LightType type)
- - void SetPerVertex(bool enable)
- - void SetColor(const Color& color)
- - void SetSpecularIntensity(float intensity)
- - void SetRange(float range)
- - void SetFov(float fov)
- - void SetAspectRatio(float aspectRatio)
- - void SetFadeDistance(float distance)
- - void SetShadowFadeDistance(float distance)
- - void SetShadowBias(const BiasParameters& parameters)
- - void SetShadowCascade(const CascadeParameters& parameters)
- - void SetShadowFocus(const FocusParameters& parameters)
- - void SetShadowIntensity(float intensity)
- - void SetShadowResolution(float resolution)
- - void SetShadowNearFarRatio(float nearFarRatio)
- - void SetRampTexture(Texture* texture)
- - void SetShapeTexture(Texture* texture)
- - LightType GetLightType() const
- - bool GetPerVertex() const
- - const Color& GetColor() const
- - float GetSpecularIntensity() const
- - float GetRange() const
- - float GetFov() const
- - float GetAspectRatio() const
- - float GetFadeDistance() const
- - float GetShadowFadeDistance() const
- - const BiasParameters& GetShadowBias() const
- - const CascadeParameters& GetShadowCascade() const
- - const FocusParameters& GetShadowFocus() const
- - float GetShadowIntensity() const
- - float GetShadowResolution() const
- - float GetShadowNearFarRatio() const
- - Texture* GetRampTexture() const
- - Texture* GetShapeTexture() const
- - Frustum GetFrustum() const
- Properties:<br>
- - LightType lightType
- - bool perVertex
- - Color& color
- - float specularIntensity
- - float range
- - float fov
- - float aspectRatio
- - float fadeDistance
- - float shadowFadeDistance
- - BiasParameters& shadowBias
- - CascadeParameters& shadowCascade
- - FocusParameters& shadowFocus
- - float shadowIntensity
- - float shadowResolution
- - float shadowNearFarRatio
- - Texture* rampTexture
- - Texture* shapeTexture
- - Frustum frustum (readonly)
- Material : Resource
- Methods:<br>
- - unsigned GetNumTechniques() const
- - Technique* GetTechnique(unsigned index) const
- - Pass* GetPass(unsigned index, StringHash passType) const
- - Pass* GetPass(unsigned index, const String passType) const
- - Texture* GetTexture(TextureUnit unit) const
- - CullMode GetCullMode() const
- - CullMode GetShadowCullMode() const
- - const BiasParameters& GetDepthBias() const
- - unsigned GetAuxViewFrameNumber() const
- - bool GetOcclusion() const
- - bool GetSpecular() const
- Properties:<br>
- - CullMode cullMode (readonly)
- - CullMode shadowCullMode (readonly)
- - unsigned auxViewFrameNumber (readonly)
- - bool occlusion (readonly)
- - bool specular (readonly)
- Model : Resource
- Methods:<br>
- - const BoundingBox& GetBoundingBox() const
- - Skeleton& GetSkeleton()
- - unsigned GetNumGeometries() const
- - unsigned GetNumGeometryLodLevels(unsigned index) const
- - Geometry* GetGeometry(unsigned index, unsigned lodLevel) const
- - unsigned GetNumMorphs() const
- - const ModelMorph* GetMorph(unsigned index) const
- - const ModelMorph* GetMorph(const String name) const
- - const ModelMorph* GetMorph(StringHash nameHash) const
- - unsigned GetMorphRangeStart(unsigned bufferIndex) const
- - unsigned GetMorphRangeCount(unsigned bufferIndex) const
- Properties:<br>
- - BoundingBox& boundingBox (readonly)
- - Skeleton skeleton (readonly)
- - unsigned numGeometries (readonly)
- - unsigned numMorphs (readonly)
- Octree : Component
- Methods:<br>
- - void SetSize(const BoundingBox& box, unsigned numLevels)
- - void Update(const FrameInfo& frame)
- - void AddManualDrawable(Drawable* drawable)
- - void RemoveManualDrawable(Drawable* drawable)
- - RayQueryResult RaycastSingle(const Ray& ray, RayQueryLevel level, float maxDistance, unsigned char drawableFlags) const
- - unsigned GetNumLevels() const
- - void QueueUpdate(Drawable* drawable)
- - void DrawDebugGeometry(bool depthTest)
- Properties:<br>
- - unsigned numLevels (readonly)
- RayQueryResult
- Methods:<br>
- - Drawable* drawable
- - Node* node
- - float distance
- - unsigned subObject
- Particle
- Methods:<br>
- - Vector3 velocity_
- - Vector2 size_
- - float timer_
- - float timeToLive_
- - float scale_
- - float rotationSpeed_
- - unsigned colorIndex_
- - unsigned texIndex_
- ColorFrame
- Methods:<br>
- - ColorFrame()
- - ColorFrame(const Color& color)
- - ColorFrame(const Color& color, float time)
- - Color Interpolate(const ColorFrame& next, float time)
- - Color color
- - float time
- TextureFrame
- Methods:<br>
- - TextureFrame()
- - Rect uv
- - float time
- ParticleEmitter : BillboardSet
- Methods:<br>
- - bool Load(XMLFile* file)
- - void SetNumParticles(unsigned num)
- - void SetEmissionRate(float rate)
- - void SetMinEmissionRate(float rate)
- - void SetMaxEmissionRate(float rate)
- - void SetEmitterType(EmitterType type)
- - void SetEmitterSize(const Vector3& size)
- - void SetActiveTime(float time)
- - void SetInactiveTime(float time)
- - void SetEmitting(bool enable, bool resetPeriod = false)
- - void SetUpdateInvisible(bool enable)
- - void SetTimeToLive(float time)
- - void SetMinTimeToLive(float time)
- - void SetMaxTimeToLive(float time)
- - void SetParticleSize(const Vector2& size)
- - void SetMinParticleSize(const Vector2& size)
- - void SetMaxParticleSize(const Vector2& size)
- - void SetMinDirection(const Vector3& direction)
- - void SetMaxDirection(const Vector3& direction)
- - void SetVelocity(float velocity)
- - void SetMinVelocity(float velocity)
- - void SetMaxVelocity(float velocity)
- - void SetRotation(float rotation)
- - void SetMinRotation(float rotation)
- - void SetMaxRotation(float rotation)
- - void SetRotationSpeed(float speed)
- - void SetMinRotationSpeed(float speed)
- - void SetMaxRotationSpeed(float speed)
- - void SetConstantForce(const Vector3& force)
- - void SetDampingForce(float force)
- - void SetSizeAdd(float sizeAdd)
- - void SetSizeMul(float sizeMul)
- - void SetColor(const Color& color)
- - void SetNumColors(unsigned num)
- - void SetNumTextureFrames(unsigned num)
- - unsigned GetNumParticles() const
- - bool IsEmitting() const
- - bool GetUpdateInvisible() const
- - float GetMinEmissionRate() const
- - float GetMaxEmissionRate() const
- - EmitterType GetEmitterType() const
- - const Vector3& GetEmitterSize() const
- - float GetActiveTime() const
- - float GetInactiveTime() const
- - float GetMinTimeToLive() const
- - float GetMaxTimeToLive() const
- - const Vector2& GetMinParticleSize() const
- - const Vector2& GetMaxParticleSize() const
- - const Vector3& GetMinDirection() const
- - const Vector3& GetMaxDirection() const
- - float GetMinVelocity() const
- - float GetMaxVelocity() const
- - float GetMinRotation() const
- - float GetMaxRotation() const
- - float GetMinRotationSpeed() const
- - float GetMaxRotationSpeed() const
- - const Vector3& GetConstantForce() const
- - float GetDampingForce() const
- - float GetSizeAdd() const
- - float GetSizeMul() const
- - unsigned GetNumColors() const
- - ColorFrame* GetColor(unsigned index)
- - unsigned GetNumTextureFrames() const
- - TextureFrame* GetTextureFrame(unsigned index)
- Properties:<br>
- - unsigned numParticles
- - bool emitting
- - bool updateInvisible
- - float minEmissionRate
- - float maxEmissionRate
- - EmitterType emitterType
- - Vector3& emitterSize
- - float activeTime
- - float inactiveTime
- - float minTimeToLive
- - float maxTimeToLive
- - Vector2& minParticleSize
- - Vector2& maxParticleSize
- - Vector3& minDirection
- - Vector3& maxDirection
- - float minVelocity
- - float maxVelocity
- - float minRotation
- - float maxRotation
- - float minRotationSpeed
- - float maxRotationSpeed
- - Vector3& constantForce
- - float dampingForce
- - float sizeAdd
- - float sizeMul
- - unsigned numColors
- - unsigned numTextureFrames
- Renderer
- Methods:<br>
- - void SetNumViewports(unsigned num)
- - void SetViewport(unsigned index, Viewport* viewport)
- - void SetDefaultRenderPath(RenderPath* renderPath)
- - void SetDefaultRenderPath(XMLFile* file)
- - void SetSpecularLighting(bool enable)
- - void SetTextureAnisotropy(int level)
- - void SetTextureFilterMode(TextureFilterMode mode)
- - void SetTextureQuality(int quality)
- - void SetMaterialQuality(int quality)
- - void SetDrawShadows(bool enable)
- - void SetShadowMapSize(int size)
- - void SetShadowQuality(int quality)
- - void SetReuseShadowMaps(bool enable)
- - void SetMaxShadowMaps(int shadowMaps)
- - void SetMaxShadowCascades(int cascades)
- - void SetDynamicInstancing(bool enable)
- - void SetMinInstances(int instances)
- - void SetMaxInstanceTriangles(int triangles)
- - void SetMaxSortedInstances(int instances)
- - void SetMaxOccluderTriangles(int triangles)
- - void SetOcclusionBufferSize(int size)
- - void SetOccluderSizeThreshold(float screenSize)
- - void ReloadShaders()
- - unsigned GetNumViewports() const
- - Viewport* GetViewport(unsigned index) const
- - RenderPath* GetDefaultRenderPath() const
- - bool GetSpecularLighting() const
- - bool GetDrawShadows() const
- - int GetTextureAnisotropy() const
- - TextureFilterMode GetTextureFilterMode() const
- - int GetTextureQuality() const
- - int GetMaterialQuality() const
- - int GetShadowMapSize() const
- - int GetShadowQuality() const
- - bool GetReuseShadowMaps() const
- - int GetMaxShadowMaps() const
- - int GetMaxShadowCascades() const
- - bool GetDynamicInstancing() const
- - int GetMinInstances() const
- - int GetMaxInstanceTriangles() const
- - int GetMaxSortedInstances() const
- - int GetMaxOccluderTriangles() const
- - int GetOcclusionBufferSize() const
- - float GetOccluderSizeThreshold() const
- - unsigned GetNumViews() const
- - unsigned GetNumPrimitives() const
- - unsigned GetNumBatches() const
- - unsigned GetNumGeometries(bool allViews = false) const
- - unsigned GetNumLights(bool allViews = false) const
- - unsigned GetNumShadowMaps(bool allViews = false) const
- - unsigned GetNumOccluders(bool allViews = false) const
- - Zone* GetDefaultZone() const
- - Light* GetQuadDirLight() const
- - Material* GetDefaultMaterial() const
- - Texture2D* GetDefaultLightRamp() const
- - Texture2D* GetDefaultLightSpot() const
- - TextureCube* GetFaceSelectCubeMap() const
- - TextureCube* GetIndirectionCubeMap() const
- - VertexBuffer* GetInstancingBuffer() const
- - ShaderVariation* GetVertexShader(const String name, bool checkExists = false) const
- - ShaderVariation* GetPixelShader(const String name, bool checkExists = false) const
- - ShaderVariation* GetStencilVS() const
- - ShaderVariation* GetStencilPS() const
- - const FrameInfo& GetFrameInfo()
- - void DrawDebugGeometry(bool depthTest)
- Properties:<br>
- - unsigned numViewports
- - RenderPath* defaultRenderPath
- - bool specularLighting
- - bool drawShadows
- - int textureAnisotropy
- - TextureFilterMode textureFilterMode
- - int textureQuality
- - int materialQuality
- - int shadowMapSize
- - int shadowQuality
- - bool reuseShadowMaps
- - int maxShadowMaps
- - int maxShadowCascades
- - bool dynamicInstancing
- - int minInstances
- - int maxInstanceTriangles
- - int maxSortedInstances
- - int maxOccluderTriangles
- - int occlusionBufferSize
- - float occluderSizeThreshold
- - unsigned numViews (readonly)
- - unsigned numPrimitives (readonly)
- - unsigned numBatches (readonly)
- - Zone* defaultZone (readonly)
- - Light* quadDirLight (readonly)
- - Material* defaultMaterial (readonly)
- - Texture2D* defaultLightRamp (readonly)
- - Texture2D* defaultLightSpot (readonly)
- - TextureCube* faceSelectCubeMap (readonly)
- - TextureCube* indirectionCubeMap (readonly)
- - VertexBuffer* instancingBuffer (readonly)
- - ShaderVariation* stencilVS (readonly)
- - ShaderVariation* stencilPS (readonly)
- RenderPath
- Methods:<br>
- - RenderPath* Clone()
- - bool Load(XMLFile* file)
- - bool Append(XMLFile* file)
- - void SetEnabled(const String tag, bool active)
- - void ToggleEnabled(const String tag)
- - void SetRenderTarget(unsigned index, const RenderTargetInfo& info)
- - void AddRenderTarget(const RenderTargetInfo& info)
- - void RemoveRenderTarget(unsigned index)
- - void RemoveRenderTarget(const String name)
- - void RemoveRenderTargets(const String tag)
- - void SetCommand(unsigned index, const RenderPathCommand& command)
- - void AddCommand(const RenderPathCommand& command)
- - void InsertCommand(unsigned index, const RenderPathCommand& command)
- - void RemoveCommand(unsigned index)
- - void RemoveCommands(const String tag)
- - void SetShaderParameter(const String name, const Variant& value)
- - unsigned GetNumRenderTargets() const
- - unsigned GetNumCommands() const
- - const Variant& GetShaderParameter(const String name) const
- RenderSurface
- Methods:<br>
- - RenderSurface(Texture* parentTexture)
- - ~RenderSurface()
- - void SetNumViewports(unsigned num)
- - void SetViewport(unsigned index, Viewport* viewport)
- - void SetUpdateMode(RenderSurfaceUpdateMode mode)
- - void SetLinkedRenderTarget(RenderSurface* renderTarget)
- - void SetLinkedDepthStencil(RenderSurface* depthStencil)
- - void QueueUpdate()
- - void Release()
- - Texture* GetParentTexture() const
- - int GetWidth() const
- - int GetHeight() const
- - TextureUsage GetUsage() const
- - unsigned GetNumViewports() const
- - Viewport* GetViewport(unsigned index) const
- - RenderSurfaceUpdateMode GetUpdateMode() const
- - RenderSurface* GetLinkedRenderTarget() const
- - RenderSurface* GetLinkedDepthStencil() const
- Properties:<br>
- - Texture* parentTexture (readonly)
- - int width (readonly)
- - int height (readonly)
- - TextureUsage usage (readonly)
- - unsigned numViewports
- - RenderSurfaceUpdateMode updateMode
- - RenderSurface* linkedRenderTarget
- - RenderSurface* linkedDepthStencil
- Bone
- Methods:<br>
- - Bone()
- - String name
- - StringHash nameHash
- - unsigned parentIndex
- - Vector3 initialPosition
- - Quaternion initialRotation
- - Vector3 initialScale
- - Matrix3x4 offsetMatrix
- - bool animated
- - unsigned collisionMask
- - float radius
- - BoundingBox boundingBox
- - Node* node
- Skeleton
- Methods:<br>
- - unsigned GetNumBones() const
- - Bone* GetRootBone()
- - Bone* GetBone(unsigned index)
- Properties:<br>
- - unsigned numBones (readonly)
- - Bone* rootBone (readonly)
- Skybox : StaticModel
- Methods:<br>
- StaticModelGeometryData
- Methods:<br>
- - Vector3 center
- - unsigned lodLevel
- StaticModel : Drawable
- Methods:<br>
- - void SetModel(Model* model)
- - void SetMaterial(Material* material)
- - bool SetMaterial(unsigned index, Material* material)
- - void SetOcclusionLodLevel(unsigned level)
- - Model* GetModel() const
- - unsigned GetNumGeometries() const
- - Material* GetMaterial(unsigned index = 0) const
- - unsigned GetOcclusionLodLevel() const
- - bool IsInside(const Vector3& point) const
- - bool IsInsideLocal(const Vector3& point) const
- Properties:<br>
- - Model* model
- - Material* material
- - BoundingBox& boundingBox (readonly)
- - unsigned numGeometries (readonly)
- - unsigned occlusionLodLevel
- Pass : RefCounted
- Methods:<br>
- Technique : Resource
- Methods:<br>
- - bool HasPass(const String type) const
- - Pass* GetPass(const String type) const
- - bool IsSM3() const
- Properties:<br>
- - bool SM3 (readonly)
- Terrain : Component
- Methods:<br>
- - void SetPatchSize(int size)
- - void SetSpacing(const Vector3& spacing)
- - void SetSmoothing(bool enable)
- - bool SetHeightMap(Image* image)
- - void SetMaterial(Material* material)
- - void SetDrawDistance(float distance)
- - void SetShadowDistance(float distance)
- - void SetLodBias(float bias)
- - void SetViewMask(unsigned mask)
- - void SetLightMask(unsigned mask)
- - void SetShadowMask(unsigned mask)
- - void SetZoneMask(unsigned mask)
- - void SetMaxLights(unsigned num)
- - void SetCastShadows(bool enable)
- - void SetOccluder(bool enable)
- - void SetOccludee(bool enable)
- - int GetPatchSize() const
- - const Vector3& GetSpacing() const
- - const IntVector2& GetNumVertices() const
- - const IntVector2& GetNumPatches() const
- - bool GetSmoothing() const
- - Image* GetHeightMap() const
- - Material* GetMaterial() const
- - TerrainPatch* GetPatch(unsigned index) const
- - TerrainPatch* GetPatch(int x, int z) const
- - float GetHeight(const Vector3& worldPosition) const
- - Vector3 GetNormal(const Vector3& worldPosition) const
- - SharedArrayPtr<float> GetHeightData() const
- - float GetDrawDistance() const
- - float GetShadowDistance() const
- - float GetLodBias() const
- - unsigned GetViewMask() const
- - unsigned GetLightMask() const
- - unsigned GetShadowMask() const
- - unsigned GetZoneMask() const
- - unsigned GetMaxLights() const
- - bool IsVisible() const
- - bool GetCastShadows() const
- - bool IsOccluder() const
- - bool IsOccludee() const
- Properties:<br>
- - int patchSize
- - Vector3& spacing
- - IntVector2& numVertices (readonly)
- - IntVector2& numPatches (readonly)
- - bool smoothing
- - Image* heightMap
- - Material* material
- - float drawDistance
- - float shadowDistance
- - float lodBias
- - unsigned viewMask
- - unsigned lightMask
- - unsigned shadowMask
- - unsigned zoneMask
- - unsigned maxLights
- - bool visible (readonly)
- - bool castShadows
- - bool occluder
- - bool occludee
- TerrainPatch : Drawable
- Methods:<br>
- - void SetOwner(Terrain* terrain)
- - void SetNeighbors(TerrainPatch* north, TerrainPatch* south, TerrainPatch* west, TerrainPatch* east)
- - void SetMaterial(Material* material)
- - void SetBoundingBox(const BoundingBox& box)
- - void SetCoordinates(const IntVector2& coordinates)
- - void SetOcclusionOffset(float offset)
- - void ResetLod()
- - Geometry* GetGeometry() const
- - Geometry* GetMaxLodGeometry() const
- - Geometry* GetMinLodGeometry() const
- - VertexBuffer* GetVertexBuffer() const
- - Terrain* GetOwner() const
- - TerrainPatch* GetNorthPatch() const
- - TerrainPatch* GetSouthPatch() const
- - TerrainPatch* GetWestPatch() const
- - TerrainPatch* GetEastPatch() const
- - const IntVector2& GetCoordinates() const
- - unsigned GetLodLevel() const
- - float GetOcclusionOffset() const
- Properties:<br>
- - Geometry* geometry (readonly)
- - Geometry* maxLodGeometry (readonly)
- - Geometry* minLodGeometry (readonly)
- - VertexBuffer* vertexBuffer (readonly)
- - Terrain* owner
- - TerrainPatch* northPatch (readonly)
- - TerrainPatch* southPatch (readonly)
- - TerrainPatch* westPatch (readonly)
- - TerrainPatch* eastPatch (readonly)
- - BoundingBox& boundingBox
- - IntVector2& coordinates
- - unsigned lodLevel (readonly)
- - float occlusionOffset
- Texture : Resource
- Methods:<br>
- - void SetNumLevels(unsigned levels)
- - void SetFilterMode(TextureFilterMode filter)
- - void SetAddressMode(TextureCoordinate coord, TextureAddressMode address)
- - void SetBorderColor(const Color& color)
- - void SetSRGB(bool enable)
- - void SetBackupTexture(Texture* texture)
- - void SetMipsToSkip(int quality, int mips)
- - unsigned GetFormat() const
- - bool IsCompressed() const
- - unsigned GetLevels() const
- - int GetWidth() const
- - int GetHeight() const
- - TextureFilterMode GetFilterMode() const
- - TextureAddressMode GetAddressMode(TextureCoordinate coord) const
- - const Color& GetBorderColor() const
- - bool GetSRGB() const
- - Texture* GetBackupTexture() const
- - int GetMipsToSkip(int quality) const
- - int GetLevelWidth(unsigned level) const
- - int GetLevelHeight(unsigned level) const
- - TextureUsage GetUsage() const
- - unsigned GetDataSize(int width, int height) const
- - unsigned GetRowDataSize(int width) const
- Properties:<br>
- - unsigned format (readonly)
- - bool compressed (readonly)
- - unsigned levels (readonly)
- - int width (readonly)
- - int height (readonly)
- - TextureFilterMode filterMode
- - Color& borderColor
- - bool sRGB
- - Texture* backupTexture
- - TextureUsage usage (readonly)
- Texture2D : Texture
- Methods:<br>
- - RenderSurface* GetRenderSurface() const
- TextureCube : Texture
- Methods:<br>
- - RenderSurface* GetRenderSurface(CubeMapFace face) const
- Viewport
- Methods:<br>
- - Viewport(Context* context)
- - Viewport(Context* context, Scene* scene, Camera* camera, RenderPath* renderPath = 0)
- - Viewport(Context* context, Scene* scene, Camera* camera, const IntRect& rect, RenderPath* renderPath = 0)
- - ~Viewport()
- - void SetScene(Scene* scene)
- - void SetCamera(Camera* camera)
- - void SetRect(const IntRect& rect)
- - void SetRenderPath(RenderPath* path)
- - void SetRenderPath(XMLFile* file)
- - Scene* GetScene() const
- - Camera* GetCamera() const
- - const IntRect& GetRect() const
- - RenderPath* GetRenderPath() const
- Properties:<br>
- - Scene* scene
- - Camera* camera
- - IntRect& rect
- - RenderPath* renderPath
- Zone : Drawable
- Methods:<br>
- - void SetBoundingBox(const BoundingBox& box)
- - void SetAmbientColor(const Color& color)
- - void SetFogColor(const Color& color)
- - void SetFogStart(float start)
- - void SetFogEnd(float end)
- - void SetPriority(int priority)
- - void SetOverride(bool enable)
- - void SetAmbientGradient(bool enable)
- - const Matrix3x4& GetInverseWorldTransform() const
- - const Color& GetAmbientColor() const
- - const Color& GetAmbientStartColor()
- - const Color& GetAmbientEndColor()
- - const Color& GetFogColor() const
- - float GetFogStart() const
- - float GetFogEnd() const
- - int GetPriority() const
- - bool GetOverride() const
- - bool GetAmbientGradient() const
- - bool IsInside(const Vector3& point) const
- Properties:<br>
- - BoundingBox& boundingBox
- - Matrix3x4& inverseWorldTransform (readonly)
- - Color& ambientColor
- - Color& ambientStartColor (readonly)
- - Color& ambientEndColor (readonly)
- - Color& fogColor
- - float fogStart
- - float fogEnd
- - int priority
- - bool override
- - bool ambientGradient
- TouchState
- Methods:<br>
- - int touchID
- - IntVector2 position
- - IntVector2 lastPosition
- - IntVector2 delta
- - float pressure
- JoystickState
- Methods:<br>
- - unsigned GetNumButtons() const
- - unsigned GetNumAxes() const
- - unsigned GetNumHats() const
- - bool GetButtonDown(unsigned index) const
- - bool GetButtonPress(unsigned index) const
- - float GetAxisPosition(unsigned index) const
- - int GetHatPosition(unsigned index) const
- Properties:<br>
- - unsigned numButtons (readonly)
- - unsigned numAxes (readonly)
- - unsigned numHats (readonly)
- Input : Object
- Methods:<br>
- - void SetMouseVisible(bool enable)
- - bool OpenJoystick(unsigned index)
- - void CloseJoystick(unsigned index)
- - bool DetectJoysticks()
- - bool GetKeyDown(int key) const
- - bool GetKeyPress(int key) const
- - bool GetMouseButtonDown(int button) const
- - bool GetMouseButtonPress(int button) const
- - bool GetQualifierDown(int qualifier) const
- - bool GetQualifierPress(int qualifier) const
- - int GetQualifiers() const
- - IntVector2 GetMousePosition() const
- - const IntVector2& GetMouseMove() const
- - int GetMouseMoveX() const
- - int GetMouseMoveY() const
- - int GetMouseMoveWheel() const
- - unsigned GetNumTouches() const
- - TouchState* GetTouch(unsigned index) const
- - unsigned GetNumJoysticks() const
- - const String& GetJoystickName(unsigned index) const
- - JoystickState* GetJoystick(unsigned index)
- - bool GetToggleFullscreen() const
- - bool IsMouseVisible() const
- - bool HasFocus()
- - bool IsMinimized() const
- Properties:<br>
- - int qualifiers (readonly)
- - IntVector2 mousePosition (readonly)
- - IntVector2& mouseMove (readonly)
- - int mouseMoveX (readonly)
- - int mouseMoveY (readonly)
- - int mouseMoveWheel (readonly)
- - unsigned numTouches (readonly)
- - unsigned numJoysticks (readonly)
- - bool toggleFullscreen (readonly)
- - bool mouseVisible
- - bool focus (readonly)
- - bool minimized (readonly)
- Deserializer
- Methods:<br>
- - virtual unsigned Seek(unsigned position)
- - virtual const String& GetName() const
- - virtual unsigned GetChecksum()
- - unsigned GetPosition() const
- - unsigned GetSize() const
- - bool IsEof() const
- - int ReadInt()
- - short ReadShort()
- - signed char ReadByte()
- - unsigned ReadUInt()
- - unsigned short ReadUShort()
- - unsigned char ReadUByte()
- - bool ReadBool()
- - float ReadFloat()
- - IntRect ReadIntRect()
- - IntVector2 ReadIntVector2()
- - Rect ReadRect()
- - Vector2 ReadVector2()
- - Vector3 ReadVector3()
- - Vector3 ReadPackedVector3(float maxAbsCoord)
- - Vector4 ReadVector4()
- - Quaternion ReadQuaternion()
- - Quaternion ReadPackedQuaternion()
- - Color ReadColor()
- - BoundingBox ReadBoundingBox()
- - String ReadString()
- - String ReadFileID()
- - StringHash ReadStringHash()
- - ShortStringHash ReadShortStringHash()
- - ResourceRef ReadResourceRef()
- - ResourceRefList ReadResourceRefList()
- - Variant ReadVariant()
- - Variant ReadVariant(VariantType type)
- - VariantVector ReadVariantVector()
- - VariantMap ReadVariantMap()
- - unsigned ReadVLE()
- - unsigned ReadNetID()
- - String ReadLine()
- Properties:<br>
- - String& name (readonly)
- - unsigned checksum (readonly)
- - unsigned position (readonly)
- - unsigned size (readonly)
- - bool eof (readonly)
- File : Deserializer
- Methods:<br>
- - File(Context* context)
- - File(Context* context, const String fileName, FileMode mode = FILE_READ)
- - File(Context* context, PackageFile* package, const String fileName)
- - virtual ~File()
- - virtual unsigned Read(void* dest, unsigned size)
- - virtual unsigned Seek(unsigned position)
- - virtual unsigned Write(const void* data, unsigned size)
- - virtual const String& GetName() const
- - virtual unsigned GetChecksum()
- - bool Open(const String fileName, FileMode mode = FILE_READ)
- - bool Open(PackageFile* package, const String fileName)
- - void Close()
- - void Flush()
- - void SetName(const String name)
- - FileMode GetMode() const
- - bool IsOpen() const
- - void* GetHandle() const
- - bool IsPackaged() const
- Properties:<br>
- - String& name (readonly)
- - unsigned checksum (readonly)
- - FileMode mode (readonly)
- - bool open (readonly)
- - bool packaged (readonly)
- FileSystem : Object
- Methods:<br>
- - bool SetCurrentDir(const String pathName)
- - bool CreateDir(const String pathName)
- - int SystemCommand(const String commandLine)
- - bool SystemOpen(const String fileName, const String mode = String::EMPTY)
- - bool Copy(const String srcFileName, const String destFileName)
- - bool Rename(const String srcFileName, const String destFileName)
- - bool Delete(const String fileName)
- - void RegisterPath(const String pathName)
- - String GetCurrentDir() const
- - bool HasRegisteredPaths() const
- - bool CheckAccess(const String pathName) const
- - unsigned GetLastModifiedTime(const String fileName) const
- - bool FileExists(const String fileName) const
- - bool DirExists(const String pathName) const
- - Vector<String> ScanDir(const String pathName, const String filter, unsigned flags, bool recursive) const
- - String GetProgramDir() const
- - String GetUserDocumentsDir() const
- Log : Object
- Methods:<br>
- - void SetLevel(int level)
- - void SetTimeStamp(bool enable)
- - void SetQuiet(bool quiet)
- - int GetLevel() const
- - bool GetTimeStamp() const
- - String GetLastMessage() const
- - bool IsQuiet() const
- - static void Write(int level, const String message)
- - static void WriteRaw(const String message, bool error = false)
- Properties:<br>
- - int level
- - bool timeStamp
- - bool quiet
- PackageEntry
- Methods:<br>
- - unsigned offset
- - unsigned size
- - unsigned checksum
- PackageFile : Object
- Methods:<br>
- - PackageFile(Context* context)
- - PackageFile(Context* context, const String fileName)
- - virtual ~PackageFile()
- - bool Open(const String fileName)
- - bool Exists(const String fileName) const
- - const PackageEntry* GetEntry(const String fileName) const
- - const HashMap<String, PackageEntry>& GetEntries() const
- - const String& GetName() const
- - StringHash GetNameHash() const
- - unsigned GetNumFiles() const
- - unsigned GetTotalSize() const
- - unsigned GetChecksum() const
- Properties:<br>
- - String& name (readonly)
- - StringHash nameHash (readonly)
- - unsigned numFiles (readonly)
- - unsigned totalSize (readonly)
- - unsigned checksum (readonly)
- Serializer
- Methods:<br>
- - bool WriteInt(int value)
- - bool WriteShort(short value)
- - bool WriteByte(signed char value)
- - bool WriteUInt(unsigned value)
- - bool WriteUShort(unsigned short value)
- - bool WriteUByte(unsigned char value)
- - bool WriteBool(bool value)
- - bool WriteFloat(float value)
- - bool WriteIntRect(const IntRect value)
- - bool WriteIntVector2(const IntVector2 value)
- - bool WriteRect(const Rect value)
- - bool WriteVector2(const Vector2 value)
- - bool WriteVector3(const Vector3 value)
- - bool WritePackedVector3(const Vector3 value, float maxAbsCoord)
- - bool WriteVector4(const Vector4 value)
- - bool WriteQuaternion(const Quaternion value)
- - bool WritePackedQuaternion(const Quaternion value)
- - bool WriteColor(const Color value)
- - bool WriteBoundingBox(const BoundingBox value)
- - bool WriteString(const String value)
- - bool WriteFileID(const String value)
- - bool WriteStringHash(const StringHash value)
- - bool WriteShortStringHash(const ShortStringHash value)
- - bool WriteResourceRef(const ResourceRef value)
- - bool WriteResourceRefList(const ResourceRefList value)
- - bool WriteVariant(const Variant value)
- - bool WriteVariantData(const Variant value)
- - bool WriteVariantVector(const VariantVector value)
- - bool WriteVariantMap(const VariantMap value)
- - bool WriteVLE(unsigned value)
- - bool WriteNetID(unsigned value)
- - bool WriteLine(const String value)
- LuaScriptInstance : Component
- Methods:<br>
- - bool CreateObject(const String objectType)
- - bool CreateObject(const String fileName, const String objectType)
- - void SubscribeToEvent(const String eventName, const String functionName)
- - void UnsubscribeFromEvent(const String eventName)
- - void UnsubscribeFromAllEvents()
- - void SubscribeToEvent(void* object, const String eventName, const String functionName)
- - void UnsubscribeFromEvent(void* object, const String eventName)
- - void UnsubscribeFromEvents(void* object)
- BoundingBox
- Methods:<br>
- - BoundingBox()
- - BoundingBox(const BoundingBox& box)
- - BoundingBox(const Rect& rect)
- - BoundingBox(const Vector3& min, const Vector3& max)
- - BoundingBox(float min, float max)
- - BoundingBox(const Frustum& frustum)
- - BoundingBox(const Polyhedron& poly)
- - BoundingBox(const Sphere& sphere)
- - bool operator == (const BoundingBox& rhs) const
- - void Define(const BoundingBox& box)
- - void Define(const Rect& rect)
- - void Define(const Vector3& min, const Vector3& max)
- - void Define(float min, float max)
- - void Define(const Vector3& point)
- - void Define(const Frustum& frustum)
- - void Define(const Polyhedron& poly)
- - void Define(const Sphere& sphere)
- - void Merge(const Vector3& point)
- - void Merge(const BoundingBox& box)
- - void Merge(const Frustum& frustum)
- - void Merge(const Polyhedron& poly)
- - void Merge(const Sphere& sphere)
- - void Clip(const BoundingBox& box)
- - void Transform(const Matrix3& transform)
- - void Transform(const Matrix3x4& transform)
- - void Clear()
- - Vector3 Center() const
- - Vector3 Size() const
- - Vector3 HalfSize() const
- - BoundingBox Transformed(const Matrix3& transform) const
- - BoundingBox Transformed(const Matrix3x4& transform) const
- - Rect Projected(const Matrix4& projection) const
- - Intersection IsInside(const Vector3& point) const
- - Intersection IsInside(const BoundingBox& box) const
- - Intersection IsInsideFast(const BoundingBox& box) const
- - Intersection IsInside(const Sphere& sphere) const
- - Intersection IsInsideFast(const Sphere& sphere) const
- - String ToString() const
- - Vector3 min
- - Vector3 max
- - bool defined
- Properties:<br>
- - Vector3 center (readonly)
- - Vector3 size (readonly)
- - Vector3 halfSize (readonly)
- Color
- Methods:<br>
- - Color()
- - Color(const Color& color)
- - Color(const Color& color, float a)
- - Color(float r, float g, float b)
- - Color(float r, float g, float b, float a)
- - bool operator == (const Color& rhs) const
- - Color operator * (float rhs) const
- - Color operator + (const Color& rhs)
- - unsigned ToUInt() const
- - Vector3 ToHSL() const
- - Vector3 ToHSV() const
- - void FromHSL(float h, float s, float l, float a)
- - void FromHSV(float h, float s, float v, float a)
- - Vector3 ToVector3() const
- - Vector4 ToVector4() const
- - float SumRGB() const
- - float Average() const
- - float Luma() const
- - float Chroma() const
- - float Hue() const
- - float SaturationHSL() const
- - float SaturationHSV() const
- - float Value() const
- - float Lightness() const
- - float MaxRGB() const
- - float MinRGB() const
- - float Range() const
- - void Clip(bool clipAlpha = false)
- - void Invert(bool invertAlpha = false)
- - Color Lerp(const Color& rhs, float t) const
- - String ToString() const
- - float r
- - float g
- - float b
- - float a
- - static const Color WHITE
- - static const Color GRAY
- - static const Color BLACK
- - static const Color RED
- - static const Color GREEN
- - static const Color BLUE
- - static const Color CYAN
- - static const Color MAGENTA
- - static const Color YELLOW
- - static const Color TRANSPARENT
- Frustum
- Methods:<br>
- - Frustum()
- - Frustum(const Frustum& frustum)
- - void Define(float fov, float aspectRatio, float zoom, float nearZ, float farZ, const Matrix3x4& transform = Matrix3x4::IDENTITY)
- - void Define(const Vector3& near, const Vector3& far, const Matrix3x4& transform = Matrix3x4::IDENTITY)
- - void Define(const BoundingBox& box, const Matrix3x4& transform = Matrix3x4::IDENTITY)
- - void DefineOrtho(float orthoSize, float aspectRatio, float zoom, float nearZ, float farZ, const Matrix3x4& transform = Matrix3x4::IDENTITY)
- - void Transform(const Matrix3& transform)
- - void Transform(const Matrix3x4& transform)
- - Intersection IsInside(const Vector3& point) const
- - Intersection IsInside(const Sphere& sphere) const
- - Intersection IsInsideFast(const Sphere& sphere) const
- - Intersection IsInside(const BoundingBox& box) const
- - Intersection IsInsideFast(const BoundingBox& box) const
- - float Distance(const Vector3& point) const
- - Frustum Transformed(const Matrix3& transform) const
- - Frustum Transformed(const Matrix3x4& transform) const
- - Rect Projected(const Matrix4& transform) const
- - void UpdatePlanes()
- Matrix3
- Methods:<br>
- - Matrix3()
- - Matrix3(const Matrix3& matrix)
- - Matrix3(float v00, float v01, float v02,
- - float v10, float v11, float v12,
- - float v20, float v21, float v22)
- - bool operator == (const Matrix3& rhs) const
- - Vector3 operator * (const Vector3& rhs) const
- - Matrix3 operator + (const Matrix3& rhs) const
- - Matrix3 operator - (const Matrix3& rhs) const
- - Matrix3 operator * (float rhs) const
- - Matrix3 operator * (const Matrix3& rhs) const
- - void SetScale(const Vector3& scale)
- - void SetScale(float scale)
- - Vector3 Scale() const
- - Matrix3 Transpose() const
- - Matrix3 Scaled(const Vector3& scale) const
- - bool Equals(const Matrix3& rhs) const
- - Matrix3 Inverse() const
- - float m00
- - float m01
- - float m02
- - float m10
- - float m11
- - float m12
- - float m20
- - float m21
- - float m22
- - static const Matrix3 ZERO
- - static const Matrix3 IDENTITY
- Matrix3x4
- Methods:<br>
- - Matrix3x4()
- - Matrix3x4(const Matrix3x4& matrix)
- - Matrix3x4(const Matrix3& matrix)
- - Matrix3x4(const Matrix4& matrix)
- - Matrix3x4(float v00, float v01, float v02, float v03,
- - float v10, float v11, float v12, float v13,
- - float v20, float v21, float v22, float v23)
- - Matrix3x4(const Vector3& translation, const Quaternion& rotation, float scale)
- - Matrix3x4(const Vector3& translation, const Quaternion& rotation, const Vector3& scale)
- - bool operator == (const Matrix3x4& rhs) const
- - Vector3 operator * (const Vector3& rhs) const
- - Vector3 operator * (const Vector4& rhs) const
- - Matrix3x4 operator + (const Matrix3x4& rhs) const
- - Matrix3x4 operator - (const Matrix3x4& rhs) const
- - Matrix3x4 operator * (float rhs) const
- - Matrix3x4 operator * (const Matrix3x4& rhs) const
- - Matrix4 operator * (const Matrix4& rhs) const
- - void SetTranslation(const Vector3& translation)
- - void SetRotation(const Matrix3& rotation)
- - void SetScale(const Vector3& scale)
- - void SetScale(float scale)
- - Matrix3 ToMatrix3() const
- - Matrix3 RotationMatrix() const
- - Vector3 Translation() const
- - Quaternion Rotation() const
- - Vector3 Scale() const
- - bool Equals(const Matrix3x4& rhs) const
- - void Decompose(Vector3& translation, Quaternion& rotation, Vector3& scale) const
- - Matrix3x4 Inverse() const
- - float m00
- - float m01
- - float m02
- - float m03
- - float m10
- - float m11
- - float m12
- - float m13
- - float m20
- - float m21
- - float m22
- - float m23
- - static const Matrix3x4 ZERO
- - static const Matrix3x4 IDENTITY
- Matrix4
- Methods:<br>
- - Matrix4()
- - Matrix4(const Matrix4& matrix)
- - Matrix4(const Matrix3& matrix)
- - Matrix4(float v00, float v01, float v02, float v03,
- - float v10, float v11, float v12, float v13,
- - float v20, float v21, float v22, float v23,
- - float v30, float v31, float v32, float v33)
- - bool operator == (const Matrix4& rhs) const
- - Vector3 operator * (const Vector3& rhs) const
- - Vector4 operator * (const Vector4& rhs) const
- - Matrix4 operator + (const Matrix4& rhs) const
- - Matrix4 operator - (const Matrix4& rhs) const
- - Matrix4 operator * (float rhs) const
- - Matrix4 operator * (const Matrix4& rhs) const
- - void SetTranslation(const Vector3& translation)
- - void SetRotation(const Matrix3& rotation)
- - void SetScale(const Vector3& scale)
- - void SetScale(float scale)
- - Matrix3 ToMatrix3() const
- - Matrix3 RotationMatrix() const
- - Vector3 Translation() const
- - Quaternion Rotation() const
- - Vector3 Scale() const
- - Matrix4 Transpose() const
- - bool Equals(const Matrix4& rhs) const
- - void Decompose(Vector3& translation, Quaternion& rotation, Vector3& scale) const
- - Matrix4 Inverse() const
- - float m00
- - float m01
- - float m02
- - float m03
- - float m10
- - float m11
- - float m12
- - float m13
- - float m20
- - float m21
- - float m22
- - float m23
- - float m30
- - float m31
- - float m32
- - float m33
- - static const Matrix4 ZERO
- - static const Matrix4 IDENTITY
- Plane
- Methods:<br>
- - Plane()
- - Plane(const Plane& plane)
- - Plane(const Vector3& v0, const Vector3& v1, const Vector3& v2)
- - Plane(const Vector3& normal, const Vector3& point)
- - void Define(const Vector3& v0, const Vector3& v1, const Vector3& v2)
- - void Define(const Vector3& normal, const Vector3& point)
- - float Distance(const Vector3& point) const
- - Vector3 normal
- - Vector3 absNormal
- - float intercept
- Polyhedron
- Methods:<br>
- - Polyhedron()
- - Polyhedron(const Polyhedron& polyhedron)
- - Polyhedron(const BoundingBox& box)
- - Polyhedron(const Frustum& frustum)
- - ~Polyhedron()
- - void Define(const BoundingBox& box)
- - void Define(const Frustum& frustum)
- - void AddFace(const Vector3& v0, const Vector3& v1, const Vector3& v2)
- - void AddFace(const Vector3& v0, const Vector3& v1, const Vector3& v2, const Vector3& v3)
- - void Clip(const Plane& plane)
- - void Clip(const BoundingBox& box)
- - void Clip(const Frustum& box)
- - void Clear()
- - void Transform(const Matrix3& transform)
- - void Transform(const Matrix3x4& transform)
- - Polyhedron Transformed(const Matrix3& transform) const
- - Polyhedron Transformed(const Matrix3x4& transform) const
- - bool Empty() const
- Properties:<br>
- - bool empty (readonly)
- Quaternion
- Methods:<br>
- - Quaternion()
- - Quaternion(const Quaternion& quat)
- - Quaternion(float w, float x, float y, float z)
- - Quaternion(float angle, const Vector3& axis)
- - Quaternion(float x, float y, float z)
- - Quaternion(const Vector3& start, const Vector3& end)
- - Quaternion(const Vector3& xAxis, const Vector3& yAxis, const Vector3& zAxis)
- - Quaternion(const Matrix3& matrix)
- - bool operator == (const Quaternion& rhs) const
- - Quaternion operator * (float rhs) const
- - Quaternion operator - () const
- - bool operator == (const Quaternion& rhs) const
- - Quaternion operator * (float rhs) const
- - Quaternion operator - () const
- - Quaternion operator + (const Quaternion& rhs) const
- - Quaternion operator - (const Quaternion& rhs) const
- - Quaternion operator * (const Quaternion& rhs) const
- - Vector3 operator * (const Vector3& rhs) const
- - void FromAngleAxis(float angle, const Vector3& axis)
- - void FromEulerAngles(float x, float y, float z)
- - void FromRotationTo(const Vector3& start, const Vector3& end)
- - void FromAxes(const Vector3& xAxis, const Vector3& yAxis, const Vector3& zAxis)
- - void FromRotationMatrix(const Matrix3& matrix)
- - void Normalize()
- - Quaternion Normalized() const
- - Quaternion Inverse() const
- - float LengthSquared() const
- - float DotProduct(const Quaternion& rhs) const
- - bool Equals(const Quaternion& rhs) const
- - Quaternion Conjugate() const
- - Vector3 EulerAngles() const
- - float YawAngle() const
- - float PitchAngle() const
- - float RollAngle() const
- - Matrix3 RotationMatrix() const
- - Quaternion Slerp(Quaternion rhs, float t) const
- - String ToString() const
- - float w
- - float x
- - float y
- - float z
- - static const Quaternion IDENTITY
- Ray
- Methods:<br>
- - Ray()
- - Ray(const Vector3& origin, const Vector3& direction)
- - Ray(const Ray& ray)
- - bool operator == (const Ray& rhs) const
- - void Define(const Vector3& origin, const Vector3& direction)
- - Vector3 Project(const Vector3& point) const
- - float Distance(const Vector3& point) const
- - Vector3 ClosestPoint(const Ray& ray) const
- - float HitDistance(const Plane& plane) const
- - float HitDistance(const BoundingBox& box) const
- - float HitDistance(const Frustum& frustum, bool solidInside = true) const
- - float HitDistance(const Sphere& sphere) const
- - float HitDistance(const Vector3& v0, const Vector3& v1, const Vector3& v2) const
- - Ray Transformed(const Matrix3x4& transform) const
- - Vector3 origin
- - Vector3 direction
- Rect
- Methods:<br>
- - Rect()
- - Rect(const Rect& rect)
- - Rect(const Vector2& min, const Vector2& max)
- - Rect(float left, float top, float right, float bottom)
- - Rect(const Vector4& vector)
- - bool operator == (const Rect& rhs) const
- - void Define(const Rect& rect)
- - void Define(const Vector2& min, const Vector2& max)
- - void Define(const Vector2& point)
- - void Merge(const Vector2& point)
- - void Merge(const Rect& rect)
- - void Clear()
- - void Clip(const Rect& rect)
- - Vector2 Center() const
- - Vector2 Size() const
- - Vector2 HalfSize() const
- - bool Equals(const Rect& rhs) const
- - Vector4 ToVector4() const
- - String ToString() const
- - Vector2 min
- - Vector2 max
- - static const Rect FULL
- - static const Rect POSITIVE
- - static const Rect ZERO
- Properties:<br>
- - Vector2 center (readonly)
- - Vector2 size (readonly)
- - Vector2 halfSize (readonly)
- IntRect
- Methods:<br>
- - IntRect()
- - IntRect(int left, int top, int right, int bottom)
- - bool operator == (const IntRect& rhs) const
- - IntVector2 Size() const
- - int Width() const
- - int Height() const
- - int left
- - int top
- - int right
- - int bottom
- - static const IntRect ZERO
- Properties:<br>
- - IntVector2 size (readonly)
- - int width (readonly)
- - int height (readonly)
- Sphere
- Methods:<br>
- - Sphere()
- - Sphere(const Sphere& sphere)
- - Sphere(const Vector3& center, float radius)
- - Sphere(const BoundingBox& box)
- - Sphere(const Frustum& frustum)
- - Sphere(const Polyhedron& poly)
- - bool operator == (const Sphere& rhs) const
- - void Define(const Sphere& sphere)
- - void Define(const Vector3& center, float radius)
- - void Define(const BoundingBox& box)
- - void Define(const Frustum& frustum)
- - void Define(const Polyhedron& poly)
- - void Merge(const Vector3& point)
- - void Merge(const BoundingBox& box)
- - void Merge(const Frustum& frustum)
- - void Merge(const Polyhedron& poly)
- - void Merge(const Sphere& sphere)
- - void Clear()
- - Intersection IsInside(const Vector3& point) const
- - Intersection IsInside(const Sphere& sphere) const
- - Intersection IsInsideFast(const Sphere& sphere) const
- - Intersection IsInside(const BoundingBox& box) const
- - Intersection IsInsideFast(const BoundingBox& box) const
- - float Distance(const Vector3& point) const
- - Vector3 center
- - float radius
- - bool defined
- StringHash
- Methods:<br>
- - StringHash()
- - StringHash(const StringHash& rhs)
- - explicit StringHash(unsigned value)
- - StringHash(const String str)
- - StringHash operator + (const StringHash& rhs) const
- - bool operator == (const StringHash& rhs) const
- - bool operator < (const StringHash& rhs) const
- - operator bool () const
- - unsigned Value() const
- - String ToString() const
- - unsigned ToHash() const
- - static unsigned Calculate(const char* str)
- - static const StringHash ZERO
- Properties:<br>
- - unsigned value (readonly)
- ShortStringHash
- Methods:<br>
- - ShortStringHash()
- - ShortStringHash(const ShortStringHash& rhs)
- - explicit ShortStringHash(const StringHash& rhs)
- - explicit ShortStringHash(unsigned short value)
- - ShortStringHash(const String str)
- - ShortStringHash operator + (const ShortStringHash& rhs) const
- - bool operator == (const ShortStringHash& rhs) const
- - bool operator < (const ShortStringHash& rhs) const
- - unsigned short Value() const
- - static unsigned short Calculate(const char* str)
- - static const ShortStringHash ZERO
- Properties:<br>
- - unsigned short value (readonly)
- Vector2
- Methods:<br>
- - Vector2()
- - Vector2(const Vector2& vector)
- - Vector2(float x, float y)
- - Vector2(const float* data)
- - bool operator == (const Vector2& rhs) const
- - Vector2 operator + (const Vector2& rhs) const
- - Vector2 operator - () const
- - Vector2 operator - (const Vector2& rhs) const
- - Vector2 operator * (float rhs) const
- - Vector2 operator * (const Vector2& rhs) const
- - Vector2 operator / (float rhs) const
- - Vector2 operator / (const Vector2& rhs) const
- - Vector2 operator / (const Vector2& rhs) const
- - void Normalize()
- - float Length() const
- - float LengthSquared() const
- - float DotProduct(const Vector2& rhs) const
- - float AbsDotProduct(const Vector2& rhs) const
- - Vector2 Abs() const
- - Vector2 Lerp(const Vector2& rhs, float t) const
- - bool Equals(const Vector2& rhs) const
- - Vector2 Normalized() const
- - String ToString() const
- - float x
- - float y
- - static const Vector2 ZERO
- - static const Vector2 LEFT
- - static const Vector2 RIGHT
- - static const Vector2 UP
- - static const Vector2 DOWN
- - static const Vector2 ONE
- IntVector2
- Methods:<br>
- - IntVector2()
- - IntVector2(int x, int y)
- - IntVector2(const int* data)
- - IntVector2(const IntVector2& rhs)
- - bool operator == (const IntVector2& rhs) const
- - IntVector2 operator + (const IntVector2& rhs) const
- - IntVector2 operator - () const
- - IntVector2 operator - (const IntVector2& rhs) const
- - IntVector2 operator * (int rhs) const
- - IntVector2 operator / (int rhs) const
- - IntVector2 operator / (int rhs) const
- - String ToString() const
- - int x
- - int y
- - static const IntVector2 ZERO
- Vector3
- Methods:<br>
- - Vector3()
- - Vector3(const Vector3& vector)
- - Vector3(const Vector2& vector, float z)
- - Vector3(float x, float y, float z)
- - bool operator == (const Vector3& rhs) const
- - Vector3 operator + (const Vector3& rhs) const
- - Vector3 operator - () const
- - Vector3 operator - (const Vector3& rhs) const
- - Vector3 operator * (float rhs) const
- - Vector3 operator * (const Vector3& rhs) const
- - Vector3 operator / (float rhs) const
- - Vector3 operator / (const Vector3& rhs) const
- - Vector3 operator / (const Vector3& rhs) const
- - void Normalize()
- - float Length() const
- - float LengthSquared() const
- - float DotProduct(const Vector3& rhs) const
- - float AbsDotProduct(const Vector3& rhs) const
- - Vector3 CrossProduct(const Vector3& rhs) const
- - Vector3 Abs() const
- - Vector3 Lerp(const Vector3& rhs, float t) const
- - bool Equals(const Vector3& rhs) const
- - Vector3 Normalized() const
- - String ToString() const
- - float x
- - float y
- - float z
- - static const Vector3 ZERO
- - static const Vector3 LEFT
- - static const Vector3 RIGHT
- - static const Vector3 UP
- - static const Vector3 DOWN
- - static const Vector3 FORWARD
- - static const Vector3 BACK
- - static const Vector3 ONE
- Vector4
- Methods:<br>
- - Vector4()
- - Vector4(const Vector4& vector)
- - Vector4(const Vector3& vector, float w)
- - Vector4(float x, float y, float z, float w)
- - bool operator == (const Vector4& rhs) const
- - Vector4 operator + (const Vector4& rhs) const
- - Vector4 operator - () const
- - Vector4 operator - (const Vector4& rhs) const
- - Vector4 operator * (float rhs) const
- - Vector4 operator * (const Vector4& rhs) const
- - Vector4 operator / (float rhs) const
- - Vector4 operator / (const Vector4& rhs) const
- - Vector4 operator / (const Vector4& rhs) const
- - float DotProduct(const Vector4& rhs) const
- - float AbsDotProduct(const Vector4& rhs) const
- - Vector4 Abs() const
- - Vector4 Lerp(const Vector4& rhs, float t) const
- - bool Equals(const Vector4& rhs) const
- - String ToString() const
- - float x
- - float y
- - float z
- - float w
- - static const Vector4 ZERO
- - static const Vector4 ONE
- Navigable : Component
- Methods:<br>
- - void SetRecursive(bool enable)
- - bool IsRecursive() const
- Properties:<br>
- - bool recursive
- NavigationGeometryInfo
- Methods:<br>
- - Component* component
- - unsigned lodLevel
- - Matrix3x4 transform
- - BoundingBox boundingBox
- NavigationMesh : Component
- Methods:<br>
- - void SetTileSize(int size)
- - void SetCellSize(float size)
- - void SetCellHeight(float height)
- - void SetAgentHeight(float height)
- - void SetAgentRadius(float radius)
- - void SetAgentMaxClimb(float maxClimb)
- - void SetAgentMaxSlope(float maxSlope)
- - void SetRegionMinSize(float size)
- - void SetRegionMergeSize(float size)
- - void SetEdgeMaxLength(float length)
- - void SetEdgeMaxError(float error)
- - void SetDetailSampleDistance(float distance)
- - void SetDetailSampleMaxError(float error)
- - void SetPadding(const Vector3& padding)
- - bool Build()
- - bool Build(const BoundingBox& boundingBox)
- - PODVector<Vector3> FindPath(const Vector3& start, const Vector3& end, const Vector3& extents = Vector3::ONE)
- - Vector3 GetRandomPoint()
- - Vector3 GetRandomPointInCircle(const Vector3& center, float radius, const Vector3& extents = Vector3::ONE)
- - float GetDistanceToWall(const Vector3& point, float radius, const Vector3& extents = Vector3::ONE)
- - Vector3 Raycast(const Vector3& start, const Vector3& end, const Vector3& extents = Vector3::ONE)
- - void DrawDebugGeometry(bool depthTest)
- - int GetTileSize() const
- - float GetCellSize() const
- - float GetCellHeight() const
- - float GetAgentHeight() const
- - float GetAgentRadius() const
- - float GetAgentMaxClimb() const
- - float GetAgentMaxSlope() const
- - float GetRegionMinSize() const
- - float GetRegionMergeSize() const
- - float GetEdgeMaxLength() const
- - float GetEdgeMaxError() const
- - float GetDetailSampleDistance() const
- - float GetDetailSampleMaxError() const
- - const Vector3& GetPadding() const
- - bool IsInitialized() const
- - const BoundingBox& GetBoundingBox() const
- - BoundingBox GetWorldBoundingBox() const
- - IntVector2 GetNumTiles() const
- Properties:<br>
- - int tileSize
- - float cellSize
- - float cellHeight
- - float agentHeight
- - float agentRadius
- - float agentMaxClimb
- - float agentMaxSlope
- - float regionMinSize
- - float regionMergeSize
- - float edgeMaxLength
- - float edgeMaxError
- - float detailSampleDistance
- - float detailSampleMaxError
- - Vector3& padding
- - bool initialized (readonly)
- - BoundingBox& boundingBox (readonly)
- - BoundingBox worldBoundingBox (readonly)
- - IntVector2 numTiles (readonly)
- OffMeshConnection : Component
- Methods:<br>
- - void SetEndPoint(Node* node)
- - void SetRadius(float radius)
- - void SetBidirectional(bool enabled)
- - Node* GetEndPoint() const
- - float GetRadius() const
- - bool IsBidirectional() const
- Properties:<br>
- - Node* endPoint
- - float radius
- - bool bidirectional
- RemoteEvent
- Methods:<br>
- - unsigned senderID
- - StringHash eventType
- - VariantMap eventData
- - bool inOrder
- Connection : Object
- Methods:<br>
- - void SendMessage(int msgID, bool reliable, bool inOrder, const VectorBuffer& msg, unsigned contentID = 0)
- - void SendMessage(int msgID, bool reliable, bool inOrder, const unsigned char* data, unsigned numBytes, unsigned contentID = 0)
- - void SendRemoteEvent(StringHash eventType, bool inOrder, const VariantMap& eventData = Variant::emptyVariantMap)
- - void SendRemoteEvent(const String eventType, bool inOrder, const VariantMap& eventData = Variant::emptyVariantMap)
- - void SendRemoteEvent(Node* node, StringHash eventType, bool inOrder, const VariantMap& eventData = Variant::emptyVariantMap)
- - void SendRemoteEvent(Node* node, const String eventType, bool inOrder, const VariantMap& eventData = Variant::emptyVariantMap)
- - void SetScene(Scene* newScene)
- - void SetIdentity(const VariantMap& identity)
- - void SetControls(const Controls& newControls)
- - void SetPosition(const Vector3& position)
- - void SetConnectPending(bool connectPending)
- - void SetLogStatistics(bool enable)
- - void Disconnect(int waitMSec = 0)
- - void SendServerUpdate()
- - void SendClientUpdate()
- - void SendRemoteEvents()
- - void SendPackages()
- - void ProcessPendingLatestData()
- - bool ProcessMessage(int msgID, MemoryBuffer& msg)
- - const VariantMap& GetIdentity() const
- - Scene* GetScene() const
- - const Controls& GetControls() const
- - const Vector3& GetPosition() const
- - bool IsClient() const
- - bool IsConnected() const
- - bool IsConnectPending() const
- - bool IsSceneLoaded() const
- - bool GetLogStatistics() const
- - String GetAddress() const
- - unsigned short GetPort() const
- - String ToString() const
- - unsigned GetNumDownloads() const
- - const String& GetDownloadName() const
- - float GetDownloadProgress() const
- Properties:<br>
- - VariantMap& identity
- - Scene* scene
- - Controls& controls
- - Vector3& position
- - bool client (readonly)
- - bool connected (readonly)
- - bool connectPending
- - bool sceneLoaded (readonly)
- - bool logStatistics
- - String address (readonly)
- - unsigned short port (readonly)
- - unsigned numDownloads (readonly)
- - String& downloadName (readonly)
- - float downloadProgress (readonly)
- Controls
- Methods:<br>
- - void Reset()
- - void Set(unsigned buttons, bool down = true)
- - bool IsDown(unsigned button) const
- - bool IsPressed(unsigned button, const Controls& previousControls) const
- - unsigned buttons
- - float yaw
- - float pitch
- - VariantMap extraData
- Network
- Methods:<br>
- - bool Connect(const String address, unsigned short port, Scene* scene, const VariantMap& identity = Variant::emptyVariantMap)
- - void Disconnect(int waitMSec = 0)
- - bool StartServer(unsigned short port)
- - void StopServer()
- - void BroadcastMessage(int msgID, bool reliable, bool inOrder, const VectorBuffer& msg, unsigned contentID = 0)
- - void BroadcastRemoteEvent(StringHash eventType, bool inOrder, const VariantMap& eventData = Variant::emptyVariantMap)
- - void BroadcastRemoteEvent(const String eventType, bool inOrder, const VariantMap& eventData = Variant::emptyVariantMap)
- - void BroadcastRemoteEvent(Scene* scene, StringHash eventType, bool inOrder, const VariantMap& eventData = Variant::emptyVariantMap)
- - void BroadcastRemoteEvent(Scene* scene, const String eventType, bool inOrder, const VariantMap& eventData = Variant::emptyVariantMap)
- - void BroadcastRemoteEvent(Node* node, StringHash eventType, bool inOrder, const VariantMap& eventData = Variant::emptyVariantMap)
- - void BroadcastRemoteEvent(Node* node, const String eventType, bool inOrder, const VariantMap& eventData = Variant::emptyVariantMap)
- - void SetUpdateFps(int fps)
- - void RegisterRemoteEvent(StringHash eventType)
- - void RegisterRemoteEvent(const String eventType)
- - void UnregisterRemoteEvent(StringHash eventType)
- - void UnregisterRemoteEvent(const String eventType)
- - void UnregisterAllRemoteEvents()
- - void SetPackageCacheDir(const String path)
- - int GetUpdateFps() const
- - Connection* GetServerConnection() const
- - bool IsServerRunning() const
- - bool CheckRemoteEvent(StringHash eventType) const
- - const String& GetPackageCacheDir() const
- Properties:<br>
- - int updateFps
- - Connection* serverConnection (readonly)
- - bool serverRunning (readonly)
- - String& packageCacheDir
- NetworkPriority : Component
- Methods:<br>
- - void SetBasePriority(float priority)
- - void SetDistanceFactor(float factor)
- - void SetMinPriority(float priority)
- - void SetAlwaysUpdateOwner(bool enable)
- - float GetBasePriority() const
- - float GetDistanceFactor() const
- - float GetMinPriority() const
- - bool GetAlwaysUpdateOwner() const
- - bool CheckUpdate(float distance, float& accumulator)
- Properties:<br>
- - float basePriority
- - float distanceFactor
- - float minPriority
- - bool alwaysUpdateOwner
- CollisionShape : Component
- Methods:<br>
- - void SetBox(const Vector3& size, const Vector3& position = Vector3::ZERO, const Quaternion& rotation = Quaternion::IDENTITY)
- - void SetSphere(float diameter, const Vector3& position = Vector3::ZERO, const Quaternion& rotation = Quaternion::IDENTITY)
- - void SetStaticPlane(const Vector3& position = Vector3::ZERO, const Quaternion& rotation = Quaternion::IDENTITY)
- - void SetCylinder(float diameter, float height, const Vector3& position = Vector3::ZERO, const Quaternion& rotation = Quaternion::IDENTITY)
- - void SetCapsule(float diameter, float height, const Vector3& position = Vector3::ZERO, const Quaternion& rotation = Quaternion::IDENTITY)
- - void SetCone(float diameter, float height, const Vector3& position = Vector3::ZERO, const Quaternion& rotation = Quaternion::IDENTITY)
- - void SetTriangleMesh(Model* model, unsigned lodLevel = 0, const Vector3& scale = Vector3::ONE, const Vector3& position = Vector3::ZERO, const Quaternion& rotation = Quaternion::IDENTITY)
- - void SetConvexHull(Model* model, unsigned lodLevel = 0, const Vector3& scale = Vector3::ONE, const Vector3& position = Vector3::ZERO, const Quaternion& rotation = Quaternion::IDENTITY)
- - void SetTerrain()
- - void SetShapeType(ShapeType type)
- - void SetSize(const Vector3& size)
- - void SetPosition(const Vector3& position)
- - void SetRotation(const Quaternion& rotation)
- - void SetTransform(const Vector3& position, const Quaternion& rotation)
- - void SetMargin(float margin)
- - void SetModel(Model* model)
- - void SetLodLevel(unsigned lodLevel)
- - PhysicsWorld* GetPhysicsWorld() const
- - ShapeType GetShapeType() const
- - const Vector3& GetSize() const
- - const Vector3& GetPosition() const
- - const Quaternion& GetRotation() const
- - float GetMargin() const
- - Model* GetModel() const
- - unsigned GetLodLevel() const
- - BoundingBox GetWorldBoundingBox() const
- - void NotifyRigidBody(bool updateMass = true)
- - void SetModelAttr(ResourceRef value)
- - ResourceRef GetModelAttr() const
- - void ReleaseShape()
- Properties:<br>
- - PhysicsWorld* physicsWorld (readonly)
- - ShapeType shapeType
- - Vector3& size
- - Vector3& position
- - Quaternion& rotation
- - float margin
- - Model* model
- - unsigned lodLevel
- - tolua_readonlyBoundingBox worldBoundingBox
- - ResourceRef modelAttr
- Constraint : Component
- Methods:<br>
- - void SetConstraintType(ConstraintType type)
- - void SetOtherBody(RigidBody* body)
- - void SetPosition(const Vector3& position)
- - void SetRotation(const Quaternion& rotation)
- - void SetAxis(const Vector3& axis)
- - void SetOtherPosition(const Vector3& position)
- - void SetOtherRotation(const Quaternion& rotation)
- - void SetOtherAxis(const Vector3& axis)
- - void SetWorldPosition(const Vector3& position)
- - void SetHighLimit(const Vector2& limit)
- - void SetLowLimit(const Vector2& limit)
- - void SetERP(float erp)
- - void SetCFM(float cfm)
- - void SetDisableCollision(bool disable)
- - PhysicsWorld* GetPhysicsWorld() const
- - ConstraintType GetConstraintType() const
- - RigidBody* GetOwnBody() const
- - RigidBody* GetOtherBody() const
- - const Vector3& GetPosition() const
- - const Quaternion& GetRotation() const
- - const Vector3& GetOtherPosition() const
- - const Quaternion& GetOtherRotation() const
- - Vector3 GetWorldPosition() const
- - const Vector2& GetHighLimit() const
- - const Vector2& GetLowLimit() const
- - float GetERP() const
- - float GetCFM() const
- - bool GetDisableCollision() const
- - void ReleaseConstraint()
- - void ApplyFrames()
- Properties:<br>
- - PhysicsWorld* physicsWorld (readonly)
- - ConstraintType constraintType
- - RigidBody* ownBody (readonly)
- - RigidBody* otherBody
- - Vector3& position
- - Quaternion& rotation
- - Vector3& otherPosition
- - Quaternion& otherRotation
- - Vector3 worldPosition
- - Vector2& highLimit
- - Vector2& lowLimit
- - float ERP
- - float CFM
- - bool disableCollision
- PhysicsRaycastResult
- Methods:<br>
- - PhysicsRaycastResult()
- - Vector3 position
- - Vector3 normal
- - float distance
- - RigidBody* body
- DelayedWorldTransform
- Methods:<br>
- - RigidBody* rigidBody
- - RigidBody* parentRigidBody
- - Vector3 worldPosition
- - Quaternion worldRotation
- PhysicsWorld : Component
- Methods:<br>
- - void Update(float timeStep)
- - void UpdateCollisions()
- - void SetFps(int fps)
- - void SetGravity(Vector3 gravity)
- - void SetNumIterations(int num)
- - void SetInterpolation(bool enable)
- - void SetInternalEdge(bool enable)
- - void SetSplitImpulse(bool enable)
- - void SetMaxNetworkAngularVelocity(float velocity)
- - PhysicsRaycastResult RaycastSingle(const Ray& ray, float maxDistance, unsigned collisionMask = M_MAX_UNSIGNED)
- - / void SphereCast(PhysicsRaycastResult& result, const Ray& ray, float radius, float maxDistance, unsigned collisionMask = M_MAX_UNSIGNED)
- - PhysicsRaycastResult SphereCast(const Ray& ray, float radius, float maxDistance, unsigned collisionMask = M_MAX_UNSIGNED)
- - Vector3 GetGravity() const
- - int GetNumIterations() const
- - bool GetInterpolation() const
- - bool GetInternalEdge() const
- - bool GetSplitImpulse() const
- - int GetFps() const
- - float GetMaxNetworkAngularVelocity() const
- - void AddRigidBody(RigidBody* body)
- - void RemoveRigidBody(RigidBody* body)
- - void AddCollisionShape(CollisionShape* shape)
- - void RemoveCollisionShape(CollisionShape* shape)
- - void AddConstraint(Constraint* joint)
- - void RemoveConstraint(Constraint* joint)
- - void AddDelayedWorldTransform(const DelayedWorldTransform& transform)
- - void DrawDebugGeometry(bool depthTest)
- - void SetDebugRenderer(DebugRenderer* debug)
- - void SetDebugDepthTest(bool enable)
- - void CleanupGeometryCache()
- - void SetApplyingTransforms(bool enable)
- - bool IsApplyingTransforms() const
- Properties:<br>
- - Vector3 gravity
- - int numIterations
- - bool interpolation
- - bool internalEdge
- - bool splitImpulse
- - int fps
- - float maxNetworkAngularVelocity
- - bool applyingTransforms
- RigidBody : Component
- Methods:<br>
- - void SetMass(float mass)
- - void SetPosition(Vector3 position)
- - void SetRotation(Quaternion rotation)
- - void SetTransform(const Vector3& position, const Quaternion& rotation)
- - void SetLinearVelocity(Vector3 velocity)
- - void SetLinearFactor(Vector3 factor)
- - void SetLinearRestThreshold(float threshold)
- - void SetLinearDamping(float damping)
- - void SetAngularVelocity(Vector3 angularVelocity)
- - void SetAngularFactor(Vector3 factor)
- - void SetAngularRestThreshold(float threshold)
- - void SetAngularDamping(float factor)
- - void SetFriction(float friction)
- - void SetRollingFriction(float friction)
- - void SetRestitution(float restitution)
- - void SetContactProcessingThreshold(float threshold)
- - void SetCcdRadius(float radius)
- - void SetCcdMotionThreshold(float threshold)
- - void SetUseGravity(bool enable)
- - void SetGravityOverride(const Vector3& gravity)
- - void SetKinematic(bool enable)
- - void SetPhantom(bool enable)
- - void SetCollisionLayer(unsigned layer)
- - void SetCollisionMask(unsigned mask)
- - void SetCollisionLayerAndMask(unsigned layer, unsigned mask)
- - void SetCollisionEventMode(CollisionEventMode mode)
- - void ApplyForce(const Vector3& force)
- - void ApplyForce(const Vector3& force, const Vector3& position)
- - void ApplyTorque(const Vector3& torque)
- - void ApplyImpulse(const Vector3& impulse)
- - void ApplyImpulse(const Vector3& impulse, const Vector3& position)
- - void ApplyTorqueImpulse(const Vector3& torque)
- - void ResetForces()
- - void Activate()
- - void ReAddBodyToWorld()
- - PhysicsWorld* GetPhysicsWorld() const
- - float GetMass() const
- - Vector3 GetPosition() const
- - Quaternion GetRotation() const
- - Vector3 GetLinearVelocity() const
- - Vector3 GetLinearFactor() const
- - Vector3 GetVelocityAtPoint(const Vector3& position) const
- - float GetLinearRestThreshold() const
- - float GetLinearDamping() const
- - Vector3 GetAngularVelocity() const
- - Vector3 GetAngularFactor() const
- - float GetAngularRestThreshold() const
- - float GetAngularDamping() const
- - float GetFriction() const
- - float GetRollingFriction() const
- - float GetRestitution() const
- - float GetContactProcessingThreshold() const
- - float GetCcdRadius() const
- - float GetCcdMotionThreshold() const
- - bool GetUseGravity() const
- - const Vector3& GetGravityOverride() const
- - const Vector3& GetCenterOfMass() const
- - bool IsKinematic() const
- - bool IsPhantom() const
- - bool IsActive() const
- - unsigned GetCollisionLayer() const
- - unsigned GetCollisionMask() const
- - CollisionEventMode GetCollisionEventMode() const
- - void ApplyWorldTransform(const Vector3& newWorldPosition, const Quaternion& newWorldRotation)
- - void UpdateMass()
- - void UpdateGravity()
- - void AddConstraint(Constraint* constraint)
- - void RemoveConstraint(Constraint* constraint)
- - void ReleaseBody()
- Properties:<br>
- - PhysicsWorld* physicsWorld (readonly)
- - float mass
- - Vector3 position
- - Quaternion rotation
- - Vector3 linearVelocity
- - Vector3 linearFactor
- - float linearRestThreshold
- - float linearDamping
- - Vector3 angularVelocity
- - Vector3 angularFactor
- - float angularRestThreshold
- - float angularDamping
- - float friction
- - float rollingFriction
- - float restitution
- - float contactProcessingThreshold
- - float ccdRadius
- - float ccdMotionThreshold
- - bool useGravity
- - Vector3& gravityOverride
- - Vector3& centerOfMass (readonly)
- - bool kinematic
- - bool phantom
- - bool active (readonly)
- - unsigned collisionLayer
- - unsigned collisionMask
- - CollisionEventMode collisionEventMode
- Image : Resource
- Methods:<br>
- - void FlipVertical()
- - bool SaveBMP(const String fileName)
- - bool SavePNG(const String fileName)
- - bool SaveTGA(const String fileName)
- - bool SaveJPG(const String fileName, int quality)
- - int GetWidth() const
- - int GetHeight() const
- - unsigned GetComponents() const
- - bool IsCompressed() const
- - CompressedFormat GetCompressedFormat() const
- - unsigned GetNumCompressedLevels() const
- - CompressedLevel GetCompressedLevel(unsigned index) const
- Properties:<br>
- - int width (readonly)
- - int height (readonly)
- - unsigned components (readonly)
- - bool compressed (readonly)
- - CompressedFormat compressedFormat (readonly)
- - unsigned numCompressedLevels (readonly)
- Resource
- Methods:<br>
- - const String& GetName() const
- - StringHash GetNameHash() const
- - unsigned GetMemoryUse() const
- Properties:<br>
- - String& name (readonly)
- - StringHash nameHash (readonly)
- - unsigned memoryUse (readonly)
- ResourceCache
- Methods:<br>
- - void ReleaseAllResources(bool force = false)
- - bool ReloadResource(Resource* resource)
- - void SetMemoryBudget(ShortStringHash type, unsigned budget)
- - void SetMemoryBudget(const String type, unsigned budget)
- - void SetAutoReloadResources(bool enable)
- - Resource* GetResource(const String type, const String name)
- - bool Exists(const String name) const
- - bool Exists(StringHash nameHash) const
- - unsigned GetMemoryBudget(ShortStringHash type) const
- - unsigned GetMemoryUse(ShortStringHash type) const
- - unsigned GetTotalMemoryUse() const
- - const String& GetResourceName(StringHash nameHash) const
- - String GetResourceFileName(const String name) const
- - bool GetAutoReloadResources() const
- Properties:<br>
- - unsigned totalMemoryUse (readonly)
- - bool autoReloadResources (readonly)
- XMLElement
- Methods:<br>
- - bool IsNull() const
- - bool NotNull() const
- - operator bool () const
- - String GetName() const
- - bool HasChild(const String name) const
- - XMLElement GetChild(const String name = String::EMPTY) const
- - XMLElement GetNext(const String name = String::EMPTY) const
- - XMLElement GetParent() const
- - unsigned GetNumAttributes() const
- - bool HasAttribute(const String name) const
- - bool GetBool(const String name) const
- - BoundingBox GetBoundingBox() const
- - Color GetColor(const String name) const
- - float GetFloat(const String name) const
- - unsigned GetUInt(const String name) const
- - int GetInt(const String name) const
- - IntRect GetIntRect(const String name) const
- - IntVector2 GetIntVector2(const String name) const
- - Rect GetRect(const String name) const
- - Quaternion GetQuaternion(const String name) const
- - Variant GetVariant() const
- - Variant GetVariantValue(VariantType type) const
- - ResourceRef GetResourceRef() const
- - ResourceRefList GetResourceRefList() const
- - VariantMap GetVariantMap() const
- - Vector2 GetVector2(const String name) const
- - Vector3 GetVector3(const String name) const
- - Vector4 GetVector4(const String name) const
- - Vector4 GetVector(const String name) const
- - XMLFile* GetFile() const
- - static const XMLElement EMPTY
- Properties:<br>
- - bool null (readonly)
- - String name (readonly)
- - XMLElement parent (readonly)
- - unsigned numAttributes (readonly)
- - XMLFile* file (readonly)
- XMLFile : Resource
- Methods:<br>
- - XMLElement GetRoot(const String name = String::EMPTY)
- Component : Serializable
- Methods:<br>
- - void SetEnabled(bool enable)
- - void Remove()
- - unsigned GetID() const
- - Node* GetNode() const
- - Scene* GetScene() const
- - bool IsEnabled() const
- - bool IsEnabledEffective() const
- -
- - Component* GetComponent(ShortStringHash type) const
- - Component* GetComponent(const String type) const
- Node : Serializable
- Methods:<br>
- - Node(Context* context)
- - virtual ~Node()
- - bool SaveXML(File* dest) const
- - void SetName(const String name)
- - void SetPosition(const Vector3& position)
- - void SetPositionXYZ(float x, float y, float z)
- - void SetRotation(const Quaternion& rotation)
- - void SetRotationXYZ(float x, float y, float z)
- - void SetDirection(const Vector3& direction)
- - void SetDirectionXYZ(float x, float y, float z)
- - void SetScale(float scale)
- - void SetScale(const Vector3& scale)
- - void SetScaleXYZ(float x, float y, float z)
- - void SetTransform(const Vector3& position, const Quaternion& rotation)
- - void SetTransform(const Vector3& position, const Quaternion& rotation, float scale)
- - void SetTransform(const Vector3& position, const Quaternion& rotation, const Vector3& scale)
- - void SetWorldPosition(const Vector3& position)
- - void SetWorldPositionXYZ(float x, float y, float z)
- - void SetWorldRotation(const Quaternion& rotation)
- - void SetWorldRotationXYZ(float x, float y, float z)
- - void SetWorldDirection(const Vector3& direction)
- - void SetWorldDirectionXYZ(float x, float y, float z)
- - void SetWorldScale(float scale)
- - void SetWorldScale(const Vector3& scale)
- - void SetWorldScaleXYZ(float x, float y, float z)
- - void SetWorldTransform(const Vector3& position, const Quaternion& rotation)
- - void SetWorldTransform(const Vector3& position, const Quaternion& rotation, float scale)
- - void SetWorldTransform(const Vector3& position, const Quaternion& rotation, const Vector3& scale)
- - void Translate(const Vector3& delta)
- - void TranslateXYZ(float x, float y, float z)
- - void TranslateRelative(const Vector3& delta)
- - void TranslateRelativeXYZ(float x, float y, float z)
- - void Rotate(const Quaternion& delta, bool fixedAxis = false)
- - void RotateXYZ(float x, float y, float z, bool fixedAxis = false)
- - void Pitch(float angle, bool fixedAxis = false)
- - void Yaw(float angle, bool fixedAxis = false)
- - void Roll(float angle, bool fixedAxis = false)
- - void LookAt(const Vector3& target, const Vector3& upAxis = Vector3::UP)
- - void LookAtXYZ(float x, float y, float z, float upX = 0.0f, float upY = 1.0f, float upZ = 0.0f)
- - void Scale(float scale)
- - void Scale(const Vector3& scale)
- - void ScaleXYZ(float x, float y, float z)
- - void SetEnabled(bool enable)
- - void SetEnabled(bool enable, bool recursive)
- - void SetOwner(Connection* owner)
- - void MarkDirty()
- - Node* CreateChild(const String name = String::EMPTY, CreateMode mode = REPLICATED, unsigned id = 0)
- - void AddChild(Node* node)
- - void RemoveChild(Node* node)
- - void RemoveAllChildren()
- - void RemoveChildren(bool removeReplicated, bool removeLocal, bool recursive)
- - void RemoveComponent(Component* component)
- - void RemoveComponent(ShortStringHash type)
- - void RemoveComponent(const String type)
- - void RemoveAllComponents()
- - void RemoveComponents(bool removeReplicated, bool removeLocal)
- - Node* Clone(CreateMode mode = REPLICATED)
- - void Remove()
- - void SetParent(Node* parent)
- - void SetVar(ShortStringHash key, const Variant& value)
- - void AddListener(Component* component)
- - void RemoveListener(Component* component)
- - Component* CreateComponent(const String type, CreateMode mode = REPLICATED, unsigned id = 0)
- - unsigned GetID() const
- - const String& GetName() const
- - StringHash GetNameHash() const
- - Node* GetParent() const
- - Scene* GetScene() const
- - bool IsEnabled() const
- - Connection* GetOwner() const
- - const Vector3& GetPosition() const
- - void GetPositionXYZ(float* x = 0.0f, float* y = 0.0f, float* z = 0.0f) const
- - const Quaternion& GetRotation() const
- - void GetRotationXYZ(float* *x = 0.0f, float* *y = 0.0f, float* *z = 0.0f) const
- - void GetRotationWXYZ(float* *w = 0.0f, float* *x = 0.0f, float* *y = 0.0f, float* *z = 0.0f) const
- - Vector3 GetDirection() const
- - void GetDirectionXYZ(float* *x = 0.0f, float* *y = 0.0f, float* *z = 0.0f) const
- - const Vector3& GetScale() const
- - void GetScaleXYZ(float* *x = 0.0f, float* *y = 0.0f, float* *z = 0.0f) const
- - Matrix3x4 GetTransform() const
- - Vector3 GetWorldPosition() const
- - void GetWorldPositionXYZ(float* *x = 0.0f, float* *y = 0.0f, float* *z = 0.0f) const
- - Quaternion GetWorldRotation() const
- - void GetWorldRotationXYZ(float* *x = 0.0f, float* *y = 0.0f, float* *z = 0.0f) const
- - void GetWorldRotationWXYZ(float* *w = 0.0f, float* *x = 0.0f, float* *y = 0.0f, float* *z = 0.0f) const
- - Vector3 GetWorldDirection() const
- - void GetWorldDirectionXYZ(float* *x = 0.0f, float* *y = 0.0f, float* *z = 0.0f) const
- - Vector3 GetWorldScale() const
- - void GetWorldScaleXYZ(float* *x = 0.0f, float* *y = 0.0f, float* *z = 0.0f) const
- - const Matrix3x4& GetWorldTransform() const
- - Vector3 LocalToWorld(const Vector3& position) const
- - Vector3 LocalToWorld(const Vector4& vector) const
- - Vector3 WorldToLocal(const Vector3& position) const
- - Vector3 WorldToLocal(const Vector4& vector) const
- - bool IsDirty() const
- - unsigned GetNumChildren(bool recursive = false) const
- - Node* GetChild(unsigned index) const
- - Node* GetChild(const String name, bool recursive = false) const
- - Node* GetChild(StringHash nameHash, bool recursive = false) const
- - unsigned GetNumComponents() const
- - unsigned GetNumNetworkComponents() const
- - bool HasComponent(ShortStringHash type) const
- - bool HasComponent(const String type) const
- - const Variant& GetVar(ShortStringHash key) const
- - const VariantMap& GetVars() const
- - Component* GetComponent(const String type) const
- - void SetID(unsigned id)
- - void SetScene(Scene* scene)
- - void ResetScene()
- - bool Load(Deserializer& source, SceneResolver& resolver, bool loadChildren = true, bool rewriteIDs = false, CreateMode mode = REPLICATED)
- - bool LoadXML(const XMLElement& source, SceneResolver& resolver, bool loadChildren = true, bool rewriteIDs = false, CreateMode mode = REPLICATED)
- - Node* CreateChild(unsigned id, CreateMode mode)
- - void AddComponent(Component* component, unsigned id, CreateMode mode)
- Properties:<br>
- - unsigned ID
- - String& name
- - StringHash nameHash (readonly)
- - Node* parent
- - Scene* scene
- - bool enabled
- - Connection* owner
- - Vector3& position
- - Quaternion& rotation
- - Vector3 direction
- - Vector3& scale
- - Matrix3x4 transform (readonly)
- - Vector3 worldPosition
- - Quaternion worldRotation
- - Vector3 worldDirection
- - Vector3 worldScale
- - Matrix3x4& worldTransform (readonly)
- - bool dirty (readonly)
- - unsigned numComponents (readonly)
- - unsigned numNetworkComponents (readonly)
- Scene : Node
- Methods:<br>
- - Scene(Context* context)
- - virtual ~Scene()
- - bool LoadXML(File* source)
- - bool SaveXML(File* dest) const
- - bool LoadAsync(File* file)
- - bool LoadAsyncXML(File* file)
- - void StopAsyncLoading()
- - void Clear(bool clearReplicated = true, bool clearLocal = true)
- - void SetUpdateEnabled(bool enable)
- - void SetTimeScale(float scale)
- - void SetElapsedTime(float time)
- - void SetSmoothingConstant(float constant)
- - void SetSnapThreshold(float threshold)
- - bool IsUpdateEnabled() const
- - bool IsAsyncLoading() const
- - float GetAsyncProgress() const
- - const String& GetFileName() const
- - unsigned GetChecksum() const
- - float GetTimeScale() const
- - float GetElapsedTime() const
- - float GetSmoothingConstant() const
- - float GetSnapThreshold() const
- - const String& GetVarName(ShortStringHash hash) const
- - void Update(float timeStep)
- - void BeginThreadedUpdate()
- - void EndThreadedUpdate()
- - void DelayedMarkedDirty(Component* component)
- - bool IsThreadedUpdate() const
- - unsigned GetFreeNodeID(CreateMode mode)
- - unsigned GetFreeComponentID(CreateMode mode)
- - void NodeAdded(Node* node)
- - void NodeRemoved(Node* node)
- - void ComponentAdded(Component* component)
- - void ComponentRemoved(Component* component)
- - void SetVarNamesAttr(String value)
- - String GetVarNamesAttr() const
- - void PrepareNetworkUpdate()
- - void CleanupConnection(Connection* connection)
- - void MarkNetworkUpdate(Node* node)
- - void MarkNetworkUpdate(Component* component)
- - void MarkReplicationDirty(Node* node)
- Properties:<br>
- - bool updateEnabled
- - bool asyncLoading (readonly)
- - float asyncProgress (readonly)
- - const String fileName
- - unsigned checksum (readonly)
- - float timeScale
- - float elapsedTime
- - float smoothingConstant
- - float snapThreshold
- - bool threadedUpdate (readonly)
- - String varNamesAttr
- Serializable : Object
- Methods:<br>
- - void SetTemporary(bool enable)
- - bool IsTemporary() const
- Properties:<br>
- - bool temporary
- BorderImage : UIElement
- Methods:<br>
- - BorderImage(Context* context)
- - virtual ~BorderImage()
- - void SetTexture(Texture* texture)
- - void SetImageRect(const IntRect& rect)
- - void SetFullImageRect()
- - void SetBorder(const IntRect& rect)
- - void SetHoverOffset(const IntVector2& offset)
- - void SetHoverOffset(int x, int y)
- - void SetBlendMode(BlendMode mode)
- - void SetTiled(bool enable)
- - Texture* GetTexture() const
- - const IntRect& GetImageRect() const
- - const IntRect& GetBorder() const
- - const IntVector2& GetHoverOffset() const
- - BlendMode GetBlendMode() const
- - bool IsTiled() const
- - void SetTextureAttr(ResourceRef value)
- - ResourceRef GetTextureAttr() const
- Properties:<br>
- - Texture* texture
- - IntRect& imageRect
- - IntRect& border
- - IntVector2& hoverOffset
- - BlendMode blendMode
- - bool tiled
- - ResourceRef textureAttr
- Button : BorderImage
- Methods:<br>
- - Button(Context* context)
- - virtual ~Button()
- - void SetPressedOffset(const IntVector2& offset)
- - void SetPressedOffset(int x, int y)
- - void SetPressedChildOffset(const IntVector2& offset)
- - void SetPressedChildOffset(int x, int y)
- - void SetRepeat(float delay, float rate)
- - void SetRepeatDelay(float delay)
- - void SetRepeatRate(float rate)
- - const IntVector2& GetPressedOffset() const
- - const IntVector2& GetPressedChildOffset() const
- - float GetRepeatDelay() const
- - float GetRepeatRate() const
- - bool IsPressed() const
- Properties:<br>
- - IntVector2& pressedOffset
- - IntVector2& pressedChildOffset
- - float repeatDelay
- - float repeatRate
- - bool pressed (readonly)
- CheckBox : BorderImage
- Methods:<br>
- - CheckBox(Context* context)
- - virtual ~CheckBox()
- - void SetChecked(bool enable)
- - void SetCheckedOffset(const IntVector2& rect)
- - void SetCheckedOffset(int x, int y)
- - bool IsChecked() const
- - const IntVector2& GetCheckedOffset() const
- Properties:<br>
- - bool checked
- - IntVector2& checkedOffset
- Cursor : BorderImage
- Methods:<br>
- - Cursor(Context* context)
- - virtual ~Cursor()
- - void DefineShape(CursorShape shape, Image* image, const IntRect& imageRect, const IntVector2& hotSpot)
- - void SetShape(CursorShape shape)
- - void SetUseSystemShapes(bool enable)
- - CursorShape GetShape() const
- - bool GetUseSystemShapes() const
- Properties:<br>
- - CursorShape shape
- - bool useSystemShapes
- DropDownList : Menu
- Methods:<br>
- - DropDownList(Context* context)
- - ~DropDownList()
- - void AddItem(UIElement* item)
- - void InsertItem(unsigned index, UIElement* item)
- - void RemoveItem(UIElement* item)
- - void RemoveItem(unsigned index)
- - void RemoveAllItems()
- - void SetSelection(unsigned index)
- - void SetPlaceholderText(const String text)
- - void SetResizePopup(bool enable)
- -
- - unsigned GetNumItems() const
- - UIElement* GetItem(unsigned index) const
- - unsigned GetSelection() const
- - UIElement* GetSelectedItem() const
- - ListView* GetListView() const
- - UIElement* GetPlaceholder() const
- - const String& GetPlaceholderText() const
- - bool GetResizePopup() const
- - void SetSelectionAttr(unsigned index)
- Properties:<br>
- - unsigned numItems (readonly)
- - unsigned selection
- - UIElement* selectedItem (readonly)
- - ListView* listView (readonly)
- - UIElement* placeholder (readonly)
- - String& placeholderText
- - bool resizePopup
- FileSelectorEntry
- Methods:<br>
- - String name
- - bool directory
- FileSelector : Object
- Methods:<br>
- - FileSelector(Context* context)
- - virtual ~FileSelector()
- - void SetDefaultStyle(XMLFile* style)
- - void SetTitle(const String text)
- - void SetButtonTexts(const String okText, const String cancelText)
- - void SetPath(const String path)
- - void SetFileName(const String fileName)
- - void SetDirectoryMode(bool enable)
- - void UpdateElements()
- - XMLFile* GetDefaultStyle() const
- - Window* GetWindow() const
- - Text* GetTitleText() const
- - ListView* GetFileList() const
- - LineEdit* GetPathEdit() const
- - LineEdit* GetFileNameEdit() const
- - DropDownList* GetFilterList() const
- - Button* GetOKButton() const
- - Button* GetCancelButton() const
- - Button* GetCloseButton() const
- - const String& GetTitle() const
- - const String& GetPath() const
- - const String& GetFileName() const
- - const String& GetFilter() const
- - unsigned GetFilterIndex() const
- - bool GetDirectoryMode() const
- Properties:<br>
- - XMLFile* defaultStyle
- - Window* window (readonly)
- - Text* titleText (readonly)
- - ListView* fileList (readonly)
- - LineEdit* pathEdit (readonly)
- - LineEdit* fileNameEdit (readonly)
- - DropDownList* filterList (readonly)
- - Button* OKButton (readonly)
- - Button* cancelButton (readonly)
- - Button* closeButton (readonly)
- - String& title
- - String& path
- - String& fileName
- - String& filter (readonly)
- - unsigned filterIndex (readonly)
- - bool directoryMode
- Font : Resource
- Methods:<br>
- LineEdit : BorderImage
- Methods:<br>
- - LineEdit(Context* context)
- - virtual ~LineEdit()
- - void SetText(const String text)
- - void SetCursorPosition(unsigned position)
- - void SetCursorBlinkRate(float rate)
- - void SetMaxLength(unsigned length)
- - void SetEchoCharacter(unsigned c)
- - void SetCursorMovable(bool enable)
- - void SetTextSelectable(bool enable)
- - void SetTextCopyable(bool enable)
- - const String& GetText() const
- - unsigned GetCursorPosition() const
- - float GetCursorBlinkRate() const
- - unsigned GetMaxLength() const
- - unsigned GetEchoCharacter() const
- - bool IsCursorMovable() const
- - bool IsTextSelectable() const
- - bool IsTextCopyable() const
- - Text* GetTextElement() const
- - BorderImage* GetCursor() const
- Properties:<br>
- - String& text
- - unsigned cursorPosition
- - float cursorBlinkRate
- - unsigned maxLength
- - unsigned echoCharacter
- - bool cursorMovable
- - bool textSelectable
- - bool textCopyable
- - Text* textElement (readonly)
- - BorderImage* cursor (readonly)
- ListView : ScrollView
- Methods:<br>
- - ListView(Context* context)
- - virtual ~ListView()
- - void AddItem(UIElement* item)
- - void InsertItem(unsigned index, UIElement* item, UIElement* parentItem = 0)
- - void RemoveItem(UIElement* item, unsigned index = 0)
- - void RemoveItem(unsigned index)
- - void RemoveAllItems()
- - void SetSelection(unsigned index)
- - void AddSelection(unsigned index)
- - void RemoveSelection(unsigned index)
- - void ToggleSelection(unsigned index)
- - void ChangeSelection(int delta, bool additive = false)
- - void ClearSelection()
- - void SetHighlightMode(HighlightMode mode)
- - void SetMultiselect(bool enable)
- - void SetHierarchyMode(bool enable)
- - void SetBaseIndent(int baseIndent)
- - void SetClearSelectionOnDefocus(bool enable)
- - void Expand(unsigned index, bool enable, bool recursive = false)
- - void ToggleExpand(unsigned index, bool recursive = false)
- - unsigned GetNumItems() const
- - UIElement* GetItem(unsigned index) const
- - unsigned FindItem(UIElement* item) const
- - unsigned GetSelection() const
- - UIElement* GetSelectedItem() const
- - bool IsSelected(unsigned index) const
- - bool IsExpanded(unsigned index) const
- - HighlightMode GetHighlightMode() const
- - bool GetMultiselect() const
- - bool GetClearSelectionOnDefocus() const
- - bool GetHierarchyMode() const
- - int GetBaseIndent() const
- Properties:<br>
- - unsigned numItems (readonly)
- - unsigned selection
- - UIElement* selectedItem (readonly)
- - HighlightMode highlightMode
- - bool multiselect
- - bool clearSelectionOnDefocus
- - bool hierarchyMode
- - int baseIndent
- Menu : Button
- Methods:<br>
- - Menu(Context* context)
- - virtual ~Menu()
- - void SetPopup(UIElement* element)
- - void SetPopupOffset(const IntVector2& offset)
- - void SetPopupOffset(int x, int y)
- - void ShowPopup(bool enable)
- - void SetAccelerator(int key, int qualifiers)
- - UIElement* GetPopup() const
- - const IntVector2& GetPopupOffset() const
- - bool GetShowPopup() const
- - int GetAcceleratorKey() const
- - int GetAcceleratorQualifiers() const
- Properties:<br>
- - UIElement* popup
- - IntVector2& popupOffset
- - bool showPopup
- - int acceleratorKey (readonly)
- - int acceleratorQualifiers (readonly)
- ScrollBar : UIElement
- Methods:<br>
- - ScrollBar(Context* context)
- - virtual ~ScrollBar()
- - void SetOrientation(Orientation orientation)
- - void SetRange(float range)
- - void SetValue(float value)
- - void ChangeValue(float delta)
- - void SetScrollStep(float step)
- - void SetStepFactor(float factor)
- - void StepBack()
- - void StepForward()
- - Orientation GetOrientation() const
- - float GetRange() const
- - float GetValue() const
- - float GetScrollStep() const
- - float GetStepFactor() const
- - float GetEffectiveScrollStep() const
- - Button* GetBackButton() const
- - Button* GetForwardButton() const
- - Slider* GetSlider() const
- Properties:<br>
- - Orientation orientation
- - float range
- - float value
- - float scrollStep
- - float stepFactor
- - float effectiveScrollStep (readonly)
- - Button* backButton (readonly)
- - Button* forwardButton (readonly)
- - Slider* slider (readonly)
- ScrollView : UIElement
- Methods:<br>
- - ScrollView(Context* context)
- - virtual ~ScrollView()
- - void SetContentElement(UIElement* element)
- - void SetViewPosition(const IntVector2& position)
- - void SetViewPosition(int x, int y)
- - void SetScrollBarsVisible(bool horizontal, bool vertical)
- - void SetScrollBarsAutoVisible(bool enable)
- - void SetScrollStep(float step)
- - void SetPageStep(float step)
- - const IntVector2& GetViewPosition() const
- - UIElement* GetContentElement() const
- - ScrollBar* GetHorizontalScrollBar() const
- - ScrollBar* GetVerticalScrollBar() const
- - BorderImage* GetScrollPanel() const
- - bool GetScrollBarsAutoVisible() const
- - float GetScrollStep() const
- - float GetPageStep() const
- - void SetViewPositionAttr(const IntVector2& value)
- Properties:<br>
- - IntVector2& viewPosition
- - UIElement* contentElement
- - ScrollBar* horizontalScrollBar (readonly)
- - ScrollBar* verticalScrollBar (readonly)
- - BorderImage* scrollPanel (readonly)
- - bool scrollBarsAutoVisible
- - float scrollStep
- - float pageStep
- Slider : BorderImage
- Methods:<br>
- - Slider(Context* context)
- - virtual ~Slider()
- - void SetOrientation(Orientation orientation)
- - void SetRange(float range)
- - void SetValue(float value)
- - void ChangeValue(float delta)
- - void SetRepeatRate(float rate)
- - Orientation GetOrientation() const
- - float GetRange() const
- - float GetValue() const
- - BorderImage* GetKnob() const
- - float GetRepeatRate() const
- Properties:<br>
- - Orientation orientation
- - float range
- - float value
- - BorderImage* knob (readonly)
- - float repeatRate
- Sprite : UIElement
- Methods:<br>
- - Sprite(Context* context)
- - virtual ~Sprite()
- - void SetPosition(const Vector2& position)
- - void SetPosition(float x, float y)
- - void SetHotSpot(const IntVector2& hotSpot)
- - void SetHotSpot(int x, int y)
- - void SetScale(const Vector2& scale)
- - void SetScale(float x, float y)
- - void SetScale(float scale)
- - void SetRotation(float angle)
- - void SetTexture(Texture* texture)
- - void SetImageRect(const IntRect& rect)
- - void SetFullImageRect()
- - void SetBlendMode(BlendMode mode)
- - const Vector2& GetPosition() const
- - const IntVector2& GetHotSpot() const
- - const Vector2& GetScale() const
- - float GetRotation() const
- - Texture* GetTexture() const
- - const IntRect& GetImageRect() const
- - BlendMode GetBlendMode() const
- - void SetTextureAttr(ResourceRef value)
- - ResourceRef GetTextureAttr() const
- - const Matrix3x4& GetTransform() const
- Properties:<br>
- - Vector2& position
- - IntVector2& hotSpot
- - Vector2& scale
- - float rotation
- - Texture* texture
- - IntRect& imageRect
- - BlendMode blendMode
- - ResourceRef textureAttr
- - Matrix3x4& transform (readonly)
- Text : UIElement
- Methods:<br>
- - Text(Context* context)
- - virtual ~Text()
- - bool SetFont(const String fontName, int size = DEFAULT_FONT_SIZE)
- - bool SetFont(Font* font, int size = DEFAULT_FONT_SIZE)
- - void SetText(const String text)
- - void SetTextAlignment(HorizontalAlignment align)
- - void SetRowSpacing(float spacing)
- - void SetWordwrap(bool enable)
- - void SetSelection(unsigned start, unsigned length = M_MAX_UNSIGNED)
- - void ClearSelection()
- - void SetSelectionColor(const Color& color)
- - void SetHoverColor(const Color& color)
- - Font* GetFont() const
- - int GetFontSize() const
- - const String& GetText() const
- - HorizontalAlignment GetTextAlignment() const
- - float GetRowSpacing() const
- - bool GetWordwrap() const
- - unsigned GetSelectionStart() const
- - unsigned GetSelectionLength() const
- - const Color& GetSelectionColor() const
- - const Color& GetHoverColor() const
- - int GetRowHeight() const
- - unsigned GetNumRows() const
- - void SetFontAttr(ResourceRef value)
- - ResourceRef GetFontAttr() const
- Properties:<br>
- - Font* font
- - int fontSize (readonly)
- - String& text
- - HorizontalAlignment textAlignment
- - float rowSpacing
- - bool wordwrap
- - unsigned selectionStart (readonly)
- - unsigned selectionLength (readonly)
- - Color& selectionColor
- - Color& hoverColor
- - int rowHeight (readonly)
- - unsigned numRows (readonly)
- - ResourceRef fontAttr
- Text3D : Drawable
- Methods:<br>
- - Text3D(Context* context)
- - ~Text3D()
- - bool SetFont(const String fontName, int size = DEFAULT_FONT_SIZE)
- - bool SetFont(Font* font, int size = DEFAULT_FONT_SIZE)
- - bool SetFont(Font* font)
- - void SetMaterial(Material* material)
- - void SetText(const String text)
- - void SetAlignment(HorizontalAlignment hAlign, VerticalAlignment vAlign)
- - void SetHorizontalAlignment(HorizontalAlignment align)
- - void SetVerticalAlignment(VerticalAlignment align)
- - void SetTextAlignment(HorizontalAlignment align)
- - void SetRowSpacing(float spacing)
- - void SetWordwrap(bool enable)
- - void SetWidth(int width)
- - void SetColor(const Color& color)
- - void SetColor(Corner corner, const Color& color)
- - void SetOpacity(float opacity)
- - void SetFaceCamera(bool enable)
- - Font* GetFont() const
- - Material* GetMaterial() const
- - int GetFontSize() const
- - const String& GetText() const
- - HorizontalAlignment GetTextAlignment() const
- - HorizontalAlignment GetHorizontalAlignment() const
- - VerticalAlignment GetVerticalAlignment() const
- - float GetRowSpacing() const
- - bool GetWordwrap() const
- - int GetWidth() const
- - int GetRowHeight() const
- - unsigned GetNumRows() const
- - const Color& GetColor(Corner corner) const
- - float GetOpacity() const
- - bool GetFaceCamera() const
- - void SetFontAttr(ResourceRef value)
- - ResourceRef GetFontAttr() const
- - void SetMaterialAttr(ResourceRef value)
- - ResourceRef GetMaterialAttr() const
- - const Color& GetColorAttr() const
- Properties:<br>
- - Font* font
- - Material* material
- - int fontSize (readonly)
- - String& text
- - HorizontalAlignment textAlignment
- - HorizontalAlignment horizontalAlignment
- - VerticalAlignment verticalAlignment
- - float rowSpacing
- - bool wordwrap
- - int width
- - int rowHeight (readonly)
- - unsigned numRows (readonly)
- - float opacity
- - bool faceCamera
- - ResourceRef fontAttr
- - ResourceRef materialAttr
- - Color& colorAttr (readonly)
- UI : Object
- Methods:<br>
- - void SetCursor(Cursor* cursor)
- - void SetFocusElement(UIElement* element)
- - bool SetModalElement(UIElement* modalElement, bool enable)
- - void Clear()
- - void Update(float timeStep)
- - void RenderUpdate()
- - void Render()
- - void DebugDraw(UIElement* element)
- - bool SaveLayout(Serializer& dest, UIElement* element)
- - void SetClipBoardText(const String text)
- - void SetDoubleClickInterval(float interval)
- - void SetNonFocusedMouseWheel(bool nonFocusedMouseWheel)
- - UIElement* GetRoot() const
- - UIElement* GetRootModalElement() const
- - Cursor* GetCursor() const
- - UIElement* GetElementAt(const IntVector2& position, bool enabledOnly = true)
- - UIElement* GetElementAt(int x, int y, bool enabledOnly = true)
- - UIElement* GetFocusElement() const
- - UIElement* GetFrontElement() const
- - IntVector2 GetCursorPosition() const
- - const String& GetClipBoardText() const
- - float GetDoubleClickInterval() const
- - bool IsNonFocusedMouseWheel() const
- - bool HasModalElement() const
- Properties:<br>
- - UIElement* root (readonly)
- - UIElement* rootModalElement (readonly)
- - Cursor* cursor
- - UIElement* focusElement (readonly)
- - UIElement* frontElement (readonly)
- - IntVector2 cursorPosition (readonly)
- - String& clipBoardText
- - float doubleClickInterval
- - bool nonFocusedMouseWheel (readonly)
- - bool modalElement (readonly)
- UIElement : Serializable
- Methods:<br>
- - UIElement(Context* context)
- - virtual ~UIElement()
- - virtual const IntVector2& GetScreenPosition() const
- - bool LoadXML(Deserializer& source)
- - bool SaveXML(Serializer& dest) const
- - bool FilterAttributes(XMLElement& dest) const
- - void SetName(const String name)
- - void SetPosition(const IntVector2& position)
- - void SetPosition(int x, int y)
- - void SetSize(const IntVector2& size)
- - void SetSize(int width, int height)
- - void SetWidth(int width)
- - void SetHeight(int height)
- - void SetMinSize(const IntVector2& minSize)
- - void SetMinSize(int width, int height)
- - void SetMinWidth(int width)
- - void SetMinHeight(int height)
- - void SetMaxSize(const IntVector2& maxSize)
- - void SetMaxSize(int width, int height)
- - void SetMaxWidth(int width)
- - void SetMaxHeight(int height)
- - void SetFixedSize(const IntVector2& size)
- - void SetFixedSize(int width, int height)
- - void SetFixedWidth(int width)
- - void SetFixedHeight(int height)
- - void SetAlignment(HorizontalAlignment hAlign, VerticalAlignment vAlign)
- - void SetHorizontalAlignment(HorizontalAlignment align)
- - void SetVerticalAlignment(VerticalAlignment align)
- - void SetClipBorder(const IntRect& rect)
- - void SetColor(const Color& color)
- - void SetColor(Corner corner, const Color& color)
- - void SetPriority(int priority)
- - void SetOpacity(float opacity)
- - void SetBringToFront(bool enable)
- - void SetBringToBack(bool enable)
- - void SetClipChildren(bool enable)
- - void SetSortChildren(bool enable)
- - void SetUseDerivedOpacity(bool enable)
- - void SetEnabled(bool enable)
- - void SetFocus(bool enable)
- - void SetSelected(bool enable)
- - void SetVisible(bool enable)
- - void SetFocusMode(FocusMode mode)
- - void SetDragDropMode(unsigned mode)
- - bool SetStyle(const String styleName, XMLFile* file = 0)
- - bool SetStyle(const XMLElement& element)
- - bool SetStyleAuto(XMLFile* file = 0)
- - void SetDefaultStyle(XMLFile* style)
- - void SetLayout(LayoutMode mode, int spacing = 0, const IntRect& border = IntRect::ZERO)
- - void SetLayoutMode(LayoutMode mode)
- - void SetLayoutSpacing(int spacing)
- - void SetLayoutBorder(const IntRect& border)
- - void SetIndent(int indent)
- - void SetIndentSpacing(int indentSpacing)
- - void UpdateLayout()
- - void DisableLayoutUpdate()
- - void EnableLayoutUpdate()
- - void BringToFront()
- - UIElement* CreateChild(const String type, const String name = String::EMPTY, unsigned index = M_MAX_UNSIGNED)
- - void AddChild(UIElement* element)
- - void InsertChild(unsigned index, UIElement* element)
- - void RemoveChild(UIElement* element, unsigned index = 0)
- - void RemoveChild(unsigned index)
- - void RemoveAllChildren()
- - void Remove()
- - unsigned FindChild(UIElement* element) const
- - void SetParent(UIElement* parent, unsigned index = M_MAX_UNSIGNED)
- - void SetInternal(bool enable)
- - void SetTraversalMode(TraversalMode traversalMode)
- - void SetElementEventSender(bool flag)
- - const String& GetName() const
- - const IntVector2& GetPosition() const
- - const IntVector2& GetSize() const
- - int GetWidth() const
- - int GetHeight() const
- - const IntVector2& GetMinSize() const
- - int GetMinWidth() const
- - int GetMinHeight() const
- - const IntVector2& GetMaxSize() const
- - int GetMaxWidth() const
- - int GetMaxHeight() const
- - bool IsFixedSize() const
- - bool IsFixedWidth() const
- - bool IsFixedHeight() const
- - const IntVector2& GetChildOffset() const
- - HorizontalAlignment GetHorizontalAlignment() const
- - VerticalAlignment GetVerticalAlignment() const
- - const IntRect& GetClipBorder() const
- - const Color& GetColor(Corner corner) const
- - int GetPriority() const
- - float GetOpacity() const
- - float GetDerivedOpacity() const
- - bool GetBringToFront() const
- - bool GetBringToBack() const
- - bool GetClipChildren() const
- - bool GetSortChildren() const
- - bool GetUseDerivedOpacity() const
- - bool HasFocus() const
- - bool IsEnabled() const
- - bool IsSelected() const
- - bool IsVisible() const
- - bool IsHovering() const
- - bool IsInternal() const
- - bool HasColorGradient() const
- - FocusMode GetFocusMode() const
- - unsigned GetDragDropMode() const
- - const String& GetAppliedStyle() const
- - XMLFile* GetDefaultStyle(bool recursiveUp = true) const
- - LayoutMode GetLayoutMode() const
- - int GetLayoutSpacing() const
- - const IntRect& GetLayoutBorder() const
- - unsigned GetNumChildren(bool recursive = false) const
- - UIElement* GetChild(unsigned index) const
- - UIElement* GetChild(const String name, bool recursive = false) const
- - UIElement* GetParent() const
- - UIElement* GetRoot() const
- - const Color& GetDerivedColor() const
- - IntVector2 ScreenToElement(const IntVector2& screenPosition)
- - IntVector2 ElementToScreen(const IntVector2& position)
- - bool IsInside(IntVector2 position, bool isScreen)
- - bool IsInsideCombined(IntVector2 position, bool isScreen)
- - IntRect GetCombinedScreenRect()
- - void SortChildren()
- - int GetLayoutMinSize() const
- - int GetIndent() const
- - int GetIndentSpacing() const
- - int GetIndentWidth() const
- - void SetChildOffset(const IntVector2& offset)
- - void SetHovering(bool enable)
- - const Color& GetColorAttr() const
- - TraversalMode GetTraversalMode() const
- - bool IsElementEventSender() const
- - UIElement* GetElementEventSender() const
- Properties:<br>
- - IntVector2& screenPosition (readonly)
- - String& name
- - IntVector2& position
- - IntVector2 size
- - int width
- - int height
- - IntVector2 minSize
- - int minWidth
- - int minHeight
- - IntVector2 maxSize
- - int maxWidth
- - int maxHeight
- - bool fixedSize (readonly)
- - bool fixedWidth (readonly)
- - bool fixedHeight (readonly)
- - IntVector2& childOffset
- - HorizontalAlignment horizontalAlignment
- - VerticalAlignment verticalAlignment
- - IntRect clipBorder
- - int priority
- - float opacity
- - float derivedOpacity (readonly)
- - bool bringToFront
- - bool bringToBack
- - bool clipChildren
- - bool sortChildren
- - bool useDerivedOpacity
- - bool focus
- - bool enabled
- - bool selected
- - bool visible
- - bool hovering
- - bool internal
- - bool colorGradient (readonly)
- - FocusMode focusMode
- - unsigned dragDropMode
- - String& style
- - XMLFile* defaultStyle
- - LayoutMode layoutMode
- - int layoutSpacing
- - IntRect& layoutBorder
- - unsigned numChildren (readonly)
- - UIElement* parent
- - UIElement* root (readonly)
- - Color& derivedColor (readonly)
- - IntRect combinedScreenRect (readonly)
- - int layoutMinSize (readonly)
- - int indent
- - int indentSpacing
- - int indentWidth (readonly)
- - Color& colorAttr
- - TraversalMode traversalMode
- - bool elementEventSender
- View3D : Window
- Methods:<br>
- - View3D(Context* context)
- - ~View3D()
- - void SetView(Scene* scene, Camera* camera)
- - void SetFormat(unsigned format)
- - void SetAutoUpdate(bool enable)
- - void QueueUpdate()
- - unsigned GetFormat() const
- - bool GetAutoUpdate() const
- - Scene* GetScene() const
- - Node* GetCameraNode() const
- - Texture2D* GetRenderTexture() const
- - Viewport* GetViewport() const
- Properties:<br>
- - unsigned format
- - bool autoUpdate
- Window : BorderImage
- Methods:<br>
- - Window(Context* context)
- - virtual ~Window()
- - void SetMovable(bool enable)
- - void SetResizable(bool enable)
- - void SetFixedWidthResizing(bool enable)
- - void SetFixedHeightResizing(bool enable)
- - void SetResizeBorder(const IntRect& rect)
- - void SetModal(bool modal)
- - void SetModalShadeColor(const Color& color)
- - void SetModalFrameColor(const Color& color)
- - void SetModalFrameSize(const IntVector2& size)
- - bool IsMovable() const
- - bool IsResizable() const
- - bool GetFixedWidthResizing() const
- - bool GetFixedHeightResizing() const
- - const IntRect& GetResizeBorder() const
- - bool IsModal() const
- - const Color& GetModalShadeColor() const
- - const Color& GetModalFrameColor() const
- - const IntVector2& GetModalFrameSize() const
- Properties:<br>
- - bool movable
- - bool resizable
- - bool fixedWidthResizing
- - bool fixedHeightResizing
- - IntRect& resizeBorder
- - bool modal
- - Color& modalShadeColor
- - Color& modalFrameColor
- - IntVector2& modalFrameSize
- */
- }
|