Show: Delphi C++
Display Preferences

FMX.Types3D

From XE2 API Documentation
Jump to: navigation, search

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

Contents

Classes

IViewport3DInterface for viewing 3D objects.
TBoxRepresents a box in 3D space.
TCameraRepresents the class for camera objects.
TContext3DClass used for drawing and rendering 3D objects.
TContext3DClassMetaclass for the TContext3D class.
TControl3DTControl3D represents the base class for FMX onscreen 3D components.
TDummyRepresents a class for 3D dummy objects.
TIndexBufferRepresents an index buffer.
TLightTLight is a class that describes light source objects.
TMaterialDescribes the material of a 3D object's planes.
TMatrix3DRepresents a 4-by-4 matrix type.
TMeshDataClass used for defining the shape of polyhedral objects.
TMeshVertexDefines a mesh vertex.
TObjectAtPointDataInternally used by ObjectAtPoint to store data about distance and projection.
TPoint3DRepresents a point in 3D space.
TPosition3DClass that describes the position of a 3D object.
TProxyObjectTProxyObject is a class for proxy objects.
TQuaternion3DQuaternion number type.
TVector3DClass for vectors in 3D space.
TVertexBufferRepresents a vertex buffer.
TViewport3DTViewport3D is a class for viewing 3D objects.

Routines

AddVector3DAdds two 3D vectors.
AdjointMatrix3DDetermines the adjugate of a 4-by-4 matrix.
AxisRotationToMatrix3DComputes the rotation matrix from an angle and a vector.
CalcPlaneNormalComputes the plane normal vector.
ColorToVector3DConverts a TAlphaColor into a TVector3D.
CombineVector3DCombines v1 with v2
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.
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.
MidPointComputes and returns the midpoint of the two given 3D vectors (p1 and p2).
NormalizeQuaternionApplies the quaternion normalization algorithm to the quaternion given through the q parameter.
NormalizeVector3DApplies the 3D vector normalization algorithm to the 3D vector given through the V parameter.
Point3DGenerates a 3D point based on the given 3D space coordinates.
Point3DToStringConverts the given TPoint3D to a string.
Point3DToVector3DGenerates a 3D vector that uses as coordinates the values taken from the given 3D point in space.
PointProjectComputes and returns the projection of the 3D point P, on the given Direction, based on the given Origin.
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.
SetVector3DAssigns the given 3D space coordinates to the X, Y, and Z coordinates of the given 3D vector.
StringToPoint3DConverts the given string to a TPoint3D.
TransposeMatrix3DComputes and returns the transpose matrix of the 3D matrix given through the M parameter.
Vector3DGenerates a 3D vector based on the given 3D space coordinates.
Vector3DAddAdds the two given 3D vectors.
Vector3DAddScaleAdds the given factor to each of the X, Y, and Z components of the given 3D vector.
Vector3DAngleCosineReturns the cosine of the angle between the given v1 and v2 3D vectors.
Vector3DCrossProductComputes and returns the 3D vector (cross) product of the two given 3D vectors.
Vector3DDotProductComputes and returns the scalar product of the two given 3D vectors.
Vector3DLengthReturns the length of the given 3D vector.
Vector3DNormReturns the norm of the given 3D vector.
Vector3DNormalizeReturns the normalized 3D vector of the given 3D vector.
Vector3DReflectReturns the reflection of the given 3D vector.
Vector3DScaleScales the given 3D vector by the given factor.
Vector3DSubtractSubtracts the two given 3D vectors.
Vector3DToColorCreates an alpha color based on the X, Y, and Z coordinates of the given 3D vector.
Vector3DToPoint3DGenerates a 3D point in space based on the given 3D vector coordinates.
Vector3DTransformTransforms and returns the 3D vector given through the given 3D matrix.
VectorDistance2Computes and returns the distance between the two given 3D vectors.
VertexSizeReturns the size of the vertex based on its format.

Types

_di_IViewport3DC++Builder data type used to access an IViewport3D Delphi interface.
PObjectAtPointDataPointer to a TObjectAtPointData record.
PPoint3DPointer to a TPoint3D record.
PQuaternion3DPointer to a TQuaternion3D record.
PVector3DPointer to a TVector3D record.
PVector3DArrayPointer to a TVector3DArray.
TBoxRepresents a box in 3D space.
TClearTargetEnumeration of context clear targets.
TClearTargetsSet of TClearTarget items.
TContext3DClassMetaclass for the TContext3D class.
TContextShaderNumerical type used by vertex shader and pixel shader operations on a 3D context.
TContextStateEnumeration of context types.
TDragDropEvent3DProcedural type used by all OnDragDrop events.
TDragEnterEvent3DProcedural type used by all OnDragEnter events.
TDragOverEvent3DProcedural type used by all OnDragOver events.
TFillModeEnumeration of fill modes for 3D shapes.
TLightTypeEnumeration of lighting modes.
TMaterialColorEnumeration of material color modes.
TMatrix3DRepresents a 4-by-4 matrix type.
TMatrix3DDynArrayDynamic array (of variable length) of TMatrix3D objects.
TMatrix3DTypeDefines a 3D matrix that consists of 4 3D vectors.
TMeshVertexDefines a mesh vertex.
TMouseEvent3DProcedural type used by all OnMouseUp and OnMouseDown events.
TMouseMoveEvent3DProcedural type used by all OnMouseMove events.
TMultisampleEnumeration of antialiasing (multisampling) modes.
TObjectAtPointDataInternally used by ObjectAtPoint to store data about distance and projection.
TPoint3DRepresents a point in 3D space.
TPoint3DDynArrayDynamic array (of variable length) of TPoint3D objects.
TPointFDynArrayDynamic array (of variable length) of TPointF objects.
TProjectionEnumeration of projection modes.
TQuaternion3DQuaternion number type.
TRenderEventProcedural type used by all OnRender events.
TShadeModeIs an enumeration of 3D objects shade types.
TStencilFuncEnumeration of stencil functions.
TStencilOpEnumeration of stencil operations.
TTextureFilteringEnumeration of texture filtering types.
TTextureModeEnumeration of texture filtering types.
TVector3DClass for vectors in 3D space.
TVector3DArrayArray of TVector3D objects.
TVector3DTypeDefines a 3D vector that consists of 4 floating-point Single values.
TVertexFormatEnumeration of vertex formats.
TVertexFormatsSet of TVertexFormat formats.

Variables

DefaultAmbientConstant with the default color used by the Ambient property.
DefaultContextClassVariable of type TContext3DClass (a metaclass) that is initialized with nil. It is internally used for 3D-context manipulation purposes.
DefaultDiffuseConstant with the default color used by the Diffuse property.
DefaultSpecularConstant with the default color used by the Specular property.
GlobalDistanceFloating-point Single variable that is used internally by screen and camera projections.
GlobalProjectionTProjection type variable used internally to specify the type of projection (screen or camera).
IdentityMatrix3DConstant of type TMatrix3D that defines the identity matrix.
IdentityQuaternionConstant of type TQuaternion3D that defines the identity quaternion.
MaxBitmapSizeConstant internally used to create tile snapshots.
MaxLightsConstant that specifies the maximum number (8) of lights in a scene.
NullPoint3DConstant of type TPoint3D that defines a 3D point in space with all its coordinates set to 0.
NullVector3DConstant of type TVector3D that defines a null 3D vector with its X, Y, and Z components set to 0 and W set to 1.
TMatrix3DDynArrayDynamic array (of variable length) of TMatrix3D objects.
TMatrix3DTypeDefines a 3D matrix that consists of 4 3D vectors.
TPoint3DDynArrayDynamic array (of variable length) of TPoint3D objects.
TPointFDynArrayDynamic array (of variable length) of TPointF objects.
TVector3DArrayArray of TVector3D objects.
TVector3DTypeDefines a 3D vector that consists of 4 floating-point Single values.
WHmgVectorConstant of type TVector3D that defines a 3D vector with its W component set to 1 and X, Y, and Z set to 0.
XHmgVectorConstant of type TVector3D that defines a 3D vector with its X component set to 1 and Y, Z, and W set to 0.
XYHmgVectorConstant of type TVector3D that defines a 3D vector with its X and Y components set to 1 and Z and W set to 0.
XYZHmgVectorConstant of TVector3D type that defines a 3D vector with its X, Y, and Z components set to 1 and W set to 0.
XYZWHmgVectorConstant of type TVector3D that defines a 3D vector with its X, Y, Z, and W components set to 1.
YHmgVectorConstant of type TVector3D that defines a 3D vector with its Y component set to 1 and X, Z, and W set to 0.
ZHmgVectorConstant of type TVector3D that defines a 3D vector with its Z component set to 1 and X, Y, and W set to 0.

Constants

DefaultShininessDefaultShininess: Integer = $1E;


Personal tools
Previous Versions
Translations