| | |
- LOD(Children, Traversable, Node)
-
- LOD
class LOD(LOD) |
| |
Level-of-Detail node based on VRML 97 LOD
Reference:
http://www.web3d.org/x3d/specifications/vrml/ISO-IEC-14772-IS-VRML97WithAmendment1/part1/nodesRef.html#LOD |
| |
- Method resolution order:
- LOD
- LOD
- Children
- Traversable
- Node
- object
Methods defined here:
- renderedChildren(self, types=(<class 'vrml.vrml97.nodetypes.Children'>, <class 'vrml.vrml97.nodetypes.Rendering'>))
- Choose child from level that is at appropriate range
Data descriptors inherited from LOD:
- center
- field SFVec3f center [0.0, 0.0, 0.0]
- level
- exposedField MFNode level []
- range
- field MFFloat range []
Data and other attributes inherited from LOD:
- PROTO = 'LOD'
Data descriptors inherited from Children:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
Data and other attributes inherited from Children:
- sensitive = 0
Methods inherited from Node:
- __init__(self, **namedarguments)
- Initialise the node with appropriate named args
All properties/attributes must be specified with
named arguments, and the property/attribute must
exist within the Node's class/prototype.
This will raise AttributeError/ValueError/TypeError
if the values or the property names are inappropriate.
Note that all Node objects have the attribute/property
exposedField SFString DEF ""
defined. You may therefore specify a DEF name by
passing it as a named argument.
- __repr__(self)
- Get a code-like representation of the Node
Basically every attribute except for sub-nodes values
are returned as a full representation.
- __str__(self)
- Get a friendly representation of the Node
- copy(self, copier=None)
- Copy this node for copier
- toString(self, **namedargs)
- Generate a VRML 97-syntax string representing this Prototype
**namedargs -- key:value
passed arguments for the linearisation object
see lineariser4.Lineariser
Data descriptors inherited from Node:
- DEF
- exposedField SFString DEF
- externalURL
- exposedField MFString externalURL []
- rootSceneGraph
- exposedField RootScenegraphNode SFNode NULL
| |