Gorilla.DefTypes.Utils
Unit Gorilla.DefTypes.Utils.pasClasses
- TMeshDataHack = class ( TPersistent )
Records
- record TBytesHelper
- record TDefTreeViewHelper
Constants
- const GORILLA_EULER_ORDER_XYZ : Integer = $12;
- const GORILLA_EULER_ORDER_ZXY : Integer = $201;
Functions / Procedures
- public function StringToPoint3D ( const AValue : string ) : TPoint3D ;
- public function Point3DToString ( const AValue : TPoint3D; const ADelimiter : Char = $20 ) : string ;
- public function StringToColorF ( const AValue : string ) : TAlphaColorF ;
- public function ColorFToString ( const AValue : TAlphaColorF; const AWithAlpha : Boolean = True ; const ADelimiter : Char = $20 ) : string ;
- public function StringToPointF ( const AValue : string ) : TPointF ;
- public function PointFToString ( const AValue : TPointF; const ADelimiter : Char = $20 ) : string ;
- public function StringToPoint ( const AValue : string ) : TPoint ;
- public function PointToString ( const AValue : TPoint; const ADelimiter : Char = $20 ) : string ;
- public function StringToVector3D ( const AValue : string ) : TVector3D ;
- public function Vector3DToString ( const AValue : TVector3D; const ADelimiter : Char = $20 ) : string ;
- public function StringToQuaternion3D ( const AValue : string ) : TQuaternion3D ;
- public function Quaternion3DToString ( const AValue : TQuaternion3D; const ADelimiter : Char = $20 ) : string ;
- public function StringToAlphaColorF ( const AValue : string ) : TAlphaColorF ;
- public function AlphaColorFToString ( const AValue : TAlphaColorF; const ADelimiter : Char = $20 ) : string ;
- public function StringToIntegerArray ( const AValue : string ) : TIntegerDynArray ;
- public function IntegerArrayToString ( const AArray : TIntegerDynArray; const ADelimiter : Char = $20 ) : string ;
- public function StringToFloatArray ( const AValue : string ) : TFloatDynArray ;
- public function FloatArrayToString ( const AArray : TFloatDynArray; const ADelimiter : Char = $20 ) : string ;
- public function StringToMatrix3D ( const AValue : string ) : TMatrix3D ;
- public function Matrix3DToString ( const AMatrix : TMatrix3D; const ABuilder : TStringBuilder; const ADelimiter : Char = $20 ) : string ;
- public function MatrixToString ( const AMatrix : TMatrix; const ABuilder : TStringBuilder; const ADelimiter : Char = $20 ) : string ;
- public function StringToPoint3DArray ( const AValue : string ) : TPoint3DDynArray ;
- public function Point3DArrayToString ( const AArray : TPoint3DDynArray; const ADelimiter : Char = $20 ) : string ;
- public function FloatArrayToPoint3DArray ( const AArr : TFloatDynArray ) : TPoint3DDynArray ;
- public function StringToVector3DArray ( const AValue : string ) : TVector3DDynArray ;
- public function Vector3DArrayToString ( const AArray : TVector3DDynArray; const ADelimiter : Char = $20 ) : string ;
- public function FloatArrayToVector3DArray ( const AArr : TFloatDynArray ) : TVector3DDynArray ;
- public function FloatArrayToColorArray ( const AArr : TFloatDynArray; const AElements : Integer = $3 ) : TColorDynArray ;
- public function StringToColorArray ( const AValue : string ) : TColorDynArray ;
- public function ColorArrayToString ( const AArray : TColorDynArray; const ADelimiter : Char = $20 ) : string ;
- public function StringToPointFArray ( const AValue : string ) : TPointFDynArray ;
- public function PointFArrayToString ( const AArray : TPointFDynArray; const ADelimiter : Char = $20 ) : string ;
- public function FloatArrayToPointFArray ( const AArr : TFloatDynArray ) : TPointFDynArray ;
- public function StringToFaceIndexArray ( const AValue : string; const ATriple : Boolean = False ) : TFaceIndexDynArray ;
- public function IntegerArrayToFaceIndexArray ( const AArr : TIntegerDynArray ) : TFaceIndexDynArray ;
- public function FaceIndexArrayToIntegerArray ( const AArr : TFaceIndexDynArray ) : TIntegerDynArray ;
- public function IntegerArrayToTriangleIndexArray ( const AArr : TIntegerDynArray ) : TFaceIndexDynArray ;
- public function StringToMatrix3DArray ( const AValue : string ) : TMatrix3DDynArray ;
- public function Matrix3DArrayToString ( const AArray : TMatrix3DDynArray ) : string ;
- public function GetCoordsFromVertexArray ( const AArr : TVertexDataDynArray ) : TPoint3DDynArray ;
- public function GetQualifiedComponentName
(
const
AName :
string
)
: string
;
Converts to a valid qualified component name. This routine does not check for already existing component names.
- public function GetValidatedQualifiedComponentName
(
const
AComp :
TComponent; const
AName :
string
)
: string
;
Converts to a valid qualified component name. This routine will check for already existing component names and will rename the input name to a unique id.
- public function GetStringSize ( const AValue : string ) : Int64 ;
- public function TextureFlippingsToString ( AValue : TTextureFlippings ) : string ;
- public function StringToTextureFlippings ( AValue : string ) : TTextureFlippings ;
- public function VertexFormatsToString ( AValue : TVertexFormats ) : string ;
- public function StringToVertexFormats ( AValue : string ) : TVertexFormats ;
- public function GetDurationByTimeKeys ( const AKeyTimes : TFloatDynArray ) : Single ;
- public function NormalizeTimeKeys ( const AKeyTimes : TFloatDynArray ) : TFloatDynArray ;
- public procedure DirtyHackApplyMeshDataBuffers ( const AData : TMeshData; const AVertexSource : TVertexBuffer; const AIndexSource : TIndexBuffer ) ;