Urho.Shapes.Pyramid Class

Component that creates a Pyramid.

See Also: Pyramid

Syntax

public class Pyramid : Shape

Remarks

C# Example

void MakePyramid (Scene scene)
{
    var node = scene.CreateChild ();
    node.Position = new Vector (0,0,0);
    node.SetScale (0);
    node.Rotation (60, 0, 30);

    // Create a Pyramid Shape component:
    var pyramid = node.CreateComponent<Pyramid> ();
    pyramid.Color = Color.Blue;
}

Requirements

Namespace: Urho.Shapes
Assembly: Urho (in Urho.dll)
Assembly Versions: 1.0.0.0

The members of Urho.Shapes.Pyramid are listed below.

See Also: Shape

Public Constructors

Constructs an instance of the type, for internal use. These types are created by calling Node.CreateComponent

Protected Properties

[read-only]
override
ModelResourceString. Returns the path of the model for this shape, for the shape to work, the MDL file in the CoreData package must exist.