LoadAttributes

RvmFormat.LoadAttributes method (1 of 2)

Load the attributes from specified file name

public void LoadAttributes(Scene scene, string fileName, string prefix = "rvm:")
Parameter Type Description
scene Scene The scene where the attributes will be applied to
fileName String The file’s name that contains the attributes
prefix String The prefix of the attributes that used to avoid conflict of names, default value is “rvm:”

See Also


RvmFormat.LoadAttributes method (2 of 2)

Load the attributes from specified stream

public void LoadAttributes(Scene scene, Stream stream, string prefix = "rvm:")
Parameter Type Description
scene Scene The scene where the attributes will be applied to
stream Stream The stream that contains the attributes
prefix String The prefix of the attributes that used to avoid conflict of names, default value is “rvm:”

See Also