Rendering
- class tissue_forge.rendering.ClipPlane(i)
- property index
Index of the clip plane. Less than zero if clip plane has been destroyed.
- getEquation()
Get the coefficients of the plane equation of the clip plane
- Return type:
fVector4- Returns:
fVector4
- setEquation(*args)
Overload 1:
Set the coefficients of the plane equation of the clip plane
- Parameters:
pe (
fVector4)- Return type:
int
- Returns:
HRESULT
Overload 2:
Set the coefficients of the plane equation of the clip plane using a point on the plane and its normal
- Parameters:
point (
fVector3) – plane pointnormal (
fVector3) – plane normal vector
- Return type:
int
- Returns:
HRESULT
- destroy()
Destroy the clip plane
- Return type:
int
- Returns:
HRESULT
- class tissue_forge.rendering.ClipPlanes
- static len()
Get the number of clip planes
- Return type:
int
- Returns:
int
- static getClipPlaneEquation(index)
Get the coefficients of the equation of a clip plane
- Parameters:
index (int) – index of the clip plane
- Return type:
fVector4- Returns:
const fVector4&
- static setClipPlaneEquation(index, pe)
Set the coefficients of the equation of a clip plane.
The clip plane must already exist
- Parameters:
index (int) – index of the clip plane
pe (
fVector4) – coefficients of the plane equation of the clip plane
- Return type:
int
- Returns:
HRESULT
- static item(index)
Get a clip plane by index
- Parameters:
index (int) – index of the clip plane
- Return type:
- Returns:
ClipPlane
- static create(*args)
Overload 1:
Create a clip plane
- Parameters:
pe (
fVector4) – coefficients of the equation of the plane- Return type:
- Returns:
ClipPlane
Overload 2:
Create a clip plane
- Parameters:
point (
fVector3) – point on the clip planenormal (
fVector3) – normal of the clip plane
- Return type:
- Returns:
ClipPlane