|
Developer Documentation
|
Variables | |
| const UpdateType | UPDATE_NONE (UpdateTypeSet(0)) |
| Empty update for empty initialization of update type. | |
| const UpdateType | UPDATE_ALL (UpdateTypeSet(1)) |
| Identifier for all updates. | |
| const UpdateType | UPDATE_VISIBILITY (UpdateTypeSet(1)<< 1) |
| This is the update identifier for global Object visibility ( show/hide ) | |
| const UpdateType | UPDATE_GEOMETRY (UpdateTypeSet(1)<< 2) |
| Geometry updated. More... | |
| const UpdateType | UPDATE_TOPOLOGY (UpdateTypeSet(1)<< 3) |
| Topology updated. More... | |
| const UpdateType | UPDATE_SELECTION (UpdateTypeSet(1)<< 4) |
| Selection updated. More... | |
| const UpdateType | UPDATE_SELECTION_VERTICES (UpdateTypeSet(1)<< 5) |
| Vertex selection has changed. More... | |
| const UpdateType | UPDATE_SELECTION_EDGES (UpdateTypeSet(1)<< 6) |
| Edge selection has changed. More... | |
| const UpdateType | UPDATE_SELECTION_HALFEDGES (UpdateTypeSet(1)<< 7) |
| Halfedge selection has changed. More... | |
| const UpdateType | UPDATE_SELECTION_FACES (UpdateTypeSet(1)<< 8) |
| Face selection has changed. More... | |
| const UpdateType | UPDATE_SELECTION_KNOTS (UpdateTypeSet(1)<< 9) |
| Knot selection has changed. More... | |
| const UpdateType | UPDATE_COLOR (UpdateTypeSet(1)<< 10) |
| Colors have changed. More... | |
| const UpdateType | UPDATE_TEXTURE (UpdateTypeSet(1)<< 11) |
| Textures have changed. More... | |
| const UpdateType | UPDATE_STATE (UpdateTypeSet(1)<< 12) |
| State has changed. More... | |
| const UpdateType | UPDATE_UNUSED (UpdateTypeSet(1)<< 13) |
| marks the last used ID | |
The following update types are predefined for the general use cases
| const UpdateType UPDATE_COLOR(UpdateTypeSet(1)<< 10) |
Colors have changed.
Update the colors. This does not have to be called when topology is also updated
| const UpdateType UPDATE_GEOMETRY(UpdateTypeSet(1)<< 2) |
Geometry updated.
Updated Geometry ( This update type has to be used if you only modify vertex positions of an object. Everything else has to stay as before the update.
| const UpdateType UPDATE_SELECTION(UpdateTypeSet(1)<< 4) |
Selection updated.
Updated Selection ( This update type has to be used if you modify the internal selection of an object. Like selecting a single vertex or a set of faces. ).
| const UpdateType UPDATE_SELECTION_EDGES(UpdateTypeSet(1)<< 6) |
Edge selection has changed.
This is a more fine grained selection update. UPDATE_SELECTION will also match this update type.
| const UpdateType UPDATE_SELECTION_FACES(UpdateTypeSet(1)<< 8) |
Face selection has changed.
This is a more fine grained selection update. UPDATE_SELECTION will also match this update type.
| const UpdateType UPDATE_SELECTION_HALFEDGES(UpdateTypeSet(1)<< 7) |
Halfedge selection has changed.
This is a more fine grained selection update. UPDATE_SELECTION will also match this update type.
| const UpdateType UPDATE_SELECTION_KNOTS(UpdateTypeSet(1)<< 9) |
Knot selection has changed.
This is a more fine grained selection update. UPDATE_SELECTION will also match this update type.
| const UpdateType UPDATE_SELECTION_VERTICES(UpdateTypeSet(1)<< 5) |
Vertex selection has changed.
This is a more fine grained selection update. UPDATE_SELECTION will also match this update type.
| const UpdateType UPDATE_STATE(UpdateTypeSet(1)<< 12) |
State has changed.
The object's state (target, source) has changed
| const UpdateType UPDATE_TEXTURE(UpdateTypeSet(1)<< 11) |
Textures have changed.
Update the Textures.
| const UpdateType UPDATE_TOPOLOGY(UpdateTypeSet(1)<< 3) |
Topology updated.
Updated Topology ( This update type has to be used if you modify the topology of an object. This includes adding vertices or removing them! )