Click or drag to resize
AB4D logo

ModelEventSource3DTargetModelName Property

Gets or sets the name of the Model3D that is used as the source of the mouse events.

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax
C#
public string TargetModelName { get; set; }

Property Value

String
Remarks

To use TargetModelName property a NamedObjects dictionary must be set on EventManager3D. This way the real Model3D can be resolved from the name.

Setting the name is useful when the 3D model was read with Ab3d.Reader3ds library. The Ab3d.Reader3ds class also defines the NamedObjects dictionary. It can be set to the EventManager3D and than all the ModelEventSource3D can be simply defined with the name of the 3D object.

To set the Model3D directly without using its name, set the TargetModel3D property instead.

See Also