Urho
1.0.0.0
Urho.Drawable
Static model component.
To be added.
Constructor
1.0.0.0
Preserve
Constructs a new instance of Urho.StaticModel which is tied to the .
Constructor
1.0.0.0
Preserve
Pointer to the raw unmanaged Urho object.
Constructs a new instance of Urho.StaticModel, given a raw pointer to an unmanaged object
This creates a new managed wrapper for the type using the raw pointer to an unmanaged object.
Objects that are created in this fashion get registered with the UrhoSharp runtime.
This is intended to be used by the UrhoSharp runtime, and is not intended to be used by users.
Constructor
1.0.0.0
Preserve
The context that this object will be attached to.
Constructs a new instance of Urho.StaticModel linked to a specific .
Constructor
1.0.0.0
Preserve
Pass UrhoObjectFlag.Empty.
Empty constructor, chain to this constructor when you provide your own constructor that sets the handle field.
This constructor should be invoked by your code if you provide your own constructor that sets the handle field.
This essentially circumvents the default path that creates a new object and sets the handle and does not call RegisterObject on the target, you must do this on your own constructor.
You would typically chain to this constructor from your own, and then set the handle to the unmanaged object from your code, and then register your object.
Method
1.0.0.0
System.Void
To be added.
Apply default materials from a material list file. If filename is empty (default), the model's resource name with extension .txt will be used.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
Draw to occlusion buffer. Return true if did not run out of triangles.
To be added.
To be added.
Method
1.0.0.0
Urho.Geometry
To be added.
To be added.
Return the geometry for a specific LOD level.
To be added.
To be added.
Method
1.0.0.0
Urho.Material
To be added.
Return material by geometry index.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
Determines if the given world space point is within the model geometry.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
Determines if the given local space point is within the model geometry.
To be added.
To be added.
Property
1.0.0.0
Urho.Material
To be added.
To be added.
To be added.
Property
1.0.0.0
Urho.Model
Return model.
Or
Set model.
To be added.
To be added.
Property
1.0.0.0
Urho.ResourceRef
Return model attribute.
To be added.
To be added.
Property
1.0.0.0
System.UInt32
Return number of geometries.
To be added.
To be added.
Property
1.0.0.0
System.UInt32
Return number of occlusion geometry triangles.
To be added.
To be added.
Property
1.0.0.0
System.UInt32
Return occlusion LOD level.
Or
Set occlusion LOD level. By default (M_MAX_UNSIGNED) same as visible.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
Register object factory. Drawable must be registered first.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set material on all geometries.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
Set material on one geometry. Return true if successful.
To be added.
To be added.
Property
1.0.0.0
Urho.StringHash
Urho's type system type.
StringHash representing the type for this C# type.
This returns the Urho's type and is surfaced for low-level Urho code.
Property
1.0.0.0
System.String
Urho's low-level type name.
Stringified low-level type name.
Property
1.0.0.0
System.String
Urho's low-level type name, accessible as a static method.
Stringified low-level type name.
Property
1.0.0.0
Preserve
Urho.StringHash
Urho's low-level type, accessible as a static method.
This returns the Urho's type and is surface for the low-level Urho code.