Preparing search index...
The search index is not available
Threepipe Geometry Generator Plugin
Threepipe Geometry Generator Plugin
TorusGeometryGenerator
Class TorusGeometryGenerator
Hierarchy (
view full
)
AGeometryGenerator
<
TorusGeometryGeneratorParams
>
TorusGeometryGenerator
Index
Constructors
constructor
Properties
default
Params
type
Methods
_generate
Data
create
Ui
Config
generate
Constructors
constructor
new
Torus
Geometry
Generator
(
type
)
:
TorusGeometryGenerator
Parameters
type
:
string
Returns
TorusGeometryGenerator
Properties
default
Params
default
Params
:
{
arc
:
number
;
radialSegments
:
number
;
radius
:
number
;
tube
:
number
;
tubularSegments
:
number
;
}
= ...
Type declaration
arc
:
number
radial
Segments
:
number
radius
:
number
tube
:
number
tubular
Segments
:
number
type
type
:
string
Methods
Protected
_generate
Data
_generate
Data
(
params
)
:
{
indices
:
number
[]
;
normals
:
number
[]
;
uvs
:
number
[]
;
vertices
:
number
[]
;
}
Parameters
params
:
TorusGeometryGeneratorParams
Returns
{
indices
:
number
[]
;
normals
:
number
[]
;
uvs
:
number
[]
;
vertices
:
number
[]
;
}
indices
:
number
[]
normals
:
number
[]
uvs
:
number
[]
vertices
:
number
[]
create
Ui
Config
create
Ui
Config
(
geometry
)
:
UiObjectConfig
<
any
,
string
,
any
>
[]
Parameters
geometry
:
IGeometry
<
NormalBufferAttributes
>
Returns
UiObjectConfig
<
any
,
string
,
any
>
[]
generate
generate
(
g
?
,
parameters
?
)
:
IGeometry
<
NormalBufferAttributes
>
|
BufferGeometry2
<
NormalBufferAttributes
>
Parameters
Optional
g
:
IGeometry
<
NormalBufferAttributes
>
parameters
:
Partial
<
TorusGeometryGeneratorParams
>
= {}
Returns
IGeometry
<
NormalBufferAttributes
>
|
BufferGeometry2
<
NormalBufferAttributes
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
default
Params
type
_generate
Data
create
Ui
Config
generate
Threepipe Geometry Generator Plugin
AGeometryGenerator
BoxGeometryGenerator
CircleGeometryGenerator
CylinderGeometryGenerator
GeometryGeneratorPlugin
PlaneGeometryGenerator
SphereGeometryGenerator
TorusGeometryGenerator
BoxGeometryGeneratorParams
CircleGeometryGeneratorParams
CylinderGeometryGeneratorParams
GeometryGenerator
PlaneGeometryGeneratorParams
SphereGeometryGeneratorParams
TorusGeometryGeneratorParams
updateUi
Generated using
TypeDoc