SoArithmeticScale Method (SoBufferObject, SbDataType, SoBufferObject, SbDataType, Single) |
B = A * scaleFactor
Note: B can be a reference to A Limitation: typeA must be the same as typeC.
Namespace: OIV.Inventor.AlgorithmsAssembly: OIV.Inventor.Algorithms (in OIV.Inventor.Algorithms.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax public int Scale(
SoBufferObject inputBufferA,
SbDataType typeA,
SoBufferObject outputBufferB,
SbDataType typeB,
float scaleValue
)
Public Function Scale (
inputBufferA As SoBufferObject,
typeA As SbDataType,
outputBufferB As SoBufferObject,
typeB As SbDataType,
scaleValue As Single
) As Integer
public:
int Scale(
SoBufferObject^ inputBufferA,
SbDataType typeA,
SoBufferObject^ outputBufferB,
SbDataType typeB,
float scaleValue
)
member Scale :
inputBufferA : SoBufferObject *
typeA : SbDataType *
outputBufferB : SoBufferObject *
typeB : SbDataType *
scaleValue : float32 -> int
Parameters
- inputBufferA
- Type: OIV.Inventor.DevicesSoBufferObject
- typeA
- Type: OIV.InventorSbDataType
- outputBufferB
- Type: OIV.Inventor.DevicesSoBufferObject
- typeB
- Type: OIV.InventorSbDataType
- scaleValue
- Type: SystemSingle
Return Value
Type:
Int32Remarks See Also