https://github.com/wildpeaks/proto-transformgizmos
PROTO TransformGizmos
https://github.com/wildpeaks/proto-transformgizmos
vrml
Last synced: 3 months 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 (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-01T11:32:16.000Z (over 8 years ago)
- Last Synced: 2025-04-12T21:11:31.542Z (about 1 year ago)
- Topics: vrml
- Size: 72.3 KB
- Stars: 0
- Watchers: 2
- 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`
-------------------------------------------------------------------------------