Urho
1.0.0.0
Urho.StaticModel
Base class for the shapes in the namespace.
You can subclass this class if you want to create your own shape.
Shapes are components loaded from a model, and with a convenience property surfaced that controls the color of the shape. The color control is implemented by using an that is bundled in CoreData called Techniques/NoTextureAlpha.xml and the color is applied by setting the the MatDiffColor shader parameter.
To create your own shape, override the property to return the path of the model. The path should be a file that can be located in the CoreData package for your application.
Constructor
1.0.0.0
Constructs an instance of the type, for internal use. These types are created by calling
Property
1.0.0.0
Urho.Color
Color for the shape.
To be added.
To be added.
Property
1.0.0.0
System.String
Returns the path of the model for this shape, for the shape to work, the MDL file in the CoreData package must exist.
To be added.
Method
1.0.0.0
System.Void
To be added.
Implements OnAttachedToNode.
To be added.
Method
1.0.0.0
System.Void
To be added.
Deserialization that restores the shape from storage.
To be added.
Method
1.0.0.0
System.Void
To be added.
Serialization that saves the shape from storage.
To be added.