Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
The instance_geometry element declares the instantiation of a COLLADA geometry resource.

Namespace: Visual3D.Assets.Importers.Collada.Dom
Assembly: Visual3D.Importers (in Visual3D.Importers.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
[SerializableAttribute]
public class instance_geometry : IInstanceElement, 
	IGeomInstance
<SerializableAttribute> _
Public Class instance_geometry _
	Implements IInstanceElement, IGeomInstance

Members

               
 All Members  Constructors   Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
instance_geometry()()()()
Initializes a new instance of the instance_geometry class
bind_material
Binds material symbols to material instances. This allows a single geometry to be instantiated into a scene multiple times each with a different appearance.
extra
IsUrlFragment
IsUrlFull
name
The text string name of this element. Optional.
sid
A text string value containing the subidentifier of this element. This value must be unique within the scope of the parent element. Optional.
Target
TargetUrl
ToString()()()() (Overrides Object..::..ToString()()()().)
url
The URL of the location of the object to instantiate. Required. Refers to a local instance using a relative URI fragment identifier that begins with the “#” character. The fragment identifier is an XPointer shorthand pointer that consists of the URI of the element to instantiate. Refers to an external reference using an absolute or relative URL when it contains a path to another resource.

Remarks

The actual data representation of an object may be stored once. However, the object can appear in the scene more than once. The object may be transformed in various ways each time it appears. Each appearance in the scene is called an instance of the object. Each instance of the object may be unique or share data with other instances. A unique instance has its own copy of the object’s data and can be manipulated independently. A nonunique (shared) instance shares some or all of its data with other instances of that object. Changes made to one shared instance affect all the other instances sharing that data. When the mechanism to achieve this effect is local to the current scene or resource, it is called instantiation. When the mechanism to achieve this effect is external to the current scene or resource, it is called external referencing.

Inheritance Hierarchy

System..::..Object
  Visual3D.Assets.Importers.Collada.Dom..::..instance_geometry

See Also