| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369 |
- namespace Urho3D
- {
- /**
- \page LuaScriptAPI Lua Scripting API
- \section LuaScriptAPI_Classes Classes
- ### Audio : Object
- Methods:
- - 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:
- - unsigned sampleSize (readonly)
- - int mixRate (readonly)
- - bool interpolation (readonly)
- - SoundListener* listener
- - bool stereo (readonly)
- - bool playing (readonly)
- - bool initialized (readonly)
- ### Sound : Resource
- Methods:
- - Sound(Context* context)
- - ~Sound()
- - bool LoadRaw(Deserializer& source)
- - bool LoadWav(Deserializer& source)
- - bool LoadOggVorbis(Deserializer& source)
- - void SetSize(unsigned dataSize)
- - void SetData(const void* data, unsigned dataSize)
- - void SetFormat(unsigned frequency, bool sixteenBit, bool stereo)
- - void SetLooped(bool enable)
- - void SetLoop(unsigned repeatOffset, unsigned endOffset)
- - void FixInterpolation()
- - 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:
- - 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:
- ### SoundSource : Component
- Methods:
- - 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)
- Properties:
- - Sound* sound (readonly)
- - SoundType soundType
- - float timePosition (readonly)
- - float frequency
- - float gain
- - float attenuation
- - float panning
- - bool autoRemove
- - bool playing (readonly)
- ### SoundSource3D : SoundSource
- Methods:
- - void SetDistanceAttenuation(float nearDistance, float farDistance, float rolloffFactor)
- - void SetAngleAttenuation(float innerAngle, float outerAngle)
- - void SetNearDistance(float distance)
- - void SetFarDistance(float distance)
- - void SetInnerAngle(float angle)
- - void SetOuterAngle(float angle)
- - void SetRolloffFactor(float factor)
- - void CalculateAttenuation()
- - float GetNearDistance() const
- - float GetFarDistance() const
- - float GetInnerAngle() const
- - float GetOuterAngle() const
- - float RollAngleoffFactor() const
- Properties:
- - float nearDistance
- - float farDistance
- - float innerAngle
- - float outerAngle
- - float rolloffFactor
- ### PODVector
- Methods:
- - 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:
- - unsigned size (readonly)
- - unsigned capacity (readonly)
- - bool empty (readonly)
- ### Context
- Methods:
- - Object* GetEventSender() const
- - EventHandler* GetEventHandler() const
- - const String GetTypeName(ShortStringHash type) const
- ### Object : RefCounted
- Methods:
- - ShortStringHash GetType() const
- - ShortStringHash GetBaseType() const
- - const String GetTypeName() const
- - const String GetCategory() const
- - void SendEvent(const String eventName, VariantMap* eventData = 0)
- Properties:
- - ShortStringHash type (readonly)
- - ShortStringHash baseType (readonly)
- - const String typeName (readonly)
- - const String category (readonly)
- ### ResourceRef
- Methods:
- - ResourceRef()
- - ResourceRef(ShortStringHash type)
- - ResourceRef(ShortStringHash type, String name)
- - ResourceRef(const ResourceRef& rhs)
- Properties:
- - ShortStringHash type
- - String name
- - bool operator == (const ResourceRef& rhs) const
- ### ResourceRefList
- Methods:
- - ResourceRefList()
- - ResourceRefList(ShortStringHash type)
- Properties:
- - ShortStringHash type
- - bool operator == (const ResourceRefList& rhs) const
- ### Variant
- Methods:
- - 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(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 == (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
- - void SetInt(int value)
- - void SetUint(unsigned value)
- - void SetStringHash(const StringHash& value)
- - void SetShortStringHash(const ShortStringHash& value)
- - void SetBool(bool value)
- - void SetFloat(float value)
- - void SetVector2(const Vector2& value)
- - void SetVector3(const Vector3& value)
- - void SetVector4(const Vector4& value)
- - void SetQuaternion(const Quaternion& value)
- - void SetColor(const Color& value)
- - void SetString(const String value)
- - void SetBuffer(const VectorBuffer& value)
- - void SetResourceRef(const ResourceRef& value)
- - void SetResourceRefList(const ResourceRefList& value)
- - void SetIntRect(const IntRect& value)
- - void SetIntVector2(const IntVector2& value)
- - 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
- - VectorBuffer GetBuffer() 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:
- - VariantType type (readonly)
- - String typeName (readonly)
- - bool zero (readonly)
- - bool empty (readonly)
- ### VariantMap
- Methods:
- - VariantMap()
- - ~VariantMap()
- - void SetInt(const String key, int value)
- - void SetUInt(const String key, unsigned value)
- - void SetStringHash(const String key, const StringHash& value)
- - void SetShortStringHash(const String key, const ShortStringHash& 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 SetBuffer(const String key, const VectorBuffer& 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)
- - void SetPtr(const String key, void* value)
- - int GetInt(const String key)
- - int GetUInt(const String key)
- - StringHash GetStringHash(const String key)
- - ShortStringHash GetShortStringHash(const String key)
- - 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)
- - VectorBuffer GetBuffer(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)
- ### Time : Object
- Methods:
- - unsigned GetFrameNumber() const
- - float GetTimeStep() const
- - unsigned GetTimerPeriod() const
- - float GetElapsedTime()
- - static unsigned GetSystemTime()
- - static String GetTimeStamp()
- - static void Sleep(unsigned mSec)
- Properties:
- - unsigned frameNumber (readonly)
- - float timeStep (readonly)
- - unsigned timerPeriod (readonly)
- - float elapsedTime (readonly)
- ### Console : Object
- Methods:
- - 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:
- - XMLFile* defaultStyle
- - BorderImage* background (readonly)
- - LineEdit* lineEdit (readonly)
- - bool visible
- - unsigned numRows
- - unsigned numHistoryRows
- - unsigned historyPosition (readonly)
- ### DebugHud : Object
- Methods:
- - 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:
- - XMLFile* defaultStyle
- - Text* statsText (readonly)
- - Text* modeText (readonly)
- - Text* profilerText (readonly)
- - unsigned mode
- - unsigned profilerMaxDepth
- - float profilerInterval
- - bool useRendererStats
- ### Engine : Object
- Methods:
- - void RunFrame()
- - Console* CreateConsole()
- - DebugHud* CreateDebugHud()
- - void SetMinFps(int fps)
- - void SetMaxFps(int fps)
- - void SetMaxInactiveFps(int fps)
- - void SetTimeStepSmoothing(int frames)
- - 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
- - int GetTimeStepSmoothing() const
- - bool GetPauseMinimized() const
- - bool GetAutoExit() const
- - bool IsInitialized() const
- - bool IsExiting() const
- - bool IsHeadless() const
- Properties:
- - int minFps
- - int maxFps
- - int maxInactiveFps
- - int timeStepSmoothing
- - bool pauseMinimized
- - bool autoExit
- - bool initialized (readonly)
- - bool exiting (readonly)
- - bool headless (readonly)
- ### Drawable : Component
- Methods:
- - 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:
- - 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)
- ### AnimatedModel : StaticModel
- Methods:
- - void SetModel(Model* model)
- - 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 SetUpdateInvisible(bool enable)
- - 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
- - bool GetUpdateInvisible() const
- - unsigned GetNumMorphs() const
- - float GetMorphWeight(unsigned index) const
- - float GetMorphWeight(const String name) const
- - float GetMorphWeight(StringHash nameHash) const
- - bool IsMaster() const
- Properties:
- - Model* model
- - Skeleton& skeleton (readonly)
- - unsigned numAnimationStates (readonly)
- - float animationLodBias
- - bool updateInvisible
- - unsigned numMorphs (readonly)
- - bool master (readonly)
- ### AnimationKeyFrame
- Methods:
- Properties:
- - float time
- - Vector3 position
- - Quaternion rotation
- - Vector3 scale
- ### Animation : Resource
- Methods:
- - 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:
- - String& animationName (readonly)
- - StringHash animationNameHash (readonly)
- - float length (readonly)
- - unsigned numTracks (readonly)
- - unsigned numTriggers (readonly)
- ### AnimationControl
- Methods:
- - AnimationControl()
- Properties:
- - 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:
- - 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* GetAnimationState(const String name) const
- - AnimationState* GetAnimationState(StringHash nameHash) const
- ### AnimationState
- Methods:
- - 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, bool recursive = false)
- - void SetBoneWeight(const String name, float weight, bool recursive = false)
- - void SetBoneWeight(StringHash nameHash, float weight, bool recursive = false)
- - 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:
- - Animation* animation (readonly)
- - Bone* startBone
- - bool enabled (readonly)
- - bool looped
- - float weight
- - float time
- - float length (readonly)
- - unsigned char layer
- ### Billboard
- Methods:
- Properties:
- - Vector3 position
- - Vector2 size
- - Rect uv
- - Color color
- - float rotation
- - bool enabled
- - float sortDistance
- ### BillboardSet : Drawable
- Methods:
- - void SetMaterial(Material* material)
- - void SetNumBillboards(unsigned num)
- - void SetRelative(bool enable)
- - void SetScaled(bool enable)
- - void SetSorted(bool enable)
- - void SetFaceCamera(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
- - bool GetFaceCamera() const
- - float GetAnimationLodBias() const
- Properties:
- - Material* material
- - unsigned numBillboards
- - bool relative
- - bool scaled
- - bool sorted
- - bool faceCamera
- - float animationLodBias
- ### Camera : Component
- Methods:
- - 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:
- - 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:
- - 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:
- - Matrix3x4& view (readonly)
- - Matrix4& projection (readonly)
- - Frustum& frustum (readonly)
- ### DecalSet : Drawable
- Methods:
- - 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:
- - Material* material
- - unsigned numDecals (readonly)
- - unsigned numVertices (readonly)
- - unsigned numIndices (readonly)
- - unsigned maxVertices
- - unsigned maxIndices
- ### Graphics : Object
- Methods:
- - void SetWindowTitle(const String windowTitle)
- - void SetWindowIcon(Image* windowIcon)
- - void SetWindowPosition(const IntVector2& position)
- - void SetWindowPosition(int x, int y)
- - 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)
- - void SetFlushGPU(bool enable)
- - bool ToggleFullscreen()
- - void Close()
- - bool TakeScreenShot(Image& destImage)
- - bool IsInitialized() const
- - void* GetExternalWindow() const
- - const String GetWindowTitle() const
- - IntVector2 GetWindowPosition() 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 GetFlushGPU() 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
- - IntVector2 GetDesktopResolution() const
- - static unsigned GetRGBFormat()
- Properties:
- - bool initialized (readonly)
- - String windowTitle
- - IntVector2 windowPosition
- - int width (readonly)
- - int height (readonly)
- - int multiSample (readonly)
- - bool fullscreen (readonly)
- - bool resizable (readonly)
- - bool vSync (readonly)
- - bool tripleBuffer (readonly)
- - bool sRGB
- - bool flushGPU
- - 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)
- - IntVector2 desktopResolution (readonly)
- ### BiasParameters
- Methods:
- - BiasParameters()
- - BiasParameters(float constantBias, float slopeScaledBias)
- ### CascadeParameters
- Methods:
- - CascadeParameters()
- - CascadeParameters(float split1, float split2, float split3, float split4, float fadeStart, float biasAutoAdjust = 1.0f)
- ### FocusParameters
- Methods:
- - FocusParameters()
- - FocusParameters(bool focus, bool nonUniform, bool autoSize, float quantize, float minView)
- ### Light : Drawable
- Methods:
- - 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:
- - 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:
- - Material(Context* context)
- - ~Material()
- - void SetNumTechniques(unsigned num)
- - void SetTechnique(unsigned index, Technique* tech, unsigned qualityLevel = 0, float lodDistance = 0.0f)
- - void SetShaderParameter(const String name, const Variant& value)
- - void SetTexture(TextureUnit unit, Texture* texture)
- - void SetUVTransform(const Vector2& offset, float rotation, const Vector2& repeat)
- - void SetUVTransform(const Vector2& offset, float rotation, float repeat)
- - void SetCullMode(CullMode mode)
- - void SetShadowCullMode(CullMode mode)
- - void SetDepthBias(const BiasParameters& parameters)
- - void RemoveShaderParameter(const String name)
- - void ReleaseShaders()
- - void SortTechniques()
- - void MarkForAuxView(unsigned frameNumber)
- - 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:
- - CullMode cullMode (readonly)
- - CullMode shadowCullMode (readonly)
- - unsigned auxViewFrameNumber (readonly)
- - bool occlusion (readonly)
- - bool specular (readonly)
- ### Model : Resource
- Methods:
- - 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:
- - BoundingBox& boundingBox (readonly)
- - Skeleton skeleton (readonly)
- - unsigned numGeometries (readonly)
- - unsigned numMorphs (readonly)
- ### Octree : Component
- Methods:
- - 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:
- - unsigned numLevels (readonly)
- ### RayQueryResult
- Methods:
- - RayQueryResult()
- Properties:
- - Vector3 position
- - Vector3 normal
- - float distance
- - Drawable* drawable
- - Node* node
- - unsigned subObject
- ### ColorFrame
- Methods:
- - ColorFrame()
- - ColorFrame(const Color& color)
- - ColorFrame(const Color& color, float time)
- - Color Interpolate(const ColorFrame& next, float time)
- Properties:
- - Color color
- - float time
- ### TextureFrame
- Methods:
- - TextureFrame()
- Properties:
- - Rect uv
- - float time
- ### ParticleEmitter : BillboardSet
- Methods:
- - bool Load(XMLFile* file)
- - bool Save(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:
- - 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:
- - 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:
- - 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:
- - 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:
- - 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:
- - Texture* parentTexture (readonly)
- - int width (readonly)
- - int height (readonly)
- - TextureUsage usage (readonly)
- - unsigned numViewports
- - RenderSurfaceUpdateMode updateMode
- - RenderSurface* linkedRenderTarget
- - RenderSurface* linkedDepthStencil
- ### Bone
- Methods:
- - Bone()
- Properties:
- - String name
- - StringHash nameHash
- - unsigned parentIndex
- - Vector3 initialPosition
- - Quaternion initialRotation
- - Vector3 initialScale
- - Matrix3x4 offsetMatrix
- - bool animated
- - unsigned char collisionMask
- - float radius
- - BoundingBox boundingBox
- - Node* node
- ### Skeleton
- Methods:
- - unsigned GetNumBones() const
- - Bone* GetRootBone()
- - Bone* GetBone(unsigned index)
- Properties:
- - unsigned numBones (readonly)
- - Bone* rootBone (readonly)
- ### Skybox : StaticModel
- Methods:
- ### StaticModelGeometryData
- Methods:
- Properties:
- - Vector3 center
- - unsigned lodLevel
- ### StaticModel : Drawable
- Methods:
- - void SetModel(Model* model)
- - void SetMaterial(Material* material)
- - bool SetMaterial(unsigned index, Material* material)
- - void SetOcclusionLodLevel(unsigned level)
- - void ApplyMaterialList(const String fileName = String::EMPTY)
- - 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:
- - Model* model
- - Material* material
- - BoundingBox& boundingBox (readonly)
- - unsigned numGeometries (readonly)
- - unsigned occlusionLodLevel
- ### StaticModelGroup : StaticModel
- Methods:
- - void AddInstanceNode(Node* node)
- - void RemoveInstanceNode(Node* node)
- - void RemoveAllInstanceNodes()
- - unsigned GetNumInstanceNodes() const
- - Node* GetInstanceNode(unsigned index) const
- Properties:
- - unsigned numInstanceNodes (readonly)
- ### Pass : RefCounted
- Methods:
- ### Technique : Resource
- Methods:
- - bool HasPass(const String type) const
- - Pass* GetPass(const String type) const
- - bool IsSM3() const
- Properties:
- - bool SM3 (readonly)
- ### Terrain : Component
- Methods:
- - 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:
- - 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:
- - 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:
- - 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:
- - 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:
- - 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:
- - Texture2D(Context* context)
- - ~Texture2D()
- - bool SetSize(int width, int height, unsigned format, TextureUsage usage = TEXTURE_STATIC)
- - RenderSurface* GetRenderSurface() const
- Properties:
- - RenderSurface* renderSurface (readonly)
- ### TextureCube : Texture
- Methods:
- - RenderSurface* GetRenderSurface(CubeMapFace face) const
- ### Viewport
- Methods:
- - 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:
- - Scene* scene
- - Camera* camera
- - IntRect& rect
- - RenderPath* renderPath
- ### Zone : Drawable
- Methods:
- - 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:
- - 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:
- Properties:
- - int touchID
- - IntVector2 position
- - IntVector2 lastPosition
- - IntVector2 delta
- - float pressure
- ### JoystickState
- Methods:
- - 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:
- - unsigned numButtons (readonly)
- - unsigned numAxes (readonly)
- - unsigned numHats (readonly)
- ### Input : Object
- Methods:
- - void SetToggleFullscreen(bool enable)
- - 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:
- - 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:
- - VectorBuffer Read(unsigned size)
- - unsigned Seek(unsigned position)
- - const String GetName() const
- - 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()
- - VectorBuffer ReadBuffer()
- - ResourceRef ReadResourceRef()
- - ResourceRefList ReadResourceRefList()
- - Variant ReadVariant()
- - Variant ReadVariant(VariantType type)
- - VariantVector ReadVariantVector()
- - VariantMap ReadVariantMap()
- - unsigned ReadVLE()
- - unsigned ReadNetID()
- - String ReadLine()
- Properties:
- - String& name (readonly)
- - unsigned checksum (readonly)
- - unsigned position (readonly)
- - unsigned size (readonly)
- - bool eof (readonly)
- ### File : Object
- Methods:
- - File(Context* context)
- - File(Context* context, const String fileName, FileMode mode = FILE_READ)
- - File(Context* context, PackageFile* package, const String fileName)
- - ~File()
- - 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
- - VectorBuffer Read(unsigned size)
- - unsigned Seek(unsigned position)
- - const String GetName() const
- - 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()
- - VectorBuffer ReadBuffer()
- - ResourceRef ReadResourceRef()
- - ResourceRefList ReadResourceRefList()
- - Variant ReadVariant()
- - Variant ReadVariant(VariantType type)
- - VariantVector ReadVariantVector()
- - VariantMap ReadVariantMap()
- - unsigned ReadVLE()
- - unsigned ReadNetID()
- - String ReadLine()
- - unsigned Write(const VectorBuffer& buffer)
- - 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 WriteBuffer(const VectorBuffer& buffer)
- - 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)
- Properties:
- - FileMode mode (readonly)
- - bool open (readonly)
- - bool packaged (readonly)
- - String& name (readonly)
- - unsigned checksum (readonly)
- - unsigned position (readonly)
- - unsigned size (readonly)
- - bool eof (readonly)
- ### FileSystem : Object
- Methods:
- - bool SetCurrentDir(const String pathName)
- - bool CreateDir(const String pathName)
- - int SystemCommand(const String commandLine)
- - int SystemRun(const String fileName, const Vector<String>& arguments)
- - 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
- - const Vector<String>& ScanDir(const String pathName, const String filter, unsigned flags, bool recursive) const
- - String GetProgramDir() const
- - String GetUserDocumentsDir() const
- ### FileWatcher : Object
- Methods:
- - bool StartWatching(const String pathName, bool watchSubDirs)
- - void StopWatching()
- - void AddChange(const String fileName)
- - const String GetPath() const
- ### Log : Object
- Methods:
- - void Open(const String fileName)
- - void Close()
- - 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:
- - int level
- - bool timeStamp
- - bool quiet
- ### PackageEntry
- Methods:
- Properties:
- - unsigned offset
- - unsigned size
- - unsigned checksum
- ### PackageFile : Object
- Methods:
- - PackageFile(Context* context)
- - PackageFile(Context* context, const String fileName, unsigned startOffset = 0)
- - ~PackageFile()
- - bool Open(const String fileName, unsigned startOffset = 0)
- - 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
- - bool IsCompressed() const
- Properties:
- - String& name (readonly)
- - StringHash nameHash (readonly)
- - unsigned numFiles (readonly)
- - unsigned totalSize (readonly)
- - unsigned checksum (readonly)
- - bool compressed (readonly)
- ### Serializer
- Methods:
- - unsigned Write(const VectorBuffer& buffer)
- - 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 WriteBuffer(const VectorBuffer& buffer)
- - 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)
- ### VectorBuffer
- Methods:
- - VectorBuffer()
- - VectorBuffer(Deserializer& source, unsigned size)
- - ~VectorBuffer()
- - void SetData(Deserializer& source, unsigned size)
- - void Clear()
- - void Resize(unsigned size)
- - const void* GetData() const
- - void* GetModifiableData()
- - VectorBuffer Read(unsigned size)
- - unsigned Seek(unsigned position)
- - const String GetName() const
- - 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()
- - VectorBuffer ReadBuffer()
- - ResourceRef ReadResourceRef()
- - ResourceRefList ReadResourceRefList()
- - Variant ReadVariant()
- - Variant ReadVariant(VariantType type)
- - VariantVector ReadVariantVector()
- - VariantMap ReadVariantMap()
- - unsigned ReadVLE()
- - unsigned ReadNetID()
- - String ReadLine()
- - unsigned Write(const VectorBuffer& buffer)
- - 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 WriteBuffer(const VectorBuffer& buffer)
- - 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)
- Properties:
- - String& name (readonly)
- - unsigned checksum (readonly)
- - unsigned position (readonly)
- - unsigned size (readonly)
- - bool eof (readonly)
- ### LuaScriptInstance : Component
- Methods:
- - bool CreateObject(const String scriptObjectType)
- - bool CreateObject(const String scriptFileName, const String scriptObjectType)
- - void SetScriptFileName(const String scriptFileName)
- - void SetScriptObjectType(const String scriptObjectType)
- - void SubscribeToEvent(const String eventName, const String functionName)
- - void UnsubscribeFromEvent(const String eventName)
- - void UnsubscribeFromAllEvents()
- - void SubscribeToEvent(void* sender, const String eventName, const String functionName)
- - void UnsubscribeFromEvent(void* sender, const String eventName)
- - void UnsubscribeFromEvents(void* sender)
- - const String GetScriptFileName() const
- - const String GetScriptObjectType() const
- Properties:
- - const String scriptFileName
- - const String scriptObjectType
- ### BoundingBox
- Methods:
- - 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)
- - ~BoundingBox()
- - 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
- Properties:
- - Vector3 min
- - Vector3 max
- - bool defined
- - Vector3 center (readonly)
- - Vector3 size (readonly)
- - Vector3 halfSize (readonly)
- ### Color
- Methods:
- - 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)
- - ~Color()
- - 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
- Properties:
- - 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:
- - Frustum()
- - Frustum(const Frustum& 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:
- - Matrix3()
- - Matrix3(const Matrix3& matrix)
- Properties:
- - Matrix3(float v00, float v01, float v02,
- - float v10, float v11, float v12,
- - float v20, float v21, float v22)
- - ~Matrix3()
- - 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:
- - Matrix3x4()
- - Matrix3x4(const Matrix3x4& matrix)
- - Matrix3x4(const Matrix3& matrix)
- - Matrix3x4(const Matrix4& matrix)
- Properties:
- - 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:
- - Matrix4()
- - Matrix4(const Matrix4& matrix)
- - Matrix4(const Matrix3& matrix)
- Properties:
- - 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)
- - ~Matrix4()
- - 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:
- - Plane()
- - Plane(const Plane& plane)
- - Plane(const Vector3& v0, const Vector3& v1, const Vector3& v2)
- - Plane(const Vector3& normal, const Vector3& point)
- - ~Plane()
- - 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
- Properties:
- - Vector3 normal
- - Vector3 absNormal
- - float intercept
- ### Polyhedron
- Methods:
- - 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:
- - bool empty (readonly)
- ### Quaternion
- Methods:
- - 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)
- - ~Quaternion()
- - 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
- Properties:
- - float w
- - float x
- - float y
- - float z
- - static const Quaternion IDENTITY
- ### Ray
- Methods:
- - Ray()
- - Ray(const Vector3& origin, const Vector3& direction)
- - Ray(const Ray& 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
- Properties:
- - Vector3 origin
- - Vector3 direction
- ### Rect
- Methods:
- - 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)
- - ~Rect()
- - 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
- Properties:
- - Vector2 min
- - Vector2 max
- - static const Rect FULL
- - static const Rect POSITIVE
- - static const Rect ZERO
- - Vector2 center (readonly)
- - Vector2 size (readonly)
- - Vector2 halfSize (readonly)
- ### IntRect
- Methods:
- - IntRect()
- - IntRect(int left, int top, int right, int bottom)
- - ~IntRect()
- - bool operator == (const IntRect& rhs) const
- - IntVector2 Size() const
- - int Width() const
- - int Height() const
- Properties:
- - int left
- - int top
- - int right
- - int bottom
- - static const IntRect ZERO
- - IntVector2 size (readonly)
- - int width (readonly)
- - int height (readonly)
- ### Sphere
- Methods:
- - Sphere()
- - Sphere(const Sphere& sphere)
- - Sphere(const Vector3& center, float radius)
- - Sphere(const BoundingBox& box)
- - Sphere(const Frustum& frustum)
- - Sphere(const Polyhedron& poly)
- - ~Sphere()
- - 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
- Properties:
- - Vector3 center
- - float radius
- - bool defined
- ### StringHash
- Methods:
- - StringHash()
- - StringHash(const StringHash& rhs)
- - StringHash(unsigned value)
- - StringHash(const String str)
- - ~StringHash()
- - 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)
- Properties:
- - static const StringHash ZERO
- - unsigned value (readonly)
- ### ShortStringHash
- Methods:
- - ShortStringHash()
- - ShortStringHash(const ShortStringHash& rhs)
- - ShortStringHash(const StringHash& rhs)
- - ShortStringHash(unsigned short value)
- - ShortStringHash(const String str)
- - ~ShortStringHash()
- - 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)
- Properties:
- - static const ShortStringHash ZERO
- - unsigned short value (readonly)
- ### Vector2
- Methods:
- - Vector2()
- - Vector2(const Vector2& vector)
- - Vector2(float x, float y)
- - ~Vector2()
- - 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
- Properties:
- - 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:
- - IntVector2()
- - IntVector2(int x, int y)
- - IntVector2(const IntVector2& rhs)
- - ~IntVector2()
- - 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
- Properties:
- - int x
- - int y
- - static const IntVector2 ZERO
- ### Vector3
- Methods:
- - Vector3()
- - Vector3(const Vector3& vector)
- - Vector3(const Vector2& vector, float z)
- - Vector3(float x, float y, float z)
- - ~Vector3()
- - 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
- Properties:
- - 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:
- - Vector4()
- - Vector4(const Vector4& vector)
- - Vector4(const Vector3& vector, float w)
- - Vector4(float x, float y, float z, float w)
- - ~Vector4()
- - 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
- Properties:
- - float x
- - float y
- - float z
- - float w
- - static const Vector4 ZERO
- - static const Vector4 ONE
- ### Navigable : Component
- Methods:
- - void SetRecursive(bool enable)
- - bool IsRecursive() const
- Properties:
- - bool recursive
- ### NavigationGeometryInfo
- Methods:
- Properties:
- - Component* component
- - unsigned lodLevel
- - Matrix3x4 transform
- - BoundingBox boundingBox
- ### NavigationMesh : Component
- Methods:
- - 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:
- - 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:
- - void SetEndPoint(Node* node)
- - void SetRadius(float radius)
- - void SetBidirectional(bool enabled)
- - Node* GetEndPoint() const
- - float GetRadius() const
- - bool IsBidirectional() const
- Properties:
- - Node* endPoint
- - float radius
- - bool bidirectional
- ### RemoteEvent
- Methods:
- Properties:
- - unsigned senderID
- - StringHash eventType
- - VariantMap eventData
- - bool inOrder
- ### Connection : Object
- Methods:
- - void SendMessage(int msgID, bool reliable, bool inOrder, const VectorBuffer& msg, 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:
- - 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:
- - Controls()
- - void Reset()
- - void Set(unsigned buttons, bool down = true)
- - bool IsDown(unsigned button) const
- - bool IsPressed(unsigned button, const Controls& previousControls) const
- Properties:
- - unsigned buttons
- - float yaw
- - float pitch
- - VariantMap extraData
- ### HttpRequest : Deserializer
- Methods:
- - const String GetURL() const
- - const String GetVerb() const
- - String GetError() const
- - HttpRequestState GetState() const
- - unsigned GetAvailableSize() const
- - bool IsOpen() const
- Properties:
- - String URL (readonly)
- - String verb (readonly)
- - String error (readonly)
- - HttpRequestState state (readonly)
- - unsigned availableSize (readonly)
- - bool open (readonly)
- ### SharedPtr
- Methods:
- - TOLUA_TEMPLATE_BIND(T, HttpRequest)
- - SharedPtr()
- - ~SharedPtr()
- - bool Null() const
- - bool NotNull() const
- - T* Get() const
- ### Network
- Methods:
- - 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)
- - SharedPtr<HttpRequest> MakeHttpRequest(const String& url, const String& verb = String::EMPTY, const Vector<String>& headers = Vector<String>(), const String& postData = String::EMPTY)
- - int GetUpdateFps() const
- - Connection* GetServerConnection() const
- - bool IsServerRunning() const
- - bool CheckRemoteEvent(StringHash eventType) const
- - const String GetPackageCacheDir() const
- Properties:
- - int updateFps
- - Connection* serverConnection (readonly)
- - bool serverRunning (readonly)
- - String& packageCacheDir
- ### NetworkPriority : Component
- Methods:
- - 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:
- - float basePriority
- - float distanceFactor
- - float minPriority
- - bool alwaysUpdateOwner
- ### CollisionShape : Component
- Methods:
- - 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:
- - PhysicsWorld* physicsWorld (readonly)
- - ShapeType shapeType
- - Vector3& size
- - Vector3& position
- - Quaternion& rotation
- - float margin
- - Model* model
- - unsigned lodLevel
- - tolua_readonlyBoundingBox worldBoundingBox (readonly)
- - ResourceRef modelAttr
- ### Constraint : Component
- Methods:
- - 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:
- - 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:
- - PhysicsRaycastResult()
- Properties:
- - Vector3 position
- - Vector3 normal
- - float distance
- - RigidBody* body
- ### DelayedWorldTransform
- Methods:
- Properties:
- - RigidBody* rigidBody
- - RigidBody* parentRigidBody
- - Vector3 worldPosition
- - Quaternion worldRotation
- ### PhysicsWorld : Component
- Methods:
- - 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)
- - 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:
- - Vector3 gravity
- - int numIterations
- - bool interpolation
- - bool internalEdge
- - bool splitImpulse
- - int fps
- - float maxNetworkAngularVelocity
- - bool applyingTransforms
- ### RigidBody : Component
- Methods:
- - 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 SetAnisotropicFriction(Vector3 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
- - Vector3 GetAnisotropicFriction() 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:
- - 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
- - Vector3 anisotropicFriction
- - 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
- ### Resource
- Methods:
- - const String GetName() const
- - StringHash GetNameHash() const
- - unsigned GetMemoryUse() const
- Properties:
- - String& name (readonly)
- - StringHash nameHash (readonly)
- - unsigned memoryUse (readonly)
- ### Image : Resource
- Methods:
- - 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:
- - int width (readonly)
- - int height (readonly)
- - unsigned components (readonly)
- - bool compressed (readonly)
- - CompressedFormat compressedFormat (readonly)
- - unsigned numCompressedLevels (readonly)
- ### ResourceCache
- Methods:
- - 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
- - unsigned GetMemoryBudget(ShortStringHash type) const
- - unsigned GetMemoryUse(ShortStringHash type) const
- - unsigned GetTotalMemoryUse() const
- - String GetResourceFileName(const String name) const
- - bool GetAutoReloadResources() const
- Properties:
- - unsigned totalMemoryUse (readonly)
- - bool autoReloadResources (readonly)
- ### XMLElement
- Methods:
- - XMLElement CreateChild(const String name)
- - bool RemoveChild(const XMLElement& element)
- - bool RemoveChild(const String name)
- - bool RemoveChildren(const String name = String::EMPTY)
- - bool RemoveAttribute(const String name = String::EMPTY)
- - bool SetValue(const String value)
- - bool SetAttribute(const String name, const String value)
- - bool SetBool(const String name, bool value)
- - bool SetBoundingBox(const BoundingBox& value)
- - bool SetColor(const String name, const Color& value)
- - bool SetFloat(const String name, float value)
- - bool SetUInt(const String name, unsigned value)
- - bool SetInt(const String name, int value)
- - bool SetIntRect(const String name, const IntRect& value)
- - bool SetIntVector2(const String name, const IntVector2& value)
- - bool SetRect(const String name, const Rect& value)
- - bool SetQuaternion(const String name, const Quaternion& value)
- - bool SetString(const String name, const String value)
- - bool SetVariant(const Variant& value)
- - bool SetVariantValue(const Variant& value)
- - bool SetResourceRef(const ResourceRef& value)
- - bool SetResourceRefList(const ResourceRefList& value)
- - bool SetVector2(const String name, const Vector2& value)
- - bool SetVector3(const String name, const Vector3& value)
- - bool SetVector4(const String name, const Vector4& value)
- - bool SetVectorVariant(const String name, const Variant& value)
- - 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
- - String GetValue() 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
- Properties:
- - static const XMLElement EMPTY
- - bool null (readonly)
- - String name (readonly)
- - String value (readonly)
- - XMLElement parent (readonly)
- - unsigned numAttributes (readonly)
- - XMLFile* file (readonly)
- ### XMLFile : Resource
- Methods:
- - XMLElement GetRoot(const String name = String::EMPTY)
- ### Serializable : Object
- Methods:
- - void SetTemporary(bool enable)
- - bool IsTemporary() const
- Properties:
- - bool temporary
- ### Component : Serializable
- Methods:
- - 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:
- - 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)
- - int CreateScriptObject(const String scriptObjectType)
- - int CreateScriptObject(const String fileName, const String scriptObjectType)
- - int GetScriptObject() const
- - int GetScriptObject(const String scriptObjectType) const
- - 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:
- - 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:
- - Scene(Context* context)
- - virtual ~Scene()
- - bool LoadXML(File* source)
- - bool SaveXML(File* dest) const
- - bool LoadXML(const String fileName)
- - bool SaveXML(const String fileName) 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)
- - Node* GetNode(unsigned id) const
- - 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:
- - 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
- ### UIElement : Serializable
- Methods:
- - 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 SetEditable(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 SetVar(ShortStringHash key, const Variant& value)
- - 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 IsEditable() 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
- - const Variant& GetVar(ShortStringHash key) const
- - const VariantMap& GetVars() 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:
- - 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 editable
- - 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
- ### BorderImage : UIElement
- Methods:
- - 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:
- - Texture* texture
- - IntRect& imageRect
- - IntRect& border
- - IntVector2& hoverOffset
- - BlendMode blendMode
- - bool tiled
- - ResourceRef textureAttr
- ### Button : BorderImage
- Methods:
- - 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:
- - IntVector2& pressedOffset
- - IntVector2& pressedChildOffset
- - float repeatDelay
- - float repeatRate
- - bool pressed (readonly)
- ### CheckBox : BorderImage
- Methods:
- - 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:
- - bool checked
- - IntVector2& checkedOffset
- ### Cursor : BorderImage
- Methods:
- - 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:
- - CursorShape shape
- - bool useSystemShapes
- ### FileSelectorEntry
- Methods:
- Properties:
- - String name
- - bool directory
- ### FileSelector : Object
- Methods:
- - 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 SetFilters(const Vector<String>& filters, unsigned defaultIndex)
- - 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:
- - 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:
- ### LineEdit : BorderImage
- Methods:
- - 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:
- - String& text
- - unsigned cursorPosition
- - float cursorBlinkRate
- - unsigned maxLength
- - unsigned echoCharacter
- - bool cursorMovable
- - bool textSelectable
- - bool textCopyable
- - Text* textElement (readonly)
- - BorderImage* cursor (readonly)
- ### Menu : Button
- Methods:
- - 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:
- - UIElement* popup
- - IntVector2& popupOffset
- - bool showPopup
- - int acceleratorKey (readonly)
- - int acceleratorQualifiers (readonly)
- ### DropDownList : Menu
- Methods:
- - 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
- - const PODVector<UIElement*>& GetItems() 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:
- - unsigned numItems (readonly)
- - unsigned selection
- - UIElement* selectedItem (readonly)
- - ListView* listView (readonly)
- - UIElement* placeholder (readonly)
- - String& placeholderText
- - bool resizePopup
- ### Slider : BorderImage
- Methods:
- - 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:
- - Orientation orientation
- - float range
- - float value
- - BorderImage* knob (readonly)
- - float repeatRate
- ### ScrollBar : UIElement
- Methods:
- - 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:
- - 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:
- - 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:
- - IntVector2& viewPosition
- - UIElement* contentElement
- - ScrollBar* horizontalScrollBar (readonly)
- - ScrollBar* verticalScrollBar (readonly)
- - BorderImage* scrollPanel (readonly)
- - bool scrollBarsAutoVisible
- - float scrollStep
- - float pageStep
- ### ListView : ScrollView
- Methods:
- - 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 SetSelections(const PODVector<unsigned>& indices)
- - 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
- - const PODVector<UIElement*>& GetItems() const
- - unsigned FindItem(UIElement* item) const
- - unsigned GetSelection() const
- - const PODVector<unsigned>& GetSelections() const
- - UIElement* GetSelectedItem() const
- - const PODVector<UIElement*>& GetSelectedItems() 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:
- - unsigned numItems (readonly)
- - unsigned selection
- - UIElement* selectedItem (readonly)
- - HighlightMode highlightMode
- - bool multiselect
- - bool clearSelectionOnDefocus
- - bool hierarchyMode
- - int baseIndent
- ### Sprite : UIElement
- Methods:
- - 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:
- - Vector2& position
- - IntVector2& hotSpot
- - Vector2& scale
- - float rotation
- - Texture* texture
- - IntRect& imageRect
- - BlendMode blendMode
- - ResourceRef textureAttr
- - Matrix3x4& transform (readonly)
- ### Text : UIElement
- Methods:
- - 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)
- - void SetTextEffect(TextEffect textEffect)
- - void SetEffectColor(const Color& effectColor)
- - 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
- - TextEffect GetTextEffect() const
- - const Color& GetEffectColor() const
- - int GetRowHeight() const
- - unsigned GetNumRows() const
- - const PODVector<int>& GetRowWidths() const
- - const PODVector<IntVector2>& GetCharPositions() const
- - const PODVector<IntVector2>& GetCharSizes() const
- - void SetEffectDepthBias(float bias)
- - float GetEffectDepthBias() const
- - void SetFontAttr(ResourceRef value)
- - ResourceRef GetFontAttr() const
- Properties:
- - Font* font
- - int fontSize (readonly)
- - String& text
- - HorizontalAlignment textAlignment
- - float rowSpacing
- - bool wordwrap
- - unsigned selectionStart (readonly)
- - unsigned selectionLength (readonly)
- - Color& selectionColor
- - Color& hoverColor
- - TextEffect textEffect
- - Color& effectColor
- - int rowHeight (readonly)
- - unsigned numRows (readonly)
- - ResourceRef fontAttr
- ### Text3D : Drawable
- Methods:
- - 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 SetTextEffect(TextEffect textEffect)
- - void SetEffectColor(const Color& effectColor)
- - void SetEffectDepthBias(float bias)
- - 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
- - TextEffect GetTextEffect() const
- - const Color& GetEffectColor() const
- - float GetEffectDepthBias() const
- - int GetWidth() const
- - int GetRowHeight() const
- - unsigned GetNumRows() const
- - const PODVector<int>& GetRowWidths() 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:
- - Font* font
- - Material* material
- - int fontSize (readonly)
- - String& text
- - HorizontalAlignment textAlignment
- - HorizontalAlignment horizontalAlignment
- - VerticalAlignment verticalAlignment
- - float rowSpacing
- - bool wordwrap
- - TextEffect textEffect
- - Color& effectColor
- - float effectDepthBias
- - int width
- - int rowHeight (readonly)
- - unsigned numRows (readonly)
- - float opacity
- - bool faceCamera
- - ResourceRef fontAttr
- - ResourceRef materialAttr
- - Color& colorAttr (readonly)
- ### UI : Object
- Methods:
- - 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 SetDragBeginInterval(float interval)
- - void SetDragBeginDistance(int pixels)
- - void SetMaxFontTextureSize(int size)
- - void SetNonFocusedMouseWheel(bool nonFocusedMouseWheel)
- - void SetUseSystemClipBoard(bool enable)
- - void SetUseMutableGlyphs(bool enable)
- - void SetForceAutoHint(bool enable)
- - UIElement* GetRoot() const
- - UIElement* GetRootModalElement() const
- - Cursor* GetCursor() const
- - IntVector2 GetCursorPosition() const
- - UIElement* GetElementAt(const IntVector2& position, bool enabledOnly = true)
- - UIElement* GetElementAt(int x, int y, bool enabledOnly = true)
- - UIElement* GetFocusElement() const
- - UIElement* GetFrontElement() const
- - UIElement* GetDragElement() const
- - const String GetClipBoardText() const
- - float GetDoubleClickInterval() const
- - float GetDragBeginInterval() const
- - int GetDragBeginDistance() const
- - int GetMaxFontTextureSize() const
- - bool IsNonFocusedMouseWheel() const
- - bool GetUseSystemClipBoard() const
- - bool GetUseMutableGlyphs() const
- - bool GetForceAutoHint() const
- - bool HasModalElement() const
- Properties:
- - UIElement* root (readonly)
- - UIElement* rootModalElement (readonly)
- - Cursor* cursor
- - IntVector2 cursorPosition (readonly)
- - UIElement* focusElement (readonly)
- - UIElement* frontElement (readonly)
- - UIElement* dragElement (readonly)
- - String& clipBoardText
- - float doubleClickInterval
- - float dragBeginInterval
- - int dragBeginDistance
- - int maxFontTextureSize
- - bool nonFocusedMouseWheel
- - bool useSystemClipBoard
- - bool useMutableGlyphs
- - bool forceAutoHint
- - bool modalElement (readonly)
- ### Window : BorderImage
- Methods:
- - 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:
- - bool movable
- - bool resizable
- - bool fixedWidthResizing
- - bool fixedHeightResizing
- - IntRect& resizeBorder
- - bool modal
- - Color& modalShadeColor
- - Color& modalFrameColor
- - IntVector2& modalFrameSize
- ### View3D : Window
- Methods:
- - 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
- - Texture2D* GetDepthTexture() const
- - Viewport* GetViewport() const
- Properties:
- - unsigned format
- - bool autoUpdate
- \section LuaScriptAPI_GlobalFunctions Global functions
- - Context* GetContext()
- - Object* GetEventSender()
- - EventHandler* GetEventHandler() const
- - 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)
- - 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* sender, const String eventName, const String functionName)
- - void UnsubscribeFromEvent(void* sender, const String eventName)
- - void UnsubscribeFromEvents(void* sender)
- - 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)
- - float Random(float min, float max)
- - int RandomInt(int range)
- - int RandomInt(int min, int max)
- - 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
- - 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
- - 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
- - unsigned char CHANNEL_POSITION
- - unsigned char CHANNEL_ROTATION
- - unsigned char CHANNEL_SCALE
- - unsigned VO_NONE
- - unsigned VO_LOW_MATERIAL_QUALITY
- - unsigned VO_DISABLE_SHADOWS
- - unsigned VO_DISABLE_OCCLUSION
- - 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
- - 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 NUM_FRUSTUM_PLANES
- - unsigned NUM_FRUSTUM_VERTICES
- - $renaming SharedPtr<HttpRequest> @ HttpRequestSPtr
- - 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 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 MAX_SHADER_PARAMETER_GROUPS
- - int UPDATE_NONE
- - int UPDATE_MAIN_THREAD
- - int UPDATE_WORKER_THREAD
- - 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 OUTSIDE
- - int INTERSECTS
- - int INSIDE
- - int PLANE_NEAR
- - int PLANE_LEFT
- - int PLANE_RIGHT
- - int PLANE_UP
- - int PLANE_DOWN
- - int PLANE_FAR
- - int HTTP_INITIALIZING
- - int HTTP_ERROR
- - int HTTP_OPEN
- - int HTTP_CLOSED
- - 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 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 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 TE_NONE
- - int TE_SHADOW
- - int TE_STROKE
- - 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
- */
- }
|