* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
Matrix/scalar operations |
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
Matrix/vector operations |
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleQuaternions |
Multiply two quaternions. |
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
* |
CastleVectors |
|
** |
CastleVectors |
|
** |
CastleVectors |
|
** |
CastleVectors |
|
** |
CastleVectors |
|
** |
CastleVectors |
|
** |
CastleVectors |
|
** |
CastleVectors |
|
** |
CastleVectors |
|
** |
CastleVectors |
|
** |
CastleVectors |
|
** |
CastleVectors |
|
** |
CastleVectors |
|
+ |
CastleVectors |
|
+ |
CastleVectors |
|
+ |
CastleVectors |
|
+ |
CastleVectors |
|
+ |
CastleVectors |
|
+ |
CastleVectors |
|
+ |
CastleVectors |
|
+ |
CastleVectors |
|
+ |
CastleBoxes |
|
+ |
CastleBoxes |
|
+ |
CastleVectors |
|
+ |
CastleVectors |
|
+ |
CastleVectors |
|
+ |
CastleVectors |
|
+ |
CastleVectors |
|
+ |
CastleVectors |
Vector to vector operations. |
+ |
CastleBoxes |
|
+ |
CastleVectors |
|
+ |
CastleVectors |
|
+ |
CastleVectors |
|
+ |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
- |
CastleVectors |
|
/ |
CastleVectors |
|
/ |
CastleVectors |
|
/ |
CastleVectors |
|
/ |
CastleVectors |
|
/ |
CastleVectors |
|
/ |
CastleVectors |
|
/ |
CastleVectors |
|
/ |
CastleVectors |
|
/ |
CastleVectors |
|
/ |
CastleVectors |
|
/ |
CastleVectors |
|
/ |
CastleVectors |
|
/ |
CastleVectors |
|
/ |
CastleVectors |
|
/ |
CastleVectors |
|
:= |
CastleVectors |
|
:= |
CastleVectors |
|
:= |
CastleVectors |
|
:= |
CastleVectors |
|
:= |
CastleVectors |
Overload := operator to allow convertion between Matrix unit objects and this unit's arrays easy. |
:= |
CastleVectors |
|
= |
CastleGLImages |
|
= |
CastleGLImages |
|
= |
CastleGLImages |
|
> |
CastleVectors |
|
> |
CastleVectors |
|
> |
CastleVectors |
|
> |
CastleVectors |
|
AbsoluteFileURI |
CastleURIUtils |
Does URI contain only an absolute filename. |
AbsoluteURI |
CastleURIUtils |
Make sure that the URI is absolute (always has a protocol). |
ActualTessellation |
CastleNURBS |
Calculate the tessellation (number of NURBS points generated). |
AddStrArrayToStrings |
CastleClassUtils |
Add all strings from string array to TStrings instance. |
AdjustViewAngleDegToAspectRatio |
CastleRays |
Calculate second viewing angle for perspective projection. |
AdjustViewAngleRadToAspectRatio |
CastleRays |
|
AfterPackImage |
CastleGLUtils |
|
AfterUnpackImage |
CastleGLUtils |
|
AfterUnpackNotAlignedRGBImage |
CastleGLUtils |
|
alcGetInterger1 |
CastleALUtils |
|
alCreateBuffers |
CastleALUtils |
|
alCreateSources |
CastleALUtils |
Allocate OpenAL sources and buffers, making sure their initial state conforms to specification. |
ALDataFormatToStr |
CastleSoundFile |
|
alFreeBuffer |
CastleALUtils |
|
alFreeSource |
CastleALUtils |
Pass resource to alDeleteSources or alDeleteBuffers, checking and setting it to zero. |
alGetBuffer1f |
CastleALUtils |
|
alGetBuffer1i |
CastleALUtils |
|
alGetBuffer1sizei |
CastleALUtils |
|
alGetListener1f |
CastleALUtils |
|
alGetListener3f |
CastleALUtils |
|
alGetListenerOrientation |
CastleALUtils |
|
alGetSource1bool |
CastleALUtils |
|
alGetSource1f |
CastleALUtils |
|
alGetSource1i |
CastleALUtils |
Comfortable wrappers for alGet*. |
alGetSource1ui |
CastleALUtils |
|
alGetSource3f |
CastleALUtils |
|
alListenerOrientation |
CastleALUtils |
|
alListenerOrientation |
CastleALUtils |
|
alListenerVector3f |
CastleALUtils |
|
AllSFCurveClassesNames |
CastleSpaceFillingCurves |
All non-abstract space-filling curve names. |
AlphaMaxTo1st |
CastleImages |
Maximum alpha channel type. |
alSourceVector3f |
CastleALUtils |
Comfortable wrappers over OpenAL functions that take vector types. |
AngleRadBetweenNormals |
CastleVectors |
|
AngleRadBetweenNormals |
CastleVectors |
|
AngleRadBetweenVectors |
CastleVectors |
Angle between two vectors, in radians. |
AngleRadBetweenVectors |
CastleVectors |
|
AngleRadPointToPoint |
CastleUtils |
Angle between a 2D line segments and OX axis. |
AnyOrthogonalVector |
CastleVectors |
|
AnyOrthogonalVector |
CastleVectors |
Return, deterministically, some vector orthogonal to V. |
AppendToFilename |
CastleUtils |
Add Suffix to the filename, right before extension. |
Application |
CastleWindow |
Single global instance of TCastleApplication. |
ApplicationConfig |
CastleFilesUtils |
URL where we should read and write configuration files. |
ApplicationData |
CastleFilesUtils |
URL from which we should read data files. |
ArcCot |
CastleUtils |
|
AreParallelVectorsSameDirection |
CastleVectors |
Assuming that Vector1 and Vector2 are parallel, check do they point in the same direction. |
AreParallelVectorsSameDirection |
CastleVectors |
|
ArrayPosStr |
CastleUtils |
Search the array for a given value. |
ArrayPosText |
CastleUtils |
|
BackCharsPos |
CastleStringUtils |
|
BackPos |
CastleStringUtils |
Find last occurrence of SubString within S. |
BackPos |
CastleStringUtils |
|
Barycentric |
CastleTriangles |
For a given Point lying on a given Triangle, calculate it's barycentric coordinates. |
BeforePackImage |
CastleGLUtils |
|
BeforeUnpackImage |
CastleGLUtils |
Save/restore OpenGL pixel store for unpacking / packing given TCastleImage. |
BeforeUnpackNotAlignedRGBImage |
CastleGLUtils |
Save/restore OpenGL pixel store for unpacking TRGBImage. |
Between |
CastleUtils |
|
Between |
CastleUtils |
|
Between |
CastleUtils |
|
Between |
CastleUtils |
|
Between |
CastleUtils |
|
Biggest2Exponent |
CastleUtils |
Exponent of the largest power of 2 that it's still <= Value. |
BiggestPowerOf2 |
CastleUtils |
Largest power of 2 still <= Value. |
BlurredInterpolatedNoise2D_Cosine |
CastleNoise |
|
BlurredInterpolatedNoise2D_Linear |
CastleNoise |
|
BlurredInterpolatedNoise2D_None |
CastleNoise |
Noise for 2D coords, resulting in float 0..1 range, additionally blurred. |
BlurredInterpolatedNoise2D_Spline |
CastleNoise |
|
BoundingBox3DFromSphere |
CastleBoxes |
Smallest possible box enclosing a sphere with Center, Radius. |
Box3D |
CastleBoxes |
Various comfortable functions to construct TBox3D value. |
Box3DAroundPoint |
CastleBoxes |
|
Box3DAroundPoint |
CastleBoxes |
|
BreakLine |
CastleStringUtils |
Insert newline characters into string S, such that each line has at most MaxCol chars. |
CalculateBoundingBox |
CastleBoxes |
|
CalculateBoundingBox |
CastleBoxes |
|
CalculateBoundingBox |
CastleBoxes |
|
CalculateBoundingBox |
CastleBoxes |
Calculate bounding box of a set of 3D points. |
CalculateBoundingBox |
CastleBoxes |
|
CalculateBoundingBoxFromIndices |
CastleBoxes |
|
CalculateBoundingBoxFromIndices |
CastleBoxes |
Calculate bounding box of a set of indexed 3D points. |
CamDirUp2Orient |
CastleCameras |
|
CamDirUp2Orient |
CastleCameras |
Convert camera direction and up vectors into VRML/X3D "orientation" vector. |
CamDirUp2OrientQuat |
CastleCameras |
Convert camera direction and up vectors into "rotation quaternion" of VRML/X3D "orientation". |
CameraNodeForWholeScene |
X3DCameraUtils |
Make camera node (like MakeCameraNode) that makes the whole box nicely visible (like CameraViewpointForWholeScene). |
CameraViewpointForWholeScene |
CastleCameras |
Calculate sensible camera configuration to see the whole Box. |
CastleCoTan |
CastleUtils |
Our version of CoTan, to workaround http://www.freepascal.org/mantis/view.php?id=9944. |
CastleDivMod |
CastleUtils |
Better DivMod version, in case Dividend may be < 0. |
CastleGluSphere |
CastleGLUtils |
Render sphere in OpenGL. |
CastleReadLink |
CastleUtils |
Return the symlink target path. |
CeilDiv |
CastleUtils |
Returns Ceil(A / B), but calculated faster and more precisely (without floating-point help). |
ChangeFilePath |
CastleUtils |
Returns FileName with directory (path) part replaced with given NewPath. |
ChangeIntCycle |
CastleUtils |
Increase Value by Change, nicely wrapping in [0..MaxValue], accepting also negative Change. |
ChangeURIExt |
CastleURIUtils |
Change extension of the URL. |
CharPos |
CastleStringUtils |
|
CharsPos |
CastleStringUtils |
Find first occurrence of any character in Chars in string S. |
CharsPosEx |
CastleStringUtils |
|
CharToNiceStr |
CastleKeysMouse |
Return a nice very short description of the character. |
Check |
CastleUtils |
Check condition. |
CheckAL |
CastleALUtils |
|
CheckALInited |
CastleALUtils |
Check is ALInited True . |
CheckDeleteFile |
CastleFilesUtils |
Call SysUtils.DeleteFile and check result. |
CheckForceDirectories |
CastleFilesUtils |
Make sure directory exists, eventually creating it, recursively, checking result. |
CheckGLErrors |
CastleGLUtils |
Check are any OpenGL errors recorded (in glGetError). |
CheckIsMemCharFilled |
CastleUtils |
Check is memory filled with the given character. |
CheckRemoveDir |
CastleFilesUtils |
Call RemoveDir and check result. |
CheckRenameFile |
CastleFilesUtils |
|
Clamp |
CastleUtils |
|
Clamp |
CastleUtils |
|
Clamp |
CastleUtils |
|
Clamp |
CastleUtils |
|
Clamp |
CastleUtils |
|
Clamped |
CastleUtils |
|
Clamped |
CastleUtils |
|
Clamped |
CastleUtils |
|
Clamped |
CastleUtils |
|
Clamped |
CastleUtils |
|
Clipboard |
CastleWindow |
Single global instance of TCastleClipboard. |
ColorBlueConvertByte |
CastleColors |
|
ColorBlueStripByte |
CastleColors |
|
ColorGrayscaleByte |
CastleColors |
Convert color to grayscale. |
ColorGreenConvertByte |
CastleColors |
|
ColorGreenStripByte |
CastleColors |
|
ColorRedConvertByte |
CastleColors |
Place color intensity (calculated like for grayscale) into the given color component. |
ColorRedStripByte |
CastleColors |
Set color values for two other channels to 0. |
ColorRGBToHex |
CastleColors |
Change color into a hexadecimal notation of it (like in HTML). |
ColorToHex |
CastleColors |
Change color into a hexadecimal notation of it (like in HTML). |
ColorToVector3 |
CastleLCLUtils |
Convert LCL color values to our colors (vectors). |
ColorToVector3Byte |
CastleLCLUtils |
|
CombinePaths |
CastleFilesUtils |
Combines BasePath with RelPath into complete path. |
CombineURI |
CastleURIUtils |
Return absolute URI, given base and relative URI. |
ConvexHull |
CastleConvexHull |
Calculates ConvexHull ignoring Z coordinates of pixels. |
CopyPos |
CastleStringUtils |
Return S[StartPosition..EndPosition]. |
CorrectPreferredHeight |
CastleCameras |
See TWalkCamera.CorrectPreferredHeight. |
CosAngleBetweenNormals |
CastleVectors |
|
CosAngleBetweenNormals |
CastleVectors |
|
CosAngleBetweenVectors |
CastleVectors |
|
CosAngleBetweenVectors |
CastleVectors |
Cosinus of angle between two vectors. |
CreateFlatNormals |
CastleNormals |
Calculate flat per-face normals for indexed faces. |
CreateIfNeeded |
CastleClassUtils |
Create Component instance, if it's Nil . |
CreateNormals |
CastleNormals |
Calculate normal vectors for indexed faces, smoothing them according to CreaseAngleRad. |
CreateReadFileStream |
CastleClassUtils |
Open a proper stream to read a file, fast (with buffering) and with seeking. |
CreateSmoothNormalsCoordinateNode |
CastleNormals |
Calculate always smooth normals per-vertex, for VRML/X3D coordinate-based node. |
CreateTokens |
CastleStringUtils |
Returns TCastleStringList with tokens extracted from S. |
CreateValueIfNeeded |
CastleScript |
Make sure Value is assigned and of NeededClass. |
CubeMapDirection |
CastleCubeMaps |
Direction corresponding to given cube map side and pixel number. |
CubeMapSolidAngle |
CastleCubeMaps |
Calculate solid angle of given pixel on the cube map. |
DateTimeToAtStr |
CastleTimeUtils |
Convert DateTime to string in the form "date at time". |
DecodeImageColor |
X3DFields |
|
DecodeImageColor |
X3DFields |
|
DecodeImageColor |
X3DFields |
|
DecodeImageColor |
X3DFields |
|
DecodeImageColor |
X3DFields |
|
DecodeImageColor |
X3DFields |
|
DecodeImageColor |
X3DFields |
|
DecodeImageColor |
X3DFields |
Decode color from integer value, following VRML/X3D SFImage specification. |
DeFormat |
CastleStringUtils |
Parse a string according to the given format, returning the values corresponding to placeholders %x in format string. |
DeleteFileExt |
CastleUtils |
Remove from the FileName the last extension (including the dot). |
DeletePos |
CastleStringUtils |
Delete from S range of characters [StartPosition..EndPosition]. |
DeleteURIExt |
CastleURIUtils |
Delete extension of the URL. |
DigitAsByte |
CastleStringUtils |
Convert digit character (like '0') to a number (like 0). |
DigitAsChar |
CastleStringUtils |
Convert digit (like number 0) to character (like '0'). |
Direction4ToCubeMap |
CastleCubeMaps |
Return 4 cube map indexes (side and pixel, along with ratio) that are closest to given direction Dir. |
DirectionToCubeMap |
CastleCubeMaps |
Return cube map side and pixel that is the closest to given direction Dir. |
DivRoundUp |
CastleUtils |
|
DivRoundUp |
CastleUtils |
|
DivUnsignedMod |
CastleUtils |
Like DivMod (return result of integer division and a remainder), but always return Remainder >= 0. |
DOMGetAttribute |
CastleXMLUtils |
Retrieves from Element attribute Value and returns True , or (of there is no such attribute) returns False and does not modify Value. |
DOMGetBooleanAttribute |
CastleXMLUtils |
Like DOMGetAttribute, but reads Boolean value. |
DOMGetCardinalAttribute |
CastleXMLUtils |
Like DOMGetAttribute, but reads Cardinal value. |
DOMGetChildElement |
CastleXMLUtils |
Searches children elements inside Element for element with given ChildName. |
DOMGetFloatAttribute |
CastleXMLUtils |
Like DOMGetAttribute, but reads Float value. |
DOMGetIntegerAttribute |
CastleXMLUtils |
Like DOMGetAttribute, but reads Integer value. |
DOMGetOneChildElement |
CastleXMLUtils |
This returns the one and only child element of this Element. |
DOMGetSingleAttribute |
CastleXMLUtils |
Like DOMGetAttribute, but reads Single value. |
DOMGetTextChild |
CastleXMLUtils |
Gets a child of Element named ChildName, and gets text data within this child. |
DOMGetTextData |
CastleXMLUtils |
This returns the text data contained in this element. |
Download |
CastleDownload |
Return a stream to read given URL. |
Download |
CastleDownload |
|
DrawRectangle |
CastleGLUtils |
Draw a simple rectangle filled with a color. |
EnumFontCharsets |
CastleWindowsFonts |
|
EnumFontCharsetsObj |
CastleWindowsFonts |
Enumerate charsets handled by given font. |
EqualRGB |
CastleImages |
Check if the two RGB colors are equal, ignoring small differences. |
ErrorWrite |
CastleUtils |
|
ErrorWrite |
CastleUtils |
Write using a dialog box or console. |
ExceptMessage |
CastleUtils |
Nice exception description. |
ExclPathDelim |
CastleUtils |
|
ExeName |
CastleFilesUtils |
Full (absolute) filename to executable file of this program. |
ExpandHomePath |
CastleFilesUtils |
Expand tilde (˜) in path, just like shell. |
ExtractFileDoubleExt |
CastleUtils |
Extracts two last extensions from the filename, if it has two extensions. |
ExtractOnlyFilename |
CastleUtils |
Extracts from FileName the name of file, without directory, without last extension and without any Windows drive letter. |
ExtractURIName |
CastleURIUtils |
Extract filename (last part after slash) from URL. |
ExtractURIPath |
CastleURIUtils |
Extract path (everything before last part), including final slash, from URL. |
FastLookDirMatrix |
CastleVectors |
Calculate LookDirMatrix (or it's inverse), fast. |
FastLookDirMatrix |
CastleVectors |
|
FfmpegExecutable |
CastleVideos |
Returns full path to ffmpeg-compatible executable. |
FfmpegExecute |
CastleVideos |
Execute ffmpeg. |
FfmpegVideoMimeType |
CastleVideos |
Does given MIME type looks like a video file extension that can be handled (encoded or decoded) by ffmpeg. |
FileFiltersToDialog |
CastleLCLUtils |
|
FileFiltersToDialog |
CastleLCLUtils |
|
FileFiltersToDialog |
CastleLCLUtils |
Convert file filters into LCL Dialog.Filter, Dialog.FilterIndex. |
FileFiltersToDialog |
CastleLCLUtils |
|
FileFiltersToOpenDialog |
CastleLCLUtils |
|
FileFiltersToOpenDialog |
CastleLCLUtils |
|
FileFiltersToOpenDialog |
CastleLCLUtils |
Deprecated names, use the identifiers without "Open" in new code. |
FileNameAutoInc |
CastleFilesUtils |
Substitute %d in given filename pattern with successive numbers, until the filename doesn't exist. |
FilenameToURISafe |
CastleURIUtils |
Convert filename to URI. |
FilenameToURISafeUTF8 |
CastleLCLUtils |
mcCustom treat like mcDefault |
FileToString |
CastleStringUtils |
Read file or URL contents to a string. |
FileToString |
CastleStringUtils |
|
FindExe |
CastleFilesUtils |
Find program on $PATH. |
FindFiles |
CastleFindFiles |
Find all files matching the given mask, and call FileProc for them. |
FindFiles |
CastleFindFiles |
|
FindFiles |
CastleFindFiles |
|
FindFiles |
CastleFindFiles |
|
FindFirstFile |
CastleFindFiles |
Find first file matching given Mask. |
FindPos |
CastleStringUtils |
Find substring SubText within Text. |
FirstDelimiter |
CastleStringUtils |
Find first occurrence of character in Delimiters. |
FloatDivMod |
CastleUtils |
Calculate integer division and modulo on two float arguments. |
FloatModulo |
CastleUtils |
Calculate float modulo of division on two float arguments. |
FloatsEqual |
CastleVectors |
Compare two float values, with some epsilon. |
FloatsEqual |
CastleVectors |
|
FloatsEqual |
CastleVectors |
|
FloatsEqual |
CastleVectors |
|
FloatToNiceStr |
CastleVectors |
|
FloatToNiceStr |
CastleVectors |
|
FloatToRawStr |
CastleVectors |
|
FloatToRawStr |
CastleVectors |
|
FnameAutoInc |
CastleFilesUtils |
Deprecated name for FileNameAutoInc. |
Font2Pascal |
CastleFont2Pascal |
|
Font2Pascal |
CastleFont2Pascal |
|
FormatNameCounter |
CastleStringUtils |
Replace sequences @counter(<padding>) in the NamePattern with Index. |
FormatNameCounter |
CastleStringUtils |
|
FPGObjectList_FreeAndNilItem |
CastleClassUtils |
Free and set to Nil given item on TFPGObjectList. |
FPGObjectList_NilItem |
CastleClassUtils |
Set to Nil (never freeing) given item on TFPGObjectList. |
FPGObjectList_RemoveNils |
CastleClassUtils |
Remove all nils. |
FPGObjectList_ReplaceAll |
CastleClassUtils |
Replace all OldItem instances with NewItem. |
FreeChildNodes |
CastleXMLUtils |
If needed, free result of TDOMElement.ChildNodes. |
FreeIfUnusedAndNil |
X3DNodes |
Free TX3DNode if it is unused (see TX3DNode.FreeIfUnused), setting reference to Nil . |
FreeMemNiling |
CastleUtils |
Safer version of FreeMem, checks is parameter Nil , and sets it to Nil afterwards. |
FrustumProjMatrix |
CastleVectors |
|
GenerateMipmap |
CastleGLImages |
Call glGenerateMipmap (or analogous function from some OpenGL extension). |
GetArraysGenerator |
CastleArraysGenerator |
TArraysGenerator class suitable for given geometry. |
GetClearMem |
CastleUtils |
|
GetCurrentColor |
CastleGLUtils |
|
GetCurrentProgram |
CastleGLShaders |
|
GetDepthRange |
CastleGLUtils |
|
GetFileFilterExts |
CastleStringUtils |
Extract file extensions from a file filter usually specified a TOpenDialog.Filter value. |
GetFileFilterExtsStr |
CastleStringUtils |
Search in FileFilter for the bar character "|", and return everything after it. |
GetFileFilterName |
CastleStringUtils |
Extract file filter name, from a file filter usually specified a TOpenDialog.Filter value. |
GetGlobalAmbient |
CastleGLUtils |
|
GetProjectionMatrix |
CastleGLUtils |
Projection matrix ——————————————————– |
GetTempFileNameCheck |
CastleFilesUtils |
Get temporary filename, suitable for ApplicationName, checking that it doesn't exist. |
GetTempFileNamePrefix |
CastleFilesUtils |
Return a prefix (beginning of an absolute filename) to save a series of temporary files. |
GetTickCount |
CastleTimeUtils |
Get current time, in miliseconds. |
GetUIFont |
CastleControls |
The 2D fonts used throughout UI interface. |
GetUIFontSmall |
CastleControls |
|
GetWindowPos |
CastleGLUtils |
|
GLBlendRectangle |
CastleGLUtils |
|
GLBlendRectangle |
CastleGLUtils |
Draw a rectangle with blending. |
GLCaptureCubeMapDDS |
CastleGLCubeMaps |
Capture cube map to DDS image by rendering environment from CapturePoint. |
GLCaptureCubeMapImages |
CastleGLCubeMaps |
Capture cube map by rendering environment from CapturePoint. |
GLCaptureCubeMapTexture |
CastleGLCubeMaps |
Capture cube map to OpenGL cube map texture by rendering environment from CapturePoint. |
GLClear |
CastleGLUtils |
Clear OpenGL buffer contents. |
glClipPlane |
CastleGLUtils |
|
glColorOpacity |
CastleGLUtils |
|
glColorOpacity |
CastleGLUtils |
Call glColor, taking Opacity as separate Single argument. |
glColorv |
CastleGLUtils |
|
glColorv |
CastleGLUtils |
|
glColorv |
CastleGLUtils |
|
glColorv |
CastleGLUtils |
|
GLDecompressTexture |
CastleGLImages |
Decompress texture image by loading it to temporary OpenGL texture and reading back. |
GLDrawArrow |
CastleGLUtils |
Draw arrow shape. |
glDrawAxisWire |
CastleGLUtils |
Draw axis (3 lines) around given position. |
glDrawBox3DSimple |
CastleGLUtils |
Draw simple box. |
glDrawBox3DWire |
CastleGLUtils |
Draw the wireframe box. |
glDrawCornerMarkers |
CastleGLUtils |
Draw corner markers (3 lines) at the 8 corners of the box. |
GLEnableTexture |
CastleGLUtils |
Enable exactly one (or none, for Target=etNone) OpenGL texture target. |
GLErrorRaise |
CastleGLUtils |
Raise EOpenGLError for given OpenGL error code. |
GLErrorString |
CastleGLUtils |
|
GLFadeRectangle |
CastleGLUtils |
|
GLFadeRectangle |
CastleGLUtils |
Draw a rectangle that modulates colors underneath, suddenly changing it to FadeColor and then fading to blackness and then fading back to normal, as FadeIntensity goes down from 1.0 to 0.0. |
glFogv |
CastleGLUtils |
|
glFreeBuffer |
CastleGLUtils |
If Buffer <> 0 then it does glDeleteBuffers and sets Buffer to 0. |
glFreeDisplayList |
CastleGLUtils |
If List <> 0 then it does glDeleteList on List and sets List to 0. |
glFreeTexture |
CastleGLImages |
If Tex <> 0 then it does glDeleteTextures on Tex and sets Tex to 0. |
glGenListsCheck |
CastleGLUtils |
Call glGenLists(range) and checks the result. |
glGetBoolean |
CastleGLUtils |
|
glGetFloat |
CastleGLUtils |
Comfortable wrappers for OpenGL glGet* that return a single value. |
glGetInteger |
CastleGLUtils |
|
GLHorizontalLine |
CastleGLUtils |
Draw horizontal line using OpenGL. |
GLInformationInitialize |
CastleGLUtils |
Initialize GLVersion and GLUVersion and GLFeatures. |
GLInformationString |
CastleGLUtils |
Multiline string describing attributes of current OpenGL library. |
glLightModelv |
CastleGLUtils |
|
glLightv |
CastleGLUtils |
|
glLightv |
CastleGLUtils |
|
glLoadMatrix |
CastleGLUtils |
|
glMaterialv |
CastleGLUtils |
|
glMultMatrix |
CastleGLUtils |
|
glNormalv |
CastleGLUtils |
|
GLOutOfMemory |
CastleGLUtils |
|
glRotatev |
CastleGLUtils |
|
glScalev |
CastleGLUtils |
|
glScalev |
CastleGLUtils |
|
glScalev |
CastleGLUtils |
|
glSetDepthAndColorWriteable |
CastleGLUtils |
Set color and depth buffers writeable or not. |
GLSetEnabled |
CastleGLUtils |
|
glTexCoordv |
CastleGLUtils |
|
glTexCoordv |
CastleGLUtils |
|
glTexCoordv |
CastleGLUtils |
|
glTexEnvv |
CastleGLUtils |
|
glTexGenv |
CastleGLUtils |
|
glTextureCubeMap |
CastleGLImages |
Comfortably load all six cube map texture images. |
glTextureImage3D |
CastleGLImages |
Comfortably load a 3D texture. |
glTranslatev |
CastleGLUtils |
|
glTranslatev |
CastleGLUtils |
|
glVertexv |
CastleGLUtils |
|
glVertexv |
CastleGLUtils |
|
glVertexv |
CastleGLUtils |
|
glVertexv |
CastleGLUtils |
|
glVertexv |
CastleGLUtils |
|
glVertexv |
CastleGLUtils |
|
glVertexv |
CastleGLUtils |
|
glVertexv |
CastleGLUtils |
|
glVertexv |
CastleGLUtils |
|
GLVerticalLine |
CastleGLUtils |
Draw vertical line using OpenGL. |
GLViewport |
CastleGLUtils |
|
Grayscale |
CastleColors |
|
Grayscale |
CastleColors |
|
Grayscale |
CastleColors |
|
GrayscaleValue |
CastleColors |
|
GrayscaleValue |
CastleColors |
Calculate color intensity, for converting color to grayscale. |
GrayscaleValue |
CastleColors |
|
HaltBool |
CastleUtils |
If Value then Halt(0), else Halt(1). |
HaltOnException |
CastleUtils |
Call Proc, catch all exceptions inside the Proc, and in case of exception make OutputException and Halt(HaltCode). |
HaltOnException |
CastleUtils |
|
HasGenerateMipmap |
CastleGLImages |
Is GenerateMipmap avaiable. |
HexToColor |
CastleColors |
Convert hexadecimal color notation (like in HTML) into an RGBA color. |
HexToColorRGB |
CastleColors |
Convert hexadecimal color notation (like in HTML) into an RGB color. |
HilbertCurve |
CastleSpaceFillingCurves |
|
HomePath |
CastleFilesUtils |
User's home directory, with trailing PathDelim. |
HsvToRgb |
CastleColors |
Converting between RGB and HSV. |
HsvToRgbByte |
CastleColors |
|
Iff |
CastleUtils |
|
Iff |
CastleUtils |
|
Iff |
CastleUtils |
|
Iff |
CastleUtils |
|
Iff |
CastleUtils |
|
ImageClassBestForSavingToFormat |
CastleImages |
Choose TCastleImage descendant best matching for this image file format. |
ImageClassesEqual |
CastleImages |
Check if both arrays contain exactly the same classes in the same order. |
ImageDraw |
CastleGLImages |
Draw the image on 2D screen. |
ImageExtToMimeType |
CastleImages |
Guess MIME type from image extension. |
ImageGLFormat |
CastleGLImages |
Return appropriate OpenGL format and type constants for given TCastleImage descendant. |
ImageGLInternalFormat |
CastleGLImages |
|
ImageGLType |
CastleGLImages |
|
InclPathDelim |
CastleUtils |
Include / exclude the last path delimiter, if necessary. |
IndexedConvexPolygonArea |
CastleTriangles |
|
IndexedConvexPolygonArea |
CastleTriangles |
Surface area of indexed convex polygon. |
IndexedConvexPolygonNormal |
CastleTriangles |
|
IndexedConvexPolygonNormal |
CastleTriangles |
Calculates normalized normal vector for polygon composed from indexed vertices. |
IndexedPolygonNormal |
CastleTriangulate |
Calculate normal vector of possibly concave polygon. |
IndexedTriangleNormal |
CastleTriangles |
Normal vector of a triangle defined as three indexes intro vertex array. |
IndexMax |
CastleUtils |
Index (0, 1 or 2) of maximum / minimum of 3 numbers. |
IndexMin |
CastleUtils |
|
InfoWrite |
CastleUtils |
|
InfoWrite |
CastleUtils |
|
InfoWriteParts |
CastleUtils |
Output messages, using console or dialog box. |
InImageClasses |
CastleImages |
Check is ImageClass one of the items in the ImageClasses array, or a descendant of one of them. |
InImageClasses |
CastleImages |
Check is Image class one of the items in the ImageClasses array, or a descendant of one of them. |
InitializeLog |
CastleLog |
Initialize logging. |
InitializeSHBasisMap |
CastleSphericalHarmonics |
|
InputKey |
CastleKeysMouse |
Construct TInputPressRelease corresponding to given event. |
InputMotion |
CastleKeysMouse |
Construct TInputMotion. |
InputMouseButton |
CastleKeysMouse |
|
InputMouseWheel |
CastleKeysMouse |
|
InterpolatedNoise2D_Cosine |
CastleNoise |
|
InterpolatedNoise2D_Linear |
CastleNoise |
|
InterpolatedNoise2D_None |
CastleNoise |
Noise for 2D coords, resulting in float 0..1 range. |
InterpolatedNoise2D_Spline |
CastleNoise |
|
IntSqrt |
CastleUtils |
Floor from Sqrt(Value). |
IntToStr16 |
CastleStringUtils |
Convert integer to hexadecimal (base-16 numeral system). |
IntToStr16 |
CastleStringUtils |
|
IntToStr2 |
CastleStringUtils |
Convert integer to binary (base-2 numeral system). |
IntToStrBase |
CastleStringUtils |
|
IntToStrBase |
CastleStringUtils |
|
IntToStrBase |
CastleStringUtils |
|
IntToStrBase |
CastleStringUtils |
Convert integer to string, in base-Base (like base-16) numeral system. |
IntToStrZPad |
CastleStringUtils |
Convert integer to string, padding string with zeros if needed. |
InverseFastLookDirMatrix |
CastleVectors |
|
InverseFastLookDirMatrix |
CastleVectors |
|
IsCenteredBox3DPlaneCollision |
CastleBoxes |
Tests for collision between box3d centered around (0, 0, 0) and a plane. |
IsCenteredBox3DPlaneCollision |
CastleBoxes |
|
IsCubeMapTextureSized |
CastleGLImages |
Part of CastleGLImages unit: cubemaps sizing and loading. |
IsFontTrueType |
CastleWindowsFonts |
Is given Windows font possibly true-type. |
IsImageMimeType |
CastleImages |
Does this MIME type correspond to image. |
IsLineParallelToPlane |
CastleVectors |
|
IsLineParallelToPlane |
CastleVectors |
|
IsLineParallelToSimplePlane |
CastleVectors |
|
IsLineParallelToSimplePlane |
CastleVectors |
|
IsMemCharFilled |
CastleUtils |
Check is memory filled with the given character. |
IsMemDWordFilled |
CastleUtils |
Check is memory filled with the DWord (4 byte sequence). |
IsMemWordFilled |
CastleUtils |
Check is memory filled with the Word (2 byte sequence). |
IsPathAbsolute |
CastleUtils |
Check is the given Path absolute. |
IsPathAbsoluteOnDrive |
CastleUtils |
Just like IsPathAbsolute, but on Windows accepts also paths that specify full directory tree without drive letter. |
IsPointOnSegmentLineWithinSegment |
CastleVectors |
|
IsPointOnSegmentLineWithinSegment |
CastleVectors |
|
IsPointOnTrianglePlaneWithinTriangle |
CastleTriangles |
Assuming a point lies on a triangle plane, check does it lie inside a triangle. |
IsPointOnTrianglePlaneWithinTriangle |
CastleTriangles |
|
IsPointWithinTriangle2d |
CastleTriangles |
|
IsPointWithinTriangle2d |
CastleTriangles |
|
IsPolygon2dCCW |
CastleTriangles |
|
IsPolygon2dCCW |
CastleTriangles |
Are the polygon points ordered CCW (counter-clockwise). |
IsPowerOf2 |
CastleUtils |
Check is Value an exact power of 2. |
IsPrefix |
CastleStringUtils |
|
IsSegmentSphereCollision |
CastleVectors |
|
IsSegmentSphereCollision |
CastleVectors |
|
IsSpheresCollision |
CastleVectors |
|
IsSpheresCollision |
CastleVectors |
|
IsSuffix |
CastleStringUtils |
|
IsTextureSized |
CastleGLImages |
|
IsTextureSized |
CastleGLImages |
Does image have proper size for 2D OpenGL texture. |
IsTriangleSegmentCollision |
CastleTriangles |
|
IsTriangleSegmentCollision |
CastleTriangles |
|
IsTriangleSegmentCollision |
CastleTriangles |
|
IsTriangleSegmentCollision |
CastleTriangles |
Check triangle with line segment collision. |
IsTriangleSphereCollision |
CastleTriangles |
|
IsTriangleSphereCollision |
CastleTriangles |
|
IsTriangleSphereCollision |
CastleTriangles |
|
IsTriangleSphereCollision |
CastleTriangles |
|
IsTunnelSphereCollision |
CastleVectors |
|
IsTunnelSphereCollision |
CastleVectors |
|
IsValidTriangle |
CastleTriangles |
Check does the triangle define a correct plane in 3D space. |
IsValidTriangle |
CastleTriangles |
|
KeyCastleToLCL |
CastleLCLUtils |
|
KeyCastleToLCL |
CastleLCLUtils |
Convert TKey and/or character code into Lazarus key code (VK_xxx) and shift state. |
KeyLCLToCastle |
CastleLCLUtils |
Convert Key (Lazarus key code) to Castle Game Engine TKey. |
KeyRange |
X3DNodes |
Find a range within "key" field corresponding to given Fraction. |
KeyString |
CastleWindow |
Describe given key. |
KeyToStr |
CastleKeysMouse |
|
Lerp |
CastleVectors |
|
Lerp |
CastleVectors |
|
Lerp |
CastleVectors |
|
Lerp |
CastleVectors |
Linear interpolation between two vector values. |
Lerp |
CastleVectors |
|
Lerp |
CastleVectors |
|
Lerp |
CastleVectors |
|
Lerp |
CastleVectors |
|
Lerp |
CastleVectors |
|
Lerp |
CastleVectors |
|
Lerp |
CastleUtils |
|
Lerp |
CastleVectors |
|
Lerp |
CastleVectors |
|
Lerp |
CastleUtils |
|
Lerp |
CastleUtils |
|
Lerp |
CastleUtils |
Linear interpolation between two values. |
Lerp |
CastleUtils |
|
Lerp |
CastleUtils |
|
Lerp |
CastleVectors |
|
Lerp |
CastleVectors |
|
LerpRgbInHsv |
CastleColors |
Given two colors in RGB, interpolate them in HSV space. |
LevelLogicClasses |
CastleLevels |
|
Levels |
CastleLevels |
All known levels. |
LineOfTwoDifferentPoints2d |
CastleVectors |
|
LineOfTwoDifferentPoints2d |
CastleVectors |
Line passing through two different points. |
Lines2DIntersection |
CastleVectors |
Intersection of two 2D lines. |
Lines2DIntersection |
CastleVectors |
|
ListImageExtsLong |
CastleImages |
List available image file formats. |
ListImageExtsShort |
CastleImages |
|
LMDecode |
CastleSphericalHarmonics |
|
Load3D |
X3DLoad |
Load 3D model. |
Load3DSequence |
X3DLoad |
Load various model formats as animation expressed by VRML/X3D sequence. |
LoadEncodedImage |
CastleImages |
|
LoadEncodedImage |
CastleImages |
Load image to TEncodedImage format. |
LoadEncodedImage |
CastleImages |
|
LoadGLGeneratedTexture |
CastleGLImages |
Load OpenGL texture into already reserved texture number. |
LoadGLTexture |
CastleGLImages |
Load new texture to OpenGL. |
LoadGLTexture |
CastleGLImages |
|
LoadImage |
CastleImages |
|
LoadImage |
CastleImages |
|
LoadImage |
CastleImages |
|
LoadImage |
CastleImages |
The ultimate procedure to load an image from a file or URL. |
LoadTextureImage |
CastleTextureImages |
|
LoadTextureImage |
CastleTextureImages |
Load image suitable for a texture. |
LoadX3DClassic |
X3DNodes |
Load VRML/X3D file in classic encoding, return it's root node. |
LoadX3DClassic |
X3DNodes |
Load VRML/X3D file in classic encoding from stream. |
LoadX3DClassicFromString |
X3DNodes |
|
LoadX3DXml |
X3DNodes |
|
LoadX3DXml |
X3DNodes |
Read X3D encoded in XML, and convert it to VRML/X3D nodes graph. |
Load_EFX |
CastleEFX |
Checks is EFX extension, along with all it's entry points, present for given OpenAL device. |
LoCase |
CastleStringUtils |
Convert uppercase letters to lowercase. |
Log |
CastleLog |
Is logging active. |
LookAtMatrix |
CastleVectors |
Camera matrix to look at the specified point (or along the specified direction). |
LookAtMatrix |
CastleVectors |
|
LookDirMatrix |
CastleVectors |
|
LookDirMatrix |
CastleVectors |
|
MakeCameraNavNode |
X3DCameraUtils |
|
MakeCameraNode |
X3DCameraUtils |
|
MakeCameraNode |
X3DCameraUtils |
Construct TX3DNode defining camera with given properties. |
MakeCameraStr |
X3DCameraUtils |
Construct string with VRML/X3D node defining camera with given properties. |
MakeVectorsAngleRadOnTheirPlane |
CastleVectors |
|
MakeVectorsAngleRadOnTheirPlane |
CastleVectors |
Adjust the V1 vector to force given angle between V1 and V2. |
MakeVectorsOrthoOnTheirPlane |
CastleVectors |
|
MakeVectorsOrthoOnTheirPlane |
CastleVectors |
Adjust the V1 vector to force V1 and V2 to be orthogonal. |
MapRange |
CastleUtils |
|
MapRange |
CastleUtils |
Linearly map value from a one range to another. |
MapRangeClamped |
CastleUtils |
|
MapRangeClamped |
CastleUtils |
|
MaterialProperties |
CastleMaterialProperties |
Known material properties. |
MatricesEqual |
CastleVectors |
|
MatricesEqual |
CastleVectors |
|
MatricesEqual |
CastleVectors |
|
MatricesEqual |
CastleVectors |
|
MatricesPerfectlyEqual |
CastleVectors |
|
MatricesPerfectlyEqual |
CastleVectors |
|
MatricesPerfectlyEqual |
CastleVectors |
|
MatricesPerfectlyEqual |
CastleVectors |
|
Matrix2Double |
CastleVectors |
Convert between single and double precision matrices. |
Matrix2Single |
CastleVectors |
|
Matrix3Double |
CastleVectors |
|
Matrix3Single |
CastleVectors |
|
Matrix4Double |
CastleVectors |
|
Matrix4Single |
CastleVectors |
|
MatrixAdd |
CastleVectors |
|
MatrixAdd |
CastleVectors |
|
MatrixAdd |
CastleVectors |
|
MatrixAdd |
CastleVectors |
|
MatrixAddTo1st |
CastleVectors |
|
MatrixAddTo1st |
CastleVectors |
|
MatrixAddTo1st |
CastleVectors |
|
MatrixAddTo1st |
CastleVectors |
|
MatrixDet2x2 |
CastleVectors |
|
MatrixDet3x3 |
CastleVectors |
|
MatrixDet4x4 |
CastleVectors |
|
MatrixDeterminant |
CastleVectors |
|
MatrixDeterminant |
CastleVectors |
|
MatrixDeterminant |
CastleVectors |
|
MatrixDeterminant |
CastleVectors |
|
MatrixDeterminant |
CastleVectors |
|
MatrixDeterminant |
CastleVectors |
|
MatrixInverse |
CastleVectors |
|
MatrixInverse |
CastleVectors |
|
MatrixInverse |
CastleVectors |
|
MatrixInverse |
CastleVectors |
Inverse the matrix. |
MatrixInverse |
CastleVectors |
|
MatrixInverse |
CastleVectors |
|
MatrixMult |
CastleVectors |
|
MatrixMult |
CastleVectors |
|
MatrixMult |
CastleVectors |
|
MatrixMult |
CastleVectors |
|
MatrixMult |
CastleVectors |
|
MatrixMult |
CastleVectors |
|
MatrixMultDirection |
CastleVectors |
Transform a 3D direction with 4x4 matrix. |
MatrixMultDirection |
CastleVectors |
|
MatrixMultPoint |
CastleVectors |
Transform a 3D point with 4x4 matrix. |
MatrixMultPoint |
CastleVectors |
|
MatrixMultScalar |
CastleVectors |
|
MatrixMultScalar |
CastleVectors |
|
MatrixMultScalar |
CastleVectors |
|
MatrixMultScalar |
CastleVectors |
|
MatrixMultVector |
CastleVectors |
|
MatrixMultVector |
CastleVectors |
|
MatrixMultVector |
CastleVectors |
|
MatrixMultVector |
CastleVectors |
|
MatrixMultVector |
CastleVectors |
|
MatrixMultVector |
CastleVectors |
|
MatrixNegate |
CastleVectors |
|
MatrixNegate |
CastleVectors |
|
MatrixNegate |
CastleVectors |
|
MatrixNegate |
CastleVectors |
|
MatrixRow |
CastleVectors |
|
MatrixRow |
CastleVectors |
|
MatrixRow |
CastleVectors |
|
MatrixRow |
CastleVectors |
|
MatrixRow |
CastleVectors |
|
MatrixRow |
CastleVectors |
|
MatrixSubtract |
CastleVectors |
|
MatrixSubtract |
CastleVectors |
|
MatrixSubtract |
CastleVectors |
|
MatrixSubtract |
CastleVectors |
|
MatrixSubtractTo1st |
CastleVectors |
|
MatrixSubtractTo1st |
CastleVectors |
|
MatrixSubtractTo1st |
CastleVectors |
|
MatrixSubtractTo1st |
CastleVectors |
|
MatrixToNiceStr |
CastleVectors |
|
MatrixToNiceStr |
CastleVectors |
|
MatrixToRawStr |
CastleVectors |
|
MatrixToRawStr |
CastleVectors |
|
MatrixTranspose |
CastleVectors |
|
MatrixTranspose |
CastleVectors |
|
MatrixTranspose |
CastleVectors |
|
MatrixTranspose |
CastleVectors |
|
MatrixTransposeTo1st |
CastleVectors |
|
MatrixTransposeTo1st |
CastleVectors |
Transpose the matrix. |
max |
CastleUtils |
|
max |
CastleUtils |
|
max |
CastleUtils |
|
max |
CastleUtils |
|
max |
CastleUtils |
|
max |
CastleUtils |
|
max |
CastleUtils |
|
max |
CastleUtils |
|
max |
CastleUtils |
|
max |
CastleUtils |
|
MaxAbsVectorCoord |
CastleVectors |
|
MaxAbsVectorCoord |
CastleVectors |
|
MaxAbsVectorCoord |
CastleVectors |
|
MaxAbsVectorCoord |
CastleVectors |
|
MaxTo1st |
CastleUtils |
|
MaxTo1st |
CastleUtils |
|
MaxTo1st |
CastleUtils |
Update value of A to be a maximum of A, B. |
MaxTo1st |
CastleUtils |
|
MaxTo1st |
CastleUtils |
|
MaxVectorCoord |
CastleVectors |
|
MaxVectorCoord |
CastleVectors |
Which coordinate (0, 1, 2, and eventually 3 for 4D versions) is the largest. |
MaxVectorCoord |
CastleVectors |
|
MaxVectorCoord |
CastleVectors |
|
MemoryStreamLoadFromString |
CastleClassUtils |
|
MemoryStreamLoadFromString |
CastleClassUtils |
Set contents of TMemoryStream to given string. |
MenuItemFromSmallId |
CastleWindow |
Search for menu item with given SmallId. |
MessageChoice |
CastleMessages |
|
MessageChoice |
CastleMessages |
|
MessageChoice |
CastleMessages |
Ask user to choose one option from many. |
MessageInput |
CastleMessages |
|
MessageInput |
CastleMessages |
Ask user to input a string. |
MessageInputCardinal |
CastleMessages |
|
MessageInputCardinal |
CastleMessages |
Ask user to input an unsigned integer. |
MessageInputQuery |
CastleMessages |
Ask user to input a string, or cancel. |
MessageInputQuery |
CastleMessages |
|
MessageInputQuery |
CastleMessages |
|
MessageInputQuery |
CastleMessages |
Ask user to input a floating-point number. |
MessageInputQueryCardinal |
CastleMessages |
|
MessageInputQueryCardinalHex |
CastleMessages |
Ask user to input a value in hexadecimal. |
MessageInputQueryVector3Single |
CastleMessages |
|
MessageInputQueryVector4Single |
CastleMessages |
|
MessageKey |
CastleMessages |
|
MessageKey |
CastleMessages |
|
MessageKey |
CastleMessages |
Ask user to press any key, return this key as Keys.TKey. |
MessageKeyMouse |
CastleMessages |
Ask user to press any key or mouse button or mouse wheel, and return it. |
MessageKeyMouse |
CastleMessages |
|
MessageOK |
CastleMessages |
Ask user for simple confirmation. |
MessageOK |
CastleMessages |
|
MessageOK |
CastleMessages |
|
MessageYesNo |
CastleMessages |
|
MessageYesNo |
CastleMessages |
|
MessageYesNo |
CastleMessages |
|
MilisecTimesAdd |
CastleTimeUtils |
Simply add and subtract two TMilisecTime values. |
MilisecTimesSubtract |
CastleTimeUtils |
|
min |
CastleUtils |
|
min |
CastleUtils |
Return minimum / maximum from 2 / 3 items. |
min |
CastleUtils |
|
min |
CastleUtils |
|
min |
CastleUtils |
|
min |
CastleUtils |
|
min |
CastleUtils |
|
min |
CastleUtils |
|
min |
CastleUtils |
|
min |
CastleUtils |
|
MinMax |
CastleUtils |
|
MinMax |
CastleUtils |
|
MinTo1st |
CastleUtils |
|
MinTo1st |
CastleUtils |
|
MinTo1st |
CastleUtils |
|
MinTo1st |
CastleUtils |
|
MinTo1st |
CastleUtils |
Update value of A to be a minimum of A, B. |
MinVectorCoord |
CastleVectors |
|
MinVectorCoord |
CastleVectors |
|
ModelViewToNormalMatrix |
CastleVectors |
Convert ModelView matrix to a Normal matrix, just like 3D graphic libraries do. |
ModifierKeysToNiceStr |
CastleKeysMouse |
|
ModifiersDown |
CastleKeysMouse |
This "packs" values like KeysDown[K_Ctrl], KeysDown[K_Shift] etc. – KeysDown for all TModifierKey. |
ModifiersDown |
CastleKeysMouse |
|
MouseButtonLCLToCastle |
CastleLCLUtils |
Convert Lazarus Controls.TMouseButton value to Castle Game Engine CastleKeysMouse.TMouseButton. |
MouseWheelDirection |
CastleKeysMouse |
Determine simple mouse wheel direction from a Scroll and Vertical parameters received from TCastleWindowCustom.OnMouseWheel. |
MultMatricesTranslation |
CastleVectors |
|
MultMatricesTranslation |
CastleVectors |
|
MultMatrixTranslation |
CastleVectors |
Multiply matrix M by translation matrix. |
MultMatrixTranslation |
CastleVectors |
|
NatNatPower |
CastleUtils |
Calculate power Base to Exponent, knowing both arguments (and so, also the result) are >= 0. |
NewGLUQuadric |
CastleGLUtils |
Comfortable wrapper for gluNewQuadric. |
NextToken |
CastleStringUtils |
Find next part in the string S separated by delimiters TokenDelims. |
NextTokenOnce |
CastleStringUtils |
NextTokenOnce works just like NextToken, but doesn't advance the SeekPos position.
|
NLerp |
CastleQuaternions |
|
NLerp |
CastleQuaternions |
Interpolate between two rotations, along the straightest path on the unit sphere. |
NoClose |
CastleWindowModes |
Empty TCastleWindowCustom callback, useful as TCastleWindowCustom.OnCloseQuery to disallow closing the window by user. |
Normal3Single |
CastleVectors |
Construct and normalize 3D vector value. |
NormalFileExists |
CastleFilesUtils |
Returns true if file exists and is a normal file. |
Normalized |
CastleVectors |
|
Normalized |
CastleVectors |
|
Normalized |
CastleVectors |
|
Normalized |
CastleVectors |
|
NormalizePlaneTo1st |
CastleVectors |
|
NormalizePlaneTo1st |
CastleVectors |
This normalizes Plane by scaling all four coordinates of Plane so that length of plane vector (taken from 1st three coordinates) is one. |
NormalizeTo1st |
CastleVectors |
|
NormalizeTo1st |
CastleVectors |
|
NormalizeTo1st |
CastleVectors |
|
NormalizeTo1st |
CastleVectors |
|
NormalizeTo1st3Bytev |
CastleVectors |
|
NormalizeTo1st3Singlev |
CastleVectors |
Normalize the first 3 vector components. |
NurbsBoundingBox |
CastleNURBS |
|
NurbsBoundingBox |
CastleNURBS |
|
NurbsBoundingBox |
CastleNURBS |
|
NurbsBoundingBox |
CastleNURBS |
|
NurbsCurvePoint |
CastleNURBS |
Return point on NURBS curve. |
NurbsCurvePoint |
CastleNURBS |
|
NurbsKnotIfNeeded |
CastleNURBS |
Calculate a default knot, if Knot doesn't already have required number of items. |
NurbsSurfacePoint |
CastleNURBS |
Return point on NURBS surface. |
OctreeSubnodeIndexesEqual |
CastleOctree |
|
OctreeSubnodeIndexToNiceStr |
CastleOctree |
|
Offset |
CastleUtils |
Calculate shift between A and B addresses (in bytes), and cast to Pointer. |
OnGLContextClose |
CastleUIControls |
|
OnGLContextOpen |
CastleUIControls |
Global callbacks called when OpenGL context (like Lazarus TCastleControl or TCastleWindow) is open/closed. |
OnWarningLog |
CastleWarnings |
Assign this to OnWarning to only log warnings using CastleLog. |
OnWarningWrite |
CastleWarnings |
Assign this to OnWarning to report warnings using WarningWrite, and log them too. |
OpenDocument |
CastleOpenDocument |
Open a local file or directory. |
OpenURL |
CastleOpenDocument |
Open URL with the suitable application. |
OrderUp |
CastleUtils |
|
OrderUp |
CastleUtils |
|
OrderUp |
CastleUtils |
Make sure the Smaller value is <= than the Larger value, by eventually swapping them. |
OrderUp |
CastleUtils |
|
OrderUp |
CastleUtils |
|
OrderUp |
CastleUtils |
|
OrderUp |
CastleUtils |
|
OrderUp |
CastleUtils |
|
OrderUp |
CastleUtils |
Assign the smaller value from X, Y to Smaller variable, the other one to Larger variable. |
Ortho2dProjMatrix |
CastleVectors |
|
OrthoProjection |
CastleGLUtils |
|
OrthoProjMatrix |
CastleVectors |
|
OSCheck |
CastleUtils |
|
OSCheck |
CastleUtils |
If not TrueValue then RaiseLastOSError. |
OutputException |
CastleUtils |
Show nice exception description on console or (for GUI Windows programs) by a message box. |
ParentPath |
CastleFilesUtils |
Parent directory name. |
PArrayPosStr |
CastleUtils |
|
PArrayPosText |
CastleUtils |
|
ParseConstantFloatExpression |
CastleScriptParser |
Parse constant float expression. |
ParseExpression |
CastleScriptParser |
Creates and returns instance of TCasScriptExpression, that represents parsed tree of expression in S. |
ParseFloatExpression |
CastleScriptParser |
Creates and returns instance of TCasScriptExpression, that represents parsed tree of expression in S, casted to float. |
ParseProgram |
CastleScriptParser |
|
ParseProgram |
CastleScriptParser |
Parse CastleScript program. |
PathFileSearch |
CastleFilesUtils |
Search a file on $PATH. |
PCharOrNil |
CastleStringUtils |
PCharOrNil simply returns a Pointer(S), you can think of it as a NO-OP.
|
PeanoCurve |
CastleSpaceFillingCurves |
Low-level procedures to generate consecutive Peano and Hilbert curve points. |
PerfectlyZeroVector |
CastleVectors |
|
PerfectlyZeroVector |
CastleVectors |
|
PerfectlyZeroVector |
CastleVectors |
|
PerfectlyZeroVector |
CastleVectors |
|
PerfectlyZeroVector |
CastleVectors |
|
PerfectlyZeroVector |
CastleVectors |
|
PerspectiveProjection |
CastleGLUtils |
Set ProjectionMatrix to perspective or orthogonal. |
PerspectiveProjMatrixDeg |
CastleVectors |
|
PerspectiveProjMatrixRad |
CastleVectors |
|
PhiThetaToXYZ |
CastleSphereSampling |
Convert from PhiTheta representation of (hemi)sphere direction to XYZ representation. |
PhiThetaToXYZ |
CastleSphereSampling |
Convert from PhiTheta representation of (hemi)sphere direction to XYZ representation. |
PlaneAntiMove |
CastleVectors |
|
PlaneAntiMove |
CastleVectors |
|
PlaneDirInDirection |
CastleVectors |
|
PlaneDirInDirection |
CastleVectors |
|
PlaneDirInDirection |
CastleVectors |
Vector orthogonal to plane and pointing in the given direction. |
PlaneDirInDirection |
CastleVectors |
|
PlaneDirNotInDirection |
CastleVectors |
|
PlaneDirNotInDirection |
CastleVectors |
|
PlaneDirNotInDirection |
CastleVectors |
|
PlaneDirNotInDirection |
CastleVectors |
|
PlaneMove |
CastleVectors |
|
PlaneMove |
CastleVectors |
Move a plane by a specifed vector. |
PlaneMoveTo1st |
CastleVectors |
|
PlaneMoveTo1st |
CastleVectors |
|
PlaneTransform |
CastleVectors |
|
PlaneTransform |
CastleVectors |
Transform plane by a matrix. |
PointerAdd |
CastleUtils |
Pointer arithmetic. |
PointerToStr |
CastleStringUtils |
Returns Ptr as 0xXXX... |
PointOnLineClosestToPoint |
CastleVectors |
|
PointOnLineClosestToPoint |
CastleVectors |
|
PointOnPlaneClosestToPoint |
CastleVectors |
|
PointOnPlaneClosestToPoint |
CastleVectors |
Orthogonally project a point on a plane, that is find a closest point to Point lying on a Plane. |
PointsDistance |
CastleVectors |
|
PointsDistance |
CastleVectors |
|
PointsDistance |
CastleVectors |
|
PointsDistance |
CastleVectors |
|
PointsDistance2DSqr |
CastleVectors |
Distance between points projected on the 2D plane. |
PointsDistance2DSqr |
CastleVectors |
|
PointsDistanceSqr |
CastleVectors |
|
PointsDistanceSqr |
CastleVectors |
|
PointsDistanceSqr |
CastleVectors |
|
PointsDistanceSqr |
CastleVectors |
|
PointsSamePlaneSides |
CastleVectors |
|
PointsSamePlaneSides |
CastleVectors |
Check if both points are on the same side of given 3D plane. |
PointToLineDistanceSqr |
CastleVectors |
|
PointToLineDistanceSqr |
CastleVectors |
|
PointToNormalizedPlaneDistance |
CastleVectors |
|
PointToNormalizedPlaneDistance |
CastleVectors |
Distance from a point to a plane (with already normalized direction). |
PointToPlaneDistance |
CastleVectors |
|
PointToPlaneDistance |
CastleVectors |
Distance from a point to a plane. |
PointToPlaneDistanceSqr |
CastleVectors |
|
PointToPlaneDistanceSqr |
CastleVectors |
|
PointToSegmentDistanceSqr |
CastleVectors |
|
PointToSegmentDistanceSqr |
CastleVectors |
|
PointToSimplePlaneDistance |
CastleVectors |
|
PointToSimplePlaneDistance |
CastleVectors |
|
Polygon2dArea |
CastleTriangles |
|
Polygon2dArea |
CastleTriangles |
Calculate polygon area. |
PrefixRemove |
CastleStringUtils |
Removes the prefix, if it is present. |
PrimaryRay |
CastleRays |
Calculate position and direction of the primary ray cast from CamPosition, going through the pixel X, Y. |
ProcessShadowMapsReceivers |
X3DShadowMaps |
Automatically handle VRML/X3D "receiveShadows" field by inserting appropriate lower-level nodes. |
ProcessTimerBegin |
CastleTimeUtils |
Simple measure of process CPU time. |
ProcessTimerDiff |
CastleTimeUtils |
Subtract two process (CPU) timer results, obtained from ProcessTimerNow. |
ProcessTimerEnd |
CastleTimeUtils |
|
ProcessTimerNow |
CastleTimeUtils |
Current value of process (CPU) timer. |
ProcessTimerSeconds |
CastleTimeUtils |
Subtract two timer values, result is in seconds. |
ProgramBreak |
CastleUtils |
Raise BreakProgram with AHaltCode, causing the program to stop with given exit code nicely (finalizes all exceptions try..finally and such). |
ProgramDataPath |
CastleFilesUtils |
Path to access installed data files. |
ProgramName |
CastleFilesUtils |
The name of our program. |
QuatFromAxisAngle |
CastleQuaternions |
|
QuatFromAxisAngle |
CastleQuaternions |
Calculate unit quaternion representing rotation around Axis by AngleRad angle (in radians). |
RandomFloatRange |
CastleUtils |
Random float value in the given range. |
RandomHemispherePointConst |
CastleSphereSampling |
Random point (direction) on unit hemisphere, sampled with constant density (p(Theta) = 1/2*Pi). |
RandomHemispherePointConstXYZ |
CastleSphereSampling |
|
RandomHemispherePointCosTheta |
CastleSphereSampling |
Random point (direction) on unit hemisphere, sampled with density p(Theta) = cos(Theta)/Pi. |
RandomHemispherePointCosThetaExp |
CastleSphereSampling |
Random point (direction) on unit hemisphere, sampled with density p(Theta) = (n+1) * (cos(Theta))ˆn / 2*Pi. |
RandomHemispherePointCosThetaExpXYZ |
CastleSphereSampling |
|
RandomHemispherePointCosThetaXYZ |
CastleSphereSampling |
|
RandomPlusMinus |
CastleUtils |
Random -1 or +1. |
RandomString |
CastleStringUtils |
|
RawURIDecode |
CastleURIUtils |
Replace all sequences like %xx with their actual 8-bit characters. |
ReadGrowingStream |
CastleClassUtils |
Read a growing stream, and append it to another destination stream. |
ReadGrowingStreamToString |
CastleClassUtils |
Read a growing stream, and returns it's contents as a string. |
Rectangle |
CastleRectangles |
|
Rectangle |
CastleRectangles |
|
Register |
CastleLCLRecentFiles |
|
Register |
CastleNotifications |
|
Register |
CastleCameras |
|
Register |
CastleDialogs |
|
Register |
CastleControls |
|
Register |
CastleControl |
|
Register |
CastleScene |
|
Register |
CastleSceneManager |
|
Register |
CastlePrecalculatedAnimation |
|
Register |
CastleXMLConfig |
|
Register |
CastleOnScreenMenu |
|
RegisterResourceClass |
CastleResources |
Register a resource class, to allow creating resources (like a creature or item) of this class by using appropriate type="xxx" inside resource.xml file. |
RemoveNonEmptyDir |
CastleFilesUtils |
Remove the directory DirName, recursively, unconditionally, with all the files and subdirectories inside. |
Resize2D |
CastleWindow |
A simple TCastleWindowCustom.OnResize callback implementation, that sets 2D projection. |
ResizeForTextureSize |
CastleGLImages |
Resize the image to a size accepted as GL_TEXTURE_2D texture size for OpenGL. |
ResizeToCubeMapTextureSize |
CastleGLImages |
|
ResizeToTextureSize |
CastleGLImages |
|
ResizeToTextureSize |
CastleGLImages |
|
Resources |
CastleResources |
All known resources. |
RestOf3dCoords |
CastleUtils |
3D coordinates (0, 1 or 2) except the given coordinate. |
RgbToHsv |
CastleColors |
|
RgbToHsv |
CastleColors |
|
RotatePointAroundAxisDeg |
CastleVectors |
Rotate point Point around the Axis by given Angle. |
RotatePointAroundAxisDeg |
CastleVectors |
|
RotatePointAroundAxisRad |
CastleVectors |
|
RotatePointAroundAxisRad |
CastleVectors |
|
RotationAngleRadBetweenVectors |
CastleVectors |
Signed angle between two vectors, in radians. |
RotationAngleRadBetweenVectors |
CastleVectors |
|
RotationAngleRadBetweenVectors |
CastleVectors |
|
RotationAngleRadBetweenVectors |
CastleVectors |
|
RotationMatricesRad |
CastleVectors |
|
RotationMatricesRad |
CastleVectors |
|
RotationMatrixDeg |
CastleVectors |
|
RotationMatrixDeg |
CastleVectors |
|
RotationMatrixRad |
CastleVectors |
|
RotationMatrixRad |
CastleVectors |
|
RoundClamp255 |
CastleUtils |
|
RoundUpToMultiply |
CastleUtils |
Smallest multiple of Multiplicator that is still >= Value. |
SampleTrianglePoint |
CastleTriangles |
Random triangle point, chosen with a constant density for triangle area. |
SAnsiCompare |
CastleStringUtils |
Compare strings, taking into account current locale. |
SAnsiSame |
CastleStringUtils |
Check if strings are equal, taking into account current locale. |
SAppendData |
CastleStringUtils |
Appends to a string S DataSize bytes from Data. |
SAppendPart |
CastleStringUtils |
If S = '' then returns NextPart, else returns S + PartSeparator + NextPart. |
Save3D |
X3DNodes |
|
Save3D |
X3DNodes |
|
Save3D |
X3DNodes |
|
Save3D |
X3DNodes |
Write VRML/X3D model to a file. |
Save3DVersion |
X3DNodes |
Which VRML/X3D version should be used to save this 3D model. |
Save3DWillConvertToX3D |
X3DNodes |
|
SaveImage |
CastleImages |
Save image to a file. |
SaveImage |
CastleImages |
|
SaveScreenToGL_NoFlush |
CastleGLImages |
Captures current screen as a TGLImage instance, ready to be drawn on 2D screen. |
SaveScreen_NoFlush |
CastleGLImages |
|
SaveScreen_NoFlush |
CastleGLImages |
|
SaveScreen_NoFlush |
CastleGLImages |
Save the current color buffer contents to image. |
ScalingMatrices |
CastleVectors |
|
ScalingMatrix |
CastleVectors |
|
SCastleEngineProgramHelpSuffix |
CastleUtils |
Print some common info for programs released on [http://castle-engine.sourceforge.net/]. |
SChar |
CastleStringUtils |
A pointer to S[CharNum], that is just @S[CharNum], avoiding range checking. |
SCharIs |
CastleStringUtils |
|
SCharIs |
CastleStringUtils |
Check whether S[Index] = C, also checking is Index within S length. |
SCharsCount |
CastleStringUtils |
|
SCharsCount |
CastleStringUtils |
|
ScissorDisable |
CastleGLUtils |
|
ScissorEnable |
CastleGLUtils |
Enable or disable scissor. |
SCompilerDescription |
CastleUtils |
Short name and version of Pascal compiler used to compile this unit. |
SCompressWhiteSpace |
CastleStringUtils |
Replace any number of consecutive whitespace (including newlines) with a single whitespace. |
ScreenEffectFragment |
CastleScreenEffects |
Library of GLSL fragment shader functions useful for screen effects. |
ScreenEffectVertex |
CastleScreenEffects |
Standard GLSL vertex shader for screen effect. |
SDeleteChars |
CastleStringUtils |
Returns S with all chars in ExcludedChars deleted. |
SearchFileHard |
CastleFindFiles |
Search for a file, ignoring the case. |
SEnding |
CastleStringUtils |
Returns suffix of S starting from position P. |
SeparateArgsToVector3Single |
CastleParameters |
|
SetCurrentColor |
CastleGLUtils |
|
SetCurrentProgram |
CastleGLShaders |
|
SetDepthRange |
CastleGLUtils |
|
SetGlobalAmbient |
CastleGLUtils |
|
SetProjectionMatrix |
CastleGLUtils |
|
SetTextureFilter |
CastleGLImages |
Set current texture minification and magnification filter. |
SetToStr |
CastleStringUtils |
Convert a set to a string representation, in somewhat hacky way. |
SetUIFont |
CastleControls |
|
SetUIFontSmall |
CastleControls |
|
SetWindowPos |
CastleGLUtils |
|
SetWindowPos |
CastleGLUtils |
Draw the 2D GUI stuff (like following GUI images and TCastleFont) with lower-left corner in the X,Y pixel. |
SetWindowPosF |
CastleGLUtils |
|
SetWindowPosZero |
CastleGLUtils |
|
SFPCVersion |
CastleUtils |
Describe FPC version. |
SHBasis |
CastleSphericalHarmonics |
Calculate spherical harmonic basis function for given arguments. |
SHVectorFromCubeMap |
CastleSphericalHarmonics |
Calculate SH basis coefficients that approximate function in Map. |
SHVectorGLCapture |
CastleGLCubeMaps |
Calculate spherical harmonics basis describing environment rendered by OpenGL. |
SLerp |
CastleQuaternions |
Interpolate between two rotations, along the shortest path on the unit sphere, with constant speed. |
SLerp |
CastleQuaternions |
|
Smallest2Exponent |
CastleUtils |
Smallest exponent such that 2ˆthis exponent is >= Value. |
Smallest2Power |
CastleUtils |
Smallest power of 2 that is >= Value. |
SmallFactorial |
CastleUtils |
Trivial factorial with Int64 result. |
SmoothStep |
CastleUtils |
Hermite interpolation between two values. |
Sort |
CastleUtils |
Sort given table of items. |
Sort |
CastleUtils |
|
SortAbsVectorCoord |
CastleVectors |
|
SortAbsVectorCoord |
CastleVectors |
|
SortByObject |
CastleUtils |
|
SortByObject |
CastleUtils |
|
SoundEngine |
CastleSoundEngine |
The sound engine. |
SPad |
CastleStringUtils |
Pad (fill from the left with character C) string S, until length of resulting string is at least Len. |
SpecialDirName |
CastleUtils |
Checks is the directory name special, like "." or "..". |
SPercentReplace |
CastleStringUtils |
|
SPercentReplace |
CastleStringUtils |
Searches for %x patterns and replaces them with specified strings. |
SQuoteLCLCaption |
CastleLCLUtils |
Make each '&' inside string '&&', this way the string will not contain special '&x' sequences when used as a TMenuItem.Caption and such. |
SQuoteMenuEntryCaption |
CastleWindow |
Returns S with each underscore '_' replaced by two underscores, '__'. |
SReadableForm |
CastleStringUtils |
Replace typically unreadable characters in string S with #number notation. |
SRemoveMnemonics |
CastleWindow |
Returns S with each '__' replaced with single '_', any other '_' removed. |
SReplaceChars |
CastleStringUtils |
|
SReplaceChars |
CastleStringUtils |
Replace all occurrences of characters in FromChars with the new string / character. |
SReplaceChars |
CastleStringUtils |
|
SReplacePatterns |
CastleStringUtils |
|
SReplacePatterns |
CastleStringUtils |
Replace all strings in Patterns with corresponding strings in Values. |
SRight |
CastleStringUtils |
Return rightmost RPart characters from S. |
Str2ToInt |
CastleStringUtils |
Convert string representing binary number to an integer. |
StreamReadByte |
CastleClassUtils |
|
StreamReadChar |
CastleClassUtils |
Read one character from stream. |
StreamReadLongWord |
CastleClassUtils |
|
StreamReadString |
CastleClassUtils |
|
StreamReadUpto_EOS |
CastleClassUtils |
|
StreamReadUpto_EOS |
CastleClassUtils |
|
StreamReadUpto_EOS |
CastleClassUtils |
Read stream, until you find some character in EndingChars, or end of stream. |
StreamReadUpto_EOS |
CastleClassUtils |
|
StreamReadUpto_NotEOS |
CastleClassUtils |
|
StreamReadUpto_NotEOS |
CastleClassUtils |
Read stream, until you find some character in EndingChars. |
StreamReadUpto_NotEOS |
CastleClassUtils |
|
StreamReadUpto_NotEOS |
CastleClassUtils |
|
StreamReadZeroEndString |
CastleClassUtils |
|
StreamSaveToFile |
CastleClassUtils |
|
StreamToString |
CastleClassUtils |
Convert whole Stream to a string. |
StreamWriteByte |
CastleClassUtils |
|
StreamWriteLongWord |
CastleClassUtils |
|
StreamWriteString |
CastleClassUtils |
Encode / decode a string in a binary stream. |
StrHexToInt |
CastleStringUtils |
Convert string with hexadecimal number to an integer. |
StringReplaceAllTo1st |
CastleStringUtils |
Replace all occurrences of FromPattern string to ToPattern string, within another string S. |
StringsAdd |
CastleClassUtils |
Add some strings. |
Strings_AddCastleEngineProgramHelpSuffix |
CastleClassUtils |
Something like SCastleEngineProgramHelpSuffix, but appends contents as a couple of lines to Strings. |
Strings_AddSplittedString |
CastleClassUtils |
Splits S by Splitter, and adds each splitted part to Strings. |
Strings_SetText |
CastleClassUtils |
Use this instead of SList.Text := S to workaround FPC 2.0.2 bug. |
Strings_Trim |
CastleClassUtils |
Make sure we don't have more than MaxCount strings on a list. |
StringToAlpha |
CastleImages |
|
StringToFile |
CastleStringUtils |
|
StringToX3DClassic |
X3DLexer |
String encoded for VRML/X3D classic, surrounded by double quotes. |
StringToX3DXml |
X3DLexer |
String encoded for X3D XML, surrounded by double quotes. |
StringToX3DXmlMulti |
X3DLexer |
String encoded for X3D XML, surrounded by double quotes, to be used as part of MFString. |
StrToFloatDef |
CastleStringUtils |
|
StrToKey |
CastleKeysMouse |
Convert string value back to a key name, reversing KeyToStr. |
StrToSFCurveClass |
CastleSpaceFillingCurves |
For curve name (matching some TSpaceFillingCurve.SFCName), return appropriate class. |
STruncateHash |
CastleStringUtils |
Remove from the string S everything after the first hash "#" character. |
SuffixRemove |
CastleStringUtils |
Like PrefixRemove, but checks for and removes Suffix. |
SUnformattable |
CastleStringUtils |
Return the value to reproduce exactly string S by Format procedure. |
SwapValues |
CastleUtils |
|
SwapValues |
CastleUtils |
Swap variables values. |
SwapValues |
CastleVectors |
|
SwapValues |
CastleVectors |
|
SwapValues |
CastleVectors |
|
SwapValues |
CastleVectors |
|
SwapValues |
CastleUtils |
|
SwapValues |
CastleVectors |
|
SwapValues |
CastleUtils |
|
SwapValues |
CastleUtils |
|
SwapValues |
CastleVectors |
|
SwapValues |
CastleUtils |
|
SwapValues |
CastleUtils |
|
SwapValues |
CastleUtils |
|
SZeroPad |
CastleStringUtils |
Pad (fill from the left) with zeros string S, until length of resulting string is at least Len. |
TexParameterMaxAnisotropy |
CastleGLImages |
Call glTexParameterf to set GL_TEXTURE_MAX_ANISOTROPY_EXT on given texture target. |
Texture2DClampToEdge |
CastleGLImages |
Return wrap GL_CLAMP_TO_EDGE in both directions. |
TextureFilter |
CastleGLImages |
|
TextureMemoryProfiler |
CastleGLImages |
OpenGL texture memory profiler, to detect which textures use up the GPU texture memory. |
Theme |
CastleControls |
|
ThreePlanesIntersectionPoint |
CastleVectors |
|
ThreePlanesIntersectionPoint |
CastleVectors |
Intersection of three 3D planes, results in a single 3D point. |
Timer |
CastleTimeUtils |
Measure passed real time. |
TimeTickDiff |
CastleTimeUtils |
Difference in times between SecondTime and FirstTime. |
TimeTickSecondLater |
CastleTimeUtils |
Check is SecondTime larger by at least TimeDelay than FirstTime. |
TransformCoordsMatrices |
CastleVectors |
|
TransformCoordsMatrices |
CastleVectors |
Calculate matrix to convert to given coordinate system (like TransformToCoordsMatrix) and it's inverse (like TransformFromCoordsMatrix). |
TransformFromCoordsMatrix |
CastleVectors |
|
TransformFromCoordsMatrix |
CastleVectors |
|
TransformFromCoordsMatrix |
CastleVectors |
|
TransformFromCoordsMatrix |
CastleVectors |
|
TransformFromCoordsNoScaleMatrix |
CastleVectors |
|
TransformFromCoordsNoScaleMatrix |
CastleVectors |
|
TransformMatricesMult |
Castle3D |
Apply transformation to a matrix. |
TransformToCoords |
CastleVectors |
Transform vector into new coordinate space. |
TransformToCoords |
CastleVectors |
|
TransformToCoordsMatrix |
CastleVectors |
Transform coordinates to / from a coordinate system. |
TransformToCoordsMatrix |
CastleVectors |
|
TransformToCoordsMatrix |
CastleVectors |
|
TransformToCoordsMatrix |
CastleVectors |
|
TransformToCoordsNoScaleMatrix |
CastleVectors |
|
TransformToCoordsNoScaleMatrix |
CastleVectors |
|
TranslationMatrices |
CastleVectors |
|
TranslationMatrices |
CastleVectors |
|
TranslationMatrices |
CastleVectors |
|
TranslationMatrices |
CastleVectors |
|
TranslationMatrix |
CastleVectors |
|
TranslationMatrix |
CastleVectors |
Functions to create common 4x4 matrices used in 3D graphics. |
TranslationMatrix |
CastleVectors |
|
TranslationMatrix |
CastleVectors |
|
TraverseState_CreateNodes |
X3DNodes |
Create and assign all State.Nodes. |
TraverseState_FreeAndNilNodes |
X3DNodes |
Free and nil all State.Nodes. |
Triangle3Double |
CastleTriangles |
|
Triangle3Double |
CastleTriangles |
|
Triangle3Single |
CastleTriangles |
|
Triangle3Single |
CastleTriangles |
|
TriangleArea |
CastleTriangles |
|
TriangleArea |
CastleTriangles |
Surface area of 3D triangle. |
TriangleAreaSqr |
CastleTriangles |
|
TriangleAreaSqr |
CastleTriangles |
|
TriangleBoundingBox |
CastleBoxes |
|
TriangleDir |
CastleTriangles |
Normal vector of a triangle. |
TriangleDir |
CastleTriangles |
|
TriangleDir |
CastleTriangles |
|
TriangleDir |
CastleTriangles |
|
TriangleNormal |
CastleTriangles |
|
TriangleNormal |
CastleTriangles |
|
TriangleNormal |
CastleTriangles |
|
TriangleNormal |
CastleTriangles |
|
TriangleNormPlane |
CastleTriangles |
|
TriangleNormPlane |
CastleTriangles |
|
TrianglePlane |
CastleTriangles |
Plane of the triangle. |
TrianglePlane |
CastleTriangles |
|
TrianglePlane |
CastleTriangles |
|
TrianglePlane |
CastleTriangles |
|
TriangleToNiceStr |
CastleTriangles |
|
TriangleToNiceStr |
CastleTriangles |
|
TriangleToNiceStr |
CastleTriangles |
|
TriangleToNiceStr |
CastleTriangles |
|
TriangleToRawStr |
CastleTriangles |
|
TriangleToRawStr |
CastleTriangles |
|
TriangleTransform |
CastleTriangles |
Transform triangle by 4x4 matrix. |
TriangleTransform |
CastleTriangles |
|
TriangulateConvexFace |
CastleTriangulate |
Triangulate convex polygon. |
TriangulateFace |
CastleTriangulate |
Triangulate potentially non-convex face. |
TriangulateFace |
CastleTriangulate |
|
TryCylinderRayIntersection |
CastleVectors |
Intersection between an (infinitely tall) cylinder and a ray. |
TryCylinderRayIntersection |
CastleVectors |
|
TryDeFormat |
CastleStringUtils |
|
TryMatrixInverse |
CastleVectors |
Inverse the matrix, trying harder (but possibly slower). |
TryMatrixInverse |
CastleVectors |
|
TryMatrixInverse |
CastleVectors |
|
TryMatrixInverse |
CastleVectors |
|
TryMatrixInverse |
CastleVectors |
|
TryMatrixInverse |
CastleVectors |
|
TryPlaneLineIntersection |
CastleVectors |
|
TryPlaneLineIntersection |
CastleVectors |
|
TryPlaneLineIntersection |
CastleVectors |
Plane and line intersection. |
TryPlaneLineIntersection |
CastleVectors |
|
TryPlaneRayIntersection |
CastleVectors |
|
TryPlaneRayIntersection |
CastleVectors |
|
TryPlaneRayIntersection |
CastleVectors |
|
TryPlaneRayIntersection |
CastleVectors |
|
TryPlaneSegmentDirIntersection |
CastleVectors |
|
TryPlaneSegmentDirIntersection |
CastleVectors |
|
TryPlaneSegmentDirIntersection |
CastleVectors |
|
TryPlaneSegmentDirIntersection |
CastleVectors |
|
TrySimplePlaneRayIntersection |
CastleVectors |
|
TrySimplePlaneRayIntersection |
CastleVectors |
|
TrySimplePlaneRayIntersection |
CastleVectors |
|
TrySimplePlaneRayIntersection |
CastleVectors |
|
TrySimplePlaneRayIntersection |
CastleVectors |
|
TrySimplePlaneRayIntersection |
CastleVectors |
Plane and ray intersection. |
TrySimplePlaneSegmentDirIntersection |
CastleVectors |
|
TrySimplePlaneSegmentDirIntersection |
CastleVectors |
|
TrySimplePlaneSegmentDirIntersection |
CastleVectors |
|
TrySimplePlaneSegmentDirIntersection |
CastleVectors |
Plane and line segment intersection. |
TrySimplePlaneSegmentDirIntersection |
CastleVectors |
|
TrySimplePlaneSegmentDirIntersection |
CastleVectors |
|
TrySimplePlaneSegmentIntersection |
CastleVectors |
|
TrySimplePlaneSegmentIntersection |
CastleVectors |
|
TrySimplePlaneSegmentIntersection |
CastleVectors |
|
TrySimplePlaneSegmentIntersection |
CastleVectors |
|
TrySimplePlaneSegmentIntersection |
CastleVectors |
|
TrySimplePlaneSegmentIntersection |
CastleVectors |
|
TrySphereRayIntersection |
CastleVectors |
|
TrySphereRayIntersection |
CastleVectors |
|
TryTriangleRayCollision |
CastleTriangles |
|
TryTriangleRayCollision |
CastleTriangles |
|
TryTriangleRayCollision |
CastleTriangles |
|
TryTriangleRayCollision |
CastleTriangles |
Calculate triangle with ray collision. |
TryTriangleSegmentCollision |
CastleTriangles |
Calculate triangle with line segment collision. |
TryTriangleSegmentCollision |
CastleTriangles |
|
TryTriangleSegmentDirCollision |
CastleTriangles |
|
TryTriangleSegmentDirCollision |
CastleTriangles |
|
TryTriangleSegmentDirCollision |
CastleTriangles |
|
TryTriangleSegmentDirCollision |
CastleTriangles |
|
TwoPlanesIntersectionLine |
CastleVectors |
|
TwoPlanesIntersectionLine |
CastleVectors |
Intersection of two 3D planes. |
UnicodeToUTF8 |
CastleUnicode |
|
UnicodeToUTF8Inline |
CastleUnicode |
|
URICaption |
CastleURIUtils |
Convert URI to a nice form for a short caption. |
URICurrentPath |
CastleURIUtils |
Current working directory of the application, expressed as URL, including always final slash at the end. |
URIDeleteAnchor |
CastleURIUtils |
Return URI with anchor (if was any) stripped. |
URIDeleteProtocol |
CastleURIUtils |
|
URIDisplay |
CastleURIUtils |
Convert URI to a nice form for display (to show in messages and such). |
URIExtractAnchor |
CastleURIUtils |
Extracts #anchor from URI. |
URIFileExists |
CastleURIUtils |
Does a local file exist. |
URIMimeType |
CastleURIUtils |
Get MIME type for content of the URI without downloading the file. |
URIMimeType |
CastleURIUtils |
|
URIProtocol |
CastleURIUtils |
Get protocol from given URI. |
URIProtocolIs |
CastleURIUtils |
Check does URI contain given Protocol. |
URIToFilenameSafe |
CastleURIUtils |
Convert URI (or filename) to a filename. |
URIToFilenameSafeUTF8 |
CastleLCLUtils |
|
URLReadXML |
CastleXMLUtils |
|
URLReadXML |
CastleXMLUtils |
Replacements for standard ReadXMLFile and WriteXMLFile that operate on URLs. |
URLSaveStream |
CastleDownload |
Create a stream to save a given URL, for example create a TFileStream to save a file for a file URL. |
URLWriteXML |
CastleXMLUtils |
|
URLWriteXML |
CastleXMLUtils |
|
UserConfigFile |
CastleFilesUtils |
Filename to store user configuration. |
UserConfigPath |
CastleFilesUtils |
Path to store user configuration files. |
UTF8CharacterLength |
CastleUnicode |
|
UTF8CharacterToUnicode |
CastleUnicode |
|
UTF8Length |
CastleUnicode |
|
UTF8Length |
CastleUnicode |
|
Vector2Cardinal |
CastleVectors |
|
Vector2Double |
CastleVectors |
|
Vector2Integer |
CastleVectors |
|
Vector2LongInt |
CastleVectors |
|
Vector2Single |
CastleVectors |
|
Vector2Single |
CastleVectors |
|
Vector2SmallInt |
CastleVectors |
|
Vector3Byte |
CastleVectors |
|
Vector3Byte |
CastleVectors |
Convert float vectors into byte vectors. |
Vector3Byte |
CastleVectors |
|
Vector3ByteCut |
CastleVectors |
|
Vector3Double |
CastleVectors |
|
Vector3Double |
CastleVectors |
|
Vector3DoubleFromStr |
CastleVectors |
|
Vector3ExtendedFromStr |
CastleVectors |
|
Vector3Longint |
CastleVectors |
|
Vector3Single |
CastleVectors |
|
Vector3Single |
CastleVectors |
|
Vector3Single |
CastleVectors |
|
Vector3Single |
CastleVectors |
|
Vector3SingleCut |
CastleVectors |
Convert 4D vector into 3D by simply discarding (ignoring) the 4th vector component. |
Vector3SingleFromStr |
CastleVectors |
Convert string to vector. |
Vector3SinglePoint |
CastleVectors |
Convert a point in homogeneous coordinates into normal 3D point. |
Vector3ToRGBE |
CastleImages |
Encode RGB color as Red + Green + Blue + Exponent format. |
Vector4Byte |
CastleVectors |
|
Vector4Byte |
CastleVectors |
|
Vector4Byte |
CastleVectors |
|
Vector4Double |
CastleVectors |
|
Vector4Double |
CastleVectors |
|
Vector4Integer |
CastleVectors |
|
Vector4Single |
CastleVectors |
|
Vector4Single |
CastleVectors |
|
Vector4Single |
CastleVectors |
|
Vector4Single |
CastleVectors |
|
Vector4Single |
CastleVectors |
|
Vector4Single |
CastleVectors |
|
Vector4SingleFromStr |
CastleVectors |
|
VectorAbs |
CastleVectors |
|
VectorAbs |
CastleVectors |
|
VectorAbs |
CastleVectors |
|
VectorAbs |
CastleVectors |
|
VectorAbs |
CastleVectors |
|
VectorAbs |
CastleVectors |
|
VectorAdd |
CastleVectors |
|
VectorAdd |
CastleVectors |
|
VectorAdd |
CastleVectors |
|
VectorAdd |
CastleVectors |
|
VectorAdd |
CastleVectors |
|
VectorAdd |
CastleVectors |
Add two vectors. |
VectorAddTo1st |
CastleVectors |
|
VectorAddTo1st |
CastleVectors |
|
VectorAddTo1st |
CastleVectors |
|
VectorAddTo1st |
CastleVectors |
|
VectorAddTo1st |
CastleVectors |
|
VectorAddTo1st |
CastleVectors |
|
VectorAdjustToLength |
CastleVectors |
Scale vector such that it has given length (VecLen). |
VectorAdjustToLength |
CastleVectors |
|
VectorAdjustToLengthTo1st |
CastleVectors |
|
VectorAdjustToLengthTo1st |
CastleVectors |
|
VectorAverage |
CastleVectors |
|
VectorAverage |
CastleVectors |
|
VectorDotProduct |
CastleVectors |
|
VectorDotProduct |
CastleVectors |
|
VectorDotProduct |
CastleVectors |
|
VectorDotProduct |
CastleVectors |
|
VectorDotProduct |
CastleVectors |
|
VectorDotProduct |
CastleVectors |
Dot product (aka scalar product) of two vectors. |
VectorDotProduct |
CastleVectors |
|
VectorDotProduct |
CastleVectors |
|
VectorLen |
CastleVectors |
|
VectorLen |
CastleVectors |
|
VectorLen |
CastleVectors |
|
VectorLen |
CastleVectors |
Vector length. |
VectorLen |
CastleVectors |
|
VectorLen |
CastleVectors |
|
VectorLen |
CastleVectors |
|
VectorLenSqr |
CastleVectors |
|
VectorLenSqr |
CastleVectors |
|
VectorLenSqr |
CastleVectors |
|
VectorLenSqr |
CastleVectors |
|
VectorLenSqr |
CastleVectors |
Vector length squared. |
VectorLenSqr |
CastleVectors |
|
VectorLenSqr |
CastleVectors |
|
VectorMultiplyComponents |
CastleVectors |
|
VectorMultiplyComponents |
CastleVectors |
Multiply two vectors component-wise. |
VectorMultiplyComponentsTo1st |
CastleVectors |
|
VectorMultiplyComponentsTo1st |
CastleVectors |
|
VectorMultTransposedSameVector |
CastleVectors |
Multiply vector by a transposition of the same vector. |
VectorNegate |
CastleVectors |
|
VectorNegate |
CastleVectors |
|
VectorNegate |
CastleVectors |
|
VectorNegate |
CastleVectors |
|
VectorNegate |
CastleVectors |
Negate vector (return -V). |
VectorNegate |
CastleVectors |
|
VectorNegateTo1st |
CastleVectors |
|
VectorNegateTo1st |
CastleVectors |
|
VectorNegateTo1st |
CastleVectors |
|
VectorNegateTo1st |
CastleVectors |
|
VectorNegateTo1st |
CastleVectors |
|
VectorNegateTo1st |
CastleVectors |
|
VectorPowerComponents |
CastleVectors |
Change each vector component into Power(component, Exp). |
VectorPowerComponents |
CastleVectors |
|
VectorPowerComponentsTo1st |
CastleVectors |
|
VectorPowerComponentsTo1st |
CastleVectors |
|
VectorProduct |
CastleVectors |
|
VectorProduct |
CastleVectors |
Vector cross product. |
VectorRGBETo3Single |
CastleImages |
Decode Red + Green + Blue + Exponent back into RGB (3 floats). |
VectorScale |
CastleVectors |
|
VectorScale |
CastleVectors |
|
VectorScale |
CastleVectors |
|
VectorScale |
CastleVectors |
Scale vector (aka multiply by scalar). |
VectorScale |
CastleVectors |
|
VectorScale |
CastleVectors |
|
VectorScaleTo1st |
CastleVectors |
|
VectorScaleTo1st |
CastleVectors |
|
VectorScaleTo1st |
CastleVectors |
|
VectorScaleTo1st |
CastleVectors |
|
VectorScaleTo1st |
CastleVectors |
|
VectorScaleTo1st |
CastleVectors |
|
VectorsEqual |
CastleVectors |
|
VectorsEqual |
CastleVectors |
|
VectorsEqual |
CastleVectors |
Compare two vectors, with epsilon to tolerate slightly different floats. |
VectorsEqual |
CastleVectors |
|
VectorsEqual |
CastleVectors |
|
VectorsEqual |
CastleVectors |
|
VectorsEqual |
CastleVectors |
|
VectorsEqual |
CastleVectors |
|
VectorsEqual |
CastleVectors |
|
VectorsEqual |
CastleVectors |
|
VectorsEqual |
CastleVectors |
|
VectorsEqual |
CastleVectors |
|
VectorsParallel |
CastleVectors |
|
VectorsParallel |
CastleVectors |
Are the two vectors parallel (one is a scaled version of another). |
VectorsPerfectlyEqual |
CastleVectors |
|
VectorsPerfectlyEqual |
CastleVectors |
|
VectorsPerfectlyEqual |
CastleVectors |
|
VectorsPerfectlyEqual |
CastleVectors |
|
VectorsPerfectlyEqual |
CastleVectors |
|
VectorsPerfectlyEqual |
CastleVectors |
Compare two vectors using perfect comparison, that is using the "=" operator to compare floats. |
VectorsPerfectlyEqual |
CastleVectors |
|
VectorsPerp |
CastleVectors |
|
VectorsPerp |
CastleVectors |
|
VectorsSamePlaneDirections |
CastleVectors |
|
VectorsSamePlaneDirections |
CastleVectors |
|
VectorsSamePlaneDirections |
CastleVectors |
Check if both directions indicate the same side of given 3D plane. |
VectorsSamePlaneDirections |
CastleVectors |
|
VectorSubtract |
CastleVectors |
|
VectorSubtract |
CastleVectors |
|
VectorSubtract |
CastleVectors |
|
VectorSubtract |
CastleVectors |
Subtract two vectors. |
VectorSubtract |
CastleVectors |
|
VectorSubtract |
CastleVectors |
|
VectorSubtractTo1st |
CastleVectors |
|
VectorSubtractTo1st |
CastleVectors |
|
VectorSubtractTo1st |
CastleVectors |
|
VectorSubtractTo1st |
CastleVectors |
|
VectorSubtractTo1st |
CastleVectors |
|
VectorSubtractTo1st |
CastleVectors |
|
VectorToNiceStr |
CastleVectors |
|
VectorToNiceStr |
CastleVectors |
|
VectorToNiceStr |
CastleVectors |
|
VectorToNiceStr |
CastleVectors |
|
VectorToRawStr |
CastleVectors |
|
VectorToRawStr |
CastleVectors |
|
Vector_Get_Normalized |
CastleVectors |
|
Vector_Get_Normalized |
CastleVectors |
|
Vector_Init_Lerp |
CastleVectors |
|
Vector_Init_Lerp |
CastleVectors |
|
Vector_Init_Lerp |
CastleVectors |
|
Vector_Init_Lerp |
CastleVectors |
|
Vector_Normalize |
CastleVectors |
|
Vector_Normalize |
CastleVectors |
|
VorbisDecode |
CastleVorbisDecoder |
OggVorbis decoder using vorbisfile library and working on ObjectPascal TStream objects. |
WarningWrite |
CastleUtils |
|
WarningWrite |
CastleUtils |
|
WinCharSetFromName |
CastleWindowsFonts |
|
WritelnLog |
CastleLog |
Format and log message. |
WritelnLog |
CastleLog |
Log message. |
WritelnLogMultiline |
CastleLog |
Log multiline message. |
WritelnStr |
CastleClassUtils |
|
WritelnStr |
CastleClassUtils |
|
WriteLog |
CastleLog |
Log message, without appending newline at the end (given LogMessage should already contain a final newline). |
WriteLogMultiline |
CastleLog |
Log multiline message. |
WriteStr |
CastleClassUtils |
Write string contents to stream. |
WriteStr |
CastleClassUtils |
|
X3DCasScriptAfterExecute |
X3DCastleScript |
Do common things after VRML/X3D script with this variable is executed. |
X3DCasScriptBeforeExecute |
X3DCastleScript |
Do common things before VRML/X3D script with this variable is executed. |
X3DCasScriptCreateValue |
X3DCastleScript |
|
X3DChangesToStr |
X3DFields |
|
X3DFieldsManager |
X3DFields |
|
X3DNodeList_FreeUnusedAndNil |
X3DNodes |
Free all unused VRML/X3D nodes on the list, then free and Nil the list itself. |
X3DNodesDetailOptionsHelp |
X3DNodesDetailOptions |
|
X3DNodesDetailOptionsParse |
X3DNodesDetailOptions |
Parses --detail-xxx command-line options, and sets Detail_Xxx variables appropriately. |
XmuLookupStandardColormap |
CastleXlib |
|
XParseGeometry |
CastleXlib |
|
XSetStandardProperties |
CastleXlib |
|
XSetStandardProperties_Pascal |
CastleXlib |
|
XSetWMProperties_Pascal |
CastleXlib |
|
XYZToPhiTheta |
CastleSphereSampling |
Convert from XYZ representation of (hemi)sphere direction to PhiTheta. |
Zero |
CastleVectors |
|
Zero |
CastleVectors |
Compare float value with zero, with some epsilon. |
Zero |
CastleVectors |
|
Zero |
CastleVectors |
|
ZeroVector |
CastleVectors |
|
ZeroVector |
CastleVectors |
|
ZeroVector |
CastleVectors |
|
ZeroVector |
CastleVectors |
|
ZeroVector |
CastleVectors |
|
ZeroVector |
CastleVectors |
|
ZeroVector |
CastleVectors |
|
ZeroVector |
CastleVectors |
|
ZeroVector |
CastleVectors |
|