Textured rectangular mesh
View code on GitHub
Inheritance Hierarchy
DeltaEngine.Content ContentData
DeltaEngine.Rendering3D Mesh
DeltaEngine.Rendering3D PlaneQuad
Namespace: DeltaEngine.Rendering3D
Assembly: DeltaEngine.Rendering3D (in DeltaEngine.Rendering3D.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The PlaneQuad type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | PlaneQuad | Initializes a new instance of the PlaneQuad class |
Methods
Name | Description | |
---|---|---|
![]() | CreateDefault | (Inherited from ContentData.) |
![]() | Dispose | (Inherited from ContentData.) |
![]() | DisposeData | (Inherited from Mesh.) |
![]() | InternalCreateDefault | (Inherited from ContentData.) |
![]() | LoadData | (Inherited from Mesh.) |
![]() | ToString | (Inherited from ContentData.) |
Fields
Name | Description | |
---|---|---|
![]() | ContentChanged | (Inherited from ContentData.) |
Properties
Name | Description | |
---|---|---|
![]() | AllowCreationIfContentNotFound | (Inherited from ContentData.) |
![]() | Animation | (Inherited from Mesh.) |
![]() | Geometry | (Inherited from Mesh.) |
![]() | IsAnimated | (Inherited from Mesh.) |
![]() | IsDisposed | (Inherited from ContentData.) |
![]() | LocalTransform | (Inherited from Mesh.) |
![]() | Material | (Inherited from Mesh.) |
![]() | MetaData | (Inherited from ContentData.) |
![]() | Name | (Inherited from ContentData.) |
![]() | Size |
Remarks
Examples
[Test, ApproveFirstFrameScreenshot] public void DrawRedPlane() { SetUpCamera(); new Model(new ModelData(CreatePlaneQuad()), Vector3D.Zero); }
[Test, ApproveFirstFrameScreenshot] public void DrawUncoloredPlane() { SetUpCamera(); new Model(new ModelData(CreateUncoloredPlaneQuad()), Vector3D.Zero); }
[Test, ApproveFirstFrameScreenshot] public void DrawFourPlanesWithoutCulling() { Resolve<Device>().CullingMode = Culling.Disabled; SetUpCamera(-3); new Model(new ModelData(CreateUncoloredPlaneQuad()), Vector3D.Zero); new Model(new ModelData(CreatePlaneQuad(Color.Red)), Vector3D.UnitX * Size.Width); new Model(new ModelData(CreatePlaneQuad(Color.Green)), Vector3D.UnitY); new Model(new ModelData(CreatePlaneQuad(Color.Blue)), Vector3D.UnitZ * Size.Height); }
See Also