BasicStateAddStateElementMotionT 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.2.419.0 (24.2.419.0)
Syntax public void AddStateElementMotion<T>(
string elementIdentification,
Motion<T> motion
)
Public Sub AddStateElementMotion(Of T) (
elementIdentification As String,
motion As Motion(Of T)
)
public:
generic<typename T>
virtual void AddStateElementMotion(
String^ elementIdentification,
Motion<T> motion
) sealed
abstract AddStateElementMotion :
elementIdentification : string *
motion : Motion<'T> -> unit
override 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.
Implements
IAdjustableStateAddStateElementMotionT(String, MotionT)See Also