Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wildpeaks/proto-transformgizmos
PROTO TransformGizmos
https://github.com/wildpeaks/proto-transformgizmos
vrml
Last synced: 23 days ago
JSON representation
PROTO TransformGizmos
- Host: GitHub
- URL: https://github.com/wildpeaks/proto-transformgizmos
- Owner: wildpeaks
- License: mit
- Created: 2018-01-29T13:03:52.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-01T11:32:16.000Z (almost 7 years ago)
- Last Synced: 2024-11-06T03:11:44.534Z (2 months ago)
- Topics: vrml
- Size: 72.3 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TransformGizmos
VRML PROTO that provides a 3D object to **edit the position/rotation of another object** with.
EXTERNPROTO TransformGizmos [
exposedField SFInt32 type
exposedField SFNode target
eventIn SFTime forceUpdate
] "proto.Tooltip.wrl#Tooltip"-------------------------------------------------------------------------------
## Property `type`
Specifies the kind of transformation (**translation** vs **rotation**)
and coordinate system (**global** vs **local**).Definition:
- Field Type: `exposedField`
- Data Type: `SFInt32`
- Default Value: `-1`Valid values are:
- `-1`: no tranformation
- `0`: translate (global)
- `1`: rotate (global)
- `2`: translate (local)
- `3`: rotate (local)-------------------------------------------------------------------------------
## Property `target`
Transform-like **object that is edited** by the gizmos.
Definition:
- Field Type: `exposedField`
- Data Type: `SFNode`
- Default Value: `NULL`-------------------------------------------------------------------------------
## Event `forceUpdate`
Call this even when `target` changes position/rotation for another reason than the gizmos.
Definition:
- Field Type: `eventIn`
- Data Type: `SFTime`-------------------------------------------------------------------------------