Class TSoundNode
Unit
Declaration
type TSoundNode = class(TAbstractSoundNode)
Description
3D sound emitter.
Hierarchy
- TObject
- TPersistent
- TX3DFileItem
- TX3DNode
- TAbstractNode
- TAbstractChildNode
- TAbstractSoundNode
- TSoundNode
Overview
Methods
procedure BeforeTraverse(StateStack: TX3DGraphTraverseStateStack); override; |
|
function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override; |
|
constructor Create(const AX3DName: string = ''; const ABaseUrl: String = ''); override; |
|
destructor Destroy; override; |
|
procedure CreateNode; override; |
|
class function ClassX3DType: String; override; |
Properties
property FdDirection: TSFVec3f read FFdDirection; |
|
property Direction: TVector3 read GetDirection write SetDirection; |
|
property FdIntensity: TSFFloat read FFdIntensity; |
|
property Intensity: Single read GetIntensity write SetIntensity; |
|
property FdLocation: TSFVec3f read FFdLocation; |
|
property Location: TVector3 read GetLocation write SetLocation; |
|
property FdMaxBack: TSFFloat read FFdMaxBack; |
|
property MaxBack: Single read GetMaxBack write SetMaxBack; |
|
property FdMaxFront: TSFFloat read FFdMaxFront; |
|
property MaxFront: Single read GetMaxFront write SetMaxFront; |
|
property FdMinBack: TSFFloat read FFdMinBack; |
|
property MinBack: Single read GetMinBack write SetMinBack; |
|
property FdMinFront: TSFFloat read FFdMinFront; |
|
property MinFront: Single read GetMinFront write SetMinFront; |
|
property FdPriority: TSFFloat read FFdPriority; |
|
property Priority: Single read GetPriority write SetPriority; |
|
property FdSource: TSFNode read FFdSource; |
|
property Source: TX3DNode read GetSource write SetSource; |
|
property FdSpatialize: TSFBool read FFdSpatialize; |
|
property Spatialize: Boolean read GetSpatialize write SetSpatialize; |
Description
Methods
procedure BeforeTraverse(StateStack: TX3DGraphTraverseStateStack); override; |
|
This item has no description. Showing description inherited from TX3DNode.BeforeTraverse. Override these methods to determine what happens when given node is traversed during Traverse call. The main use of this is to operate on TX3DGraphTraverseStateStack. Remember to always call inherited when overriding. In Besides changing StateStack.Top fields, you can do push/pop on the stack. Remember that if you do StateStack.Push in |
function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override; |
|
This item has no description. Showing description inherited from TX3DNode.DirectEnumerateActive. Enumerate all active child nodes of given node. "Active nodes" are the ones affecting current look or collisions, e.g. from Switch node only one child will be enumerated. See Traverse for more precise definition. "Direct" means that this enumerates only direct descendants, i.e. this is not recursive. See methods like Traverse or EnumerateNodes if you want recursive behavior. This can enumerate both VRML1Children nodes and nodes within TSFNode and TMFNode fields. Default implementation in this class enumerates all Children nodes of VRML 1.0. If you need to remove some children for VRML 1.0 (e.g. for Switch or LOD nodes) or add some children for VRML 2.0 you have to override this. You do not need to call inherited when overriding this — in fact, you should not, if you want to omit some nodes. Stops and returns immediately if Func returns non-nil for some child. |
constructor Create(const AX3DName: string = ''; const ABaseUrl: String = ''); override; |
|
This item has no description. Showing description inherited from TX3DNode.Create. Constructor. Initializes various properties:
|
destructor Destroy; override; |
|
This item has no description. |
procedure CreateNode; override; |
|
Create node fields and events. |
class function ClassX3DType: String; override; |
|
This item has no description. Showing description inherited from TX3DNode.ClassX3DType. Node type name in VRML/X3D, for this class. Normal VRML/X3D node classes should override this to return something non-empty, and then X3DType automatically will return the same value. Empty for classes that don't have a hardcoded VRML/X3D node name, like a special TX3DUnknownNode. Such special classes should override then X3DType to return actual non-empty name there. You usually should call X3DType. The only use of this method is that it works on classes (it's "class function"), without needing at actual instance. |
Properties
property FdDirection: TSFVec3f read FFdDirection; |
|
Internal wrapper for property |
property Direction: TVector3 read GetDirection write SetDirection; |
|
This item has no description. |
property FdIntensity: TSFFloat read FFdIntensity; |
|
Internal wrapper for property |
property Intensity: Single read GetIntensity write SetIntensity; |
|
This item has no description. |
property FdLocation: TSFVec3f read FFdLocation; |
|
Internal wrapper for property |
property Location: TVector3 read GetLocation write SetLocation; |
|
This item has no description. |
property FdMaxBack: TSFFloat read FFdMaxBack; |
|
Internal wrapper for property |
property MaxBack: Single read GetMaxBack write SetMaxBack; |
|
This item has no description. |
property FdMaxFront: TSFFloat read FFdMaxFront; |
|
Internal wrapper for property |
property MaxFront: Single read GetMaxFront write SetMaxFront; |
|
This item has no description. |
property FdMinBack: TSFFloat read FFdMinBack; |
|
Internal wrapper for property |
property MinBack: Single read GetMinBack write SetMinBack; |
|
This item has no description. |
property FdMinFront: TSFFloat read FFdMinFront; |
|
Internal wrapper for property |
property MinFront: Single read GetMinFront write SetMinFront; |
|
This item has no description. |
property FdPriority: TSFFloat read FFdPriority; |
|
Internal wrapper for property |
property Priority: Single read GetPriority write SetPriority; |
|
This item has no description. |
property FdSource: TSFNode read FFdSource; |
|
Internal wrapper for property |
property Source: TX3DNode read GetSource write SetSource; |
|
This item has no description. |
property FdSpatialize: TSFBool read FFdSpatialize; |
|
Internal wrapper for property |
property Spatialize: Boolean read GetSpatialize write SetSpatialize; |
|
This item has no description. |
Generated by PasDoc 0.16.0-snapshot.