All Functions and Procedures

Name Unit Description
* CastleRectangles

 

* CastleVectors

 

* CastleVectors

 

* CastleVectors

 

* CastleVectors

 

* CastleRectangles

Common part of the two rectangles.

* CastleVectors

 

* CastleVectors

 

* CastleVectors

 

* CastleVectors

 

* CastleVectors

 

* CastleVectors

 

* CastleVectors

 

* CastleVectors

 

* CastleVectors

 

* CastleVectors

 

* CastleQuaternions

Multiply two quaternions.

* CastleVectors

 

* CastleVectors

 

* CastleVectors

 

* CastleVectors

 

* CastleVectors

Matrix/vector operations

* CastleVectors

 

* CastleVectors

 

* CastleVectors

 

* CastleVectors

 

* CastleVectors

 

* CastleVectors

 

* CastleVectors

 

* CastleVectors

Matrix/scalar operations

* 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

Vector to vector operations.

+ CastleVectors

 

+ CastleVectors

 

+ CastleVectors

 

+ CastleVectors

 

+ CastleVectors

 

+ CastleVectors

 

+ CastleBoxes

 

+ CastleRectangles

 

+ CastleRectangles

Sum of the two rectangles is a bounding rectangle - a smallest rectangle that contains them both.

+ CastleBoxes

 

+ 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

Overload := operator to allow conversion between Matrix unit objects and this unit's arrays easy.

= CastleGLImages

 

= CastleGLImages

 

= CastleSoundEngine

 

= 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).

AddExeExtension CastleFilesUtils

Add an exe file extension, searching for an existing file starting with ExePath.

AddLoadImageListener CastleImages

All URLs loaded by LoadImage and LoadEncodedImage are processed by this event.

AddStrArrayToStrings CastleClassUtils

Add all strings from string array to TStrings instance.

AdjustViewAngleDegToAspectRatio CastleProjection

Calculate second viewing angle for perspective projection.

AdjustViewAngleRadToAspectRatio CastleProjection

 

AfterPackImage CastleGLImages

 

AfterUnpackImage CastleGLImages

 

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.

AlphaMaxVar CastleImages

Maximum alpha channel type.

alSourceVector3f CastleALUtils

Comfortable wrappers over OpenAL functions that take vector types.

AngleRadBetweenNormals CastleVectors

 

AngleRadBetweenNormals CastleVectors

 

AngleRadBetweenVectors CastleVectors

 

AngleRadBetweenVectors CastleVectors

Angle between two vectors, in radians.

AngleRadPointToPoint CastleUtils

Angle between a 2D line segments and OX axis.

AnyOrthogonalVector CastleVectors

 

AnyOrthogonalVector CastleVectors

 

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.

ApplicationProperties CastleApplicationProperties

 

Approximate3DScale CastleVectors

 

Approximate3DScale CastleVectors

When you really, really must approximate a 3D scale by a single float.

ArcCot CastleUtils

 

AreParallelVectorsSameDirection CastleVectors

 

AreParallelVectorsSameDirection CastleVectors

Assuming that Vector1 and Vector2 are parallel, check do they point in the same direction.

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 CastleGLImages

 

BeforeUnpackImage CastleGLImages

Save / restore OpenGL pixel store for unpacking / packing given TCastleImage.

BEtoN CastleVectors

 

BEtoN CastleVectors

 

BEtoN CastleVectors

 

BEtoN CastleVectors

 

BEtoN CastleVectors

 

BEtoN CastleVectors

 

BEtoN CastleUtils

 

BEtoN CastleUtils

 

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

Construct TBox3D value from a minimum and maximum 3D point.

Box3DAroundPoint CastleBoxes

Construct TBox3D value from a center and size.

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

Calculate bounding box of a set of 3D points.

CalculateBoundingBox CastleBoxes

 

CalculateBoundingBox CastleBoxes

 

CalculateBoundingBoxFromIndices CastleBoxes

Calculate bounding box of a set of indexed 3D points.

CalculateBoundingBoxFromIndices CastleBoxes

 

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.

CatmullRom CastleCurves

Catmull-Rom spline low-level function.

CatmullRomSpline CastleCurves

Catmull-Rom spline.

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

 

CharSetToStr 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

 

CheckALInitialized CastleALUtils

Check is ALInitialized True.

CheckCopyFile CastleFilesUtils

 

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

 

Clamped CastleUtils

 

ClampVar CastleUtils

 

ClampVar CastleUtils

 

ClampVar CastleUtils

 

ClampVar CastleUtils

 

ClampVar CastleUtils

 

ClampVar CastleUtils

 

Clipboard CastleWindow

Single global instance of TCastleClipboard.

ColorBlueConvertByte CastleColors

 

ColorBlueStripByte CastleColors

 

ColorGrayscaleByte CastleColors

Convert color to grayscale.

ColorGreenConvertByte CastleColors

 

ColorGreenStripByte CastleColors

 

ColorOpacity CastleColors

Change color opacity (alpha).

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.

Config CastleConfig

 

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

Cosinus of angle between two vectors.

CosAngleBetweenVectors CastleVectors

 

CreateIfNeeded CastleClassUtils

Create Component instance, if it's Nil.

CreateReadFileStream CastleClassUtils

Open a proper stream to read a file, fast (with buffering) and with seeking.

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.

CubicBezier1D CastleCurves

Cubic (4 control points) Bezier curve (with all weights equal) in 1D.

CubicBezier2D CastleCurves

Cubic (4 control points) Bezier curve (with all weights equal) in 2D.

CubicBezier3D CastleCurves

Cubic (4 control points) Bezier curve (with all weights equal) in 3D.

DateTimeToAtStr CastleTimeUtils

Convert DateTime to string in the form "date at time".

DecodeImageColor X3DFields

Decode color from integer value, following VRML/X3D SFImage specification.

DecodeImageColor X3DFields

 

DecodeImageColor X3DFields

 

DecodeImageColor X3DFields

 

DecodeImageColor X3DFields

 

DecodeImageColor X3DFields

 

DecodeImageColor X3DFields

 

DecodeImageColor X3DFields

 

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 (if 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

 

DOMGetFloatAttribute CastleXMLUtils

Like DOMGetAttribute, but reads Float value.

DOMGetIntegerAttribute CastleXMLUtils

Like DOMGetAttribute, but reads Integer value.

DOMGetOneChildElement CastleXMLUtils

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

 

Download CastleDownload

 

Download CastleDownload

Return a stream to read given URL.

DrawCircle CastleGLUtils

Draw a circle.

DrawCircleOutline CastleGLUtils

Draw a circle outline.

DrawPrimitive2D CastleGLUtils

Draw a simple 2D primitive with a given color.

DrawRectangle CastleGLUtils

Draw a rectangle filled with a color.

DrawRectangleOutline CastleGLUtils

Draw a rectangle frame.

DumpExceptionBackTraceToString CastleClassUtils

 

DumpStackToString CastleClassUtils

 

EnableJoysticks CastleJoysticks

Initialize Joysticks global variable.

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

Write using a dialog box or console.

ErrorWrite CastleUtils

 

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.

FadeColor CastleColors

 

FadeDarkColor CastleColors

 

FastLookDirMatrix CastleVectors

 

FastLookDirMatrix CastleVectors

Calculate LookDirMatrix (or it's inverse), fast.

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

Convert file filters into LCL Dialog.Filter, Dialog.FilterIndex.

FileFiltersToDialog CastleLCLUtils

 

FileFiltersToDialog CastleLCLUtils

 

FileFiltersToDialog CastleLCLUtils

 

FileFiltersToOpenDialog CastleLCLUtils

Deprecated names, use the identifiers without "Open" in new code.

FileFiltersToOpenDialog CastleLCLUtils

 

FileFiltersToOpenDialog CastleLCLUtils

 

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

 

FileToString CastleStringUtils

Read file or URL contents to a string.

FindExe CastleFilesUtils

Find program on $PATH.

FindFiles CastleFindFiles

 

FindFiles CastleFindFiles

Find all files matching the given mask, and call FileProc for them.

FindFiles CastleFindFiles

 

FindFiles CastleFindFiles

 

FindFirstFile CastleFindFiles

Find first file matching given Mask inside Path.

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.

FloatRectangle CastleRectangles

 

FloatRectangle CastleRectangles

 

FloatRectangle CastleRectangles

 

FloatsEqual CastleVectors

 

FloatsEqual CastleVectors

Compare two float values, with some epsilon.

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.

FrustumProjection CastleGLUtils

 

FrustumProjectionMatrix CastleProjection

 

FrustumProjectionMatrix CastleProjection

 

GenerateMipmap CastleGLUtils

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.

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.

GetTickCount64 CastleTimeUtils

Get current time, in miliseconds.

GetUIFont CastleControls

The 2D fonts used throughout UI interface.

GetUIFontSmall CastleControls

 

GetWindowPos CastleGLUtils

 

GLBlendFunction CastleGLUtils

 

GLBlendRectangle CastleGLUtils

 

GLBlendRectangle CastleGLUtils

Draw a rectangle with blending.

GLCaptureCubeMapComposite CastleGLCubeMaps

Capture cube map to composite (DDS, KTX...) 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

 

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.

glDrawBox3DWire CastleGLBoxes

Draw the wireframe 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

 

GLFadeRectangleDark CastleGLUtils

 

GLFadeRectangleDark CastleGLUtils

Draw a rectangle that modulates colors underneath, making nice animation to AFadeColor while FadeIntensity changes from 1.0 down to 0.0.

GLFadeRectangleLight CastleGLUtils

 

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

 

GlueStrings CastleStringUtils

Concatenate the string list with a given Delimiter.

GlueStrings CastleStringUtils

 

GlueStrings CastleStringUtils

 

GlueStrings CastleStringUtils

 

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

 

GrayscaleValue CastleColors

 

HasGenerateMipmap CastleGLUtils

Is GenerateMipmap avaiable.

HermiteSpline CastleCurves

Hermite spline.

HermiteTenseSpline CastleCurves

Hermite spline with tangents zero (it will be horizontal at control points).

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 Image class one of the items in the ImageClasses array, or a descendant of one of them.

InImageClasses CastleImages

Check is ImageClass 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

 

InternalGetAnimationSmoothness CastlePrecalculatedAnimation

 

InternalSetAnimationSmoothness CastlePrecalculatedAnimation

 

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 numeric 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.

IntToStrThousands CastleStringUtils

Convert integer to string, inserting additional Separator to visually delimit thousands, milions etc.

IntToStrThousands CastleStringUtils

 

IntToStrZPad CastleStringUtils

Convert integer to string, padding string with zeros if needed.

InverseFastLookDirMatrix CastleVectors

 

InverseFastLookDirMatrix CastleVectors

 

IsCenteredBox3DPlaneCollision CastleBoxes

 

IsCenteredBox3DPlaneCollision CastleBoxes

Tests for collision between box3d centered around (0, 0, 0) and a plane.

IsCubeMapTextureSized CastleGLImages

Part of CastleGLImages unit: cubemaps sizing and loading.

IsFontTrueType CastleWindowsFonts

Is given Windows font possibly true-type.

IsGLContextOpen CastleUIControls

 

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

 

IsPointOnSegmentLineWithinSegment CastleVectors

 

IsPointOnSegmentLineWithinSegment CastleVectors

 

IsPointOnTrianglePlaneWithinTriangle CastleTriangles

 

IsPointOnTrianglePlaneWithinTriangle CastleTriangles

Assuming a point lies on a triangle plane, check does it lie inside a triangle.

IsPointWithinTriangle2D CastleTriangles

 

IsPointWithinTriangle2D CastleTriangles

 

IsPointWithinTriangle2D CastleTriangles

Check does point lie inside a triangle, in 2D.

IsPointWithinTriangle2D CastleTriangles

 

IsPolygon2dCCW CastleTriangles

Are the polygon points ordered CCW (counter-clockwise).

IsPolygon2dCCW CastleTriangles

 

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

Check triangle with line segment collision.

IsTriangleSegmentCollision CastleTriangles

 

IsTriangleSegmentCollision CastleTriangles

 

IsTriangleSegmentCollision CastleTriangles

 

IsTriangleSphereCollision CastleTriangles

 

IsTriangleSphereCollision CastleTriangles

 

IsTriangleSphereCollision CastleTriangles

 

IsTriangleSphereCollision CastleTriangles

 

IsTriangleSphereCollision2D CastleTriangles

 

IsTriangleSphereCollision2D CastleTriangles

Test collision between triangle and sphere in 2D.

IsTriangleSphereCollision2D CastleTriangles

 

IsTriangleSphereCollision2D CastleTriangles

 

IsTunnelSphereCollision CastleVectors

 

IsTunnelSphereCollision CastleVectors

 

IsValidTriangle CastleTriangles

Check does the triangle define a correct plane in 3D space.

IsValidTriangle CastleTriangles

 

KeyCastleToLCL CastleLCLUtils

Convert TKey and/or character code into Lazarus key code (VK_xxx) and shift state.

KeyCastleToLCL CastleLCLUtils

 

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 CastleUtils

Linear interpolation between two values.

Lerp CastleVectors

 

Lerp CastleVectors

 

Lerp CastleVectors

 

Lerp CastleVectors

 

Lerp CastleVectors

 

Lerp CastleVectors

 

Lerp CastleVectors

 

Lerp CastleVectors

 

Lerp CastleVectors

 

Lerp CastleVectors

 

Lerp CastleVectors

Linear interpolation between two vector values.

Lerp CastleUtils

 

Lerp CastleUtils

 

Lerp CastleUtils

 

Lerp CastleUtils

 

Lerp CastleVectors

 

Lerp CastleUtils

 

Lerp CastleVectors

 

LerpRgbInHsv CastleColors

Given two colors in RGB, interpolate them in HSV space.

LEtoN CastleVectors

 

LEtoN CastleUtils

 

LEtoN CastleVectors

 

LEtoN CastleVectors

 

LEtoN CastleVectors

 

LEtoN CastleVectors

 

LEtoN CastleVectors

 

LEtoN CastleUtils

 

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.

LoadX3DClassicFromString X3DNodes

Load VRML/X3D file in classic encoding from a string.

LoadX3DClassicInternal X3DNodes

Load VRML/X3D file in classic encoding from stream.

LoadX3DXml 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

 

LookAtMatrix CastleVectors

Camera matrix to look at the specified point (or along the specified direction).

LookDirMatrix CastleVectors

 

LookDirMatrix CastleVectors

 

LookDirMatrix CastleVectors

 

LookDirMatrix CastleVectors

 

MakeCameraNavNode X3DCameraUtils

 

MakeCameraNode X3DCameraUtils

Construct TX3DNode defining camera with given properties.

MakeCameraNode X3DCameraUtils

 

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

Adjust the V1 vector to force V1 and V2 to be orthogonal.

MakeVectorsOrthoOnTheirPlane CastleVectors

 

MapRange CastleUtils

Linearly map value from a one range to another.

MapRange CastleUtils

 

MapRange CastleUtils

 

MapRange CastleUtils

 

MapRangeClamped CastleUtils

 

MapRangeClamped CastleUtils

 

MapRangeClamped CastleUtils

 

MapRangeClamped CastleUtils

 

MaterialProperties CastleMaterialProperties

Material and texture properties, see TMaterialProperties.

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

 

MatrixAddVar CastleVectors

 

MatrixAddVar CastleVectors

 

MatrixAddVar CastleVectors

 

MatrixAddVar 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

 

MatrixInverse CastleVectors

Inverse the matrix.

MatrixInverse CastleVectors

 

MatrixMult CastleVectors

 

MatrixMult CastleVectors

 

MatrixMult CastleVectors

 

MatrixMult CastleVectors

 

MatrixMult CastleVectors

 

MatrixMult CastleVectors

 

MatrixMultDirection CastleVectors

 

MatrixMultDirection CastleVectors

Transform a 3D or 2D direction with 4x4 matrix.

MatrixMultDirection CastleVectors

 

MatrixMultDirection CastleVectors

 

MatrixMultPoint CastleVectors

 

MatrixMultPoint CastleVectors

Transform a 3D or 2D point with 4x4 matrix.

MatrixMultPoint CastleVectors

 

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

 

MatrixSubtractVar CastleVectors

 

MatrixSubtractVar CastleVectors

 

MatrixSubtractVar CastleVectors

 

MatrixSubtractVar CastleVectors

 

MatrixToNiceStr CastleVectors

 

MatrixToNiceStr CastleVectors

 

MatrixToRawStr CastleVectors

 

MatrixToRawStr CastleVectors

 

MatrixTranspose CastleVectors

 

MatrixTranspose CastleVectors

 

MatrixTranspose CastleVectors

 

MatrixTranspose CastleVectors

 

MatrixTransposeVar CastleVectors

 

MatrixTransposeVar 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

 

MaxVar CastleUtils

 

MaxVar CastleUtils

Update value of A to be a maximum of A, B.

MaxVar CastleUtils

procedure MaxVar(var a: LongWord; const b: LongWord); overload; {$ifdef SUPPORTS_INLINE} inline; {$endif} // same as Cardinal

MaxVar CastleUtils

 

MaxVar CastleUtils

 

MaxVar CastleUtils

 

MaxVectorCoord CastleVectors

 

MaxVectorCoord CastleVectors

 

MaxVectorCoord CastleVectors

 

MaxVectorCoord CastleVectors

 

MaxVectorCoord CastleVectors

Which coordinate (0, 1, 2, and eventually 3 for 4D versions) is the largest.

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

Ask user to input a string.

MessageInput CastleMessages

 

MessageInputCardinal CastleMessages

Ask user to input an unsigned integer.

MessageInputCardinal CastleMessages

 

MessageInputQuery CastleMessages

Ask user to input a string, or cancel.

MessageInputQuery CastleMessages

 

MessageInputQuery CastleMessages

Ask user to input a floating-point number.

MessageInputQuery CastleMessages

 

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

 

MessageKeyMouse CastleMessages

Ask user to press any key or mouse button or mouse wheel, and return it.

MessageOK CastleMessages

 

MessageOK CastleMessages

Ask user for simple confirmation.

MessageOK CastleMessages

 

MessageYesNo CastleMessages

 

MessageYesNo CastleMessages

 

MessageYesNo CastleMessages

 

Messaging CastleMessaging

Auto-created single instance of TMessaging to communicate between native code and Java on Android.

MilisecTimesAdd CastleTimeUtils

Simply add and subtract two TMilisecTime values.

MilisecTimesSubtract CastleTimeUtils

 

min CastleUtils

 

min CastleUtils

 

min CastleUtils

 

min CastleUtils

 

min CastleUtils

Return minimum / maximum from 2 / 3 items.

min CastleUtils

 

min CastleUtils

 

min CastleUtils

 

min CastleUtils

 

min CastleUtils

 

MinMax CastleUtils

 

MinMax CastleUtils

 

MinVar CastleUtils

Update value of A to be a minimum of A, B.

MinVar CastleUtils

 

MinVar CastleUtils

 

MinVar CastleUtils

procedure MinVar(var a: LongWord; const b: LongWord); overload; {$ifdef SUPPORTS_INLINE} inline; {$endif} // same as Cardinal

MinVar CastleUtils

 

MinVar CastleUtils

 

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

 

MultMatrixTranslation CastleVectors

Multiply matrix M by translation matrix.

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

Interpolate between two rotations, along the straightest path on the unit sphere.

NLerp CastleQuaternions

 

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

 

NormalizePlaneVar CastleVectors

 

NormalizePlaneVar CastleVectors

This normalizes Plane by scaling all four coordinates of Plane so that length of plane vector (taken from 1st three coordinates) is one.

NormalizeVar CastleVectors

 

NormalizeVar CastleVectors

 

NormalizeVar CastleVectors

 

NormalizeVar CastleVectors

 

NormalizeVar3Bytev CastleVectors

 

NormalizeVar3Singlev CastleVectors

Normalize the first 3 vector components.

NtoBE CastleUtils

 

NtoBE CastleVectors

 

NtoBE CastleVectors

 

NtoBE CastleUtils

 

NtoBE CastleVectors

 

NtoBE CastleVectors

 

NtoBE CastleVectors

 

NtoBE CastleVectors

 

NtoLE CastleVectors

 

NtoLE CastleUtils

 

NtoLE CastleVectors

 

NtoLE CastleVectors

 

NtoLE CastleVectors

 

NtoLE CastleVectors

 

NtoLE CastleUtils

 

NtoLE CastleVectors

 

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.

Offset CastleUtils

 

OffsetUInt CastleUtils

Calculate shift between A and B addresses (in bytes).

OnGLContextClose CastleUIControls

 

OnGLContextOpen CastleUIControls

 

OnScreenNotification CastleOpenDocument

Simple on-screen notification using Android "toast" call.

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

Assign the smaller value from X, Y to Smaller variable, the other one to Larger variable.

OrderUp CastleUtils

 

OrderUp CastleUtils

 

OrderUp CastleUtils

 

Ortho2DProjectionMatrix CastleProjection

 

Ortho2DProjectionMatrix CastleProjection

 

OrthoProjection CastleGLUtils

 

OrthoProjectionMatrix CastleProjection

 

OrthoProjectionMatrix CastleProjection

Functions to create 4x4 matrices used in 3D graphics for projection.

OSCheck CastleUtils

 

OSCheck CastleUtils

If not TrueValue then RaiseLastOSError.

ParentPath CastleFilesUtils

Parent directory name.

PArrayPosStr CastleUtils

 

PArrayPosText CastleUtils

 

ParseBoolExpression CastleScriptParser

Parse a CastleScript expression that should be calculated to a boolean value.

ParseConstantFloatExpression CastleScriptParser

Parse constant float expression.

ParseExpression CastleScriptParser

Creates and returns instance of TCasScriptExpression, that represents parsed tree of expression in S.

ParseFloatExpression CastleScriptParser

Parse a CastleScript expression that should be calculated to a float value.

ParseIntExpression CastleScriptParser

Parse a CastleScript expression that should be calculated to a float value.

ParseProgram CastleScriptParser

 

ParseProgram CastleScriptParser

Parse CastleScript program.

ParseStringExpression CastleScriptParser

Parse a CastleScript expression that should be calculated to a string value.

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 given value.

PerspectiveProjectionMatrixDeg CastleProjection

 

PerspectiveProjectionMatrixRad CastleProjection

 

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

Vector orthogonal to plane and pointing in the given direction.

PlaneDirInDirection CastleVectors

 

PlaneDirInDirection CastleVectors

 

PlaneDirNotInDirection CastleVectors

 

PlaneDirNotInDirection CastleVectors

 

PlaneDirNotInDirection CastleVectors

 

PlaneDirNotInDirection CastleVectors

 

PlaneMove CastleVectors

 

PlaneMove CastleVectors

Move a plane by a specifed vector.

PlaneMoveVar CastleVectors

 

PlaneMoveVar CastleVectors

 

PlaneTransform CastleVectors

 

PlaneTransform CastleVectors

Transform plane by a matrix.

PointerAdd CastleUtils

Pointer arithmetic.

PointerToStr CastleStringUtils

Returns Ptr as 0xXXX...

PointOnLineClosestToPoint CastleVectors

 

PointOnLineClosestToPoint CastleVectors

 

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

Check if both points are on the same side of given 3D plane.

PointsSamePlaneSides CastleVectors

 

PointToLineDistanceSqr CastleVectors

 

PointToLineDistanceSqr CastleVectors

 

PointToNormalizedPlaneDistance CastleVectors

 

PointToNormalizedPlaneDistance CastleVectors

Distance from a point to a plane (with already normalized direction).

PointToPlaneDistance CastleVectors

Distance from a point to a plane.

PointToPlaneDistance CastleVectors

 

PointToPlaneDistanceSqr CastleVectors

 

PointToPlaneDistanceSqr CastleVectors

 

PointToSegmentDistanceSqr CastleVectors

 

PointToSegmentDistanceSqr CastleVectors

 

PointToSimplePlaneDistance CastleVectors

 

PointToSimplePlaneDistance CastleVectors

 

Polygon2dArea CastleTriangles

Calculate polygon area.

Polygon2dArea CastleTriangles

 

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.

ProcessTimer CastleTimeUtils

Current time, local to this process.

ProcessTimerBegin CastleTimeUtils

Simple measure of process CPU time.

ProcessTimerDiff CastleTimeUtils

Subtract two times obtained from ProcessTimer, A-B, return a difference in ProcessTimersPerSec.

ProcessTimerEnd CastleTimeUtils

 

ProcessTimerNow CastleTimeUtils

 

ProcessTimerSeconds CastleTimeUtils

Subtract two times obtained from ProcessTimer, A-B, return a difference in seconds.

ProgramBreak CastleUtils

 

ProgramDataPath CastleFilesUtils

Path to access installed data files.

ProgramName CastleFilesUtils

The name of our program.

QuatFromAxisAngle CastleQuaternions

Calculate unit quaternion representing rotation around Axis by AngleRad angle (in radians).

QuatFromAxisAngle CastleQuaternions

 

RandomBoolean CastleUtils

 

RandomFloatRange CastleUtils

Random float value in the given range, result is between RangeBegin and RangeEnd.

RandomFloatRange CastleUtils

 

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

 

RandomIntRange CastleUtils

 

RandomIntRange CastleUtils

Random int value in the given range, result is always >= RangeBegin and < RangeEnd.

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 CastleSceneManager

 

Register CastleCameras

 

Register CastleNotifications

 

Register CastlePrecalculatedAnimation

 

Register CastleOnScreenMenu

 

Register CastleControls

 

Register CastleLCLRecentFiles

 

Register CastleXMLConfig

 

Register CastleControl

 

Register CastleScene

 

Register CastleDialogs

 

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.

RemoveLoadImageListener CastleImages

Remove listener added by AddLoadImageListener.

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

 

RotatePoint2D CastleVectors

Rotate point in 2D, in a counter-clockwise fashion.

RotatePointAroundAxisDeg CastleVectors

 

RotatePointAroundAxisDeg CastleVectors

Rotate point Point around the Axis by given Angle.

RotatePointAroundAxisRad CastleVectors

 

RotatePointAroundAxisRad CastleVectors

 

RotationAngleRadBetweenVectors CastleVectors

 

RotationAngleRadBetweenVectors CastleVectors

Signed angle between two vectors, in radians.

RotationAngleRadBetweenVectors CastleVectors

 

RotationAngleRadBetweenVectors CastleVectors

 

RotationMatricesRad CastleVectors

 

RotationMatricesRad CastleVectors

 

RotationMatrixDeg CastleVectors

 

RotationMatrixDeg CastleVectors

 

RotationMatrixRad CastleVectors

 

RotationMatrixRad CastleVectors

 

RotationNegate CastleVectors

Negate a rotation expressed as axis-angle (3 components for axis, 1 for angle).

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.

Save3D X3DNodes

 

Save3DVersion X3DNodes

Which VRML/X3D version should be used to save this 3D model.

Save3DWillConvertToX3D X3DNodes

 

SaveImage CastleImages

 

SaveImage CastleImages

Save image to a file.

SaveScreenToGL_NoFlush CastleGLImages

Captures current screen as a TGLImageCore instance, ready to be drawn on 2D screen.

SaveScreen_NoFlush CastleGLImages

 

SaveScreen_NoFlush CastleGLImages

Save the current color buffer contents to image.

SaveScreen_NoFlush CastleGLImages

 

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

 

SCheckChars CastleStringUtils

Check that all characters are within a given set.

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

 

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

Draw the 2D GUI stuff (like following GUI images and TCastleFont) with lower-left corner in the X,Y pixel.

SetWindowPos CastleGLUtils

 

SetWindowPosF CastleGLUtils

 

SetWindowPosZero CastleGLUtils

 

SFPCVersion CastleUtils

FPC version.

ShareText CastleOpenDocument

Share a text/link through user-choosen application.

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 CastleUtils

Sort given table of items.

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.

SplitString CastleStringUtils

Split a string by a character delimiter.

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.

SReadableForm CastleStringUtils

 

SRemoveMnemonics CastleWindow

Returns S with each '__' replaced with single '_', any other '_' removed.

SReplaceChars CastleStringUtils

 

SReplaceChars CastleStringUtils

 

SReplaceChars CastleStringUtils

Replace all occurrences of characters in FromChars with the new string / character.

SReplacePatterns CastleStringUtils

Replace all strings in Patterns with corresponding strings in Values.

SReplacePatterns CastleStringUtils

 

SReplacePatterns CastleStringUtils

 

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

Read stream, until you find some character in EndingChars, or end of stream.

StreamReadUpto_EOS CastleClassUtils

 

StreamReadUpto_EOS CastleClassUtils

 

StreamReadUpto_EOS CastleClassUtils

 

StreamReadUpto_NotEOS CastleClassUtils

Read stream, until you find some character in EndingChars.

StreamReadUpto_NotEOS CastleClassUtils

 

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.

StringReplaceAllVar 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

 

StringToTextureCompression CastleImages

Convert string to TTextureCompression enum.

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.

SwapEndian CastleUtils

 

SwapEndian CastleUtils

Utility functions to control the endianess of Single and Double values; no support for Extended though as such values have yet to be encountered when read from a file

SwapEndian CastleVectors

 

SwapEndian CastleVectors

 

SwapEndian CastleVectors

Endianess utility functions for vectors ———————————–

SwapEndian CastleVectors

 

SwapEndian CastleVectors

 

SwapEndian CastleVectors

 

SwapValues CastleVectors

 

SwapValues CastleUtils

 

SwapValues CastleVectors

 

SwapValues CastleVectors

 

SwapValues CastleUtils

 

SwapValues CastleUtils

 

SwapValues CastleVectors

 

SwapValues CastleVectors

 

SwapValues CastleVectors

 

SwapValues CastleUtils

 

SwapValues CastleUtils

 

SwapValues CastleUtils

 

SwapValues CastleUtils

Swap variables values.

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.

TextureCompressionToString CastleImages

Convert TTextureCompression enum to string.

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

Current time, to measure real time passed.

TimerSeconds CastleTimeUtils

Subtract two times obtained from Timer, A-B, return a difference in seconds.

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

 

TransformToCoords CastleVectors

Transform vector into new coordinate space.

TransformToCoordsMatrix CastleVectors

 

TransformToCoordsMatrix CastleVectors

Transform coordinates to / from a coordinate system.

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

 

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

 

TrianglePlane CastleTriangles

 

TrianglePlane CastleTriangles

Plane of the triangle.

TrianglePlane CastleTriangles

 

TriangleToNiceStr CastleTriangles

 

TriangleToNiceStr CastleTriangles

 

TriangleToNiceStr CastleTriangles

 

TriangleToNiceStr CastleTriangles

 

TriangleToRawStr CastleTriangles

 

TriangleToRawStr CastleTriangles

 

TriangleTransform CastleTriangles

 

TriangleTransform CastleTriangles

Transform triangle by 4x4 matrix.

TriangulateConvexFace CastleTriangulate

Triangulate convex polygon.

TriangulateFace CastleTriangulate

 

TriangulateFace CastleTriangulate

Triangulate potentially non-convex face.

TryCylinderRayIntersection CastleVectors

 

TryCylinderRayIntersection CastleVectors

Intersection between an (infinitely tall) cylinder and a ray.

TryDeFormat CastleStringUtils

 

TryMatrixInverse CastleVectors

 

TryMatrixInverse CastleVectors

 

TryMatrixInverse CastleVectors

 

TryMatrixInverse CastleVectors

Inverse the matrix, trying harder (but possibly slower).

TryMatrixInverse CastleVectors

 

TryMatrixInverse CastleVectors

 

TryPlaneLineIntersection CastleVectors

 

TryPlaneLineIntersection CastleVectors

Plane and line intersection.

TryPlaneLineIntersection CastleVectors

 

TryPlaneLineIntersection CastleVectors

 

TryPlaneRayIntersection CastleVectors

 

TryPlaneRayIntersection CastleVectors

 

TryPlaneRayIntersection CastleVectors

 

TryPlaneRayIntersection CastleVectors

 

TryPlaneSegmentDirIntersection CastleVectors

 

TryPlaneSegmentDirIntersection CastleVectors

 

TryPlaneSegmentDirIntersection CastleVectors

 

TryPlaneSegmentDirIntersection CastleVectors

 

TrySimplePlaneRayIntersection CastleVectors

 

TrySimplePlaneRayIntersection CastleVectors

 

TrySimplePlaneRayIntersection CastleVectors

Plane and ray intersection.

TrySimplePlaneRayIntersection CastleVectors

 

TrySimplePlaneRayIntersection CastleVectors

 

TrySimplePlaneRayIntersection CastleVectors

 

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

Calculate triangle with ray collision.

TryTriangleRayCollision CastleTriangles

 

TryTriangleRayCollision CastleTriangles

 

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

function UTF8CharacterToUnicode(const S: string): TUnicodeChar;

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

 

URIMimeType CastleURIUtils

Get MIME type for content of the URI without downloading the file.

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.

URLReadXML CastleXMLUtils

 

URLReadXML CastleXMLUtils

 

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

 

URNMatchingCastle X3DNodes

Does this URN indicate an X3D node that is a Castle Game Engine extension.

UserConfig CastleConfig

User preferences.

UserConfigFile CastleFilesUtils

Filename to store user configuration.

UserConfigPath CastleFilesUtils

Path to store user configuration files.

UTF8CharacterLength CastleUnicode

 

UTF8CharacterToUnicode CastleUnicode

Return unicode character pointed by P.

UTF8CharStart CastleUnicode

 

UTF8Copy CastleUnicode

 

UTF8Length CastleUnicode

 

UTF8Length CastleUnicode

 

Vector2Byte CastleVectors

 

Vector2Cardinal CastleVectors

 

Vector2Double CastleVectors

 

Vector2Integer CastleVectors

 

Vector2LongInt CastleVectors

 

Vector2Single CastleVectors

 

Vector2Single CastleVectors

 

Vector2SingleCut CastleVectors

Convert 3D vector into 2D by simply discarding (ignoring) the last component.

Vector2SingleFromStr CastleVectors

Convert string to vector.

Vector2SmallInt CastleVectors

 

Vector3Byte CastleVectors

Convert float vectors into byte vectors.

Vector3Byte CastleVectors

 

Vector3Byte CastleVectors

 

Vector3ByteCut CastleVectors

 

Vector3Double 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

 

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

Add two vectors.

VectorAdd CastleVectors

 

VectorAdd CastleVectors

 

VectorAdd CastleVectors

 

VectorAdd CastleVectors

 

VectorAdd CastleVectors

 

VectorAddVar CastleVectors

 

VectorAddVar CastleVectors

 

VectorAddVar CastleVectors

 

VectorAddVar CastleVectors

 

VectorAddVar CastleVectors

 

VectorAddVar CastleVectors

 

VectorAdjustToLength CastleVectors

 

VectorAdjustToLength CastleVectors

Scale vector such that it has given length (VecLen).

VectorAdjustToLength CastleVectors

 

VectorAdjustToLengthVar CastleVectors

 

VectorAdjustToLengthVar CastleVectors

 

VectorAdjustToLengthVar CastleVectors

 

VectorAverage CastleVectors

 

VectorAverage CastleVectors

 

VectorDotProduct CastleVectors

 

VectorDotProduct CastleVectors

 

VectorDotProduct CastleVectors

Dot product (aka scalar product) of two vectors.

VectorDotProduct CastleVectors

 

VectorDotProduct CastleVectors

 

VectorDotProduct CastleVectors

 

VectorDotProduct CastleVectors

 

VectorDotProduct CastleVectors

 

VectorLen CastleVectors

 

VectorLen CastleVectors

 

VectorLen CastleVectors

 

VectorLen CastleVectors

 

VectorLen CastleVectors

 

VectorLen CastleVectors

Vector length.

VectorLen CastleVectors

 

VectorLenSqr CastleVectors

 

VectorLenSqr CastleVectors

 

VectorLenSqr CastleVectors

Vector length squared.

VectorLenSqr CastleVectors

 

VectorLenSqr CastleVectors

 

VectorLenSqr CastleVectors

 

VectorLenSqr CastleVectors

 

VectorMultiplyComponents CastleVectors

Multiply two vectors component-wise.

VectorMultiplyComponents CastleVectors

 

VectorMultiplyComponentsVar CastleVectors

 

VectorMultiplyComponentsVar CastleVectors

 

VectorMultTransposedSameVector CastleVectors

Multiply vector by a transposition of the same vector.

VectorNegate CastleVectors

Negate vector (return -V).

VectorNegate CastleVectors

 

VectorNegate CastleVectors

 

VectorNegate CastleVectors

 

VectorNegate CastleVectors

 

VectorNegate CastleVectors

 

VectorNegateVar CastleVectors

 

VectorNegateVar CastleVectors

 

VectorNegateVar CastleVectors

 

VectorNegateVar CastleVectors

 

VectorNegateVar CastleVectors

 

VectorNegateVar CastleVectors

 

VectorPowerComponents CastleVectors

Change each vector component into Power(component, Exp).

VectorPowerComponents CastleVectors

 

VectorPowerComponentsVar CastleVectors

 

VectorPowerComponentsVar CastleVectors

 

VectorProduct CastleVectors

Vector cross product.

VectorProduct CastleVectors

 

VectorRGBETo3Single CastleImages

Decode Red + Green + Blue + Exponent back into RGB (3 floats).

VectorScale CastleVectors

 

VectorScale CastleVectors

Scale vector (aka multiply by scalar).

VectorScale CastleVectors

 

VectorScale CastleVectors

 

VectorScale CastleVectors

 

VectorScale CastleVectors

 

VectorScaleVar CastleVectors

 

VectorScaleVar CastleVectors

 

VectorScaleVar CastleVectors

 

VectorScaleVar CastleVectors

 

VectorScaleVar CastleVectors

 

VectorScaleVar CastleVectors

 

VectorsEqual CastleVectors

 

VectorsEqual CastleVectors

 

VectorsEqual 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

 

VectorsParallel CastleVectors

Are the two vectors parallel (one is a scaled version of another).

VectorsParallel CastleVectors

 

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

 

VectorsPerfectlyEqual CastleVectors

 

VectorsPerfectlyEqual CastleVectors

 

VectorsPerp CastleVectors

 

VectorsPerp CastleVectors

 

VectorsSamePlaneDirections CastleVectors

 

VectorsSamePlaneDirections CastleVectors

Check if both directions indicate the same side of given 3D plane.

VectorsSamePlaneDirections CastleVectors

 

VectorsSamePlaneDirections CastleVectors

 

VectorSubtract CastleVectors

 

VectorSubtract CastleVectors

 

VectorSubtract CastleVectors

 

VectorSubtract CastleVectors

 

VectorSubtract CastleVectors

Subtract two vectors.

VectorSubtract CastleVectors

 

VectorSubtractVar CastleVectors

 

VectorSubtractVar CastleVectors

 

VectorSubtractVar CastleVectors

 

VectorSubtractVar CastleVectors

 

VectorSubtractVar CastleVectors

 

VectorSubtractVar CastleVectors

 

VectorToNiceStr CastleVectors

 

VectorToNiceStr CastleVectors

 

VectorToNiceStr CastleVectors

 

VectorToNiceStr CastleVectors

 

VectorToRawStr CastleVectors

 

VectorToRawStr 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

 

VendorTypeToStr CastleGLVersion

 

Vibrate CastleOpenDocument

Vibrate the device.

WarningWrite CastleUtils

 

WarningWrite CastleUtils

 

WinCharSetFromName CastleWindowsFonts

 

WritelnLog CastleLog

 

WritelnLog CastleLog

Log message.

WritelnLog CastleLog

Format and log a message.

WritelnLog CastleLog

 

WritelnLogMultiline CastleLog

Log multiline message.

WritelnStr CastleClassUtils

 

WritelnStr CastleClassUtils

 

WritelnWarning CastleLog

Log a warning, and call ApplicationProperties.OnWarning event.

WritelnWarning CastleLog

 

WritelnWarning CastleLog

 

WritelnWarning CastleLog

A shortcut for WritelnWarning(Category, Format(MessageBase, Args)).

WriteLog CastleLog

Log message, without appending newline at the end (given Message should already contain a final newline).

WriteLogMultiline CastleLog

 

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.

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

 

ZeroVector CastleVectors

 

ZeroVector CastleVectors

 

ZeroVector CastleVectors

 

ZeroVector CastleVectors

 

ZeroVector CastleVectors

 


Generated by PasDoc 0.14.0.