Click or drag to resize

LayerReference Class

A weak, serializable, immutable reference to a Layer.
Inheritance Hierarchy
SystemObject
  Demo3D.VisualsLayerReference

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 18.03.00
Syntax
C#
public class LayerReference : ICloneable

The LayerReference type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAsParent
Whether the layer being referenced is the same as the parent visual's layer.
Public propertyName
The name of the layer being referenced.
Top
Methods
  NameDescription
Public methodClone
Clones the LayerReference, returning the copy.
Public methodEquals
Whether the specified layer reference references the same layer as this layer reference.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Generates a hash code.
(Overrides ObjectGetHashCode.)
Public methodRead
Public methodToString
String representation of the layer being referenced.
(Overrides ObjectToString.)
Public methodWrite
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Whether the two specified layer references reference the same layer.
Public operatorStatic member(Layer to LayerReference)
Explicit conversion from a layer.
Public operatorStatic member(String to LayerReference)
Explicit conversion from string (layer name).
Public operatorStatic memberInequality
Whether the two specified layer references reference different layers.
Top
See Also