SbVec3fConvertFromT Method |
Try to convert a structure to an SbVec3f value type.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2025.1.0.Release.bbf67b7ce81225a791aa69eb415ebddead35829d
Syntaxpublic 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:
SbVec3f
ExceptionsException | Condition |
---|
NotSupportedException | Thrown when the conversion is not supported |
See Also