Add ignorePickIntersection to Create

This commit is contained in:
Ryan Huffman 2019-05-28 16:15:00 -07:00
parent bd3881ef14
commit 1894951f54
2 changed files with 9 additions and 1 deletions

View file

@ -492,6 +492,9 @@
"canCastShadow": { "canCastShadow": {
"tooltip": "If enabled, this geometry of this entity casts shadows when a shadow-casting light source shines on it." "tooltip": "If enabled, this geometry of this entity casts shadows when a shadow-casting light source shines on it."
}, },
"ignorePickIntersection": {
"tooltip": "If enabled, this entity will not be considered for ray picks, and will also not occlude other entities when picking."
},
"parentID": { "parentID": {
"tooltip": "The ID of the entity or avatar that this entity is parented to." "tooltip": "The ID of the entity or avatar that this entity is parented to."
}, },

View file

@ -1329,7 +1329,7 @@ const GROUPS = [
propertyID: "grab.grabFollowsController", propertyID: "grab.grabFollowsController",
}, },
{ {
label: "Cast shadows", label: "Cast Shadows",
type: "bool", type: "bool",
propertyID: "canCastShadow", propertyID: "canCastShadow",
}, },
@ -1339,6 +1339,11 @@ const GROUPS = [
propertyID: "href", propertyID: "href",
placeholder: "URL", placeholder: "URL",
}, },
{
label: "Ignore Pick Intersection",
type: "bool",
propertyID: "ignorePickIntersection",
},
{ {
label: "Script", label: "Script",
type: "string", type: "string",