man SoLight () - abstract base class for all light source nodes
NAME
SoLight - abstract base class for all light source nodes
INHERITS FROM
SoBase > SoFieldContainer > SoNode > SoLight
SYNOPSIS
#include <Inventor/nodes/SoLight.h>
Fields from class SoLight:
c
}
c
}
on
c
}
c
}
intensity
c
}
c
}
color
Methods from class SoLight:
c
}
c
}
getClassTypeId()
Methods from class SoNode:
c
}
c
}
setOverride(SbBool state)
c
}
c
}
isOverride() const
c
}
c
}
copy(SbBool copyConnections = FALSE) const
c
}
c
}
affectsState() const
c
}
c
}
getByName(const SbName &name)
c
}
c
}
getByName(const SbName &name, SoNodeList &list)
Methods from class SoFieldContainer:
c
}
c
}
setToDefaults()
c
}
c
}
hasDefaultValues() const
c
}
c
}
fieldsAreEqual(const SoFieldContainer *fc) const
c
}
c
}
copyFieldValues(const SoFieldContainer *fc, SbBool copyConnections = FALSE)
c
}
c
}
set(const char *fieldDataString)
c
}
c
}
get(SbString &fieldDataString)
c
}
c
}
getFields(SoFieldList &resultList) const
c
}
c
}
getField(const SbName &fieldName) const
c
}
c
}
getFieldName(const SoField *field, SbName &fieldName) const
c
}
c
}
isNotifyEnabled() const
c
}
c
}
enableNotify(SbBool flag)
Methods from class SoBase:
c
}
c
}
ref()
c
}
c
}
unref() const
c
}
c
}
unrefNoDelete() const
c
}
c
}
touch()
c
}
c
}
getTypeId() const
c
}
c
}
isOfType(SoType type) const
c
}
c
}
setName(const SbName &name)
c
}
c
}
getName() const
DESCRIPTION
SoLight is the abstract base class for all light nodes. A light node defines an illumination source that may affect subsequent shapes in the scene graph, depending on the current lighting style. Light sources are affected by the current transformation. A light node under a separator does not affect any objects outside that separator. You can also use a node kit to create a light; see the reference page for SoLightKit.
FIELDS
c
}
c
}
on
Determines whether the source is active or inactive. When inactive, the source does not illuminate at all.
c
}
c
}
intensity
Illumination intensity of light source. Valid values range from 0.0 (no illumination) to 1.0 (maximum illumination).
c
}
c
}
color
Light source illumination color.
METHODS
c
}
c
}
getClassTypeId()
Returns type identifier for this class.
ACTION BEHAVIOR
SoGLRenderAction
Activates this light (if so specified) during traversal. All shape nodes that come after this light in the scene graph are illuminated by this light.
FILE FORMAT/DEFAULTS
This is an abstract class. See the reference page of a derived class for the format and default values.
SEE ALSO
SoDirectionalLight, SoEnvironment, SoLightKit, SoLightModel, SoMaterial, SoPointLight, SoSpotLight