SbExtrusionGeneratorCreateFrom2DPoints Method (IListSbVec2f, SbMatrix, Single, Single) |
Create an extruded shape from points in camera space.
Namespace: OIV.Inventor.MiscAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public static SoShape CreateFrom2DPoints(
IList<SbVec2f> pointsInCam,
SbMatrix camToLocal,
float zMin,
float zMax
)
Public Shared Function CreateFrom2DPoints (
pointsInCam As IList(Of SbVec2f),
camToLocal As SbMatrix,
zMin As Single,
zMax As Single
) As SoShape
public:
static SoShape^ CreateFrom2DPoints(
IList<SbVec2f>^ pointsInCam,
SbMatrix camToLocal,
float zMin,
float zMax
)
static member CreateFrom2DPoints :
pointsInCam : IList<SbVec2f> *
camToLocal : SbMatrix *
zMin : float32 *
zMax : float32 -> SoShape
Parameters
- pointsInCam
- Type: System.Collections.GenericIListSbVec2f
Polyline in normalized screen space ([-1, 1]x[-1, 1]).
- camToLocal
- Type: OIV.InventorSbMatrix
Transform matrix from camera space to local space (modelViewProjInv matrix)
- zMin
- Type: SystemSingle
Min extrusion plane, in camera space. By default, it's the camera's near clip plane.
- zMax
- Type: SystemSingle
Max extrusion plane, in camera space. By default, it's the camera's far clip plane.
Return Value
Type:
SoShapeRemarks Caution |
---|
Return NULL if error occurred. |
See Also