Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wildpeaks/proto-visible
PROTO Visible
https://github.com/wildpeaks/proto-visible
vrml
Last synced: 23 days ago
JSON representation
PROTO Visible
- Host: GitHub
- URL: https://github.com/wildpeaks/proto-visible
- Owner: wildpeaks
- License: mit
- Created: 2018-02-04T13:52:21.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-04T14:34:13.000Z (almost 7 years ago)
- Last Synced: 2024-11-06T03:11:44.514Z (2 months ago)
- Topics: vrml
- Size: 35.2 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Visible
VRML PROTO (based on `Switch`) that simplifies showing/hiding objects using a `SFBool` (whereas `Switch` uses a `SFInt32`).
EXTERNPROTO Visible [
exposedField SFBool visible TRUE
exposedField MFNode children []
] "proto.Visible.wrl#Visible"-------------------------------------------------------------------------------
## Property `visible`
Sets the **visibility**:
- when `TRUE`, the objects are shown
- when `FALSE`, the objects are hidden.Definition:
- Field Type: `exposedField`
- Data Type: `SFBool`
- Default Value: `TRUE`-------------------------------------------------------------------------------
## Property `children`
List of **nodes to show/hide**.
Definition:
- Field Type: `exposedField`
- Data Type: `MFNode`
- Default Value: `[]`-------------------------------------------------------------------------------