Ngon - superclass: shape; super-superclass:node - classID: #(4176, 0)
Constructor
ngon...Properties
<NGon>.radius Float default: 25.0 -- animatableThe NGon radius.
<NGon>.scribe Integer default: 0Sets whether the NGon is:
0 - Circumscribed (Radius is measured from the center to the sides of the NGon)
1 - Inscribed (Radius is measured from the center to the corners of the NGon)
<NGon>.nSides Integer default: 6 -- animatableNumber of sides and vertices used by the NGon.
<NGon>.corner_Radius Float default: 0.0 -- animatableDegree of rounding to apply to the corners of the NGon. A setting of 0 specifies a standard unrounded corner.
<NGon>.circular Boolean default: true -- animatableWhen on, specifies a circular NGon.
<NGon>.steps Integer default: 6The number of divisions between each vertex.
<NGon>.optimize Boolean default: trueWhen on, removes unneeded steps from straight segments in the spline.
<NGon>.adaptive Boolean default: falseWhen on, adaptive sets the number of steps for each spline to produce a smooth curve. Straight segments always receive 0 steps.
<NGon>.render_renderable BooleanClass default: false -- boolean; renderableToggles the "Enable in Renderer" checkbox on and off.Available in 3ds Max 8 and higher.
<NGon>.render_displayRenderMesh BooleanClass default: false -- boolean; displayRenderMeshToggles the "Enable In Viewport" checkbox on and off. When set to true, the mesh will be displayed in the viewports.Available in 3ds Max 8 and higher.
<NGon>.render_useViewportSettings BooleanClass default: false -- boolean; useViewportSettingsToggles the "Use Viewport Settings" checkbox on and off. When set to true, the mesh displayed in the viewport will use the Viewport settings. When false, the Renderer settings will be used for the viewport mesh, too. Available in 3ds Max 8 and higher.
<NGon>.render_mapcoords BooleanClass default: false -- boolean; mapcoordsToggles mapping coordinates generation on and off. The U coordinate wraps once around the thickness of the spline; the V coordinate is mapped once along the length of the spline.Available in 3ds Max 8 and higher.
<NGon>.realWorldMapSize BooleanClass default: false -- booleanToggles the real-world map size option on and off.Available in 3ds Max 8 and higher.
<NGon>.render_displayRenderSettings BooleanClass default: true -- boolean; displayRenderSettingsToggles the state of the Viewport/Renderer radio buttons. When set to true, the Renderer settings will be displayed in the rollout. When false, the Viewport settings will be shown instead.Available in 3ds Max 8 and higher.
<NGon>.render_rectangular BooleanClass default: false -- booleanWhen set to true, enables the Rectangular cross-section mode to be used in the renderer. When false (default), enables the Radial cross-section mode. Corresponds to the Radial/Rectangular radio buttons in the UI in Renderer mode.Available in 3ds Max 8 and higher.
<NGon>.render_viewport_rectangular BooleanClass default: false -- booleanWhen set to true, enables the Rectangular cross-section mode to be used in the viewports. When false (default), enables the Radial cross-section mode. Corresponds to the Radial/Rectangular radio buttons in the UI in Viewport mode.Available in 3ds Max 8 and higher.
<NGon>.render_thickness Float default: 1.0 -- animatable; thicknessGet/Set the diameter of the Radial renderable spline mesh.Available in 3ds Max 8 and higher.
<NGon>.render_sides Integer default: 12 -- animatable; sidesGet/Set the number of sides for the spline mesh in the renderer. A value of 4 will give you a square cross section, for example.Available in 3ds Max 8 and higher.
<NGon>.render_angle Float default: 0.0 -- animatable; angleGet/Set therotational position of the Radial cross-section in the renderer.Available in 3ds Max 8 and higher.
<NGon>.render_length Float default: 6.0 -- animatableGet/Set the length of the Rectangular renderable spline mesh.Available in 3ds Max 8 and higher.
<NGon>.render_width Float default: 2.0 -- animatableGet/Set the width of the Rectangular renderable spline mesh.Available in 3ds Max 8 and higher.
<NGon>.render_angle2 Float default: 0.0 -- animatableGet/Set rotational position of the Radial cross-section in the renderer.Available in 3ds Max 8 and higher.
<NGon>.render_aspect_locked BooleanClass default: false -- booleanControls the state of the Aspect Lock checkbutton. When set to true, changing the Width will affect the Height and vice-versa, preserving the aspect at the time the lock was engaged.Available in3ds Max 8 and higher.
<NGon>.render_viewport_thickness Float default: 1.0 -- float; viewport_thicknessGet/Set the diameter of the Radial renderable spline mesh in the viewport.Available in 3ds Max 8 and higher.
<NGon>.render_viewport_sides Integer default: 12 -- integer; viewport_sidesGets/Sets the number of sides for the Radial spline mesh in the viewports. A value of 4 will give you a square cross section, for example.Available in 3ds Max 8 and higher.
<NGon>.render_viewport_angle Float default: 0.0 -- float; viewport_angleGets/Sets the rotational position of the cross-section in the viewports.Available in 3ds Max 8 and higher.
<NGon>.render_viewport_length Float default: 6.0 -- floatGet/Set the length of the Rectangular spline mesh in the viewports.Available in 3ds Max 8 and higher.
<NGon>.render_viewport_width Float default: 2.0 -- floatGet/Set the width of the Rectangular spline mesh in the viewports.Available in 3ds Max 8 and higher.
<NGon>.render_viewport_angle2 Float default: 0.0 -- floatGet/Set rotational position of the Rectangular cross-section in the viewports.Available in 3ds Max 8 and higher.
<NGon>.render_viewport_aspect_locked BooleanClass default: false -- booleanControls the state of the Aspect Lock checkbutton. When set to true, changing the Width will affect the Height and vice-versa, preserving the aspect at the time the lock was engaged.Available in 3ds Max 8 and higher.
<NGon>.render_auto_smooth BooleanClass default: true -- booleanControls the state of the Auto Smooth checkbox. When set to true, auto smoothing will be enabled.Available in 3ds Max 8 and higher.
<NGon>.render_threshold Float default: 40.0 -- animatable;Get/set the Auto Smooth Threshold value.Available in 3ds Max 8 and higher.