Inheritance Hierarchy
DeltaEngine.Content ContentData
DeltaEngine.Rendering3D Mesh
DeltaEngine.Rendering3D.Shapes ConeMesh
Namespace: DeltaEngine.Rendering3D.Shapes
Assembly: DeltaEngine.Rendering3D.Shapes (in DeltaEngine.Rendering3D.Shapes.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The ConeMesh type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | ConeMesh(Single, Single, Material, Int32) | Initializes a new instance of the ConeMesh class |
![]() | ConeMesh(Single, Single, Color, Int32) | Initializes a new instance of the ConeMesh 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.) |
Remarks
Examples
[Test, ApproveFirstFrameScreenshot] public void DrawLitCone() { new Grid3D(new Size(20)); new Model(new ModelData(new ConeMesh(1, 3, new Material(ShaderFlags.LitTextured, "DeltaEngineLogo"))), Vector3D.Zero); }
[Test] public void DrawRedCone() { new Grid3D(new Size(20)); new Model(new ModelData(new ConeMesh(1, 3, Color.Red)), Vector3D.Zero); }
[Test, CloseAfterFirstFrame] public void DrawWith2DShaderIsNotAllowed() { Assert.Throws<ShaderWithFormat.ShaderFlagsNotSupported>( () => new ConeMesh(1, 1, new Material(ShaderFlags.Position2DTextured, ""))); }
See Also