SCP - Containment Breach
Loading...
Searching...
No Matches
B3D Namespace Reference

Classes

class  Stream
class  Channel
class  Sound
class  Bank
class  Buffer
class  Font
class  Movie
class  Image
class  Matrix
class  Texture
class  Effect
class  Brush
class  Surface
class  Entity
class  Model
class  Mesh
class  Camera
class  Light
class  Pivot
class  Sprite
class  Plane
class  Terrain
class  Listener
class  Timer

Functions

void DebugLogRuntimeStats ()
Channel PlayMusic (string midifile, int mode=0)
int RectsOverlap (int x1, int y1, int width1, int height1, int x2, int y2, int width2, int height2)
int CountGfxDrivers ()
string GfxDriverName (int driver)
void SetGfxDriver (int driver)
int CountGfxModes ()
int GfxModeExists (int width, int height, int deprecated=0)
int GfxModeWidth (int mode)
int GfxModeHeight (int mode)
int get_AvailVidMem () property
int get_TotalVidMem () property
float get_DPIScaleX () property
float get_DPIScaleY () property
int GfxDriver3D (int driver)
int CountGfxModes3D ()
int GfxMode3DExists (int width, int height, int depth)
int GfxMode3D (int mode)
int Windowed3D ()
void Graphics (int width, int height, int depth=0, int mode=0, int hide=0)
void Graphics3D (int width, int height, int depth=0, int mode=0, int hide=0)
void EndGraphics ()
int get_GraphicsLost () property
int get_GraphicsInFocus () property
void set_GraphicsLevel (int level) property
int get_GraphicsLevel () property
int get_ScanLine () property
void Flip (int vwait=1)
int get_GraphicsWidth () property
int get_GraphicsHeight () property
int get_GraphicsDepth () property
void SetOrigin (int x, int y)
void SetViewport (int x, int y, int width, int height)
void SetColor (int red, int green, int blue, int alpha=255)
void GetColor (int x, int y)
int GetColorRed ()
int GetColorGreen ()
int GetColorBlue ()
int GetColorAlpha ()
void SetClsColor (int red, int green, int blue, int alpha=255)
void Cls ()
void Plot (int x, int y)
void Rect (int x, int y, int width, int height, int solid=1)
void Oval (int x, int y, int width, int height, int solid=1)
void Line (int x1, int y1, int x2, int y2)
void Text (int x, int y, string text, int xPos=0, int yPos=0)
string ConvertToANSI (string str)
string ConvertToUTF8 (string str)
void CopyRect (int sourceX, int sourceY, int width, int height, int destX, int destY, Buffer@ srcBuffer=null, Buffer@ destBuffer=null)
void CopyRectStretch (int sourceX, int sourceY, int width, int height, int destX, int destY, int destW, int destH, Buffer@ srcBuffer=null, Buffer@ destBuffer=null)
void Batching (int start)
void Write (string str)
void Print (string="")
string Input (string="")
void Locate (int x, int y)
void ShowPointer ()
void HidePointer ()
int get_DesktopWidth () property
int get_DesktopHeight () property
void SetLoaderMatrix (string fileExt, float xx, float xy, float xz, float yx, float yy, float yz, float zx, float zy, float zz)
int get_HWTexUnits () property
int get_GfxDriverCaps3D () property
void SetWireFrame (int enable)
void SetAntiAlias (int enable, int samples=2)
void SetAmbientLight (float red, float green, float blue)
void ClearCollisions ()
void Collisions (int sourceType, int destinationType, int method, int response)
void UpdateWorld (float elapsedTime=1)
void CaptureWorld ()
void BeginRender (float tween=1, int mask=-1)
void EndRender ()
void RenderWorld (float tween=1, int cam=0, int mask=-1, int settings=-1)
void ClearWorld (int entities=1, int brushes=1, int textures=1, int effects=1)
int get_TrisRendered () property
int get_Batches () property
float GetStats3D (int type)
void SetScissorRect (int enable, int x=0, int y=0, int width=0, int height=0)
float DistanceSquared (float x1, float x2, float y1, float y2, float z1=0, float z2=0)
void SetHardwareSkinning (int enable)
int get_MemoryLoad () property
int get_TotalPhys () property
int get_AvailPhys () property
int get_TotalVirtual () property
int get_AvailVirtual () property
int get_RunningOnWine () property
void TFormPoint (float x, float y, float z, Entity@ sourceEntity, Entity@ destEntity)
void TFormVector (float x, float y, float z, Entity@ sourceEntity, Entity@ destEntity)
void TFormNormal (float x, float y, float z, Entity@ sourceEntity, Entity@ destEntity)
float get_TFormedX () property
float get_TFormedY () property
float get_TFormedZ () property
float VectorYaw (float x, float y, float z)
float VectorPitch (float x, float y, float z)
Entity LinePick (float x, float y, float z, float dx, float dy, float dz, float radius=0)
float get_PickedX () property
float get_PickedY () property
float get_PickedZ () property
float get_PickedNX () property
float get_PickedNY () property
float get_PickedNZ () property
float get_PickedTime () property
Entity get_PickedEntity () property
Surface get_PickedSurface () property
int get_PickedTriangle () property
void CombineKeys (int flush)
bool KeyDown (int key)
bool KeyHit (int key)
int GetKey ()
int WaitKey ()
string TextInput (string txt)
void FlushKeys ()
string GetKeyName (int key)
int MouseDown (int button)
int MouseHit (int button)
int GetMouse ()
int WaitMouse ()
int get_MouseX () property
int get_MouseY () property
int get_MouseZ () property
int get_MouseXSpeed () property
int get_MouseYSpeed () property
int get_MouseZSpeed () property
void FlushMouse ()
void MoveMouse (int x, int y)
int JoyType (int port=0)
int JoyDown (int button, int port=0)
int JoyHit (int button, int port=0)
int GetJoy (int port=0)
int WaitJoy (int port=0)
int get_JoyCount () property
int JoyConnected (int port=0)
float JoyX (int port=0)
float JoyY (int port=0)
float JoyZ (int port=0)
float JoyU (int port=0)
float JoyV (int port=0)
float JoyPitch (int port=0)
float JoyYaw (int port=0)
float JoyRoll (int port=0)
int JoyHat (int port=0)
int JoyXDir (int port=0)
int JoyYDir (int port=0)
int JoyZDir (int port=0)
float JoyLeftTrigger (int port=0)
float JoyRightTrigger (int port=0)
int JoyUDir (int port=0)
int JoyVDir (int port=0)
void JoyVibrate (int port, float left, float right)
void StopJoyVibrate (int port)
void FlushJoy ()
void set_DirectInputEnabled (int enable) property
int get_DirectInputEnabled () property
float Sin (float degrees)
float Cos (float degrees)
float Tan (float degrees)
float ASin (float value)
float ACos (float value)
float ATan (float value)
float ATan2 (float floata, float floatb)
float Sqr (float value)
float Floor (float value)
float Ceil (float value)
float Exp (float value)
float Log (float value)
float Log10 (float value)
float Min (float n, float m)
float Max (float n, float m)
float Clamp (float v, float lo, float hi)
int IsNaN (float n)
float Rnd (float from, float to=0)
int Rand (int from, int to=1)
void set_RandomSeed (int seed) property
int get_RandomSeed () property
void End ()
void Stop ()
void AppTitle (string, string="")
void RuntimeError (string message)
void ExceptionDialog (int enable)
void MemoryAccessViolation (string="")
void InitErrorMsgs (int number, int hasMacro=0)
void SetErrorMsg (int pos, string message)
string GetException ()
void ClearException ()
void Delay (int millisecs)
void Sleep (int millisecs)
int MilliSecs ()
string CommandLine ()
string SystemProperty (string property)
string GetEnv (string envVar)
void DisableClose ()
string GetUserLanguage ()
string GetLocaleInfo ()
string get_ClipboardContents () property
void set_ClipboardContents (string contents) property
void MessageBox (string title, string text)
void DebugLog (string text)
string CurrentDate ()
string CurrentTime ()