Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wildpeaks/proto-visible

PROTO Visible
https://github.com/wildpeaks/proto-visible

vrml

Last synced: 23 days ago
JSON representation

PROTO Visible

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: `[]`

-------------------------------------------------------------------------------