SoArithmeticScale Method (SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType, Single) |
B = A * scaleFactor
Fast version for Cpu buffers.
Namespace: OIV.Inventor.AlgorithmsAssembly: OIV.Inventor.Algorithms (in OIV.Inventor.Algorithms.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public int Scale(
SoCpuBufferObject inputBufferA,
SbDataType typeA,
SoCpuBufferObject outputBufferB,
SbDataType typeB,
float scaleValue
)
Public Function Scale (
inputBufferA As SoCpuBufferObject,
typeA As SbDataType,
outputBufferB As SoCpuBufferObject,
typeB As SbDataType,
scaleValue As Single
) As Integer
public:
int Scale(
SoCpuBufferObject^ inputBufferA,
SbDataType typeA,
SoCpuBufferObject^ outputBufferB,
SbDataType typeB,
float scaleValue
)
member Scale :
inputBufferA : SoCpuBufferObject *
typeA : SbDataType *
outputBufferB : SoCpuBufferObject *
typeB : SbDataType *
scaleValue : float32 -> int
Parameters
- inputBufferA
- Type: OIV.Inventor.DevicesSoCpuBufferObject
- typeA
- Type: OIV.InventorSbDataType
- outputBufferB
- Type: OIV.Inventor.DevicesSoCpuBufferObject
- typeB
- Type: OIV.InventorSbDataType
- scaleValue
- Type: SystemSingle
Return Value
Type:
Int32Remarks See Also