SbVec3fConvertFromT Method |
Try to convert a structure to an SbVec3f value type.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public static SbVec3f ConvertFrom<T>(
T toConvert
)
where T : struct, new()
Public Shared Function ConvertFrom(Of T As {Structure, New}) (
toConvert As T
) As SbVec3f
public:
generic<typename T>
where T : value class, gcnew()
static SbVec3f ConvertFrom(
T toConvert
)
static member ConvertFrom :
toConvert : 'T -> SbVec3f when 'T : struct, new()
Parameters
- toConvert
- Type: T
Value to convert
Type Parameters
- T
- Value type
Return Value
Type:
SbVec3fExceptions Exception | Condition |
---|
NotSupportedException | Thrown when the conversion is not supported |
See Also