Urho.SmoothedTransform Class

Transform smoothing component for network updates.

See Also: SmoothedTransform

Syntax

public class SmoothedTransform : Component

Requirements

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

The members of Urho.SmoothedTransform are listed below.

See Also: Component

Public Constructors

Constructs a new instance of Urho.SmoothedTransform which is tied to the Application.CurrentContext.
Constructs a new instance of Urho.SmoothedTransform, given a raw pointer to an unmanaged object
Constructs a new instance of Urho.SmoothedTransform linked to a specific Context.

Protected Constructors

Empty constructor, chain to this constructor when you provide your own constructor that sets the handle field.

Public Properties

[read-only]
InProgressBoolean. Return whether smoothing is in progress.
TargetPositionVector3. Return target position in parent space. Or Set target position in parent space.
TargetRotationQuaternion. Return target rotation in parent space. Or Set target rotation in parent space.
[read-only]
TargetWorldPositionVector3. Return target position in world space.
[read-only]
TargetWorldRotationQuaternion. Return target rotation in world space.
[read-only]
override
TypeStringHash. Urho's type system type.
[read-only]
override
TypeNameString. Urho's low-level type name.
[read-only]
static
TypeNameStaticString. Urho's low-level type name, accessible as a static method.
[read-only]
static
TypeStaticStringHash. Urho's low-level type, accessible as a static method.

Public Methods

static
RegisterObject(Context)
Register object factory.
SetTargetWorldPosition(Vector3)
Set target position in world space.
SetTargetWorldRotation(Quaternion)
Set target rotation in world space.
SubscribeToTargetPositionChanged(Action<TargetPositionChangedEventArgs>) : Subscription
Subscribes to the TargetPositionChanged event raised by the SmoothedTransform.
SubscribeToTargetRotationChanged(Action<TargetRotationChangedEventArgs>) : Subscription
Subscribes to the TargetRotationChanged event raised by the SmoothedTransform.
Update(Single, Single)
Update smoothing.

Public Events