Show: Delphi
C++
Display Preferences
FMX.Types3D
From XE2 API Documentation
Defines base types used throughout FireMonkey, including 3D drawing types.
Contents |
Classes
| IViewport3D | Interface for viewing 3D objects. |
| TBox | Represents a box in 3D space. |
| TCamera | Represents the class for camera objects. |
| TContext3D | Class used for drawing and rendering 3D objects. |
| TContext3DClass | Metaclass for the TContext3D class. |
| TControl3D | TControl3D represents the base class for FMX onscreen 3D components. |
| TDummy | Represents a class for 3D dummy objects. |
| TIndexBuffer | Represents an index buffer. |
| TLight | TLight is a class that describes light source objects. |
| TMaterial | Describes the material of a 3D object's planes. |
| TMatrix3D | Represents a 4-by-4 matrix type. |
| TMeshData | Class used for defining the shape of polyhedral objects. |
| TMeshVertex | Defines a mesh vertex. |
| TObjectAtPointData | Internally used by ObjectAtPoint to store data about distance and projection. |
| TPoint3D | Represents a point in 3D space. |
| TPosition3D | Class that describes the position of a 3D object. |
| TProxyObject | TProxyObject is a class for proxy objects. |
| TQuaternion3D | Quaternion number type. |
| TVector3D | Class for vectors in 3D space. |
| TVertexBuffer | Represents a vertex buffer. |
| TViewport3D | TViewport3D is a class for viewing 3D objects. |
Routines
| AddVector3D | Adds two 3D vectors. |
| AdjointMatrix3D | Determines the adjugate of a 4-by-4 matrix. |
| AxisRotationToMatrix3D | Computes the rotation matrix from an angle and a vector. |
| CalcPlaneNormal | Computes the plane normal vector. |
| ColorToVector3D | Converts a TAlphaColor into a TVector3D. |
| CombineVector3D | Combines v1 with v2 |
| CreateRotationMatrix3D | Creates a rotation matrix. |
| CreateScaleMatrix3D | Creates a scale transformation matrix with the scale factor given by AScale. |
| CreateTranslateMatrix3D | Computes the translate matrix for ATranslate. |
| CreateYawPitchRollMatrix3D | Determines the rotation matrix from the yaw, pitch, and roll values. |
| GetVertexOffset | Returns the vertex offset according to the vertex format. |
| InvertMatrix | Determines the invert of a TMatrix3D. |
| ISqrt | Determines the integer square root of i. |
| Matrix3D | Matrix3D creates a TMatrix3D from the values of its parameters. |
| Matrix3DDeterminant | Calculates the determinant for a TMatrix3D. |
| Matrix3DMultiply | Multiplies two 4-by-4 matrices. |
| MatrixLookAtDirLH | Creates the look-at matrix for a specified direction, in a left-handed coordinate system. |
| MatrixLookAtDirRH | Creates the look-at matrix for a specified direction, in a right-handed coordinate system. |
| MatrixLookAtLH | Creates a look-at matrix in a left-handed coordinate system. |
| MatrixLookAtRH | Creates a look-at matrix in a right-handed coordinate system. |
| MatrixOrthoLH | Creates the orthogonal projection matrix in a left-handed coordinate system. |
| MatrixOrthoOffCenterLH | Creates an off-center orthogonal projection matrix in a left-handed coordinate system. |
| MatrixOrthoOffCenterRH | Creates an off-center orthogonal projection matrix in a right-handed coordinate system. |
| MatrixPerspectiveFovLH | Creates a perspective view matrix in a left-handed coordinate system. |
| MatrixPerspectiveFovRH | Creates a perspective view matrix in a right-handed coordinate system. |
| MatrixPerspectiveOffCenterLH | Creates a perspective off-center matrix in a left-handed coordinate system. |
| MidPoint | Computes and returns the midpoint of the two given 3D vectors (p1 and p2). |
| NormalizeQuaternion | Applies the quaternion normalization algorithm to the quaternion given through the q parameter. |
| NormalizeVector3D | Applies the 3D vector normalization algorithm to the 3D vector given through the V parameter. |
| Point3D | Generates a 3D point based on the given 3D space coordinates. |
| Point3DToString | Converts the given TPoint3D to a string. |
| Point3DToVector3D | Generates a 3D vector that uses as coordinates the values taken from the given 3D point in space. |
| PointProject | Computes and returns the projection of the 3D point P, on the given Direction, based on the given Origin. |
| QuaternionFromAngleAxis | Obtains a quaternion from the angle-axis 3D representation defined by the given angle and axis parameters. |
| QuaternionFromMatrix | Obtains a quaternion from the 3D matrix given through the Matrix parameter. |
| QuaternionMultiply | Multiplies the two quaternions given through the qL and qR parameters. |
| QuaternionToMatrix | Transforms the quaternion given through the Quaternion parameter into a 3D matrix. |
| RayCastCuboidIntersect | Returns how many times the given ray intersects the given cuboid 3D shape. |
| RayCastEllipsoidIntersect | Returns how many times the given ray intersects the given ellipsoid shape. |
| RayCastPlaneIntersect | Returns whether the given ray intersects the given plane. |
| RayCastSphereIntersect | Returns how many times the given ray intersects the given sphere. |
| RayCastTriangleIntersect | Returns whether the given ray intersects the triangle built from the three given vertices. |
| RotateVector | Rotates the given 3D vector in space, on the specified axis, with the given angle. |
| RSqrt | Computes and returns the reciprocal of the square root of the given number. |
| ScaleMatrix3D | Scales the given 3D matrix by the given factor. |
| SetVector3D | Assigns the given 3D space coordinates to the X, Y, and Z coordinates of the given 3D vector. |
| StringToPoint3D | Converts the given string to a TPoint3D. |
| TransposeMatrix3D | Computes and returns the transpose matrix of the 3D matrix given through the M parameter. |
| Vector3D | Generates a 3D vector based on the given 3D space coordinates. |
| Vector3DAdd | Adds the two given 3D vectors. |
| Vector3DAddScale | Adds the given factor to each of the X, Y, and Z components of the given 3D vector. |
| Vector3DAngleCosine | Returns the cosine of the angle between the given v1 and v2 3D vectors. |
| Vector3DCrossProduct | Computes and returns the 3D vector (cross) product of the two given 3D vectors. |
| Vector3DDotProduct | Computes and returns the scalar product of the two given 3D vectors. |
| Vector3DLength | Returns the length of the given 3D vector. |
| Vector3DNorm | Returns the norm of the given 3D vector. |
| Vector3DNormalize | Returns the normalized 3D vector of the given 3D vector. |
| Vector3DReflect | Returns the reflection of the given 3D vector. |
| Vector3DScale | Scales the given 3D vector by the given factor. |
| Vector3DSubtract | Subtracts the two given 3D vectors. |
| Vector3DToColor | Creates an alpha color based on the X, Y, and Z coordinates of the given 3D vector. |
| Vector3DToPoint3D | Generates a 3D point in space based on the given 3D vector coordinates. |
| Vector3DTransform | Transforms and returns the 3D vector given through the given 3D matrix. |
| VectorDistance2 | Computes and returns the distance between the two given 3D vectors. |
| VertexSize | Returns the size of the vertex based on its format. |
Types
| _di_IViewport3D | C++Builder data type used to access an IViewport3D Delphi interface. |
| PObjectAtPointData | Pointer to a TObjectAtPointData record. |
| PPoint3D | Pointer to a TPoint3D record. |
| PQuaternion3D | Pointer to a TQuaternion3D record. |
| PVector3D | Pointer to a TVector3D record. |
| PVector3DArray | Pointer to a TVector3DArray. |
| TBox | Represents a box in 3D space. |
| TClearTarget | Enumeration of context clear targets. |
| TClearTargets | Set of TClearTarget items. |
| TContext3DClass | Metaclass for the TContext3D class. |
| TContextShader | Numerical type used by vertex shader and pixel shader operations on a 3D context. |
| TContextState | Enumeration of context types. |
| TDragDropEvent3D | Procedural type used by all OnDragDrop events. |
| TDragEnterEvent3D | Procedural type used by all OnDragEnter events. |
| TDragOverEvent3D | Procedural type used by all OnDragOver events. |
| TFillMode | Enumeration of fill modes for 3D shapes. |
| TLightType | Enumeration of lighting modes. |
| TMaterialColor | Enumeration of material color modes. |
| TMatrix3D | Represents a 4-by-4 matrix type. |
| TMatrix3DDynArray | Dynamic array (of variable length) of TMatrix3D objects. |
| TMatrix3DType | Defines a 3D matrix that consists of 4 3D vectors. |
| TMeshVertex | Defines a mesh vertex. |
| TMouseEvent3D | Procedural type used by all OnMouseUp and OnMouseDown events. |
| TMouseMoveEvent3D | Procedural type used by all OnMouseMove events. |
| TMultisample | Enumeration of antialiasing (multisampling) modes. |
| TObjectAtPointData | Internally used by ObjectAtPoint to store data about distance and projection. |
| TPoint3D | Represents a point in 3D space. |
| TPoint3DDynArray | Dynamic array (of variable length) of TPoint3D objects. |
| TPointFDynArray | Dynamic array (of variable length) of TPointF objects. |
| TProjection | Enumeration of projection modes. |
| TQuaternion3D | Quaternion number type. |
| TRenderEvent | Procedural type used by all OnRender events. |
| TShadeMode | Is an enumeration of 3D objects shade types. |
| TStencilFunc | Enumeration of stencil functions. |
| TStencilOp | Enumeration of stencil operations. |
| TTextureFiltering | Enumeration of texture filtering types. |
| TTextureMode | Enumeration of texture filtering types. |
| TVector3D | Class for vectors in 3D space. |
| TVector3DArray | Array of TVector3D objects. |
| TVector3DType | Defines a 3D vector that consists of 4 floating-point Single values. |
| TVertexFormat | Enumeration of vertex formats. |
| TVertexFormats | Set of TVertexFormat formats. |
Variables
| DefaultAmbient | Constant with the default color used by the Ambient property. |
| DefaultContextClass | Variable of type TContext3DClass (a metaclass) that is initialized with nil. It is internally used for 3D-context manipulation purposes. |
| DefaultDiffuse | Constant with the default color used by the Diffuse property. |
| DefaultSpecular | Constant with the default color used by the Specular property. |
| GlobalDistance | Floating-point Single variable that is used internally by screen and camera projections. |
| GlobalProjection | TProjection type variable used internally to specify the type of projection (screen or camera). |
| IdentityMatrix3D | Constant of type TMatrix3D that defines the identity matrix. |
| IdentityQuaternion | Constant of type TQuaternion3D that defines the identity quaternion. |
| MaxBitmapSize | Constant internally used to create tile snapshots. |
| MaxLights | Constant that specifies the maximum number (8) of lights in a scene. |
| NullPoint3D | Constant of type TPoint3D that defines a 3D point in space with all its coordinates set to 0. |
| NullVector3D | Constant of type TVector3D that defines a null 3D vector with its X, Y, and Z components set to 0 and W set to 1. |
| TMatrix3DDynArray | Dynamic array (of variable length) of TMatrix3D objects. |
| TMatrix3DType | Defines a 3D matrix that consists of 4 3D vectors. |
| TPoint3DDynArray | Dynamic array (of variable length) of TPoint3D objects. |
| TPointFDynArray | Dynamic array (of variable length) of TPointF objects. |
| TVector3DArray | Array of TVector3D objects. |
| TVector3DType | Defines a 3D vector that consists of 4 floating-point Single values. |
| WHmgVector | Constant of type TVector3D that defines a 3D vector with its W component set to 1 and X, Y, and Z set to 0. |
| XHmgVector | Constant of type TVector3D that defines a 3D vector with its X component set to 1 and Y, Z, and W set to 0. |
| XYHmgVector | Constant of type TVector3D that defines a 3D vector with its X and Y components set to 1 and Z and W set to 0. |
| XYZHmgVector | Constant of TVector3D type that defines a 3D vector with its X, Y, and Z components set to 1 and W set to 0. |
| XYZWHmgVector | Constant of type TVector3D that defines a 3D vector with its X, Y, Z, and W components set to 1. |
| YHmgVector | Constant of type TVector3D that defines a 3D vector with its Y component set to 1 and X, Z, and W set to 0. |
| ZHmgVector | Constant of type TVector3D that defines a 3D vector with its Z component set to 1 and X, Y, and W set to 0. |
Constants
| DefaultShininess | DefaultShininess: Integer = $1E; |