Urho
1.0.0.0
Urho.Component
Physics collision shape component.
To be added.
Constructor
1.0.0.0
Pointer to the raw unmanaged Urho object.
Constructs a new instance of CollisionShape, 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
The context that this object will be attached to.
Creates an instance of CollisionShape that is attached to an execution context.
This creates an instance of CollisionShape attached to the specified execution context.
Constructor
1.0.0.0
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
Apply attribute changes that can not be applied immediately. Called after scene load or a network update.
To be added.
Property
1.0.0.0
Urho.StringHash
Urho's type system base type.
StringHash representing the base type for this Urho type.
This returns the Urho type system base type and is surfaced for low-level Urho code.
Method
1.0.0.0
System.Void
To be added.
To be added.
Visualize the component as debug geometry.
To be added.
Property
1.0.0.0
System.UInt32
Return model LOD level.
Or
Set model LOD level.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return collision margin.
Or
Set collision margin.
To be added.
To be added.
Property
1.0.0.0
Urho.Model
Return triangle mesh / convex hull model.
Or
Set triangle mesh / convex hull model.
To be added.
To be added.
Property
1.0.0.0
Urho.ResourceRef
Return model attribute.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
Update the new collision shape to the RigidBody.
To be added.
Method
1.0.0.0
System.Void
Handle enabled/disabled state change.
To be added.
Property
1.0.0.0
Urho.PhysicsWorld
Return physics world.
To be added.
To be added.
Property
1.0.0.0
Urho.Vector3
Return offset position.
Or
Set offset position.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
Register object factory.
To be added.
Method
1.0.0.0
System.Void
Release the collision shape.
To be added.
Property
1.0.0.0
Urho.Quaternion
Return offset rotation.
Or
Set offset rotation.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Set as a box.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
To be added.
Set as a capsule.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
To be added.
Set as a cone.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
To be added.
To be added.
Set as a convex hull from Model.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
To be added.
Set as a convex hull from CustomGeometry.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
To be added.
Set as a triangle mesh from CustomGeometry.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
To be added.
Set as a cylinder.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
Set as a sphere.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set as a static plane.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set as a terrain. Only works if the same scene node contains a Terrain component.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set offset transform.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
To be added.
To be added.
Set as a triangle mesh from Model. If you update a model's geometry and want to reapply the shape, call physicsWorld->RemoveCachedGeometry(model) first.
To be added.
Property
1.0.0.0
Urho.ShapeType
Return shape type.
Or
Set shape type.
To be added.
To be added.
Property
1.0.0.0
Urho.Vector3
Return shape size.
Or
Set shape size.
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
Urho.StringHash
To be added.
To be added.
To be added.
Property
1.0.0.0
Urho.BoundingBox
Return world-space bounding box.
To be added.
To be added.