public class SoNormal extends SoNode
Surface normals are needed to compute lighting when the Phong lighting model is used. Most vertex-based shapes that use normals can compute default normals if none are specified, depending on the current normal binding.
File format/default:
Normal {
vector | [ ] |
Action behavior:
SoGLRenderAction
, SoCallbackAction
, SoRayPickAction
Sets the current normals in the traversal state. Sets: SoNormalElement
See also:
SoCoordinate3
, SoLightModel
, SoNormalBinding
, SoVertexShape
, SoVertexProperty
SoNode.RenderModes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoMFVec3f |
vector
Surface normal vectors.
|
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoNormal()
Creates a surface normal node with default settings.
|
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderEngineMode, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
getNativeResourceHandle
public final SoMFVec3f vector
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com