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: 2023.1.3.0 (2023.1.3)
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