AddNodeOptions¶
Type Alias AddNodeOptions
autoExpand?: boolean;
cacheStrategy?: CacheStrategy;
dataURI?: string;
initialProperties?: InitialNodeProperties;
label?: string;
mimeType?: string;
parentId?: number;
}
Type declaration
OptionalautoExpand?: booleanThe
autoExpandflag can be used to automatically expand the added node to allow direct interaction with the underlying data.OptionalcacheStrategy?: CacheStrategySpecifies the strategy which is used when a data cache is requested from the instant3Dhub.
OptionaldataURI?: stringSpecifies the URI to the data resource.
OptionalinitialProperties?: InitialNodePropertiesSpecifies initial properties of the added node. These become the default values for this node, i.e. InstanceGraphAPI.resetProperty and InstanceGraphAPI.resetProperties will reset to these values.
Optionallabel?: stringSpecifies a custom label for the added node.
OptionalmimeType?: stringSpecifies the mime type of the data resource.
Per default the mime type is automatically detected and an override is only necessary in special cases. Valid mime types can be retrieved from the HubAPI.requestSupportedContentTypes method.
OptionalparentId?: numberSpecifies the parent node ID of the added node.
Options for adding a new node to the scene.