FMX.Types3D

From RAD Studio API Documentation
Jump to: navigation, search

Defines base types used throughout FireMonkey, including 3D drawing types.

Contents

Classes

EContext3DException
EContextManagerExceptionException class for TContextManager.
IContextObject
ITextureAccess
TBitmapHelperHelper class for TBitmap to easily create TTexture.
TContext3DClass used for drawing and rendering 3D objects.
TContextClassTContextClass defines the metaclass for TContext3D.
TContextHelperHelper class for TContext3D to add high-level drawing and filling routines.
TContextLostMessage
TContextManagerManager class for TContext3D.
TContextResetMessage
TContextShaderEncapsulates native shader programs, variable lists, and types for different architectures.
TIndexBufferRepresents an index buffer.
TMaterialBase class for all materials.
TMaterialClassTMaterialClass defines the metaclass for TMaterial.
TMeshDataClass used for defining the shape of polyhedral objects.
TPosition3DClass that describes the position of a 3D object.
TShaderManagerManages the used shaders.
TTextureDescribe textures used by the FireMonkey 3D framework.
TVertexBufferRepresents a vertex buffer.

Routines

AdjointMatrix3DDetermines the adjugate of a 4-by-4 matrix.
ColorToVector3DConverts a TAlphaColor into a tagVECTOR3D.
CreateRotationMatrix3DCreates a rotation matrix.
CreateScaleMatrix3DCreates a scale transformation matrix with the scale factor given by AScale.
CreateTranslateMatrix3DComputes the translate matrix for ATranslate.
CreateYawPitchRollMatrix3DDetermines the rotation matrix from the yaw, pitch, and roll values.
GetVertexOffsetReturns the vertex offset according to the vertex format.
InvertMatrixDetermines the invert of a TMatrix3D.
ISqrtDetermines the integer square root of i.
Matrix3DMatrix3D creates a TMatrix3D from the values of its parameters.
Matrix3DDeterminantCalculates the determinant for a TMatrix3D.
Matrix3DMultiplyMultiplies two 4-by-4 matrices.
MatrixLookAtDirLHCreates the look-at matrix for a specified direction, in a left-handed coordinate system.
MatrixLookAtDirRHCreates the look-at matrix for a specified direction, in a right-handed coordinate system.
MatrixLookAtLHCreates a look-at matrix in a left-handed coordinate system.
MatrixLookAtRHCreates a look-at matrix in a right-handed coordinate system.
MatrixOrthoLHCreates the orthogonal projection matrix in a left-handed coordinate system.
MatrixOrthoOffCenterLHCreates an off-center orthogonal projection matrix in a left-handed coordinate system.
MatrixOrthoOffCenterRHCreates an off-center orthogonal projection matrix in a right-handed coordinate system.
MatrixOrthoRHCreates the orthogonal projection matrix in a right-handed coordinate system.
MatrixPerspectiveFovLHCreates a perspective view matrix in a left-handed coordinate system.
MatrixPerspectiveFovRHCreates a perspective view matrix in a right-handed coordinate system.
MatrixPerspectiveOffCenterLHCreates a perspective off-center matrix in a left-handed coordinate system.
NormalizeQuaternionApplies the quaternion normalization algorithm to the quaternion given through the q parameter.
Point3DToStringConverts the given TPoint3D to a string.
QuaternionFromAngleAxisObtains a quaternion from the angle-axis 3D representation defined by the given angle and axis parameters.
QuaternionFromMatrixObtains a quaternion from the 3D matrix given through the Matrix parameter.
QuaternionMultiplyMultiplies the two quaternions given through the qL and qR parameters.
QuaternionToMatrixTransforms the quaternion given through the Quaternion parameter into a 3D matrix.
RayCastCuboidIntersectReturns how many times the given ray intersects the given cuboid 3D shape.
RayCastEllipsoidIntersectReturns how many times the given ray intersects the given ellipsoid shape.
RayCastPlaneIntersectReturns whether the given ray intersects the given plane.
RayCastSphereIntersectReturns how many times the given ray intersects the given sphere.
RayCastTriangleIntersectReturns whether the given ray intersects the triangle built from the three given vertices.
RotateVectorRotates the given 3D vector in space, on the specified axis, with the given angle.
RSqrtComputes and returns the reciprocal of the square root of the given number.
ScaleMatrix3DScales the given 3D matrix by the given factor.
StringToPoint3DConverts the given string to a TPoint3D.
TransposeMatrix3DComputes and returns the transpose matrix of the 3D matrix given through the M parameter.
Vector3DAngleCosineReturns the cosine of the angle between the given v1 and v2 3D vectors.
Vector3DToColorCreates an alpha color based on the X, Y, and Z coordinates of the given 3D vector.
Vector3DTransformTransforms and returns the 3D vector given through the given 3D matrix.
VertexSizeReturns the size of the vertex based on its format.
WideGetTokenGets a token from a string.

Types

_di_IContextObject
_di_ITextureAccess
PVector3D
TBoxRepresents a box in 3D space.
TClearTargetEnumeration of context clear targets.
TClearTargetsSet of TClearTarget items.
TContextShaderArchEnumerates the types of shader architectures.
TContextShaderCodeAn array of bytes.
TContextShaderHandleSpecific handle for a context shader.
TContextShaderKindEnumerates the types of shaders.
TContextShaderSourceDefines a source of shaders.
TContextShaderVariableDefines a shader variable.
TContextShaderVariableKindEnumerates the types of shader variables.
TContextShaderVariablesArray of TContextShaderVariable.
TContextStateEnumeration of context types.
TContextStyle
TContextStyles
TIndexFormat
TLightDescription
TLightDescriptionList
TLightTypeEnumeration of lighting modes.
TMatrix3DDynArrayDynamic array (of variable length) of TMatrix3D objects.
TMeshVertexDefines a mesh vertex.
TMultisampleEnumeration of antialiasing (multisampling) modes.
TPoint3DDynArrayDynamic array (of variable length) of TPoint3D objects.
TPointFDynArrayDynamic array (of variable length) of TPointF objects.
TPrimitivesKind
TProjectionEnumeration of projection modes.
TStencilFuncEnumeration of stencil functions.
TStencilOpEnumeration of stencil operations.
TTextureFilterEnumerates the types of texture filters.
TTextureHandleSpecific handle for a texture.
TTextureStyleEnumerates the styles of a texture.
TTextureStylesSet of TTextureStyle.
TVertexDeclaration
TVertexElement
TVertexFormatEnumeration of vertex formats.
TVertexFormatsSet of TVertexFormat formats.

Variables

IdentityMatrix3DConstant of type TMatrix3D that defines the identity matrix.
IdentityQuaternionConstant of type TQuaternion3D that defines the identity quaternion.
NullPoint3DConstant of type TPoint3D that defines a 3D point in space with all its coordinates set to 0.
NullVector3DConstant of type tagVECTOR3D that defines a null 3D vector with its X, Y, and Z components set to 0 and W set to 1.

Constants

MaxLightCountMaxLightCount: Integer = $100;


Personal tools
Translations