IAdjustableStateAddStateElementMotionT Method |
Adds a Motion{T} element to this state. Calling code is responsible for ensuring
that the motion is of a type that this state can store.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax void AddStateElementMotion<T>(
string elementIdentification,
Motion<T> motion
)
Sub AddStateElementMotion(Of T) (
elementIdentification As String,
motion As Motion(Of T)
)
generic<typename T>
void AddStateElementMotion(
String^ elementIdentification,
Motion<T> motion
)
abstract AddStateElementMotion :
elementIdentification : string *
motion : Motion<'T> -> unit
Parameters
- elementIdentification
- Type: SystemString
The name of the new element. - motion
- Type: AGI.FoundationMotionT
The Motion{T} of the new element.
Type Parameters
- T
- The type of the Motion being added to the state.
See Also