Difference between revisions of "DOMHookPoint"

From Virtual World Web Wiki
Jump to: navigation, search
(Documentation for the DOMHookPoint class)
(Documentation for the DOMHookPoint class)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
* '''Inherits class: [[DOMObject]]'''
+
A hookpoint can only have one child and it's name must be unique within its parent's children collection.
 +
Hookpoints are meant to be populated at runtime with "things" (usually the layout of an Object Type) and are generally used for avatar clothing or decorations.
 +
Nested hookpoints form "hookpoint paths" which can be used to locate a node relative to a known root (like a DOMController).
 +
 
 +
*'''Inherits class: [[DOMObject]]'''
 
===Remarks <nowiki>[</nowiki>[{{fullurl:DOMHookPoint Remarks|action=edit}} edit]<nowiki>]</nowiki>===
 
===Remarks <nowiki>[</nowiki>[{{fullurl:DOMHookPoint Remarks|action=edit}} edit]<nowiki>]</nowiki>===
{{:DOMHookPoint Remarks}}
+
{{#ifexist:DOMHookPoint Remarks|{{:DOMHookPoint Remarks}}|}}
  
 
===Properties===
 
===Properties===
 
:{{CSharp|string[] HookpointGroups {get; set;} }}
 
:{{CSharp|string[] HookpointGroups {get; set;} }}
 +
::
 +
::A list of tags used to indicate what is suitable to put in this hookpoint
 +
 +
===Constructors===
 +
:{{CSharp|DOMHookPoint()}}
 +
::
 +
::Constructs a new DOMHookPoint with default settings
 +
 +
:{{CSharp|DOMHookPoint(string title)}}
 +
::
 +
::Constructs a new DOMHookPoint, setting a title at the same time
 +
 +
:{{CSharp|DOMHookPoint(string title, DOMObject child)}}
 +
::
 +
::Constructs a new DOMHookPoint, adding the only child at the same time
  
===Methods===
 
 
__NOTOC____NOEDITSECTION__
 
__NOTOC____NOEDITSECTION__

Latest revision as of 21:02, 12 April 2017

A hookpoint can only have one child and it's name must be unique within its parent's children collection. Hookpoints are meant to be populated at runtime with "things" (usually the layout of an Object Type) and are generally used for avatar clothing or decorations. Nested hookpoints form "hookpoint paths" which can be used to locate a node relative to a known root (like a DOMController).

Remarks [edit]

Properties

string[] HookpointGroups {get; set;}
A list of tags used to indicate what is suitable to put in this hookpoint

Constructors

DOMHookPoint()
Constructs a new DOMHookPoint with default settings
DOMHookPoint(string title)
Constructs a new DOMHookPoint, setting a title at the same time
DOMHookPoint(string title, DOMObject child)
Constructs a new DOMHookPoint, adding the only child at the same time