Constructor
new MyPlane(scene, nrDivs, minS, maxS, minT, maxT)
Instantiates a new plane instance.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
scene |
CGFscene
|
the scene in which the plane is going to be shown |
nrDivs |
integer
|
the number of divisions of the plane |
minS |
number
|
the min s value of the texture (UV-mapping) |
maxS |
number
|
the max s value of the texture (UV-mapping) |
minT |
number
|
the min t value of the texture (UV-mapping) |
maxT |
number
|
the max s value of the texture (UV-mapping) |
Methods
setFillMode()
Sets the WebGL primitive type fill mode to TRIANGLE_STRIP.
- Source: