SbVec3fSetValue Method (SbVec3f, SbVec3f, SbVec3f, SbVec3f) |
Sets value of vector as the weighted average of 3 other vectors.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public SbVec3f SetValue(
SbVec3f barycentic,
SbVec3f v0,
SbVec3f v1,
SbVec3f v2
)
Public Function SetValue (
barycentic As SbVec3f,
v0 As SbVec3f,
v1 As SbVec3f,
v2 As SbVec3f
) As SbVec3f
public:
SbVec3f SetValue(
SbVec3f barycentic,
SbVec3f v0,
SbVec3f v1,
SbVec3f v2
)
member SetValue :
barycentic : SbVec3f *
v0 : SbVec3f *
v1 : SbVec3f *
v2 : SbVec3f -> SbVec3f
Parameters
- barycentic
- Type: OIV.InventorSbVec3f
Weight vector. - v0
- Type: OIV.InventorSbVec3f
First input vector. - v1
- Type: OIV.InventorSbVec3f
Second input vector. - v2
- Type: OIV.InventorSbVec3f
Third input vector.
Return Value
Type:
SbVec3fthis vector.
Remarks this = v0 * barycentic[0] + v1 * barycentic[1] + v2 * barycentic[2];
See Also