Warning
Nightly releases are generated automatically from the latest source code and are intended for experimental purposes only. These builds may contain incomplete or untested features, bugs, or security vulnerabilities, and as such, are not for production use. Users should be aware that nightly releases may cause unexpected behavior, data loss, or system instability. Use of these releases is at the user's own risk, and it is advised to have adequate backups before testing. The software is provided as is with no guarantees or support.
InitialNodeProperties¶
Type Alias InitialNodeProperties
appearanceURI?: string | null;
attachmentId?: number;
auxEnabled?: boolean;
comparisonGroup?: ComparisonGroup;
customProperties?: { [customPropertyName: string]: Serializable };
enabled?: boolean;
ghosted?: boolean;
localTransform?: [
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
];
outlined?: boolean;
pickable?: boolean;
real?: boolean;
realOccluder?: boolean;
renderMode?: RenderMode;
}
Type declaration
Optional
appearanceURI?: string | nullSpecifies the initial appearance URI of the added node.
Optional
attachmentId?: numberSpecifies the initial attachment ID of the added node.
Optional
auxEnabled?: booleanSpecifies the initial aux enabled state of the added node.
Optional
comparisonGroup?: ComparisonGroupSpecifies the initial comparison of the added node.
Optional
customProperties?: { [customPropertyName: string]: Serializable }Specifies the initial custom property states of the added node.
Optional
enabled?: booleanSpecifies the initial enabled state of the added node.
Optional
ghosted?: booleanSpecifies the initial ghosted state of the added node.
Optional
localTransform?: [
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
]Specifies the initial local transform of the added node.
Optional
outlined?: booleanSpecifies the initial outlined state of the added node.
Optional
pickable?: booleanSpecifies the initial pickable state of the added node.
Optional
real?: booleanSpecifies the initial real state of the added node.
Optional
realOccluder?: booleanSpecifies the initial real occluder state of the added node.
Optional
renderMode?: RenderModeSpecifies the initial render mode of the added node.
Defines initial properties of a new node. These become the default values for the new node, i.e. InstanceGraphAPI.resetProperty and InstanceGraphAPI.resetProperties will reset to these values.