Class TPointingDeviceSensorList
Unit
Declaration
type TPointingDeviceSensorList = class(TX3DNodeList)
Description
List of pointing device sensors. Only nodes descending from X3DPointingDeviceSensorNode, and additionally an Anchor node.
Source: scene/x3d/x3dnodes_standard_pointingdevicesensor.inc (line 20).
Hierarchy
- TObject
- TList
- TObjectList
- TX3DNodeList
- TPointingDeviceSensorList
Overview
Fields
| Public | Transformation: TTransformation; |
Methods
| Protected | procedure Notify( constref Value: TX3DNode; Action: TCollectionNotification); override; |
| Public | function FindName(const Name: string): TX3DNode; |
| Public | function IndexOfName(const Name: string): Integer; |
| Public | procedure AddIfNotExists(const Node: TX3DNode); |
| Public | function Equals(SecondValue: TObject): Boolean; override; |
| Public | procedure Assign(const Source: TX3DNodeList); overload; |
| Public | procedure Assign(const Source: array of TX3DNode); overload; |
| Public | function EnabledCount: Integer; |
| Public | function Enabled(Index: Integer): boolean; |
| Public | procedure Assign(Source: TPointingDeviceSensorList); |
Properties
| Public | property AutoRemove: Boolean read FAutoRemove write SetAutoRemove default false; |
Description
Fields
| Public | Transformation: TTransformation; |
|
Transformation (and inverse) of all the sensors on this list. X3D specification guarantees that all sensors within a single state have the same transform. Source: scene/x3d/x3dnodes_standard_pointingdevicesensor.inc (line 25). | |
Methods
| Protected | procedure Notify( constref Value: TX3DNode; Action: TCollectionNotification); override; |
|
This item is declared in ancestor TX3DNodeList. This item has no description. | |
| Public | function FindName(const Name: string): TX3DNode; |
|
This item is declared in ancestor TX3DNodeList.
Find node by name (TX3DNode.X3DName), If called with Name = '', always returns See also
| |
| Public | function IndexOfName(const Name: string): Integer; |
|
This item is declared in ancestor TX3DNodeList. Find index of a node with given name (TX3DNode.X3DName), -1 if not found. Consistently with FindName, always returns -1 when Name = ''. | |
| Public | procedure AddIfNotExists(const Node: TX3DNode); |
|
This item is declared in ancestor TX3DNodeList. Add node only if it's not already on the list. | |
| Public | function Equals(SecondValue: TObject): Boolean; override; |
|
This item is declared in ancestor TX3DNodeList. Does the SecondValue list has equal length and instances. The instances on the list are compared exactly, i.e. reference must match, not only some node properties. | |
| Public | procedure Assign(const Source: TX3DNodeList); overload; |
|
This item is declared in ancestor TX3DNodeList. Assign from Source. Equivalent to Clear and then AddRange(Source). | |
| Public | procedure Assign(const Source: array of TX3DNode); overload; |
|
This item is declared in ancestor TX3DNodeList. Assign from Source. Equivalent to Clear and then AddRange(Source). | |
| Public | function EnabledCount: Integer; |
|
This item has no description. Source: scene/x3d/x3dnodes_standard_pointingdevicesensor.inc (line 27). | |
| Public | function Enabled(Index: Integer): boolean; |
|
This item has no description. Source: scene/x3d/x3dnodes_standard_pointingdevicesensor.inc (line 28). | |
| Public | procedure Assign(Source: TPointingDeviceSensorList); |
|
This item has no description. Source: scene/x3d/x3dnodes_standard_pointingdevicesensor.inc (line 30). | |
Properties
| Public | property AutoRemove: Boolean read FAutoRemove write SetAutoRemove default false; |
|
This item is declared in ancestor TX3DNodeList.
If You can only change this property when the list is empty. Otherwise we could have a weird situation when some nodes are automatically removed from the list, and some are not, which seems counter-intuitive. Internally, this is done using TX3DNode.AddDestructionNotification. | |
Generated by PasDoc 0.17.0.snapshot.