Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wildpeaks/proto-constantsize
PROTO ConstantSize
https://github.com/wildpeaks/proto-constantsize
vrml
Last synced: 23 days ago
JSON representation
PROTO ConstantSize
- Host: GitHub
- URL: https://github.com/wildpeaks/proto-constantsize
- Owner: wildpeaks
- License: mit
- Created: 2018-02-04T13:54:10.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-04T15:00:59.000Z (almost 7 years ago)
- Last Synced: 2024-11-06T03:11:50.598Z (2 months ago)
- Topics: vrml
- Size: 112 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ConstantSize
VRML PROTO (based on `Script`) that emits a scale that makes an object appear
to have the same size regardless or its position (e.g. something far
should be much bigger than something near to appear the size from your point of view).EXTERNPROTO ConstantSize [
exposedField SFVec3f translation
exposedField SFVec3f scaleFactor
eventOut SFVec3f scale
] "proto.ConstantSize.wrl#ConstantSize"-------------------------------------------------------------------------------
## Property `translation`
3D position of the object.
Definition:
- Field Type: `exposedField`
- Data Type: `SFVec3f`
- Default Value: `0 0 0`-------------------------------------------------------------------------------
## Property `scaleFactor`
Factor added to the resulting scale.
Definition:
- Field Type: `exposedField`
- Data Type: `SFVec3f`
- Default Value: `1 1 1`-------------------------------------------------------------------------------
## Event `scale`
Resulting scale to route to the Transform that contains the object.
Definition:
- Field Type: `eventOut`
- Data Type: `SFVec3f`-------------------------------------------------------------------------------