menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Transform3D - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Transform3D

    Contains the view and projection transformation of Graphics3D

    Inheritance
    System.Object
    Transform3D
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Chart
    Assembly: Syncfusion.Chart.Base.dll
    Syntax
    public class Transform3D

    Constructors

    Transform3D()

    Initializes a new instance of the Transform3D class.

    Declaration
    public Transform3D()

    Properties

    Centered

    Gets os sets the center matrix.

    Declaration
    public Matrix3D Centered { get; set; }
    Property Value
    Type
    Matrix3D

    Projection

    Gets or sets the projection matrix.

    Declaration
    public Matrix3D Projection { get; set; }
    Property Value
    Type Description
    Matrix3D

    The projection.

    Result

    Gets the result matrix.

    Declaration
    public Matrix3D Result { get; }
    Property Value
    Type Description
    Matrix3D

    The result.

    View

    Gets or sets the view matrix.

    Declaration
    public Matrix3D View { get; set; }
    Property Value
    Type Description
    Matrix3D

    The view.

    Methods

    SetCenter(Vector3D)

    Sets the center of world.

    Declaration
    public void SetCenter(Vector3D center)
    Parameters
    Type Name Description
    Vector3D center

    The center.

    SetLookAt(Vector3D, Vector3D, Vector3D)

    Sets the view matrix by the position and direction of eye.

    Declaration
    public void SetLookAt(Vector3D pos, Vector3D dir, Vector3D up)
    Parameters
    Type Name Description
    Vector3D pos

    The pos.

    Vector3D dir

    The dir.

    Vector3D up

    The up.

    SetPerspective(Double)

    Sets the perspective.

    Declaration
    public void SetPerspective(double distance)
    Parameters
    Type Name Description
    System.Double distance

    The distance to the "eye".

    ToPlane(PointF, Plane3D)

    Returns the intercept point of mouse ray with the specified plane.

    Declaration
    public Vector3D ToPlane(PointF point, Plane3D plane)
    Parameters
    Type Name Description
    System.Drawing.PointF point

    The point.

    Plane3D plane

    The plane.

    Returns
    Type
    Vector3D

    ToScreen(Vector3D)

    Transform Vector3D to the screen.

    Declaration
    public PointF ToScreen(Vector3D vector3d)
    Parameters
    Type Name Description
    Vector3D vector3d

    The vector3d.

    Returns
    Type
    System.Drawing.PointF
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved