Threepp¶
Pseudo-code manual for the threepp plugin
threepp is a C++ port of three.js. It provides 3D graphics rendering.
Members¶
Constants¶
- Side_Front
- Side_Back
- Side_Double
- Blending_None
- Blending_Normal
- Blending_Additive
- Blending_Subtractive
- Blending_Multiply
- Blending_Custom
- CullFace_None
- CullFace_Back
- CullFace_Front
- CullFace_FrontBack
- ShadowMap_Basic
- ShadowMap_PFC
- ShadowMap_PFCSoft
- ShadowMap_VSM
- ToneMapping_None
- ToneMapping_Linear
- ToneMapping_Reinhard
- ToneMapping_Cineon
- ToneMapping_ACESFilmic
- ToneMapping_Custom
- Encoding_Linear
- Encoding_sRGB
- Encoding_Gamma
- TextureWrapping_Repeat
- TextureWrapping_ClampToEdge
- TextureWrapping_MirroredRepeat
- Filter_Nearest
- Filter_Linear
- Filter_NearestMipmapNearest
- Filter_NearestMipmapLinear
- Filter_LinearMipmapNearest
- Filter_LinearMipmapLinear
- Loop_Once
- Loop_Repeat
- Loop_PingPong
- CatmullRomCurve3_CurveType_centripetal
- CatmullRomCurve3_CurveType_chordal
- CatmullRomCurve3_CurveType_catmullrom
Side_Front¶
Constant
Value: 0
Description
Render front faces only
Side_Back¶
Constant
Value: 1
Description
Render back faces only
Side_Double¶
Constant
Value: 2
Description
Render both faces
Blending_None¶
Constant
Value: 0
Blending_Normal¶
Constant
Value: 1
Blending_Additive¶
Constant
Value: 2
Blending_Subtractive¶
Constant
Value: 3
Blending_Multiply¶
Constant
Value: 4
Blending_Custom¶
Constant
Value: 5
CullFace_None¶
Constant
Value: 0
CullFace_Back¶
Constant
Value: 1
CullFace_Front¶
Constant
Value: 2
CullFace_FrontBack¶
Constant
Value: 3
ShadowMap_Basic¶
Constant
Value: 0
ShadowMap_PFC¶
Constant
Value: 1
ShadowMap_PFCSoft¶
Constant
Value: 2
ShadowMap_VSM¶
Constant
Value: 3
ToneMapping_None¶
Constant
Value: 0
ToneMapping_Linear¶
Constant
Value: 1
ToneMapping_Reinhard¶
Constant
Value: 2
ToneMapping_Cineon¶
Constant
Value: 3
ToneMapping_ACESFilmic¶
Constant
Value: 4
ToneMapping_Custom¶
Constant
Value: 5
Encoding_Linear¶
Constant
Value: 3000
Encoding_sRGB¶
Constant
Value: 3001
Encoding_Gamma¶
Constant
Value: 3007
TextureWrapping_Repeat¶
Constant
Value: 1000
TextureWrapping_ClampToEdge¶
Constant
Value: 1001
TextureWrapping_MirroredRepeat¶
Constant
Value: 1002
Filter_Nearest¶
Constant
Value: 1003
Filter_Linear¶
Constant
Value: 1006
Filter_NearestMipmapNearest¶
Constant
Value: 1004
Filter_NearestMipmapLinear¶
Constant
Value: 1005
Filter_LinearMipmapNearest¶
Constant
Value: 1007
Filter_LinearMipmapLinear¶
Constant
Value: 1008
Loop_Once¶
Constant
Value: 2200
Description
Stop after one pass
Loop_Repeat¶
Constant
Value: 2201
Description
Loop (the default of ModelAnimator.play)
Loop_PingPong¶
Constant
Value: 2202
Description
Back and forth
CatmullRomCurve3_CurveType_centripetal¶
Constant
Value: 0
CatmullRomCurve3_CurveType_chordal¶
Constant
Value: 1
CatmullRomCurve3_CurveType_catmullrom¶
Constant
Value: 2