Applications use the methods of the Direct3DRMWrap interface to work with wrap objects. This section is a reference to the methods of this interface.
The Direct3DRMWrap interface supports the following methods.
The Direct3DRMWrap interface inherits the following methods from the Direct3DRMObject interface.
AddDestroyCallback |
CloneObject |
DeleteDestroyCallback |
GetAppData |
GetClassName |
GetName |
SetAppData |
SetName |
The Direct3DRMWrap object is obtained by using the Direct3DRM3.CreateWrap method.
Applies a Direct3DRMWrap object to its destination object. The destination object is typically a face or a mesh.
Syntax
object.Apply(visual As Direct3DRMObject)
Parts
- object
- Object expression that resolves to a Direct3DRMWrap object.
- visual
- Destination object.
Error Values
For a list of possible errors, see Direct3D Retained Mode Error Values.
See Also
Applies the wrap to the vertices of the object; first transforming each vertex by the frame's world transformation and the inverse world transformation of the wrap's reference frame.
Syntax
object.ApplyRelative(f As Direct3DRMFrame3, visual As Direct3DRMObject)
Parts
- object
- Object expression that resolves to a Direct3DRMWrap object.
- f
- The Direct3DRMFrame object containing the object to wrap.
- visual
- Object to apply.
Error Values
For a list of possible errors, see Direct3D Retained Mode Error Values.
See Also
Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.