Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Set Object Properties resource changes the specific properties of a scene object. This resource can be used to make a scene object visible or not, or, change the light properties of a light asset.  

...

Required Fields

...

Field Name

Description

World Objects

Specifies the objects in the scene to be modified

Property

Specifies the property to be changed.

There are two different types of properties that

...

Visibility

...

can be changed: Visibility, and Light properties.

The Visibility property, when unchecked, can make a scene object invisible. Though the object is still in the scene, it cannot be seen by the

...

learner.

The Light property can be used to change the light properties of a light asset (will not work on other assets).  The author can adjust the light's intensity, color, and range.

Required Fields

...

Field Name

...

Description

...

World Objects

...

Specifies the objects in the scene to be modified

...

Property

...

Specifies the property to be changed.

There are two different types of properties that can be changed: Visibility, and Light properties.

Events

Open, Activate.

Examples

...

  • Create a new script, or use an existing script.  I've created a separate script to keep things organized.

  • Add the scene objects that you will be customizing.  I've added a new frame for Scene Objects and then added the safety hat and the light:

...

  • Next, I created a new frame for the object properties.  For the Safety Hat, I set the World Object as the hat and chose the Visibility option.  Then, I left the Visibility box unchecked (this means invisible).  

...

  • For the light asset, I set the World Object as the lights, chose Light Properties from the Properties list, and then determined my light properties:

...

  • After saving and testing in the headset, this was the result:

...

Image RemovedImage Added