SubComponent.Parent3DObject
 
 
 

SubComponent.Parent3DObject

Description

Returns the X3DObject that is parenting the current SubComponent.

C# Syntax

// get accessor
X3DObject rtn = SubComponent.Parent3DObject;

Examples

VBScript Example

set oObject = Application.ActiveSceneRoot.AddGeometry("Cube","MeshSurface","MyCube")
set oCluster = oObject.ActivePrimitive.Geometry.AddCluster(siVertexCluster,"MyCluster",Array(3,4,5))
set oSubComponent = oCluster.CreateSubComponent
set oClusterParent = oSubComponent.Parent3DObject