SkiaSharp.SK3dView Class

A utility class that can be used to create 3D transformations.

See Also: SK3dView

Syntax

[System.Obsolete("Use SKMatrix44 instead.", true)]
public class SK3dView : SKObject

Remarks

Requirements

Namespace: SkiaSharp
Assembly: SkiaSharp (in SkiaSharp.dll)
Assembly Versions: 1.56.0.0, 1.57.0.0, 1.58.0.0, 1.59.0.0

The members of SkiaSharp.SK3dView are listed below.

See Also: SKObject

Public Constructors

Creates a new instance of SK3dView.

Public Properties

[read-only]
MatrixSKMatrix. Gets the current transformation as a matrix.

Public Methods

ApplyToCanvas(SKCanvas)
Applies the current transformation to the specfied canvas.
DotWithNormal(Single, Single, Single) : Single
Returns the dot product of the current transformation and the specified normal.
GetMatrix(ref SKMatrix)
Stores the current transformation in the specified matrix.
Restore()
Restores the transformation to the last saved with SK3dView.Save.
RotateXDegrees(Single)
Rotates the transformation along the x-axis by the specified degrees.
RotateXRadians(Single)
Rotates the transformation along the x-axis by the specified radians.
RotateYDegrees(Single)
Rotates the transformation along the y-axis by the specified degrees.
RotateYRadians(Single)
Rotates the transformation along the y-axis by the specified radians.
RotateZDegrees(Single)
Rotates the transformation along the z-axis by the specified degrees.
RotateZRadians(Single)
Rotates the transformation along the z-axis by the specified radians.
Save()
Saves the current transformation so that it can be restored later using SK3dView.Restore.
Translate(Single, Single, Single)
Translates the transformation.
TranslateX(Single)
Translates the transformation along the x-axis.
TranslateY(Single)
Translates the transformation along the y-axis.
TranslateZ(Single)
Translates the transformation along the z-axis.

Protected Methods

override
Dispose(Boolean)