Skip to content

Commit f4fb63a

Browse files
authored
pc.MeshInstance#castShadow is no longer public API (playcanvas#2612)
1 parent 03eb422 commit f4fb63a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/scene/mesh-instance.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@ var _tempSphere = new BoundingSphere();
2525
* @param {pc.GraphNode} node - The graph node defining the transform for this instance.
2626
* @param {pc.Mesh} mesh - The graphics mesh being instanced.
2727
* @param {pc.Material} material - The material used to render this instance.
28-
* @property {pc.BoundingBox} aabb The world space axis-aligned bounding box for this
29-
* mesh instance.
30-
* @property {boolean} castShadow Controls whether the mesh instance casts shadows.
31-
* Defaults to false.
28+
* @property {pc.BoundingBox} aabb The world space axis-aligned bounding box for this mesh instance.
3229
* @property {boolean} visible Enable rendering for this mesh instance. Use visible property to enable/disable rendering without overhead of removing from scene.
3330
* But note that the mesh instance is still in the hierarchy and still in the draw call list.
3431
* @property {pc.GraphNode} node The graph node defining the transform for this instance.

0 commit comments

Comments
 (0)