Inheritance
System.Object
RenderTransform
public class RenderTransform : RenderProxyBox, HitTestTarget, RenderObjectWithChildMixin<RenderBox>, RenderObjectWithChildMixin
Constructors
Declaration
public RenderTransform(Matrix3 transform, Offset origin = null, Alignment alignment = null, bool transformHitTests = true, RenderBox child = null)
Parameters
Fields
Declaration
public bool transformHitTests
Field Value
Type |
Description |
System.Boolean |
|
Properties
Declaration
public Alignment alignment { get; set; }
Property Value
Declaration
public Offset origin { get; set; }
Property Value
Declaration
public Matrix3 transform { set; }
Property Value
Methods
Declaration
public override void applyPaintTransform(RenderObject child, Matrix3 transform)
Parameters
Overrides
Unity.UIWidgets.rendering.RenderProxyBoxMixinRenderObjectWithChildMixinRenderBox<Unity.UIWidgets.rendering.RenderBox>.applyPaintTransform(Unity.UIWidgets.rendering.RenderObject, Unity.UIWidgets.ui.Matrix3)
Declaration
public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
Parameters
Overrides
Declaration
public override bool hitTest(HitTestResult result, Offset position = null)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
protected override bool hitTestChildren(HitTestResult result, Offset position = null)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
Unity.UIWidgets.rendering.RenderProxyBoxMixinRenderObjectWithChildMixinRenderBox<Unity.UIWidgets.rendering.RenderBox>.hitTestChildren(Unity.UIWidgets.gestures.HitTestResult, Unity.UIWidgets.ui.Offset)
paint(PaintingContext, Offset)
Declaration
public override void paint(PaintingContext context, Offset offset)
Parameters
Overrides
Unity.UIWidgets.rendering.RenderProxyBoxMixinRenderObjectWithChildMixinRenderBox<Unity.UIWidgets.rendering.RenderBox>.paint(Unity.UIWidgets.rendering.PaintingContext, Unity.UIWidgets.ui.Offset)
Declaration
public void rotateX(float degrees)
Parameters
Type |
Name |
Description |
System.Single |
degrees |
|
Declaration
public void rotateY(float degrees)
Parameters
Type |
Name |
Description |
System.Single |
degrees |
|
Declaration
public void rotateZ(float degrees)
Parameters
Type |
Name |
Description |
System.Single |
degrees |
|
Declaration
public void scale(float x, float y, float z)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
y |
|
System.Single |
z |
|
Declaration
public void setIdentity()
Declaration
public void translate(float x, float y = 0F, float z = 0F)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
y |
|
System.Single |
z |
|