OnAttached Method (FreeSurfaceRenderableSeries3D)
Attaches the scene entity to the scene and ensures a valid instance exists.
Syntax
public override void OnAttached()
Exceptions
| Exception | Description |
|---|---|
| System.InvalidOperationException | Thrown when the configured scene entity type does not define a constructor compatible with BaseRenderableSeries3D. |
Remarks
This method is responsible for creating and attaching a
SceneEntity when the series becomes attached.
If the current scene entity is null or was previously disposed, a new instance is created using a constructor that accepts a single BaseRenderableSeries3D parameter.
If the scene entity type does not expose a compatible constructor, derived classes must override this method and explicitly create and assign the scene entity by calling SetSceneEntity.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also