PlaneQuad Size Property Delta Engine Documentation

Namespace: DeltaEngine.Rendering3D
Assembly: DeltaEngine.Rendering3D (in DeltaEngine.Rendering3D.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public Size Size { get; set; }

Property Value

Type: Size
Remarks

Tests: DeltaEngine.Rendering3D.Tests.PlaneQuadTests
Examples

1 unit tests call DeltaEngine.Rendering3D.PlaneQuad.Size
[Test, CloseAfterFirstFrame]
public void ChangeSize()
{
    PlaneQuad quad = CreatePlaneQuad();
    Assert.AreEqual(Size, quad.Size);
    quad.Size = 2 * Size;
    Assert.AreEqual(2 * Size, quad.Size);
}
See Also